Community Support Forums — WordPress® ( Users Helping Users ) — 2011-07-26T03:15:27-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=14198 2011-07-26T03:15:27-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14198&p=29147#p29147 <![CDATA[Re: Hide profile menu items to basic members]]> Statistics: Posted by johnegg — July 26th, 2011, 3:15 am


]]>
2011-07-26T02:51:57-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14198&p=29142#p29142 <![CDATA[Re: Hide profile menu items to basic members]]>

Statistics: Posted by Cristián Lávaque — July 26th, 2011, 2:51 am


]]>
2011-07-25T15:04:26-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14198&p=29062#p29062 <![CDATA[Re: Hide profile menu items to basic members]]>
Here is the code the programmer put in to functions.php in case anyone needs it

Code:
/* Place this code in wp-content/plugins/buddypress/bp-themes/buddyboss/functions.php to 
 * remove the 'Media' link from appearing on non-premium profile pages. You can paste it around line 26.
 */

// Remove the 'Media' link from the menu appearing on the left-hand side of the profile page, 
// *if* the profile owner isn't a premium member.

//Load the user associated with the profile we're browsing.
$user_profile = new WP_User$bp->displayed_user->id );

//Check profile owner's access level. This depends on the s2member plugin.
if(!$user_profile->data->wp_capabilities['s2member_level2']){
  unset(
$bp->bp_nav['media']);
}
// END
 

Statistics: Posted by johnegg — July 25th, 2011, 3:04 pm


]]>
2011-07-25T13:52:19-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14198&p=29055#p29055 <![CDATA[Re: Hide profile menu items to basic members]]>

Statistics: Posted by Cristián Lávaque — July 25th, 2011, 1:52 pm


]]>
2011-07-23T01:16:20-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14198&p=28975#p28975 <![CDATA[Re: Hide profile menu items to basic members]]> Statistics: Posted by johnegg — July 23rd, 2011, 1:16 am


]]>
2011-07-22T23:03:36-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14198&p=28966#p28966 <![CDATA[Re: Hide profile menu items to basic members]]>

Statistics: Posted by Cristián Lávaque — July 22nd, 2011, 11:03 pm


]]>
2011-07-22T16:19:54-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14198&p=28936#p28936 <![CDATA[Re: Hide profile menu items to basic members]]>

Statistics: Posted by johnegg — July 22nd, 2011, 4:19 pm


]]>
2011-07-22T14:40:27-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14198&p=28927#p28927 <![CDATA[Re: Hide profile menu items to basic members]]>

For that you could try using the advanced conditionals in your template. WP Admin -> s2Member -> API / Scripting -> Advanced/PHP Conditionals and Advanced/PHP Query Conditionals

I hope that helps.

Statistics: Posted by Cristián Lávaque — July 22nd, 2011, 2:40 pm


]]>
2011-07-22T03:08:14-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14198&p=28909#p28909 <![CDATA[Hide profile menu items to basic members]]>
Again, I cant get over how good this plugin is, and its free! :D

Im using s2member + buddypress. Anyway, I have 2 memberships set up. Both paid but both have a 'media' tab in profile page that can add video & audio. This is only available to premim package but the tab still appears for basic members.

Is it possible to hide the 'media' link in teh profile page sidebar on the basic members profile pages?

Image

Statistics: Posted by johnegg — July 22nd, 2011, 3:08 am


]]>