How do I set up real 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

How to change the text of link ‘Home’ in bbPress forum breadcrumb?

The string is now in bbpress/includes/common/template-tags.php. Hook into bbp_no_breadcrumb, register a filter for gettext and change the text: add_filter( ‘bbp_no_breadcrumb’, ‘wpse_44597_change_home_text’ ); function wpse_44597_change_home_text( $translated, $original=””, $domain = ” ) { if ( ‘bbp_no_breadcrumb’ === current_filter() ) { add_filter( ‘gettext’, __FUNCTION__, 10, 3 ); return FALSE; } if ( ‘Home’ === $original && ‘bbpress’ === … Read more

How to edit posts with the new wp_editor api?

For the sake of completeness, I am going to post an answer based on the solution you edited in your question. $post = get_post( $post_id, ‘OBJECT’ ); wp_editor( esc_html( $post->post_content ), ‘textarea01’, $settings ); This would escape the HTML too so if you are editing a post you might want to replace the last line … Read more

Add custom menu item using wp_nav_menu_items filter

I’ve created these two functions you may use to add custom items to a given menu item present in your menu (page, post, link…). In your case, you can add these function to your functions.php and call them like this: $menu_name=”Your Menu Name”; $name_of_menu_item_to_append_to = ‘My Account’; $id_of_menu_item_to_append_to = get_wp_object_id( $name_of_menu_item_to_append_to, ‘nav_menu_item’ ); $new_submenu_item = … Read more

Integrate WordPress and bbpress profiles?

Get redirection plugin to redirect the /profile.php to bbpress profile. Then there is a plugin called admin menu editor where you can completely remove the profile the admin menu (and other unwanted admin menu items). Or you can replace the wordpress profile with just email and password wordpress.org/extend/plugins/change-password-e-mail/

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