Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Notices Criteria - Additional Conditions for Displaying a Notice Details »
Notices Criteria - Additional Conditions for Displaying a Notice
Mod Version: 1.2, by kh99 (Senior Member) kh99 is offline
Developer Last Online: Nov 2017 I like it Show Printable Version Email this Page

vB Version: 3.8.x Rating: (1 vote - 5.00 average) Installs: 5
Released: 18 May 2014 Last Update: 18 May 2014 Downloads: 26
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 Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	sg1.jpg
Views:	133
Size:	74.1 KB
ID:	149165  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Administrative and Maintenance Tools Notices Criteria - Additional Conditions for Displaying a Notice kh99 vBulletin 4.x Add-ons 93 07 Feb 2016 10:29
Miscellaneous Hacks Notices Criteria - Not Using Style dartho vBulletin 4.x Add-ons 3 24 May 2015 17:00
Administrative and Maintenance Tools Notices: Domain Criteria Phalynx vBulletin 3.7 Add-ons 7 04 Sep 2010 11:37

Comments
  #2  
Old 18 May 2014, 22:04
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
This is the same code as the vb4 version that has been around for a couple of years (and has always worked on vb3), but I'm adding it here so vb3 users have a better chance of finding it.
Reply With Quote
  #3  
Old 19 May 2014, 01:00
blind-eddie's Avatar
blind-eddie blind-eddie is offline
 
Join Date: Apr 2006
Real name: Tim
Very nice addon, this has been around for a while?

Thank you for sharing this for the 3.8 community.
__________________
LONG LIVE 3.8 SERIES
National Arcade Competition Club- NACC All arcade edits will work on vb4.
Check out my heavily modified ibproarcade with over 50,000 games for you, free of charge!
Exclusive arcade addons, edits and skins were made by stangger5 owner of Next Level Arcade
Reply With Quote
  #4  
Old 12 Apr 2018, 09:56
kai_sey kai_sey is offline
 
Join Date: Nov 2007
This is a great mod for vb 3.8x.

I know the developer kh99 (who did a great job) has said he won't be updating his mods any more, but he stated his code is freely re-usable. Therefore, can anyone add an extra feature to this mod?

Basically, I'd like a new option at the bottom of the mod, which gives the ability to change the title of the Notices. As you know, by default, the title of EVERY notice displayed to the end-user is always "Notice".

However, this can be manually modified in the Navbar template, i.e. $vbphrase[notices] ... But by modifying this template, it is a global modification, i.e. every Notice would again, have the same title.

So, I'd like an extra option on this mod like this:

- Replace $vbphrase[notices]? Yes / No? Replace with: (insert new title here)

So the admin can put whatever he wants there. The aim is, to give the ability to set individual titles to every notice.

P.S. Open to paying for this if need be.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 21:02.

Layout Options | Width: Wide Color: