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, 12:08 AM
Soliloquy has a spectacular aura about Join Date: Jun 2007 Posts: 1,323 Location: New York City
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, 10:25 PM
Soliloquy has a spectacular aura about Join Date: Jun 2007 Posts: 1,323 Location: New York City
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-28-2008, 11:07 PM
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: 10,600 Location: Topeka, KS
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.
Be sure to check out our latest Contest for a Custom Style.


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 12:21 PM
Getting Server 500 errors... dmiller68 vBulletin Questions 4 03-22-2007 01:49 AM
down time in the last 48 hrs Brandon Forum Archives 10 03-14-2007 09:12 AM
moving vb to new server tespara vBulletin Questions 0 01-18-2007 01:16 PM
down time Brandon Feedback and Suggestions 2 12-20-2006 07:37 PM


All times are GMT -6. The time now is 01:21 PM.

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