8 years 2 months ago - 8 years 2 months ago #270576 by Design-ADCD
PHP - IF GROUP NAME/ID was created by Design-ADCD
Can somebody please clarify to me how should I ask for the User Group Name in CB PHP?
For example, if I'm at "John's" profile in my site. John is a Special Customer (User Group). How can I create a IF Function that would make something show only at Special Customer's profiles.

I used this here to make tabs appear only on the logged user's profile. But I'm nowhere near to finding out how to make something show only for specific user groups.
if ( $_CB_framework->myId() != $user->id ) {


Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.145 seconds

Facebook Twitter LinkedIn