Version: 1.2, by kh99
Developer Last Online: Sep 2020
Category: Administrative and Maintenance Tools -
Version: 4.x.x
Rating:
Released: 01-14-2012
Last Update: 05-17-2014
Installs: 80
Re-useable Code Translations
No support by the author.
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'.
What would be the possibility of getting a Month of the Year option?
My coding skills are ... well, they are nonexistent. I tried to mess with the XML myself with much failure.
We have active users and we have semi-active users and I am trying to set up a "Notice of the Month." This way someone who logs in anytime in the month of June will see the notice, and can dismiss it at their leisure. When July comes around, I'll have a new notice for that month.
Thank you for the Mod. Can you also add the mod to show the notice for user who just registered?
I might be able to do something like check if the registration date is less than X days ago, if that will work for you.
Someone asked for something to be added quite a long time ago and unfortunately I never got around to it. But maybe I'll find some time now that you've reminded me.
I finally got around to adding a couple things that were requested (one more than a year ago), so I apologize to those who waited. (See description for added features).
No bug fixes, so if you don't need the latest features there's no need to update.
Is it possible to have a setting for the notice to show up ONLY on the main page of the forum? I do not see a setting for that and would like that feature.
Is it possible to have a setting for the notice to show up ONLY on the main page of the forum? I do not see a setting for that and would like that feature.
For that, I think you can use the THIS_SCRIPT option and enter "index" (without the quotes) as the value.