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.
What do you mean by 'reset'? Since the page count is read from the file only, it has no way to remember any count to be reset to other than what is written to the file. Mine is working flawlessly, and has been since I installed it. You can try taking the following line out of the code in the forumhome_complete hook to see it that helps:
Code:
$hits[0] = (float) $hits[0];
Since you guys are using such ridiculously large numbers, that might be the reason it is acting up on you.
Since you guys are using such ridiculously large numbers, that might be the reason it is acting up on you.
Why??
Won't number's of hits ever get that high, if we got say 3,000 hits a week (some site's i'd say get far more than that) over 52 weeks and 5 years thats a high number
What do you mean by 'reset'? Since the page count is read from the file only, it has no way to remember any count to be reset to other than what is written to the file. Mine is working flawlessly, and has been since I installed it. You can try taking the following line out of the code in the forumhome_complete hook to see it that helps:
Code:
$hits[0] = (float) $hits[0];
Since you guys are using such ridiculously large numbers, that might be the reason it is acting up on you.
i'm watching or observing it the whole day...i guess the "TRICK" work or hope it will go on now without problem...i did edit also that thing into higher numbers...just to look more better than a forum that just been started...with a low numbers of visitors...
but as i said...i guess...it stay now to what i expected...thanks once again Bro Boofo