Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 <if statements ?
leefish Offline
Hamster
*****
Posts: 1,009
Joined: Apr 2010
Post: #2
RE: <if statements ?
I know this one

Code:
<if $GLOBALS['mybb']->user['usergroup'] == 4 || $GLOBALS['mybb']->user['usergroup'] == 5 || $GLOBALS['mybb']->user['usergroup'] == 6 then> stuff for usergroup 4,5,6</if>


That would show things ONLY to the gids above.



[Image: leelink.gif]
MYBB1.6 & XThreads
10-12-2010 12:21 PM
Visit this user's website Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
<if statements ? - 1master1 - 10-12-2010, 11:24 AM
RE: <if statements ? - leefish - 10-12-2010 12:21 PM
RE: <if statements ? - 1master1 - 10-13-2010, 06:03 AM
RE: <if statements ? - RateU - 10-13-2010, 06:40 AM
RE: <if statements ? - 1master1 - 10-13-2010, 06:45 AM
RE: <if statements ? - RateU - 10-13-2010, 06:54 AM
RE: <if statements ? - 1master1 - 10-13-2010, 06:59 AM

 Standard Tools
Forum Jump: