Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Notices: Time Range Criteria (based upon Server Time) Details »
Notices: Time Range Criteria (based upon Server Time)
Mod Version: 1.0.1, 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: (1 vote - 5.00 average) Installs: 24
Released: 07 May 2008 Last Update: 07 May 2008 Downloads: 97
Supported Uses Plugins  

With this Product, a new criteria is added to the Notice Edit screen. Under "Display this notice if...", you will see an option that asks for a start and an end time for a notice to be displayed. NOTE: this is based upon your SERVER time, not the end user's time, and is based upon a 24 hour clock (no AM / PM here).

To Install:
1) Save the attached product-timecriteria.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!


If you would like a version of this mod based upon USER time, please speak up, and I'll make it Heck, I'll probably make it anyways

Version History:
1.0.0 - Initial Release
1.0.1 - Changed to clarify Server Time

If you're using this product, you may be interested in a similar product of mine: Notices: Day Criteria (based upon Server Time Zone). 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:	timecriteria.jpg
Views:	495
Size:	11.4 KB
ID:	80078  

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: Day Criteria (based upon Server Time Zone) Wired1 vBulletin 3.7 Add-ons 23 10 Nov 2011 05:16
Forum Display Enhancements Show lastpost time only in last day range ThorstenA vBulletin 3.6 Add-ons 3 12 Oct 2007 12:28

Comments
  #2  
Old 07 May 2008, 02:21
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 10 May 2008, 18:55
CrankyFC CrankyFC is offline
 
Join Date: Dec 2007
Location: HelpYourSites
Real name: James
Ideas

You should add the following:
  • Use AM/PM or 24-Hours
  • Use Server Time or User Time
Otherwise it is good.
Reply With Quote
  #4  
Old 12 May 2008, 03:28
Wired1's Avatar
Wired1 Wired1 is offline
 
Join Date: Nov 2003
You mean give the option to use 24 hr or AM/PM? Yeah, should be possible, although it would clutter up the Notice line a bit, dontcha think?

Yeah, User time is on the to-do list, working on my other mod currently though.
__________________
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 20 May 2008, 17:50
readjono readjono is offline
 
Join Date: Jan 2006
I like this a LOT. Would it be possible to also add an option for days. I run a website for a radio DJ so wouldn't mind a notice option to say show between Monday and Friday.
Reply With Quote
  #6  
Old 20 May 2008, 19:32
KURTZ KURTZ is offline
 
Join Date: Nov 2006
Real name: Christian
nice one Wired! obviously installed!
Reply With Quote
  #7  
Old 20 May 2008, 23:42
Wired1's Avatar
Wired1 Wired1 is offline
 
Join Date: Nov 2003
Originally Posted by readjono View Post
I like this a LOT. Would it be possible to also add an option for days. I run a website for a radio DJ so wouldn't mind a notice option to say show between Monday and Friday.
I'll see what I can do!


Originally Posted by KURTZ View Post
nice one Wired! obviously installed!
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
  #8  
Old 21 May 2008, 03:03
Wired1's Avatar
Wired1 Wired1 is offline
 
Join Date: Nov 2003
Originally Posted by readjono View Post
I like this a LOT. Would it be possible to also add an option for days. I run a website for a radio DJ so wouldn't mind a notice option to say show between Monday and Friday.
Done! Notices: Day Criteria (based upon Server Time Zone)
__________________
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, 05:28
mgurain's Avatar
mgurain mgurain is offline
 
Join Date: Apr 2005
Real name: Mohammed Al-Gurain
Thanks Wired1 for useful hack, which should be a default vb option with the other hack for day of the week.

1. How could I know the server time now? so that I build my notice based on this calculation. (I am only guessing now).

2. Also the vb option (by date) should be a range not an exact date,
could you do a hack for that please.

Thanks in advance,,
Reply With Quote
  #10  
Old 21 May 2008, 06:29
Wired1's Avatar
Wired1 Wired1 is offline
 
Join Date: Nov 2003
Originally Posted by mgurain View Post
Thanks Wired1 for useful hack, which should be a default vb option with the other hack for day of the week.

1. How could I know the server time now? so that I build my notice based on this calculation. (I am only guessing now).

2. Also the vb option (by date) should be a range not an exact date,
could you do a hack for that please.

Thanks in advance,,
Run this PHP script:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
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; 23 May 2008 at 08:35.
Reply With Quote
  #11  
Old 21 May 2008, 06:48
paramegsoft paramegsoft is offline
 
Join Date: Apr 2008
nice add on

thanks
Reply With Quote
  #12  
Old 21 May 2008, 08:01
Wired1's Avatar
Wired1 Wired1 is offline
 
Join Date: Nov 2003
Originally Posted by paramegsoft View Post
nice add on

thanks
IF you're using it, please hit INSTALL!
__________________
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
  #13  
Old 22 May 2008, 03:04
Elenna Elenna is offline
 
Join Date: Jan 2006
Location: St. Charles, MO
Real name: Dana
Wired,

I'm trying to modify this to add in a "member for X days" option. Do you think that would be a simple change of where it looks for the variable (instead of TIMENOW, use [joindate])?
Reply With Quote
  #14  
Old 22 May 2008, 04:30
Wired1's Avatar
Wired1 Wired1 is offline
 
Join Date: Nov 2003
Originally Posted by Elenna View Post
Wired,

I'm trying to modify this to add in a "member for X days" option. Do you think that would be a simple change of where it looks for the variable (instead of TIMENOW, use [joindate])?
NOTE: This mod is not marked for re-use, so doing that would be against the TOS of this forum. Aside from that, no, that wouldn't work exactly like that.
__________________
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; 22 May 2008 at 06:28.
Reply With Quote
  #15  
Old 22 May 2008, 06:30
Wired1's Avatar
Wired1 Wired1 is offline
 
Join Date: Nov 2003
I've got a notice working for if someone has been a member for X number of days, if you want I'll throw it up.
__________________
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
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 13:38.

Layout Options | Width: Wide Color: