NJAquaman - Notices THIS_SCRIPT Criteria
What: A Product To Give you THIS_SCRIPT Criteria for Notices.
WORKS WITH ..!!! 4.0.x Install: 1) Navigate to ACP > Plugins & Products > Manage Products > Add/Import Product 2) Install the "NJAquaman - Notices THIS_SCRIPT Criteria" Product. 3) Navigate to Notices > Add New Notice 4) At the Bottom you can determine to show on certain page with the THIS_SCRIPT defined 5) To Define THIS_SCRIPT go to any "PHP" file on you forum and download and open it you will see something like this "define('THIS_SCRIPT', 'profile'); " . The "profile" is the THIS_SCRIPT name and thats what your going to use for the Notice is you want it to show, on that page. The Way this works is when you Create Notice you may only show it on a php page of your choice . Say you want to put the notice only on the Profile page. So you check THIS_SCRIPT code in the member.php and it says "member". Then put the "member" in the field that is given when creating a notice. Now it will only show up on the memer.php/profile pages. All other Criteria will also work when this is enabled. If all You wanted Not on THIS_SCRIPT Download This Version - &stc=1&d=1262650803 Demo: ________________________________________________________________ Change Log v1.1 - 01/04/10 - Added the Not THIS_SCRIPT Version (KALL) Spoiler (click to open)
Quote by aj8690
If all you wanted was 'is not THIS_SCRIPT', just change the logic in this line:
PHP Code:
if ($conditions[0] != THIS_SCRIPT)
PHP Code:
if ($conditions[0] == THIS_SCRIPT)
Close
________________________________________________________________ Download
NJAquaman - Notices THIS_SCRIPT Criteria.xml (1.7 KB, 105 downloads) Screenshots |
Similar Mods
New Posting Features NJAquaman - New Post Count! | vBulletin 3.8 Add-ons |
Add-On Releases NJAquaman - Main Nav Tab Drop Down | vBulletin 4.x Add-ons |
Administrative and Maintenance Tools Notices: Day Criteria (based upon Server Time Zone) | vBulletin 3.7 Add-ons |
Administrative and Maintenance Tools Notices: Domain Criteria | vBulletin 3.7 Add-ons |
Administrative and Maintenance Tools Notices: Time Range Criteria (based upon Server Time) | vBulletin 3.7 Add-ons |