Add parameter in tplcond-1.6
Sama34 Offline
Senior Member
****
Posts: 490
Joined: May 2011
Post: #2
RE: Add parameter in tplcond-1.6

PHP Code:
<if in_array($mybb->user['usergroup'], array(1,2,3)) then>


http://php.net/manual/en/function.in-array.php

Probably reading this may be useful to you:
http://mybbhacks.zingaburga.com/showthre...http://mybbhacks.zingaburga.com/showthread.php?tid=851&pid=1037


Why two threads?

Support PM's will be ignored. Yipi
Plugins: Announcement Bars - Custom Reputation - Mark PM As Unread
(This post was last modified: 09-05-2012 05:05 AM by Sama34.)
09-05-2012 05:05 AM
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
Add parameter in tplcond-1.6 - demmnic - 09-05-2012, 03:50 AM
RE: Add parameter in tplcond-1.6 - Sama34 - 09-05-2012 05:05 AM
RE: Add parameter in tplcond-1.6 - Sama34 - 09-05-2012, 09:03 AM

 Standard Tools
Forum Jump: