Member only view list of thread but can't view thread
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #17
RE: Member only view list of thread but can't view thread
(01-26-2017 10:01 PM)WINBOY Wrote:  

Code:
if($mybb->user['gid'] == '1,2,5' && in_array($thread['fid'], array(168))


You should use in_array for the gid as well.
IIRC, 1.8 already have a function to check the user's usergroup(s).

01-28-2017 02:35 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
RE: Member only view list of thread but can't view thread - RateU - 01-28-2017 02:35 AM

 Standard Tools
Forum Jump: