The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I am trying to use this conditional in my showthread.php but it just seems to ignore the second part of the statement. It will not allow ANY usergroups to view thread #400. Is this code wrong or am I missing something? I only want usergroups 12 and 10 to be able to view the thread.
if ($threadinfo['threadid'] == 400 AND !is_member_of($bbuserinfo, 12, 10)) { print_no_permission(); } |
#2
|
||||
|
||||
![]() PHP Code:
|
#3
|
|||
|
|||
![]()
That worked, thank you Lynne!
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|