PHP - IF GROUP NAME/ID

2 years 10 months ago - 2 years 10 months ago #270576 by Design-ADCD
Hello!
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 ) {

}
Moderators: beatnantkrileon
Time to create page: 0.108 seconds
Facebook Twitter Google LinkedIn