Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 If Usergroup Then... on Member Profiles
Saperlie Offline
Junior Member
**
Posts: 2
Joined: May 2018
Post: #1
If Usergroup Then... on Member Profiles
Hello!

I’m working on these member profiles and I’d like to display different profile codes based on the uersgroup of the member profile being viewed I haven’t yet Sussex out how to do it properly... would this be possible, and if so how would the code be applied...

I have tried....

Code:
 <if $GLOBALS['mybb']->user['usergroup'] == 13 then> 


And

Code:
<if $mybb->user['usergroup'] == 4 then>


Any ideas? Is this even possible? Question mark?

Any help would be appreciated. Smile

05-23-2018 01:23 PM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,327
Joined: Mar 2010
Post: #2
RE: If Usergroup Then... on Member Profiles
Only for primary usergroup:

Code:
<if $memprofile['usergroup'] == 4 then>...</if>


05-24-2018 06:50 AM
Find all posts by this user Quote this message in a reply
Saperlie Offline
Junior Member
**
Posts: 2
Joined: May 2018
Post: #3
RE: If Usergroup Then... on Member Profiles
Ugh of course! I am such an idiot. That took two seconds.

I APPRECIATE YOU! Stay kind, stranger Biggrin
05-24-2018 01:19 PM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: