Version: 1.0.4, by Boofo
Developer Last Online: Jun 2012
Category: Forum Home Enhancements -
Version: 3.7.x
Rating:
Released: 03-27-2008
Last Update: 05-15-2008
Installs: 240
DB Changes Uses Plugins Template Edits Auto-Templates
Additional Files
No support by the author.
Site Life Status for vB3.7
Version 1.0.4
(By Boofo)
What does this product do?
This product will add a Site Life Status info area, including Site Startup Date, Site Age and a Pagehits counter to your forumhome What's Going On box.
NOTE: The maximum counter value will depend on your system. The maximum signed integer value for 32 bit systems is 2147483647 (or 2,147,483,647), while the maximum signed integer value for 64 bit systems is 9223372036854775807 (or 9,223,372,036,854,775,807). These are the highest numbers this counter will be able to count to, depending on your system.
Version Information:
Version 1.0.1 --Initial release for vB3.7
Version 1.0.2 --Fixed changed variable in the template manual edit code.
Version 1.0.3 --Added phrases for counter. Now fully phrased.
Version 1.0.4 --Counter moved to the datastore. Added setting for the page views start count.
NOTE: You will need to uninstall any previous version and do a clean install of 1.0.4 to upgrade. You will also need to delete the forumhome_pagehits.txt file as it is no longer needed.
Credits:
A big thank you goes out to Shawn Dean for supplying the javascript code for the Site Age counter.
Installation overview:
Products to install: (1)
Templates to edit: (1) - Optional
Files to edit: (1)
Files to Upload: (2)
Images to upload (1)
Installation Instructions:
1. Upload life_status.gif to the images/misc folder on your site.
2. Upload site_life.js to the clientscript folder on your site.
-------------------------------
4. Go to your Admin CP
Scroll down to 'Plugin System'
Click 'Manage Products'
Click 'Add/Import Product'
Click the 'Browse' button, and locate the product-site_lifestatus.xml file on your computer
5. Go to your Admin CP -> vBulletin Options -> Help Site Life Status and set the following options:
--Site Life Status Enable: Enable/Disable the Site Life Status.
--Site Life Status Startup Date: Enter your site startup date.
--Site Life Status Automatic Template Replace: Click yes to have the template automatically edited.
--Update the page views counter to the value below? If you want to change the current page views counter value on forumhome to the value provided below, set this to "Yes" - it will automatically be reset to "No" once the new value has been set (at the next page view).
--Site Life Status Forumhome Page Views Counter: Enter the number of page views, without commas, to start the page views count at. (Example: 16897)
NOTE: You are done unless you opted to do the manual template install. If you chose Site Life Status Automatic Template Replace, there is no need to do the manual template edit in the install file.
Done!
Enjoy!
NOTE: If you do not click install, you do not need support.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
I've done everything except change the CHMOD 777 cause I'm having trouble getting in the server to do it grr. I'm assuming thats why i get the errors at the top of the forum so have turned it off for the moment. Otherwise the days since opening etc works fine.
Look for the DOCUMENT_ROOT path in View PHP Info under the maintnance tab in the Admin CP. Also, what error are you getting?
ARGHHHHH after weeks of being ok mine has just "reset" itself
Site Startup Date: 23 June 2002
Site Age: 5 years 324 days 17 hours 40 minutes 3 seconds
There have been 995 visitors to this site.
How high was the number before it reset? I will do the Google Dance ad see if I can come up with a reason but it almost has to be something interfering either with the really high numbers or something else on your site. What doesn't make sense is if it is resetting itself, it should reset to 0 or blank. There is no way it can remember anything. Unless I can look at things, I'm not sure what is happening.
Make sure it is 4800 (without any commas) and chmod it to 777.
I'm not understanding why it is resetting when mine has never reset. I am using standard code that writes to a file and reads it. It should not be messing up. I am looking into it now.