Jump to content

Date & Time Hook


Lase

Recommended Posts

Posted

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 :

%7Boption%7D

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.

Posted

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...

Posted

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.

Posted

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.

Posted

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...

Posted

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'];

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...