The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
need to know how to make a plugin not run in the admincp its a username markup and dont want it to run it there because it show the markup when you try to login the admincp where you enter your User Name
if(THIS_SCRIPT !== 'admincp/index?????'){ my code } i know i can do it this way just have to add to many THIS_SCRIPT and would like the code to be short if(THIS_SCRIPT == 'index' OR THIS_SCRIPT == 'member' OR THIS_SCRIPT == 'calendar' "About ten more THIS_SCRIPT" ){ my code } |
#2
|
||||
|
||||
![]()
never mind i figured it out by adding this
PHP Code:
PHP Code:
PHP Code:
but if anybody know a way please let me know i really dont want to edit the php files |
#3
|
|||
|
|||
![]()
You should be able to do this (without adding anything to a file):
Code:
if (VB_AREA != 'AdminCP') |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|