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 (Moderator) kh99 is offline
Developer Last Online: Jul 2014 I like it Show Printable Version Email this Page

vB Version: 4.x.x Rating: (8 votes - 4.38 average) Installs: 52
Released: 15 Jan 2012 Last Update: 18 May 2014 Downloads: 226
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 Now

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

Screenshots

Click image for larger version

Name:	sg1.jpg
Views:	70
Size:	74.1 KB
ID:	149161

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.
Comments
  #2  
Old 15 Jan 2012, 22:36
Mr_Running Mr_Running is offline
 
Join Date: May 2010
Can not open file
Attached Images
File Type: jpg Cannot open.jpg (12.3 KB, 98 views)
Reply With Quote
  #3  
Old 15 Jan 2012, 22:44
kh99's Avatar
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
Originally Posted by Mr_Running View Post
Can not open file
Oops, you're right, it was a rar file named .zip. Hopefully I've fixed it.

Thanks for letting me know.
Reply With Quote
  #4  
Old 15 Jan 2012, 23:56
Merjawy's Avatar
Merjawy Merjawy is offline
 
Join Date: Sep 2002
Location: USA
Installed

Thanks
Reply With Quote
  #5  
Old 16 Jan 2012, 05:17
mitch84 mitch84 is offline
 
Join Date: Mar 2008
great idea, thx
Reply With Quote
  #6  
Old 16 Jan 2012, 05:22
BlueCheri BlueCheri is offline
 
Join Date: Jul 2009
Tagged, very good idea

Thanx
Reply With Quote
  #7  
Old 16 Jan 2012, 17:13
dacho's Avatar
dacho dacho is offline
 
Join Date: Dec 2004
Real name: David
tagged and going to check it on my forum
Reply With Quote
  #8  
Old 27 Apr 2012, 01:36
mgurain's Avatar
mgurain mgurain is offline
 
Join Date: Apr 2005
Real name: Mohammed Al-Gurain
This is what I was looking for since long long time , thank you very much kh99.
Reply With Quote
  #9  
Old 23 May 2012, 23:32
mgurain's Avatar
mgurain mgurain is offline
 
Join Date: Apr 2005
Real name: Mohammed Al-Gurain
It's working on 4.2, but shouldn't this be upgraded ?

Regards,,
Reply With Quote
  #10  
Old 23 May 2012, 23:51
kh99's Avatar
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
Originally Posted by mgurain View Post
It's working on 4.2, but shouldn't this be upgraded ?

Regards,,

As far as I know there's no reason to upgrade just for 4.2. You say it works - did something about notices change in 4.2? To be honest I haven't had the chance to download 4.2.0 yet.

Edit: I changed the version to 4.X.X, which it probably should have been all along.
__________________
Please don't PM me - post your questions in the appropriate forum.
Please don't PM me to ask me to read your thread.
Reply With Quote
  #11  
Old 24 May 2012, 01:42
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
Works fine in 4,.2.0.
Reply With Quote
  #12  
Old 24 May 2012, 06:34
mgurain's Avatar
mgurain mgurain is offline
 
Join Date: Apr 2005
Real name: Mohammed Al-Gurain
To test and confirm for people that it's compatible with 4.2 .
Reply With Quote
  #13  
Old 24 May 2012, 07:12
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
Originally Posted by kh99 View Post
As far as I know there's no reason to upgrade just for 4.2. You say it works - did something about notices change in 4.2? To be honest I haven't had the chance to download 4.2.0 yet.

Edit: I changed the version to 4.X.X, which it probably should have been all along.
It works fine on 4.2.0, Kevin. The only mods that should have any issues are any Navbar mods, as far as I can see.
Reply With Quote
  #14  
Old 24 May 2012, 08:18
learning1234 learning1234 is offline
 
Join Date: May 2012
very nice idea, awesome work

Last edited by learning1234 : 27 May 2012 at 03:03.
Reply With Quote
  #15  
Old 19 Jun 2012, 20:58
mmllc's Avatar
mmllc mmllc is offline
 
Join Date: Nov 2007
Awesome... thanks!
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
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 04:12.

Layout Options | Width: Wide Color: