![]() |
*sigh* at this rate there won't be anything good left on the .org
|
nice one thanks
|
Any ideas why this is like this?
Code:
Site Startup Date: June 05, 2006 |
Look at the year on the startup date. How can that be tomorrow?
|
Today is June 4th which would make the site only 1 year and 364 days old.
|
Ever heard of Leap Year? ;)
|
So how do I make this correct? Otherwise it is going to be off and kinda defeats the purpose.
Don't get me wrong, its a great addition to vB because members then know how long the site has been around. |
It counts the seconds and goes from there. It uses 365 days as a year. There is no way to correct it unless you rewrite the whole javascript file for it and that wouldn't be worth the hassle to me. It doesn't defeat any purpose to me the way it is. ;)
|
~problem solved~
|
Installation Instructions:
1. Upload life_status.gif to the images/misc folder on your site. Did this but still have "?" for the image. What did I do wrong? 2. Upload site_life.js to the clientscript folder on your site. Done, but mine doesn't break it up in days, weeks, etc etc like the demo? ------------------------------------------------------ 3. In the includes/config.php file add this at the bottom: ------------------------------------------------------ if(THIS_SCRIPT == 'index') { global $specialtemplates; $specialtemplates = array_merge($specialtemplates, array('boofocounter')); } Can we explain this a little more. I think I did it, but not sure if I was correct. How do you do this? ------------------------------- 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 Done......... easy part! 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.DONE --Site Life Status Startup Date: Enter your site startup date.DONE --Site Life Status Automatic Template Replace: Click yes to have the template automatically edited.DONE --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).HUH?:confused: --Site Life Status Forumhome Page Views Counter: Enter the number of page views, without commas, to start the page views count at. (Example: 16897)DONE Can anyone assist me please, also will this count the portal page hit aswell? Or do I have to put one on there aswell? |
This will only count the forumhome page hits. Did you get it running?
|
Cheers Boofo :)
Another great mod :) Ozzy Clicks Installed |
yeah it is running I think..... but no picture/icon and I do not know what step #2 and #3 did. I didn;t see a change when i completed it. I uploaded xml file first.....
SJ |
It looks like your image directory setting isn't right in the style. Just edit the template for the hack for the icon directory. It is working. You just need to set the starting hit count that you want to have the count start at. Check the setting for the hack and you can set it there.
|
How do I edit the template for the hack lol..... Im new at this stuff.
I already did set the hit count....didn't I? |
You can set the hitcount to a higher starting number if you want to. Just look for the template called boofo_site_life_status and change the path to the image in there. Did you upload the image file to the skin misc directory?
|
I put the image in the Images>misc folder on my server Admin
|
Do a right click on where the image should be and look at what the image path is supposed to be. You have uploaded the image to the wrong place for that skin, like I said above.
|
Ok I will try that.......I may use a different image......BRB
|
Ok is this what I am looking for?
"The requested URL /forums/images/speedfire/misc/life_status.gif was not found on this server." I right clicked and only saw open image. so I opened it and it said that^^ |
Yes, that is the path you need to upload the image file to:
forums/images/speedfire/misc/ |
Ok I have fixed the problem. You were right it was in the wrong folder. Thanks for helping me BOOFO is the BOMB!! Kudos to HIM for helping me!!!
go check her out! www.speedjunkyz.info/forums |
Boofo is a him (let me check...yup). ;)
|
You do know you can change the amount of visitors so it matches your starting date more closely, right?
|
how much do you suggest then...
|
Depends on how busy your site it. Let it run for a day and see how many hits you get. Multiply that by the number of days you have been up so far and that should be a good starting point.
|
this was so cool, thank you Boofo
|
Works great, thanks.
For the Dutch people, use only the English months, otherwise the counter won't work, then you only see from 1 to 59 sec. Dont know if somebody posted this info yet if yes, sorry;) |
That is a limitation of php and javascript. Not much I can do there, sorry.
|
Quote:
|
I think most hacks that use the time and date functions are like that so it is no big news. ;)
|
How can I get rid of the "There have been XX visitors to this page." part altogether?
|
Edit the template for the hack.
|
Boofo, I want to thank you for all the work you put into this mod! With all you did for me today, I am up and running. Thanks again, JPT.
|
Great work Boofo :)
One of those "Why didn't someone think of this before" hacks :p |
Hmmm... anyone else have issues with this mod not working right after upgrading to the new 3.7.2 vb patch? It displays and everything, it just doesn't show/count the visitors now... it just stays at 0. It was working fine before upgrading. Any ideas?? Guessing/hoping an update will come about sometime soon then ;).
|
Did you replace your config.php file? If so, you need to re-do the edit.
|
I like this, and I will use this. Thank you sir.
|
Quote:
|
You regally don't need to upgrade the config.php on upgrades unless they tell us that they have changed something in it, which seldom happens on minor upgrades.
|
All times are GMT. The time now is 10:57 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|