dopetalk

Technology => SMF Forum Code Modifications => Topic started by: Chip on October 12, 2016, 07:17:14 AM

Title: Live Clock in header
Post by: Chip on October 12, 2016, 07:17:14 AM
http://custom.simplemachines.org/mods/index.php?mod=3641

This modification helps to show a dynamic clock in the header of your forum, instead of static clock which comes with SMF.

All mod settings are available under
Admin center -> Configuration -> Live Clock Admin

Mod comes with an admin panel which provides following features:
?action=admin;area=liveclock;

- General Features
1. Enable/Disable the mod
2. Choose whether you want to show the timezone drop down or not
3. Use 24/12 hr format clock
4. Show date with time

- Timezone features
1. You can edit the timezone configurations from the following link
action=admin;area=liveclock;sa=displaytimezones

Note - If any of the 2 coloumns is left blank, the mod neglects the value of other column, i.e if you have entered value for 'Timezone Name' only but 'Timezone Difference' hasn't been filled. In that case mod neglects both values.


If you made any error while editing default timezone you can reset all the timezones to default values(which comes with the mod), by clicking 'Reset all timezones' from
Admin center -> Configuration -> Live Clock Admin
Title: Re: Live Clock in header
Post by: Chip on October 12, 2016, 07:27:45 AM
it works but generates a HUGE amount of these errors:

Code: [Select]
Unable to load the 'LikePosts.english' language file.

i FIXED it -- i had to create LikePosts.english.php from https://github.com/siddhartha-gupta/SMF-Likes/blob/master/Themes/default/languages/LikePosts.english.php#L1

now reinstalled
Title: Re: Live Clock in header
Post by: Chip on October 12, 2016, 04:28:16 PM
does not take Daylight Savings Time into account.
Title: Re: Live Clock in header
Post by: Chip on November 03, 2016, 12:17:46 AM
now disabled to fix the PM (To) member popup.

converted LiveClock.php to https.
SimplePortal 2.3.6 © 2008-2014, SimplePortal