Go Back   vBulletin Setup > vBulletinSetup Information > vBulletin Questions


Please Register to get full access to the forums.
Post New Thread  Reply



#1   09-21-2007, 01:08 AM
Soliloquy is a jewel in the rough Join Date: Jun 2007 Posts: 2,627 Location: New York City
iTrader: (0)
Using server time in a template?


The members of my forum chat every Thursday night at 9 p.m., and I'd like to place a graphic or announcement on the forumhome to remind visitors it's time to chat. I have a Javascript that will do this, except it works with the local time that the user's computer is set to, so if they're in a different time zone they'll see the message at the wrong times. Is there any way for me to access the time on the server?
Quote   |  



#2   01-28-2008, 11:25 PM
Soliloquy is a jewel in the rough Join Date: Jun 2007 Posts: 2,627 Location: New York City
iTrader: (0)
Re: Using server time in a template?


Just in case anyone's wondering the same thing, I ended up solving my problem with the Dynamic Forum Home Announcements mod with date and time conditionals. I hear there's another mod that allows you to use (more) conditionals in the template, but for my purposes that was overkill.
Quote   |  



#3   01-29-2008, 12:07 AM
Send a message via AIM to Brandon Send a message via MSN to Brandon Send a message via Yahoo to Brandon Brandon is a glorious beacon of lightBrandon is a glorious beacon of lightBrandon is a glorious beacon of lightBrandon is a glorious beacon of light Join Date: Jul 2006 Posts: 11,251 Location: Topeka, KS
iTrader: (0)
Sponsor our Next Contest!
Re: Using server time in a template?


thanks for the link
--------------------
Brandon Sheley / vBulletin Setup Staff
Check out our Newsletter for the latest vB and SEO news.
Are you looking for vBulletin work to be done on your forums ?
Would you like to Help Support vBulletin Setup.


Add our Facebook Blog, Group and LinkedIn group.. Thanks
Stay up to date by installing our Tool Bar
Quote   |  
Post New Thread  Reply
vBulletin Setup > vBulletinSetup Information > vBulletin Questions


Thread Tools
Display Modes

 
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
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
New Host - New Server steveninstl vBulletin Questions 11 11-14-2007 01:21 PM
Getting Server 500 errors... dmiller68 vBulletin Questions 4 03-22-2007 02:49 AM
down time in the last 48 hrs Brandon Forum Archives 10 03-14-2007 10:12 AM
moving vb to new server tespara vBulletin Questions 0 01-18-2007 02:16 PM
down time Brandon Feedback and Suggestions 2 12-20-2006 08:37 PM


All times are GMT -6. The time now is 11:18 AM.

vBulletin Setup, vBulletin Setup Forums, vBulletin Services, vBulletin Blogs, vBulletin SEO, vBulletin Questions
vBulletin Skins, Styles, Templates, vBulletin Monetization, Blogs, vBulletin Link Directory,Quality Link Directory