Forum Replies Created
-
In reply to: Template Errors
the fix is for BuddyPress theme, not for WordPress themes 😉
In reply to: xProfile visibility and Members directory search ?Hey @slaffik 😉
Thanks for your quick reply, i’ll include it in my plugin 😉
thanks @mercime
just added a demo of it :
I think i’ve finished.
Just tagged 1.1-beta2 on plugin’s github repo. After the dashboard widget, the sidebar one in order to display statitics on front end. If on a forum’s page, then the Resolved and To resolve become links that allows user to filter the topics of the forum on the desired support status.
You can see a screenshot of it here : https://github.com/imath/buddy-bbPress-Support-Topic/blob/master/screenshot-7.png
😉
Hi @djpaul , @mercime , @chouf1
Finally, i made 2 versions tonight the 1.0.3-beta1 is taking in account Paul’s review. Then i thought, what about filtering the topic by support status in the backend Topics list ?
So i made 1.1-beta1, here’s an illustration
https://github.com/imath/buddy-bbPress-Support-Topic/blob/master/screenshot-5.pngMaster is latest.
https://github.com/imath/buddy-bbPress-Support-TopicIf everything is ok, then i’ll publish 1.1 to WordPress repo.
Good night.
Good evening Paul,
that’s a great new !! Working on your review, i’ll let you know when i’m done, this info doubles my motivation 😉
I’ll quickly publish a new version (1.0.2-beta1 on github, 1.0.2 on WP repo) to resolve the sanitization’s bug (i hope tonight).
Then i’ll publish another version to integrate the rest of your review (1.0.3-beta1).
Thanks again for your help and interest in this plugin.
thanks @chouf1,
just upgraded the plugin in repo : https://wordpress.org/extend/plugins/buddy-bbpress-support-topic/
once the change set applied, you’ll be able to use this :
`add_filter(‘bp_bbp_st_print_support_type’, ‘dan_style_support_topic’, 10, 2);function dan_style_support_topic( $topic_status, $support_status ) {
if( $support_status == 2 ) {
return ‘‘ . $topic_status .’‘;
} else if( $support_status == 1 ) {
return ‘‘ . $topic_status .’‘;
} else {
return $topic_status;
}}`
You’re welcome !! Many thanks to you for your precious help in debugging the plugin 🙂
now in WordPress repo :
https://wordpress.org/extend/plugins/buddy-bbpress-support-topic/i’m back !
This time i think version 1.0-beta2 of the plugin can work on these configs without bugs !
- BuddyPress 1.6.3 with group forums & sitewide forums powered by bbPress 1.2
- BuddyPress 1.6.3 with group forums powered by bbPress 1.2 & site wide forums by bbPress 2.2.3
- BuddyPress 1.7 with group forums & site wide forums powered by bbPress 2.2.3
- bbPress 2.2.3 alone
To test this new beta, make sure the root folder name of the plugin keep the same name.
@mercime i added an image to show you where the select boxes are in bbPress 2.2.3 to my reply on github.
Have you tested to change the support status from the backend admin of the topics (bbPress 2.2.3) ?
the link to 1.0-beta2 of buddy bbPress Topic Support
@chouf1 , this now should work like a charm 😉
The only config i haven’t tested was this one 🙁 I thought as in backend it is not recommanded to do so, then..
So i’ll check this asap to see what’s going wrong when bbPress 1.2 is running for group forums and at the same time bbPress 2.2.3 is runnig sitewide forums.
For what @chouf1 describes, it’s because the js is not enqueued as bbPress 2.2.3 is activated. So i need to strip a condition and check what’s happening on the different configs..
For what @mercime describes in point B on github, i have no idea at the moment, but will find 😉
Thanks a lot for your testing. I’ll be back soon with a new beta 😉
Good evening @djpaul @mercime @chouf1
Now i think this little plugin really rocks 🙂
as it can play with bbPress 2.2.3 or BuddyPress 1.5 to 1.7 (group forums or bbPress ones)
here’s 1.0-beta1 of “buddy-bbPress-Support-Topic”.
Some info about this new release :
- works in bbPress 2.2.3
- in topics backend list, adds a column to tell if the topic is a support one
- in topic backend edit screen, adds a selectbox to set the support status into the first right metabox
- in forum topic list on front end adds a mention about the status of the topic for support topics
- in forum topic single view, adds a select box to “ajaxset” the status of the support topic.
You can also style the mentions with a button effect or simple color :
`
//for example
.topic-not-resolved {
color:red;
}.topic-resolved {
color:green;
}
`if you find any bug please let me know, i’ve tested it on these configs:
- BuddyPress 1.7, bbPress 2.2.3
- bbPress 2.2.3
- BuddyPress 1.6.3 with “old” group forums
Ok, then i’ll work on it 🙂
I’ve been testing BP 1.7 with bbPress 2.2.3, 1 word : beautiful. Congrats to the dev team !!
OOps and thank you @mercime for your help on this one and bp-avatar-suggestions 🙂
Hi,
old one, i will try to adapt it to new bbPress soon. But i was hesitating as i thought it already exists, no ?
“Bonjour” @mercime thanks for your mention 🙂
Vive BuddyPress !!
In reply to: Seeking some beta testerThanks @chouf1 for your help 🙂
Just published a new beta on github. Now you can filter the avatar list of avatars by gender thanks to a xprofile field and a little piece of code in the functions.php of your active theme : http://imathi.eu/2013/01/09/bp-avatar-suggestions-xprofile/
sorry for this self promo, maybe you can try this plugin : https://buddypress.org/community/groups/bp-checkins/, it adds a map in member / friends view with the latest position of the friends of the user… I know it’s not replying to your need at 100%. But i agree with Hugo, dealing with all members on a map is a huge challenge.
In reply to: Stop users accessing /wp-adminHello,
You can try to add this in the functions.php of your active theme :
function henry_restrict_access_admin_panel(){ global $current_user; get_currentuserinfo(); if ( $current_user->user_level < 1 ) { $redirect = bp_core_get_user_domain( $current_user->ID ); wp_redirect( $redirect ); exit; } } add_action('admin_init', 'henry_restrict_access_admin_panel', 1);In reply to: [Resolved] how can Modify Registration Form ?Ok, to set new fields for your members you should read the paragraph ‘Optional: Set Profile Fields’ of this tutorial
http://wpmu.org/the-illustrated-guide-to-installing-and-setting-up-buddypress-1-5/if you mean login in with email, then you can try this interesting plugin https://wordpress.org/extend/plugins/wp-email-login/
then you can add a function in the functions.php file of your active theme to change the label of the sidebar login form :
add_action('bp_after_sidebar_login_form', 'bp_login_by_email_adapt_login_form'); function bp_login_by_email_adapt_login_form() { ?> jQuery(document).ready(function($){ usernameoremail = $("#sidebar-user-login").parent().html().replace(/Username/ig, 'Username or email' ); $("#sidebar-user-login").parent().html(usernameoremail); }); <?php }or if you’re using a child theme of BP-default theme, you can add/edit the template sidebar.php and replace the label for=sidebar-user-login by Username or email.
In reply to: [Resolved] how can Modify Registration Form ?Hi websitevala,
To add custom fields to your registration page, you’ll need to add xprofile fields. To do so in WP Backend, you should go / BuddyPress menu / Profile fields submenu
And for the other thing, as you noticed emails are hidden, there might be a spam risk reason to that. And as a user, i wouldn’t like to have my email shown on my profile.. So i dont think it’s a good idea.
In reply to: List Buddpyress users ordered by meta_valuehi @enderpal444
I think i would use BP members loop to do what you want to do as you can send meta_key to BP_Core_User::get_users. Then i would take benefit of the filters included in the 2 sql to change its behavior. This is what i’ve tried to add a filtering by geo position to the main BP Members directory. I guess you’ll need to ask Roger and Paul about efficiency…
in the functions.php of my active theme > http://pastebin.com/2HKsSZCc
i tried to have a ‘one pass’ approach
