Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt November 11, 2024
Lase Posted June 12, 2012 Posted June 12, 2012 I'm surprised there isn't one of these as far as I know. I'm prepared to pay someone who would be able to come up with a sidebar hook that displays the date and time. Something really simple, if it looked like this it would be ideal : Naturally there'd need to be an option in profile settings to specify what time zone should be displayed in case of the user visiting from elsewhere in the world.
Lase Posted June 12, 2012 Author Posted June 12, 2012 Maybe a square clockface or a combination of both
Aiwa Posted June 12, 2012 Posted June 12, 2012 You could probably get away with some open source java applet and a little CSS. Componsating for the users timezone wouldn't be hard at all either...
Dmacleo Posted June 12, 2012 Posted June 12, 2012 custom sidebar block mod is all you need I think. then link to a widget or something. or if you have ip.content you can just build a block and put it on page.
Royzee Posted June 12, 2012 Posted June 12, 2012 Occasionally I add a clock to one of my sites. Whether forum, blog or webpage I like the variety of flash clocks. http://www.clocklink.com/gallery.php The simple scripts can be placed almost anywhere.
Lase Posted June 12, 2012 Author Posted June 12, 2012 I've done a combination of what you Sandi_ and Dmacieo suggested and picked the least offensive date and time stamp I could find on that site, but I set it to GMT+1. Applicable to me but it won't be for someone in America and users are from everywhere.
Aiwa Posted June 12, 2012 Posted June 12, 2012 Like I said before, you need to find a good open source javascript clock script. Specifically one that allow you to alter what timestamp it uses to generate the time. You can then throw in the data pertinent to the member or guest that trigers the load... I wouldn't call myself someone that knows much about javascript... I'll certainly putz with it since it is a good idea...
Lase Posted June 12, 2012 Author Posted June 12, 2012 Foooo, we're going beyond my level of understanding there.
Royzee Posted June 12, 2012 Posted June 12, 2012 Most members have their timezone set. You can use one of the javascript clocks in my link above in a js function, and send the members timezone to it. You will probably have to fiddle with some date functions to change the offset to timezone.$offset = $this->memberData['time_offset'];
Recommended Posts
Archived
This topic is now archived and is closed to further replies.