Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Notices: Day Criteria (based upon Server Time Zone) Details »
Notices: Day Criteria (based upon Server Time Zone)
Mod Version: 1.0.0, by Wired1 (Coder) Wired1 is offline
Developer Last Online: Jul 2019 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.7.0 Rating: (2 votes - 5.00 average) Installs: 20
Released: 21 May 2008 Last Update: 21 May 2008 Downloads: 76
Not Supported Uses Plugins Is in Beta Stage  

NOTE: This is currenty @ beta status. For whatever reason, parts of the week are triggering others. Working on a fix.


With this Product, a new criteria is added to the Notice Edit screen. Under "Display this notice if...", you will see three new options. Using them, you can select which days of the week your notice will show up. NOTE: Yes, this is based upon your SERVER's time zone, not the end user's time zone.

To Install:
1) Save the attached product-daycriteria.xml file.
2) Navigate to AdminCP -> Plugins & Products -> Manage Products -> [Add/Import Product]
3) Browse to wherever you saved the file.
4) Allow Overwrite -> Yes.
5) Import!

Version History:
1.0.0 - Initial Release

You may be interested in a similar product of mine: Notices: Time Range Criteria (based upon Server Time). Using both products you could have notices show up from 9-5, M-F for instance

Download Now

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

Screenshots

Click image for larger version

Name:	Day_Example.JPG
Views:	366
Size:	7.1 KB
ID:	81045  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • 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: Domain Criteria Phalynx vBulletin 3.7 Add-ons 7 04 Sep 2010 12:37
Administrative and Maintenance Tools Notices: Time Range Criteria (based upon Server Time) Wired1 vBulletin 3.7 Add-ons 24 10 Aug 2009 03:48

Comments
  #2  
Old 21 May 2008, 02:59
Wired1's Avatar
Wired1 Wired1 is offline
 
Join Date: Nov 2003
reserved for future use.
__________________
Admin of the Corsair Memory Forum (AKA the House of Help from back in the day)
Admin of Petri's IT Forum / Moderator at webdesignforums.net
Reply With Quote
  #3  
Old 21 May 2008, 03:06
Lionel Lionel is offline
 
Join Date: Dec 2001
Real name: Lionel
Perfect for store open/close days
Reply With Quote
  #4  
Old 21 May 2008, 03:16
Wired1's Avatar
Wired1 Wired1 is offline
 
Join Date: Nov 2003
Yep! I'm going to use it in combo with my other mod for a pretty similar purpose, opening / closing hours / days for various departments.

Next step is to figure out how to lock a notice into a calendar, so you can auto-adjust for holidays
__________________
Admin of the Corsair Memory Forum (AKA the House of Help from back in the day)
Admin of Petri's IT Forum / Moderator at webdesignforums.net
Reply With Quote
  #5  
Old 21 May 2008, 07:08
soulface's Avatar
soulface soulface is offline
 
Join Date: Oct 2005
Real name: Eros
Can you make those days in an one single line rather then making in 3 line ?
Reply With Quote
  #6  
Old 21 May 2008, 08:01
Wired1's Avatar
Wired1 Wired1 is offline
 
Join Date: Nov 2003
Originally Posted by soulface View Post
Can you make those days in an one single line rather then making in 3 line ?
Not with the limitations of the Notice system, only 3 conditions per notice criteria currently (3 checkboxes per notice). Only way around it is with manual edits and database changes. Not worth it. Multiple product coders have started threads @ vbulletin.com about this limitation.

I've already got a version coded for when they fix said limitations though. Product will be smaller than it currently is.
__________________
Admin of the Corsair Memory Forum (AKA the House of Help from back in the day)
Admin of Petri's IT Forum / Moderator at webdesignforums.net
Reply With Quote
  #7  
Old 21 May 2008, 08:45
Lionel Lionel is offline
 
Join Date: Dec 2001
Real name: Lionel
About one check box for every day, and then you do like you have for exclude days
Reply With Quote
  #8  
Old 21 May 2008, 09:20
Wired1's Avatar
Wired1 Wired1 is offline
 
Join Date: Nov 2003
Originally Posted by Lionel View Post
About one check box for every day, and then you do like you have for exclude days
I have no idea what you mean. Can you please elaborate?
__________________
Admin of the Corsair Memory Forum (AKA the House of Help from back in the day)
Admin of Petri's IT Forum / Moderator at webdesignforums.net
Reply With Quote
  #9  
Old 21 May 2008, 11:26
readjono readjono is offline
 
Join Date: Jan 2006
Just one little problem for me - the 'date' product appears in the middle of the lines for the days. Not a huge problem but would be nice to change that.
Reply With Quote
  #10  
Old 21 May 2008, 13:45
KURTZ KURTZ is offline
 
Join Date: Nov 2006
Real name: Christian
another installation for you Wired ...
Reply With Quote
  #11  
Old 21 May 2008, 20:24
Wired1's Avatar
Wired1 Wired1 is offline
 
Join Date: Nov 2003
Originally Posted by readjono View Post
Just one little problem for me - the 'date' product appears in the middle of the lines for the days. Not a huge problem but would be nice to change that.
Can't replicate it myself, but it's easy to fix. It's happening because they all have the same Execution Order.

Two ways to fix it:
Disable the Adds Server Time Criteria plugin, save, enable, save.

OR

Edit the plugin Adds Server Time Criteria, go to Execution Order. Change it to 6.


Originally Posted by KURTZ View Post
another installation for you Wired ...
Thanks!
__________________
Admin of the Corsair Memory Forum (AKA the House of Help from back in the day)
Admin of Petri's IT Forum / Moderator at webdesignforums.net
Reply With Quote
  #12  
Old 25 May 2008, 15:33
readjono readjono is offline
 
Join Date: Jan 2006
As pointed out, yesterday it was showing Friday's message.
Reply With Quote
  #13  
Old 25 May 2008, 22:57
Wired1's Avatar
Wired1 Wired1 is offline
 
Join Date: Nov 2003
You can check any of the 3 criteria (NOT the conditionals), and it'll set them all to true. Still working on a fix.
__________________
Admin of the Corsair Memory Forum (AKA the House of Help from back in the day)
Admin of Petri's IT Forum / Moderator at webdesignforums.net

Last edited by Wired1; 28 May 2008 at 06:24.
Reply With Quote
  #14  
Old 03 Sep 2008, 16:24
readjono readjono is offline
 
Join Date: Jan 2006
Did this ever get any further?
Reply With Quote
  #15  
Old 20 Oct 2008, 13:31
mgurain's Avatar
mgurain mgurain is offline
 
Join Date: Apr 2005
Real name: Mohammed Al-Gurain
Originally Posted by Wired1 View Post
You can check any of the 3 criteria (NOT the conditionals), and it'll set them all to true. Still working on a fix.
yes that what is happening!
It will be a great fix if you repair it.
Thanks a lot.
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 00:23.

Layout Options | Width: Wide Color: