Back to vBulletin 3.8 Add-ons

Notices Criteria - Additional Conditions for Displaying a Notice
Mod Version: 1.2, by kh99

vB Version: 3.8.x Rating: (1 vote - 5.00 average) Installs: 7
Released: 19 May 2014 Last Update: 19 May 2014 Downloads: 49
Not Supported Uses Plugins Re-usable Code Translations  

(Note: this is the same code as the vb4 version, so if you are already using that one there is no reason to switch)

What is it?
----------------------------
This mod adds new criteria that can be used to configure when a notice will be displayed or not. (These came from separate requests in the forums which I decided to release as one mod.)

1) Show notice only on one or more days of the week
2) Show notice for any style other than one selected style
3) Show notice only for specified threadids (in this case the notice will on display on the showthread and newthread pages).
4) Show notice if THIS_SCRIPT value is (or is not) in specified list of values
5) Show notice if user has been registered for more/less than a certain number of days
6) Show notice only during certain months
7) Show notice only when user is/is not browsing selected forums (this duplicates the functionality of the standard functions, but adds flexibility).

Installation:
----------------------------
Just import the product XML file from the Product Manager. The new criteria will appear when adding or editing a notice in the Notices Manager.

Notes:
1) Should work on 3.X and 4.X versions.
2) Since notices aren't shown on the register.php page, adding "register" for the "THIS_SCRIPT value is" option will not work. If you want to show notices on the register page, you must edit the navbar template and remove the check for THIS_SCRIPT != 'register'.

History:
----------------------------
1.2 (May 18, 2014)
  • Added forum selection
  • Added month selection
  • Added "less than" option to days registered
1.1 (Oct 4, 2012)
  • Added THIS_SCRIPT and Days Registered
  • Changed title of mod
  • Changed wording of "Day of Week" option
1.0 (Jun 14, 2012)
  • Added threadid criteria
0.95 (Jan 15, 2012)
  • Initial Release

Download

File Type: %1$s product-kh99_add_notice_cr_1.2_vb3.zip (116.2 KB, 64 downloads)

Screenshots

Click image for larger version
Name:	sg1.jpg
Views:	177
Size:	74.1 KB
ID:	149165  

Similar Mods

Administrative and Maintenance Tools Notices Criteria - Additional Conditions for Displaying a Notice vBulletin 4.x Add-ons
Miscellaneous Hacks Notices Criteria - Not Using Style vBulletin 4.x Add-ons
Administrative and Maintenance Tools Notices: Domain Criteria vBulletin 3.7 Add-ons

vblts.ru supports vBulletin®, 2022-2024