Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 If profilefieldid exist show//ifusergroup is
Glas Offline
Member
***
Posts: 106
Joined: Jul 2010
Post: #9
RE: If profilefieldid exist show//ifusergroup is
(04-04-2013 07:39 AM)Destroy666 Wrote:  You want to display something to only one group? If yes, use $mybb->user['usergroup'] not $mybb->usergroup['gid'] - it doesn't exist.

Code:
<if $mybb->user['usergroup'] == 36 || $mybb->user['additionalgroups'] == 36 then>
Nivel de Paltosidad<img src="http://www.beatdj.net/foros/images/palta.png" />: 99%
</if>


no no, the idea is that

"shows the content inside, to all users, but displays only in the postbit of users who have X UID or X addionalgroup membership"
04-04-2013 09:57 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
RE: If profilefieldid exist show//ifusergroup is - Glas - 04-04-2013 09:57 AM

 Standard Tools
Forum Jump: