Back to vBulletin 4.x Add-ons

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

vB Version: 4.x.x Rating: (17 votes - 4.65 average) Installs: 80
Released: 15 Jan 2012 Last Update: 19 May 2014 Downloads: 347
Not Supported Re-usable Code Translations  

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_additional_notice_cr_1.2_vb4.zip (116.2 KB, 165 downloads)

Screenshots

Click image for larger version
Name:	sg1.jpg
Views:	381
Size:	74.1 KB
ID:	149161  


vblts.ru supports vBulletin®, 2022-2024