Search Results for 'code'
-
Search Results
-
Topic: force revision logs
Hi this is my first post here, I know my way around editing code but not a strong coder.
I am wanting to edit bbpress so as to turn off the option for revision logs and have it as a default so all post edits must be recorded.
Can anyone please guide me in doing this?
I heave read around the forums and it seems everyone is wanting to do the opposite of this with their logs, but I need it as my wordpress/bbpress install is for official activities.
thanks
I would like to know how to completely uninstall bbpress, I’ve looked it up and followed the instructions on many other pages and thought I had it all but under the user profiles we have at the very bottom a section called “Additional Capabilities” and next to it you can see the user role. Here is a screenshot of it

I have tried running this and it doesn’t work, I have role plugins to view all my roles and it doesn’t show me any of the bbpress roles so I’m really sure why this is still showing up
$wp_roles = new WP_Roles(); $wp_roles->remove_role("bbp_role"); $wp_roles->remove_role("bbp_blocked"); $wp_roles->remove_role("bbp_keymaster"); $wp_roles->remove_role("bbp_moderator"); $wp_roles->remove_role("bbp_participant"); $wp_roles->remove_role("bbp_spectator");Hey bbPress Gang,
I just wanted to report a minor issue of a Notice that is being thrown for the hook in actions.php on line 48:
add_action( 'set_current_user', 'bbp_setup_current_user', 10 );I handled it in the core plugin like this:
add_action( 'plugins_loaded', function() {
remove_action( 'set_current_user', 'bbp_setup_current_user', 10 );
add_action( 'wp_set_current_user', 'bbp_setup_current_user', 10 );
});For your issues team, here is the notice:
Notice: bbp_setup_current_user was called incorrectly. The current user is being initialized without using $wp->init(). Please see Debugging in WordPress for more information. (This message was added in version 2.3.) in /Users/tonya/Sites/sandbox/wp-includes/functions.php on line 3560
Looking at set_current_user, it was depreciated.
Cheers! </>
TonyaTopic: The visual editor
Just out of interest, could someone explain to me why it was disabled in bbPress?
It has a couple of bugs, and it is called within an iframe(holy crap, right?) which has immediately put me off using it, a visual editor is absolutely vital for a forum software and it is not part of bbPress – even though WordPress has a very good Visual Editor as part of its core code.
Why is the visual editor not enabled within bbPress, are the core guys working on it? Milestone?
Hi!
This checkbox “Inform me about new topics via email” is always stay cheked.
If I check it off, it’s checked again.If I try this code, it always be unchecked:
function pw_bbp_auto_checK_subscribe( $checked, $topic_subscribed ) {
if( $topic_subscribed == 0 )
$topic_subscribed = false;
return checked( $topic_subscribed, true, false );
}
add_filter( ‘bbp_get_form_topic_subscribed’, ‘pw_bbp_auto_checK_subscribe’, 10, 2 );But it must work properly: be unchecked for default, and user can check and uncheck it his self any time.
Site: http://www.tocpeople.com/forum/
with newest versions of WordPress and BBpress.