BP Tips and Tricks

Private BP Pages

Private BP Pages is a plugin I once offered free of charge on the WordPress.org plugin repository. However because creating plugins is my only source of income, I can no longer devote the time to free support request so now the plugin is offered as a premium plugin. Private BP Pages will make all of […]

Add Xprofile Fields Name and Value to the Members Directory

// Here is one way you could add xprofile fields name as well // as the value to the members directory! Just remember to // replace “Field-Name” with the names of your fields in the // 5 variables in my code. Also remember it is case sensitive. // If you notice the pattern of 5 […]

Redirect Logged Out Visitors To Register, And Logged In Users To Profile Using A Dummy Page

Add the following code to bp-custom.php. See the commented instructions in the code to get it to work correctly. // PLEASE NOTE FOR THIS TO WORK: // Before adding this code to bp-custom.php // http://codex.buddypress.org/developer/customizing/bp-custom-php/ // you will need to create a new page in the dashboard and name it // something like “Dummy Page” […]

Remove New Topic Button For Subscribers

If your an admin using BuddyPress and bbpress and you only want admins to create new topics then use the code below. Place it in bp-custom.php if you do not want to display the “New Topic Button” for subscribers. Admins only will see it. function bphelp_hide_new_topic_button() { if ( ! current_user_can( ‘edit_others_topics’ ) ) { […]

BuddyPress Redirect To Profile Trick Using A Landing Page.

Add the below code to bp-custom.php to redirect to profile upon login.Follow the instructions¬† in comments below: // PLEASE NOTE FOR THIS TO WORK: // Before adding this code to bp-custom.php // http://codex.buddypress.org/developer/customizing/bp-custom-php/ // you will need to create a new page in the dashboard and name it // something like “Welcome” for example or […]