How to enable truly anonymous posting in bbPress forums? [closed]

When we post an empty anonymous reply, we get the following errors: The part of BBPress that’s responsible for handling this, is the bbp_new_reply_handler() function, in the file /bbpress/includes/replies/functions.php. It contains these lines that are of interest to us: // User is anonymous if ( bbp_is_anonymous() ) { // Filter anonymous data $anonymous_data = bbp_filter_anonymous_post_data(); … Read more

Return instead of echo

Look at bp_group_request_user_avatar_thumb() in this file /bp-groups/bp-groups-template.php. It has a filter hook. In your filter function, add the $html parameter and set it to false and it should return just an url to the avatar. Then you can wrap it in a href and img tag manually. Or you could write a call directly to … Read more

Get rid of the word private in bbpress forums names

AFAIR BBPress relies on WP functions with these titles, so most probably this will be helpful: function remove_private_prefix_from_title( $title ) { return ‘%s’; } add_filter( ‘private_title_format’, ‘remove_private_prefix_from_title’ ); And here you can find docs for that filter: private_title_format

Hide BBPress create topic on one page

This took as surprisingly long time but I managed to figure it out: fieldset.bbp-form { display: none; } .page-id-170 * fieldset.bbp-form { display: block !important; } I know this hides all and only shows on page id 170, and this is the opposite of what I asked but it suits my needs. An answer more … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)