Back to vBulletin 4.x Add-ons

NJAquaman - Notices THIS_SCRIPT Criteria
Mod Version: 1.1, by NJAquaman

vB Version: 4.0.x Rating: (2 votes - 5.00 average) Installs: 29
Released: 04 Jan 2010 Last Update: 05 Jan 2010 Downloads: 126
Not Supported Uses Plugins Re-usable Code Translations  

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
I would install if this had a "this script is NOT"

That would be wonderful. Thanks!
If all you wanted was 'is not THIS_SCRIPT', just change the logic in this line:

PHP Code:
    if ($conditions[0] != THIS_SCRIPT
to
PHP Code:
    if ($conditions[0] == THIS_SCRIPT

Close

________________________________________________________________

Download

File Type: %1$s NJAquaman - Notices THIS_SCRIPT Criteria.xml (1.7 KB, 105 downloads)
File Type: %1$s NJAquaman - Notices THIS_SCRIPT Criteria (NOT THIS_SCRIPT).xml (1.7 KB, 91 downloads)

Screenshots

Click image for larger version
Name:	2010-01-04_085546.gif
Views:	634
Size:	4.7 KB
ID:	109053  

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

vblts.ru supports vBulletin®, 2022-2024