Pavulon87 Posted October 20, 2011 Posted October 20, 2011 File Name: (Pav32) Board Life CounterFile Submitter: Pavulon87File Submitted: 20 Oct 2011File Updated: 20 Oct 2011File Category: Hooks and Plugins Shows date of forum startup and/or number of years, months, days, hours and minuts which have elapsed since startup. Also availble on http://forum.invisio...d-life-counter/Click here to download this file
Mcardle Posted October 20, 2011 Posted October 20, 2011 How to config the startup date ? It is pulled from the conf_global file Find: $INFO['board_start'] = 'XXXXXXXXX'; Change it to whatever suits you.
Rheddy Posted October 21, 2011 Posted October 21, 2011 I can't recommend this hook. After installing, I noticed that the hook doesn't display the correct startup year. After getting installed, the hook states that my forums were started in 2006, yet my forums were installed in 2004. While I've been waiting for something like this, it simply lists the incorrect "year" that my forums were installed, by two years. Everything else is correct, except for the reported year.
Pavulon87 Posted October 21, 2011 Author Posted October 21, 2011 What value is $INFO ['board_start'] in the conf_global.php file ?
Mcardle Posted October 21, 2011 Posted October 21, 2011 It's: 1165889273 I get GMT: Tue, 12 Dec 2006 02:07:53 GMT When I put that timestamp into this: http://www.4webhelp.net/us/timestamp.php
Richard.C Posted October 21, 2011 Posted October 21, 2011 I can't recommend this hook. After installing, I noticed that the hook doesn't display the correct startup year. After getting installed, the hook states that my forums were started in 2006, yet my forums were installed in 2004. While I've been waiting for something like this, it simply lists the incorrect "year" that my forums were installed, by two years. Everything else is correct, except for the reported year. What value is $INFO ['board_start'] in the conf_global.php file ? It's: 1165889273 I get GMT: Tue, 12 Dec 2006 02:07:53 GMT When I put that timestamp into this: http://www.4webhelp....s/timestamp.php In other words, the error is not with this hook. we have it installed and it works fine, however I did tweak the xml file as I thought it's translation was a bit off in places
Rheddy Posted October 24, 2011 Posted October 24, 2011 That's odd because my forum account was created in 2004 yet my boards timestamp says 2006. Somehow, someone got messed up in the process.
Richard.C Posted October 24, 2011 Posted October 24, 2011 That's odd because my forum account was created in 2004 yet my boards timestamp says 2006. Somehow, someone got messed up in the process. if you know the actual/correct creation date, use the time stamp link and create a new time stamp. I'm tempted to create a date that precedes the very first IPB :D
Rheddy Posted October 29, 2011 Posted October 29, 2011 My community is very technological aware of such things and very professional. I think I might consider something on April 1st. lols
Merlinscave Posted November 8, 2011 Posted November 8, 2011 Working perfect....................thanks
Darbo Posted December 10, 2011 Posted December 10, 2011 date shown is 31 December 2009, but it should actually be, 20 Jun 2005, I will check what value is $INFO ['board_start'] in the conf_global.php file EDIT: It is: 1262220506
Pavulon87 Posted December 12, 2011 Author Posted December 12, 2011 date shown is 31 December 2009, but it should actually be, 20 Jun 2005, I will check what value is $INFO ['board_start'] in the conf_global.php file EDIT: It is: 1262220506 http://php.fnlist.com/date_time/gmstrftime <?php $format = '%D %T'; $timestamp = 1262220506; $result = gmstrftime ($format, $timestamp); ?> 12/31/09 00:48:26
Iva83 Posted December 20, 2011 Posted December 20, 2011 Mine isn't showing at all. Am I supposed to modify anything else or flush cache?
Pavulon87 Posted December 22, 2011 Author Posted December 22, 2011 Mine isn't showing at all. Am I supposed to modify anything else or flush cache? Have you enabled mod? It is disabled by default after installation. ACP > System > System Settings > Hooks > (Pav32) Board Life Counter
Recommended Posts
Archived
This topic is now archived and is closed to further replies.