Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 <if statements ?
1master1 Offline
Member
***
Posts: 232
Joined: Oct 2010
Post: #5
RE: <if statements ?
worked fine with single group but can we add more than 1 group with not clause?

for exapmle: to hide it from banned members also?
<if $GLOBALS['mybb']->user['usergroup'] != 5 || $GLOBALS['mybb']->user['usergroup'] != 7 then> Text </if>

will work?
thanks to RateU and leefish
i figured it out Smile
(This post was last modified: 10-13-2010 06:54 AM by 1master1.)
10-13-2010 06:45 AM
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: