The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
![]()
I need to prevent a script from loading in my header when a popup is displayed. The popup script runs when the misc.php script is run.
Code:
define('THIS_SCRIPT', 'misc'); define('CSRF_PROTECTION', true); if (in_array($_GET['do'], array('whoposted', 'buddylist', 'getsmilies'))) { define('NOPMPOPUP', 1); } Code:
<vb:if condition(!(THIS_SCRIPT=='misc' & NOPMPOPUP)) JAVASCRIPT_CODE </vb:if> |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|