![]() |
THIS_SCRIPT Help in plugin
1 Attachment(s)
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 } |
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 |
You should be able to do this (without adding anything to a file):
Code:
if (VB_AREA != 'AdminCP') |
All times are GMT. The time now is 11:52 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|