The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
VB Coding Question: If I wanted to add more forums to this check, how would I do it? (novice coder here)
Code:
if ($foruminfo['forumid']=="57" AND $vbulletin->userinfo['hsa']!=YES) { standard_error("You Must Apply For Access To This Forum.<br />Go Here To Apply: <a href=http://www.XXXXXXXX.com/forums/verifyage.php>Click Here</a>"); } Code:
if ($foruminfo['forumid']=="57,167,168" AND $vbulletin->userinfo['hsa']!=YES) { standard_error("You Must Apply For Access To This Forum.<br />Go Here To Apply: <a href=http://www.XXXXXXXX.com/forums/verifyage.php>Click Here</a>"); } Code:
if ($foruminfo['forumid']=="57" if ($foruminfo['forumid']=="167" if ($foruminfo['forumid']=="168" AND $vbulletin->userinfo['hsa']!=YES) { standard_error("You Must Apply For Access To This Forum.<br />Go Here To Apply: <a href=http://www.XXXXXXXX.com/forums/verifyage.php>Click Here</a>"); } Code:
if ($foruminfo['forumid']=="57" if ($foruminfo['forumid']=="167" if ($foruminfo['forumid']=="168" AND $vbulletin->userinfo['hsa']!=YES) { standard_error("You Must Apply For Access To This Forum.<br />Go Here To Apply: <a href=http://www.XXXXXXXX.com/forums/verifyage.php>Click Here</a>"); } |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|