View Full Version : Forum Home Enhancements - Site Life Status for vB 4
Boofo
05-31-2010, 10:00 PM
Site Life Status for vB 4
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, Site Location, Pagehits counter and Average visits, 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.0 --Initial release for vB 4
Version 1.0.1 --Added Site Life Status Date Display Format option to settings.
Version 1.0.2 --Added Site Life Status Locale option to settings. This will allow you to display the Site Life Status Date Display Format day and month name in your local language.
Version 1.0.3 --Fixed for WGO style changes in vB 4.0.8. (Site_Life_Status_vb4.08.zip only)
Version 1.0.4 --Reverted back to the original js file because of the timer messing up with the added leap year code.
Credits:
A thank you goes out to Shawn Dean for supplying the original javascript code for the Site Age counter.
Installation overview:
-------------------------------
1 Product XML (5 Plugins, 36 Phrases, 1 template, 7 settings and 1 file)
-------------------------------
Installation Instructions:
-------------------------------
1. Upload site_life_status.js to the forums/clientscript folder on your site.
NOTE: You will need to delete the old site_life.js file as the new one has been renamed.
-------------------------------
2. 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-boofo_site_lifestatus.xml file on your computer
3. Go to your Admin CP -> vBulletin Options -> 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 Location: Type your site location in here. If you do not wish for your location to be shown, leave this option blank.
--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)
--Site Life Status Locale: Set your system locale here. This will allow the Site Life Status Date Display Format below to display the month and day names in your local language.
--Site Life Status Date Display Format: Enter the date and time format you want the Site Startup Date to display on the forumhome.
-------------------------------
Done!
Enjoy!
if ($mark_as_installed != 'clicked')
{
$you_get = 'squat';
}
else
{
$you_get = 'support';
}
Olli2k
06-01-2010, 05:30 PM
Nice addon.
But one question: Is it possible to display the start date in another language and date format?
x626xblack
06-01-2010, 06:52 PM
Installed. Works fine. 5 star rated!
Boofo
06-01-2010, 06:56 PM
Nice addon.
But one question: Is it possible to display the start date in another language and date format?
Well, right now I have it set to show for US date and time. If the date isn't entered by the way the examples show, the js file won't parse it right and the counter will not work. What kind of date and time display are you wanting?
Fuhrmann
06-01-2010, 07:24 PM
Well, right now I have it set to show for US date and time. If the date isn't entered by the way the examples show, the js file won't parse it right and the counter will not work. What kind of date and time display are you wanting?
In my case, time and date display of Brazil.
giorgino
06-01-2010, 09:44 PM
... and italian for me :)
Boofo
06-01-2010, 10:06 PM
The product is fully phrased except for the startup date setting. You can change the phrases to whatever language you wish. Other than that, I have no plans to make it multi-lingual, especially for anyone who does not install the product.
goxy63
06-01-2010, 10:14 PM
How about displaying this just on CMS under some widget?
Tagged, nominated and rated...
Thanks
Boofo
06-01-2010, 10:45 PM
How about displaying this just on CMS under some widget?
Tagged, nominated and rated...
Thanks
That is possible for a future update. I don't currently use the CMS yet and haven't got it set up. Once I do, I will look into your suggestion.
Dr.osamA
06-01-2010, 10:59 PM
installed + Excellent = 5 Stars + translated to Arabic
i do upgrade too for translation
YouTubeVZ
06-01-2010, 11:09 PM
Where i can translate this in German ?!
Boofo
06-01-2010, 11:10 PM
Dr.osamA,
Thank you for the Arabic translation. I will add a link in the first post to yours, if that is ok.
YouTubeVZ
06-01-2010, 11:15 PM
Well, right now I have it set to show for US date and time. If the date isn't entered by the way the examples show, the js file won't parse it right and the counter will not work. What kind of date and time display are you wanting?
German... have u this ?
stl7997
06-01-2010, 11:17 PM
Great Mod!!! Maybe have this as a widget option? If not, great job!
Boofo
06-01-2010, 11:19 PM
Great Mod!!! Maybe have this as a widget option? If not, great job!
Please see post #9. ;)
Olli2k
06-02-2010, 10:37 AM
Well, right now I have it set to show for US date and time. If the date isn't entered by the way the examples show, the js file won't parse it right and the counter will not work. What kind of date and time display are you wanting?
I managed it by editing the "Site Life Status Count Number Format" Plugin ($startdate = date("d.m.Y \u\\m G:i", strtotime($vbulletin->options['site_lifestatus_startupdate']));)
Would be nice to see this line getting configured in the Site Life AdminCP settings.
Boofo
06-02-2010, 12:25 PM
Date Display Format setting added. Product updated.
Fuhrmann
06-03-2010, 07:40 PM
Date Display Format setting added. Product updated.
Nice, thanks for the update.
Boofo
06-03-2010, 07:49 PM
There will be another update coming soon for those who have installed this.
docvader
06-03-2010, 08:09 PM
Wow. Truly impressive.
But isn't your code about who gets squat and who gets support a little off?
(not that I'm a code guru by any means...)
Boofo
06-03-2010, 08:13 PM
How is it a little off? != means "does not equal".
And thanks for the comment. ;)
docvader
06-03-2010, 08:23 PM
me ! smart.
I told you I wasn't a code guru...
Boofo
06-03-2010, 08:43 PM
Trust me, I'm not either. I just get lucky once in a while. ;)
princeedward
06-11-2010, 07:38 AM
Thanks!!!
Marked Installed-Nominated-Rated Excellent
;)
Dr.osamA
06-13-2010, 01:17 AM
Dr.osamA,
Thank you for the Arabic translation. I will add a link in the first post to yours, if that is ok.
yes thank you man
keep it up
Boofo
06-13-2010, 01:21 AM
yes thank you man
keep it up
The product has been updated since your first translation. It will need to be re-translated.
fluidswork
06-13-2010, 02:28 AM
nice addon ...
KURTZ
06-28-2010, 05:57 PM
hey Bobby, just a question: the spiders are included in the WOL stats?
PixelFx
06-28-2010, 06:00 PM
nice addon, marked it installed for later, thanks for taking the time to put this together
COL NIL SATIS
06-28-2010, 06:24 PM
looks awesome..will install later
Boofo
06-28-2010, 09:19 PM
hey Bobby, just a question: the spiders are included in the WOL stats?
Anyone who visits the page will be counted in the stats. ;)
Dark_Wizard
06-28-2010, 09:51 PM
I just get lucky once in a while. ;)
Sounds like my life story if you know what I mean. :o
Nice hack, installed.
Boofo
06-28-2010, 09:59 PM
Us old coots still have a few surprises left, huh, Bob? ;)
Dark_Wizard
06-28-2010, 10:01 PM
Us old coots still have a few surprises left, huh, Bob? ;)
Yes we do.... :eek:
Antiblank
06-29-2010, 06:19 AM
Math has been awful for me when it comes to vB4. So I installed the mod, set my start date and get this result as of June 29, 2010 00:12
Site Startup Date Thursday, July 1, 1999 at 12:00 am
Site Age 11 years, 1 day, 12 minutes and 16 seconds
That doesn't seem right, unless I'm missing something about the passing of time.
Boofo
06-29-2010, 06:39 AM
I just entered the same date for the Site Life Status Startup Date setting and this is what I got:
June 29, 2010 00:12
Site Startup Date: Tuesday, June 29, 2010 at 12:12 am
Site Age: 2 hours, 25 minutes and 31 seconds
Make sure you enter the right time for the Site Life Status Date Display Format. That uses strftime instead of the standard php date.
Antiblank
06-29-2010, 06:45 AM
No start up date is July 1, 1999. I was giving you a reference point as to when I was loading the forum page to view. Thus the 'result as of June 29, 2010 00:12'.
As for the Display date I didn't touch it, it's the default installed by the mod:
%A, %B %e, %Y at %l:%M %P
Boofo
06-29-2010, 06:52 AM
If your startup date is July 1, 1999, then 11 years is right. Or am I missing something?
Antiblank
06-29-2010, 06:58 AM
Well it's June 29th, wouldn't 11 years be July 1st?
Start date 07/01/1999 so 11 years later would be 07/01/2010. By my count 11 years isn't for another 2 days, as I said unless there is some different way it should do math at that level.
mgcom
06-29-2010, 07:10 AM
installed with 5 stars
Nice
Dr.osamA
06-29-2010, 07:11 AM
thanxxxx for update
plzzz add translation to 1st post from: here (https://vborg.vbsupport.ru/showpost.php?p=2046795&postcount=10)
Boofo
06-29-2010, 07:11 AM
Well it's June 29th, wouldn't 11 years be July 1st?
Start date 07/01/1999 so 11 years later would be 07/01/2010. By my count 11 years isn't for another 2 days, as I said unless there is some different way it should do math at that level.
It has nothing to do with the math. The javascript doesn't take into account leap years yet. I am working on that.
Antiblank
06-29-2010, 07:14 AM
It has nothing to do with the math. The javascript doesn't take into account leap years yet. I am working on that.
Ha I was just coming back to say I'd realized it was leap years doing it. I started changing the years back and saw the leap year jump. Thanks for looking into it, us old sites appreciate it. :)
Boofo
06-29-2010, 07:23 AM
Ha I was just coming back to say I'd realized it was leap years doing it. I started changing the years back and saw the leap year jump. Thanks for looking into it, us old sites appreciate it. :)
I didn't write the javascript code for this. I got permission to use the code for this mod form the original author back in vb 3. I will contact him and see what we can figure out for the leap years.
COL NIL SATIS
07-01-2010, 01:32 PM
another top hack ....love it Boofo ...works great !!!! installed and rated
Boofo
07-01-2010, 01:46 PM
another top hack ....love it Boofo ...works great !!!! installed and rated
And nominated, right? ;)
COL NIL SATIS
07-01-2010, 02:18 PM
And nominated, right? ;)
haha....yup also nominated :eek:
Boofo
07-01-2010, 02:24 PM
Well, thank you! ;)
KURTZ
07-22-2010, 07:18 PM
OK Bob let's try this product ... :p
http://www.fniv.it/board/forum/?langid=4
obviously need a translation ... like you can see i've 2 langs onto my board ... so the question is: how i can run this product with all the langs that i've installed?
Boofo
07-22-2010, 07:27 PM
You mean US and Italian, all those 2? ;)
I can do an if statement for the language if I can find out how vb sets the variable, I suppose. The locale only covers the Site Startup Date. The other words are just phrases that you can edit for whatever language you want and that should cover the rest of it.
KURTZ
07-22-2010, 07:59 PM
You mean US and Italian, all those 2? ;)
I can do an if statement for the language if I can find out how vb sets the variable, I suppose. The locale only covers the Site Startup Date. The other words are just phrases that you can edit for whatever language you want and that should cover the rest of it.
yes, what i need it's a product that switch automatically when a user changes the lang ... do you think that it's possible?
for the phrases this isn't a trouble ... ;)
edit: ps. there is a method (in the web) that allows me to know (approximately) how many visits i'd onto my site?
Boofo
07-22-2010, 08:22 PM
I don lt know if it is easily possible, but I will look into it.
Yes, you will see how many visitors you have to your site. You can set the starting visitor count in the settings.
KURTZ
07-22-2010, 09:03 PM
I don lt know if it is easily possible, but I will look into it.
Yes, you will see how many visitors you have to your site. You can set the starting visitor count in the settings.
yes i can set it, but i know how many has visited (from the date of built) only with google analytics ..... i got 76.931 unique visitors, so i put this value in the ACP ... correct?
Boofo
07-22-2010, 09:10 PM
That should be fine. You can just do an average of what you think it is, and times that by the days and that will work, too.
KURTZ
07-23-2010, 06:53 PM
Bob, how i can translate the phrases? i tried to figure out the phrases but i missing some words like 'minutes', 'hourly' ... etc.
suggestions?
(you can check the site)
Boofo
07-24-2010, 12:06 AM
All the phrases that you need to translate are in the product. the either start with site_ (as in site_visitors) or sls_ (as in sls_hours). You need to install this:
https://vborg.vbsupport.ru/showthread.php?t=229418
So everything (phrases, plugins, template, settings, etc.) is all in one place for a product and easy to find.
KURTZ
07-24-2010, 09:48 AM
All the phrases that you need to translate are in the product. the either start with site_ (as in site_visitors) or sls_ (as in sls_hours). You need to install this:
https://vborg.vbsupport.ru/showthread.php?t=229418
So everything (phrases, plugins, template, settings, etc.) is all in one place for a product and easy to find.
awesome! thanks for the tip Bob ... ;)
(you got a free beer when you come in italy again :D)
KURTZ
07-24-2010, 10:48 AM
<a href="http://www.fniv.it/board/forum/?langid=1" target="_blank">http://www.fniv.it/board/forum/?langid=1</a>
just translated and installed onto my live board ... there is a trouble with the date into the forumhome ... now i got the italian lang date also onto the english lang ... what i missing? i copied the same settings from the playing board ...
Boofo
07-24-2010, 10:50 AM
You have to export the one from the test board and overwrite the one on the live board.
KURTZ
07-24-2010, 11:36 AM
You have to export the one from the test board and overwrite the one on the live board.
now runs correctly ... :)
Boofo
07-24-2010, 02:27 PM
You need to take the word at out of this line in the "Site Life Status Date Display Format" setting:
aprile 10, 2008 at 12:00
KURTZ
07-24-2010, 02:43 PM
You need to take the word at out of this line in the "Site Life Status Date Display Format" setting:
aprile 10, 2008 at 12:00
how? i can't find it ... :S
Boofo
07-24-2010, 02:46 PM
how? i can't find it ... :S
It is in the settings. The Site Life Status Date Display Format" setting.
KURTZ
07-24-2010, 02:55 PM
It is in the settings. The Site Life Status Date Display Format" setting.
ah OK, done :)
Boofo
07-24-2010, 03:05 PM
Looks good.
KURTZ
07-24-2010, 03:36 PM
italian lang ;)
DevilZone
07-24-2010, 03:58 PM
Site Startup date : Sunday, June 13, 2010 at 4:48 pm
Where is Sunday or June.I want translate to my country language.
Who help me ?
WendM
08-29-2010, 07:25 PM
anychance I can get this to work as a module on vBaCMPS, please? Love it, and thanks, Bob!:)
http://yourghost.co.uk/forum.php
Boofo
08-29-2010, 07:53 PM
You're very welcome. ;)
As for making this a module, I don't have vBaCMPS installed, so I would have no clue where to even start. :(
lubbie
08-31-2010, 01:35 PM
Nice addon.
Onlly the "Site Age" is a bit useless, if it always start again if u move to another section.
It should count the whole time, from opening the Forum, till (before) you close it.
Bounce
08-31-2010, 07:31 PM
B,
Getting strange result in that it saying my name instead of how ever many visitors
There have been admin visitors to this site.
Edit: Strange I set the setting Update the page views counter to the value below? to yes and its not saving it as yes!
GreJan
09-01-2010, 06:53 AM
Thanks for the nice AddOn.
Here is the translation in German, is just my difinition.
Sorry for my english misarables.
lubbie
09-01-2010, 07:23 AM
Sry for German. Just need to ask something.
@ GreJan: Wie hast Du das hinbekommen das Du hier "Alter des Forums:" die komplette Zeit angezeigt bekommst? Bei mir zeigt der da nur Sekunden an.
Just checked it again. Seems it has some probs with another addon. Now its not working anymore at all.
Turning off all addons will not change the result. I have no idea
Boofo
09-01-2010, 07:46 AM
Maybe if you clicked the install button, someone would offer to help you.
lubbie
09-01-2010, 11:25 AM
i already did. maybe u need to clean the glasses ;)
Boofo
09-01-2010, 11:53 AM
Now you did but you hadn't when you left that last post.
Ok, what seems to be the problem? Did you do the settings?
lubbie
09-01-2010, 07:34 PM
Well, then i have to say sorry.
Ok. I did all whats written here. I read really evey post.
I installed the mod but it wont show the counter.
Also if i disable all my other addons it will not work.
Boofo
09-01-2010, 09:51 PM
If it is not showing the counter, then you did not set the settings correctly. You have to set the "Update the page views counter to the value below?" option to yes before you enter the starting counter setting.
onehost
09-02-2010, 01:57 AM
very good.
Installed.
Is there a way to can add count new visits only in x amount of time to the forum
before it will add to the count? it adds to the count on every single refresh...
you could have two that show up on the stats.
Page has been refreshed x amount of times.
Unique Visits per x amount of time, after that
time, they would be counted as another visit.
lubbie
09-02-2010, 08:08 AM
Hi Boofo. I tried to set this option to yes. But after `save` it is again on no
Boofo
09-02-2010, 10:27 AM
Hi Boofo. I tried to set this option to yes. But after `save` it is again on no
That is the way it is supposed to work. You need to set that to yes and set the counter to what you want to have it start counting at. Once you set that and save it, it will revert to no again so you don't mistakenly overwrite the counter once it is set. The first post explains that.
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)
If you are still having problems getting it to work right, PM me some login details so I can look at the settings to make sure they are right.
lubbie
09-02-2010, 07:49 PM
Hello Boofo. It looks like i found the Error.
The syntax for the date with the dotes will not be accepted
day - month name - full year - time (21 Jan. 2008 16:48)
month name - day - full year - time (Jan. 21, 2008 16:48)
I dont know why, but if i use one of the formats in the Quote, Site Age just counts the seconds.
Also the de_DE format will not work. I checked it on my server and its available.
Well i use now day - month name - full year - time (21 January 2008 16:48) to get it working correctly.
Boofo
09-02-2010, 08:28 PM
Hello Boofo. It looks like i found the Error.
The syntax for the date with the dotes will not be accepted
I dont know why, but if i use one of the formats in the Quote, Site Age just counts the seconds.
Also the de_DE format will not work. I checked it on my server and its available.
Well i use now day - month name - full year - time (21 January 2008 16:48) to get it working correctly.
I thought I had removed the examples with dots. Those have never worked. I will update the file.
Try using german instead of de_DE.
lubbie
09-03-2010, 08:19 AM
Also tried "german"
Same. Does not work either.
wayne.richards@
09-03-2010, 09:48 AM
I Cant Import The XML, I Get.....
XML Error: Not well-formed (invalid token) at Line 1
KProjects
09-03-2010, 12:09 PM
Thanks - Installed!
Boofo
09-03-2010, 05:31 PM
Also tried "german"
Same. Does not work either.
Then they are not supported on your server. How are you checking your server for what locales are supported?
Popa Andrei
09-04-2010, 12:54 AM
great plugin.Installed
How can y translate this fully?
iguano
09-04-2010, 05:46 AM
Now i have great problem ...
after i've installed this mod and italian linguage, i see this in my forum:
Boofo
09-04-2010, 06:44 AM
Now i have great problem ...
after i've installed this mod and italian linguage, i see this in my forum:
Did you try disabling the mod to see if those error are still there? It only affects the time for the languages so there is no way that should be happening with this mod.
Boofo
09-04-2010, 06:45 AM
great plugin.Installed
How can y translate this fully?
Translate the phrases for the mod.
iguano
09-04-2010, 06:55 AM
Did you try disabling the mod to see if those error are still there?
Yes now the mod is off but the problem is there :(
Boofo
09-04-2010, 06:56 AM
Then I would have to say it isn't the mod causing it as I tested that thoroughly before I released it. Sounds like you installed another mod that is not playing nice with your site.
sadiq6210
09-04-2010, 11:01 AM
Great
Installed and translated to ARABIC lang.
Thanks brother =) Keep it UP
Bounce
09-04-2010, 02:35 PM
Maybe if you clicked the install button, someone would offer to help you.
apologises forgot too...
https://vborg.vbsupport.ru/showpost.php?p=2092146&postcount=71:confused:
Boofo
09-04-2010, 08:22 PM
apologises forgot too...
https://vborg.vbsupport.ru/showpost.php?p=2092146&postcount=71:confused:
Did you get your problem sorted out then? ;)
Bounce
09-04-2010, 08:48 PM
Did you get your problem sorted out then? ;)
No mate, still at same as stated in post :(
Boofo
09-04-2010, 08:59 PM
No mate, still at same as stated in post :(
https://vborg.vbsupport.ru/showpost.php?p=2092744&postcount=81
If that doesn't work, PM me some admin login details and I will take a look.
Tanapangarap
09-13-2010, 07:15 PM
Hi.
If I understand correctly, this is not compatible with vB3. You had a vB3 version of this modification available, but it may no longer be downloaded:
https://vborg.vbsupport.ru/showthread.php?t=174416
May I still obtain the vB3 version, or am I out of luck?
Regards,
Kevin
BlackThorn
09-13-2010, 08:39 PM
Boofo, great idea thanks for that but I'm looking for 3.8.x, I guess it is nope?
Rock on.
Boofo
09-13-2010, 11:41 PM
Not necessarily. I have the version for vb 3 around somewhere. I'll see if I can hunt it up.
BlackThorn
09-14-2010, 12:06 PM
Not necessarily. I have the version for vb 3 around somewhere. I'll see if I can hunt it up.
Well, Boofo if you share it vB3 version then, really I'll be very glad. I've see old (3.8.x) version in modification graveyard. I don't know why, is that add-on in mod-graveyard, however it is very cool add-on. I really need that mod because I would guess, I will use it in my site and I'm sure you can suggest that mod for vB3 users, right? (: Thanks. Best Regards, Rock on. ^^
top dogs 360
10-02-2010, 04:49 PM
Maybe this has already been asked and solved but I was wondering if there was a way for the line:
Site Age
118 days, 21 hours, 45 minutes and 42 seconds
to Just say;
Site Age
118 days or 118 days,21 hours.
If not that is fine and I dont mind it the way it is.
Nice work coder/moder.
TD
www.xboxhounds.com
Boofo
10-02-2010, 05:09 PM
Maybe this has already been asked and solved but I was wondering if there was a way for the line:
Site Age
118 days, 21 hours, 45 minutes and 42 seconds
to Just say;
Site Age
118 days or 118 days,21 hours.
If not that is fine and I dont mind it the way it is.
Nice work coder/moder.
TD
www.xboxhounds.com
I've never tried it but I suppose you could edit the template to take out what you don't want showing. I'm not sure how it would affect the rest of the counter though. Make sure you have a backup and give it a shot.
betts02
10-02-2010, 06:01 PM
Had to remove, i was getting :
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; GTB6.6; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; OfficeLiveConnector.1.5; OfficeLivePatch.1.3)
Timestamp: Fri, 1 Oct 2010 19:49:41 UTC
Message: Object expected
Line: 4999
Char: 4
Code: 0
URI: http://www.nextgenerationgamers.co.uk/forums/forum.php
top dogs 360
10-02-2010, 06:02 PM
I've never tried it but I suppose you could edit the template to take out what you don't want showing. I'm not sure how it would affect the rest of the counter though. Make sure you have a backup and give it a shot.
yes I took out the two lines in regard to seconds
var lbls_sec = "{vb:rawphrase sls_second}";
var lbls_secs = "{vb:rawphrase sls_seconds}";
but the site age line came up empty on the forums so I will just leave it the way it is.
Boofo
10-02-2010, 06:30 PM
Try leaving those lines in and change them to:
var lbls_sec = "";
var lbls_secs = "";
Boofo
10-02-2010, 06:33 PM
Had to remove, i was getting :
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; GTB6.6; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; OfficeLiveConnector.1.5; OfficeLivePatch.1.3)
Timestamp: Fri, 1 Oct 2010 19:49:41 UTC
Message: Object expected
Line: 4999
Char: 4
Code: 0
URI: http://www.nextgenerationgamers.co.uk/forums/forum.php
What is the "Time since forum came online" line then? You can't use 2 counters.
Pro-eSports.com
10-03-2010, 03:29 AM
Do the counters start from the day the mod is installed or can this mod somehow figure out for how long the forum is running?
midnz
10-03-2010, 06:40 AM
Do the counters start from the day the mod is installed or can this mod somehow figure out for how long the forum is running?
1st Post of this thread/ Installation Instructions:
5.
--Site Life Status Startup Date: Enter your site startup date.
Pro-eSports.com
10-03-2010, 12:30 PM
For some reason the week day is displayed in german. How to change it to english?
http://i107.photobucket.com/albums/m287/Jerichool/Random/ScreenHunter_03Oct031525.gif
It also doesn' show AM and/or PM. My start up time was 0:00 (12:00am) but it only displays 12:00.
Boofo
10-03-2010, 10:05 PM
For some reason the week day is displayed in german. How to change it to english?
http://i107.photobucket.com/albums/m287/Jerichool/Random/ScreenHunter_03Oct031525.gif
It also doesn' show AM and/or PM. My start up time was 0:00 (12:00am) but it only displays 12:00.
Look at the "Site Life Status Date Display Format" setting. Make sure to read how to set it properly.
Pro-eSports.com
10-04-2010, 12:33 AM
Nevermind, I overlooked the utf8 option. :P
Boofo
10-05-2010, 12:45 AM
Nevermind, I overlooked the utf8 option. :P
No problem. Glad you got it figured out. ;)
Hippy
10-22-2010, 08:22 PM
update for 4.0.8
in the xml file .. find
<templates>
<template name="boofo_site_lifestatus" templatetype="template" date="1275518273" username="Boofo" version="1.0.1"><![CDATA[<div id="wgo_site_lifestatus" class="wgo_subblock">
<h3><img src="{vb:stylevar imgdir_misc}/forum_stats.png" border="0" alt="{vb:raw vboptions.bbtitle} {vb:rawphrase site_lifestatus}" />{vb:rawphrase site_lifestatus}</h3>
<div>
and change to this
<templates>
<template name="boofo_site_lifestatus" templatetype="template" date="1275518273" username="Boofo" version="1.0.1"><![CDATA[<div id="wgo_site_lifestatus" class="wgo_subblock section">
<h3 class="blocksubhead"><img src="{vb:stylevar imgdir_misc}/forum_stats.png" border="0" alt="{vb:raw vboptions.bbtitle} {vb:rawphrase site_lifestatus}" />{vb:rawphrase site_lifestatus}</h3>
<div>
save ..
admincp import product.. allow over write..
or just edit the boofo_site_lifestatus template..
enjoy
Popa Andrei
10-26-2010, 09:31 AM
thanks for the update
sadiq6210
10-29-2010, 10:56 AM
update for 4.0.8
in the xml file .. find
<templates>
<template name="boofo_site_lifestatus" templatetype="template" date="1275518273" username="Boofo" version="1.0.1"><![CDATA[<div id="wgo_site_lifestatus" class="wgo_subblock">
<h3><img src="{vb:stylevar imgdir_misc}/forum_stats.png" border="0" alt="{vb:raw vboptions.bbtitle} {vb:rawphrase site_lifestatus}" />{vb:rawphrase site_lifestatus}</h3>
<div>
and change to this
<templates>
<template name="boofo_site_lifestatus" templatetype="template" date="1275518273" username="Boofo" version="1.0.1"><![CDATA[<div id="wgo_site_lifestatus" class="wgo_subblock section">
<h3 class="blocksubhead"><img src="{vb:stylevar imgdir_misc}/forum_stats.png" border="0" alt="{vb:raw vboptions.bbtitle} {vb:rawphrase site_lifestatus}" />{vb:rawphrase site_lifestatus}</h3>
<div>
save ..
admincp import product.. allow over write..
or just edit the boofo_site_lifestatus template..
enjoy
Thanks for update =) It is perfect again
Hippy
10-29-2010, 08:34 PM
welcome guys
ladycroft
10-29-2010, 09:55 PM
Hello
I have also installed in German and think it's great. Thanks
But I have the problem that at me: Age of the forum .. just seconds to display.
What did I do wrong?
Greetings ladycroft
Boofo
10-30-2010, 03:14 AM
Hello
I have also installed in German and think it's great. Thanks
But I have the problem that at me: Age of the forum .. just seconds to display.
What did I do wrong?
Greetings ladycroft
Double-check the settings. Sounds like you don't have them set right. ;)
ladycroft
10-30-2010, 08:02 AM
I show the best times. Sorry I can not speak English and translate with Google.
Can you see if I have something set incorrectly?
Greetings ladycroft
https://vborg.vbsupport.ru/external/2010/10/4.png
Boofo
10-30-2010, 08:26 AM
You cannot use a period in the startup date setting. Change this:
1. August 2010 17:00
to
1 August 2010 17:00
KURTZ
10-30-2010, 10:40 AM
just upgraded to 4.0.8 and i got alignment troubles in my forumhome ... :( need a fix Bob ...
Boofo
10-30-2010, 10:58 AM
If you read a few posts back, the fix is there. And there is also a link in the first post for the fix:
https://vborg.vbsupport.ru/showpost.php?p=2112925&postcount=116
ladycroft
10-30-2010, 06:33 PM
Fine, it works ... thank you so thanks for the help
Greetings ladycroft
lubbie
11-28-2010, 05:41 PM
Needs an update. Uninstalled cause its not working correctly anymore. Using 4.1 beta
Boofo
11-28-2010, 05:52 PM
Needs an update. Uninstalled cause its not working correctly anymore. Using 4.1 beta
Have you tried this yet?
https://vborg.vbsupport.ru/showpost.php?p=2112925&postcount=116
Deviant K1
11-28-2010, 09:03 PM
INSTALLED!
THX Boofo! :D
Boofo
11-28-2010, 09:38 PM
INSTALLED!
THX Boofo! :D
Don't forget the install button in case of any updates.
Alibass
11-28-2010, 10:55 PM
Works very well on 4.0.8 PL2 :up:
Thanks
deejaymaat
12-01-2010, 05:33 PM
Hi, I have one question.
I install this Mod in mi site.
But I can´t put in my language (Spanish),
what can I do ?
Thanks
Regards,
Andrés
NgocTam
12-14-2010, 10:49 AM
Hello, 1,933, you are the [ARG:2 UNDEFINED] visitor to this page.
Help !
sadiq6210
12-28-2010, 02:01 PM
The new attachment has some css issues with 4.1
Before:
https://vborg.vbsupport.ru/external/2010/12/6.jpg
After update:
https://vborg.vbsupport.ru/external/2010/12/6.jpg
Kraxell
12-28-2010, 05:22 PM
Hello Boofo,
its a very good mod and i have installed it.
But one little question:
The hourly-value dont change. it always show 0,00 visitors per hour.
is it a bug?
Regards
Boofo
12-28-2010, 05:24 PM
@sadiq6210 - Looks like you downloaded the wrong version. Nothing was else changed other than the js file.
Boofo
12-28-2010, 05:25 PM
Hello Boofo,
its a very good mod and i have installed it.
But one little question:
The hourly-value dont change. it always show 0,00 visitors per hour.
is it a bug?
Regards
No, it works fine. Are you referring to the averages?
Kraxell
12-28-2010, 07:50 PM
Ah, it need some time to count :D
Which table i must edit, to edit the visitors?
Boofo
12-28-2010, 08:02 PM
Edit the visitors for what?
Kraxell
12-28-2010, 10:17 PM
the visitor-counter of my page :)
when i install this hack, it beginn from 0. but on my site are over 2 years some million people. at this time, there was 0,02 visitos per hour (because the hack count since some hours) :) i want to change this value to a realism number.
Boofo
12-28-2010, 10:45 PM
the visitor-counter of my page :)
when i install this hack, it beginn from 0. but on my site are over 2 years some million people. at this time, there was 0,02 visitos per hour (because the hack count since some hours) :) i want to change this value to a realism number.
Look at the settings.
Hippy
12-28-2010, 11:30 PM
The new attachment has some css issues with 4.1
Before:
https://vborg.vbsupport.ru/attachment.php?attachmentid=124892&stc=1&d=1293552093
After update:
https://vborg.vbsupport.ru/attachment.php?attachmentid=124893&stc=1&d=1293552093
did you install Site_Life_Status_vb4.08.zip>?
looks to me like you installed Site_Life_Status_vb4.zip
Kraxell
12-29-2010, 08:32 AM
Look at the settings.
ahhhhh, i was blind :D
Thanks my friend :)
Athena1984
12-29-2010, 12:37 PM
Thanks! I've always wished there was a way to tell how many people have visited your forum. I love how it looks there too. :)
Boofo
12-29-2010, 12:51 PM
You're very welcome. ;)
Brandon Sheley
12-29-2010, 12:55 PM
It's nice to see a vb4 mod for you Boofo :)
* Brandon Sheley tagged for later
CMSTemplateZ
12-29-2010, 12:58 PM
Does this start from the day the vBulletin installation was installed or the age of the domain ? Thanks
Boofo
12-29-2010, 01:02 PM
Depends on what date you set it to start. I have mine set to start as the join date of userid 1, which is Moi.
Athena1984
12-29-2010, 01:31 PM
Is there a way to count unique visitors only?
Boofo
12-29-2010, 01:47 PM
Not the way it is set up now, no. It updates the counter on each forumhome page visit.
Athena1984
12-29-2010, 02:15 PM
Oh ok, that's fine for me. Thanks! :)
matrixmark
12-29-2010, 06:48 PM
Great mod :D thanks
Tagged and marked as installed :)
BaanFarsang
01-01-2011, 09:11 AM
Site age incorrect:
http://img88.imageshack.us/img88/5288/01012554180824.png
basilrath
01-01-2011, 10:24 AM
<a href="http://www.tabletennistalk.co.uk/forum/forum.php" target="_blank">http://www.tabletennistalk.co.uk/forum/forum.php</a>
Strange i have
Site Age:3 years, 1137 days, 12 hours, 24 minutes and 8 seconds
is there a "1" too many lol
Boofo
01-01-2011, 10:29 AM
I was afraid of that. Let me look further into it and get it working properly for you.
basilrath
01-01-2011, 10:35 AM
Hey chill ..............
Its New Year :)
Kraxell
01-01-2011, 10:43 AM
Hello Boofo, thanks for the fix update but i have a little provlem:
Site-Age: 2 Years, 838 Days, 21 Hours, 54 Minutes und 2 Seconds
I have upload the new "site_life_status.js" and overwrite the new xml-file.
Any idea to fix it?
/EDIT
See that you working on it, so i wait :)
BadgerDog
01-01-2011, 11:08 AM
I just updated to 1.0.6 running on our v4.04pl1 and got this error on the install ..
Conflict when merging template: boofo_site_lifestatus (style: 6)
Conflict when merging template: boofo_site_lifestatus (style: 11)
Been running the mod for months (older version) and haven't had any problems, so is this install error on the latest version going to create issues?
Regards,
Doug
basilrath
01-01-2011, 01:18 PM
Hes fixing it ................. so cant see a problem when its done :)
Boofo
01-01-2011, 04:59 PM
I just updated to 1.0.6 running on our v4.04pl1 and got this error on the install ..
Been running the mod for months (older version) and haven't had any problems, so is this install error on the latest version going to create issues?
Regards,
Doug
That will be fixed also. It seems the new year is causing havoc with countup scripts, more than just this one. I will have a fix as soon as possible.
Boofo
01-01-2011, 06:11 PM
Hes fixing it ................. so cant see a problem when its done :)
It is fixed for now. I had to remove the leap year code temporarily until I get it all re-written to work properly. Sorry for the delay.
BadgerDog
01-01-2011, 07:06 PM
It is fixed for now. I had to remove the leap year code temporarily until I get it all re-written to work properly. Sorry for the delay.
Thanks .. :)
So, for clarity ...
I'm running 4.04pl1, so I should just re-download and do a complete install of this version?
Site_Life_Status_vb4.zip
Regards,
Doug
Boofo
01-01-2011, 07:13 PM
Thanks .. :)
So, for clarity ...
I'm running 4.04pl1, so I should just re-download and do a complete install of this version?
Site_Life_Status_vb4.zip
Regards,
Doug
Yes, and please report back here and let me know if everything is ok again. Sorry for the problems.
BadgerDog
01-01-2011, 07:53 PM
Yes, and please report back here and let me know if everything is ok again. Sorry for the problems.
No problem ... appreciate your excellent work and support ... :)
Installed this last download on v4.04pl1 and I received NO error messages during the install. I also replaced the JS file. It appears to run fine and I see no anomalies with date and time calculations.
Regards,
Doug
Boofo
01-01-2011, 08:16 PM
No problem ... appreciate your excellent work and support ... :)
Installed this last download on v4.04pl1 and I received NO error messages during the install. I also replaced the JS file. It appears to run fine and I see no anomalies with date and time calculations.
Regards,
Doug
Good, at least we're no worse off than before we added the leap year code. It was working fine with it until we hit January 1st. I noticed a coupe of other scripts on the net were messing up on the new year, also. I'll get it sorted out. Thanks for reporting back.
sadiq6210
01-02-2011, 11:08 AM
Same issue Boofo
Site Age: 4years - 'xx'seconds
Boofo
01-02-2011, 11:14 AM
Make sure you install the version now in the first post and replace the old js file on the server. If it is a new install today, then check your settings as the js file in the zip is the original one that always worked.
BadgerDog
01-02-2011, 03:57 PM
Good, at least we're no worse off than before we added the leap year code. It was working fine with it until we hit January 1st. I noticed a coupe of other scripts on the net were messing up on the new year, also. I'll get it sorted out. Thanks for reporting back.
Hi .. :)
I just noticed an error message at the top of our AdminCP (see pic)...
I think this is a left over from the 1.06 install.
I have updated to the last version you posted yesterday, as per our previous discussion, but how should I clear these messages? Should I just load and save the templates, then re-install the current version you've posted?
Regards,
Doug
Edit: I selected EDIT from screen shown for each template and I loaded and saved the templates that came up. After that, the error doesn't seem to be appearing in the AdminCP currently. Does that mean it's fixed?
Boofo
01-02-2011, 04:02 PM
I would do an uninstall of the mod and delete any leftover templates, if there are any, and then do a fresh install of the mod. Make sure you write down your settings so you can re-enter them. I don't know why you had that error showing up and I haven't had that reported before. But, then, you know me well enough to know when I screw something up, I REALLY screw it up. ;)
BadgerDog
01-02-2011, 05:01 PM
I would do an uninstall of the mod and delete any leftover templates, if there are any, and then do a fresh install of the mod. Make sure you write down your settings so you can re-enter them. I don't know why you had that error showing up and I haven't had that reported before. But, then, you know me well enough to know when I screw something up, I REALLY screw it up. ;)
Ok, I really didn't want to uninstall, so I REVERTED the templates (see pic in previous post) as it seemed to be a 1.05 versus 1.04 template issue. I then re-installed the current version and the problem seems to have gone away and all templates check out as current. :D
Thanks .. :)
Regards,
Doug
basilrath
01-02-2011, 05:04 PM
works fine now
New Joe
01-04-2011, 07:40 AM
So which on of the 2 should I download?
Hippy
01-09-2011, 01:59 PM
Just wanted to express My Opinion here about this mod..
Lets start with great support..2 thumbs up
Great addition to vb
This Mod Should be stock with vb..
ok now
It's been downloaded 636 times but only installed 142 times..
If your running this mod .. Please Mark installed ( it's the least you can do)
thanks for the great mod, time spent, and the support you give boofo
horussjr
01-15-2011, 10:58 AM
it is not working is it should. i set my start date to 14 Sep 2007 16:48 and it looks like it is working Friday, 14 September, 2007 at 16:48 but at site age it at every refresh it start at 3 years -48 seconds and i goes to 3 years 59 seconds then it goes another time from 3 years 0 seconds to 59. it continuously restart.
take a look www.stormzone.ro/forum
please help
Boofo
01-15-2011, 11:37 AM
Check the startup date setting. You have it set wrong. The date that shows on the forumhome is a separate setting.
horussjr
01-15-2011, 12:25 PM
oh, dont be silly. take a look at this then go to the site and look at that
IN ADMIN CP
Site Life Status Startup Date 14 Sep 2007 16:48
IN FORUM
Site Startup Date Friday, 14 September, 2007 at 16:48
Site Age 3 years, 4 seconds
TosaInu
01-16-2011, 08:06 PM
Nice hack Boofo,
I installed it on a testforum first, the pageview counter works there. I installed it on the productionboard on the same server and the counter for the visits doesn't run. The clock works on both. Is there some vbul setting or cache that's different?
Edit: there is the boofocounter in datastore and it gets updated with data. I guess it's some cache setting?
Edit 2: the working one is odd too. The yearly views rise, while the hourly one stays at zero. After say 50 pagehits it looks like this:
Average visits to this page
Hourly 0.00 Daily 0.01 Weekly 0.05 Monthly 0.22 Yearly 2.63
I denstalled it from the testone to try the 4 version. That one has the wrong order too and doubles the numbers.
Boofo
01-16-2011, 09:13 PM
Nice hack Boofo,
I installed it on a testforum first, the pageview counter works there. I installed it on the productionboard on the same server and the counter for the visits doesn't run. The clock works on both. Is there some vbul setting or cache that's different?
Edit: there is the boofocounter in datastore and it gets updated with data. I guess it's some cache setting?
Are you running xcache or another caching program on the server?
TosaInu
01-16-2011, 09:23 PM
Yes, it does: Memcached. The testboard is running [DBTech] vB Optimise Lite v2.0.1.
Boofo
01-16-2011, 09:43 PM
Yes, it does: Memcached. The testboard is running [DBTech] vB Optimise Lite v2.0.1.
There's your answer. The counter will be updated when the cache is updated, although it will still be adding up in the meantime. I am running xcache on my server and so far I have not found a way around it.
TosaInu
01-17-2011, 04:53 PM
The cache is a blessing, but sometimes it makes pull your hair.
I don't know how long it takes to update the cache, I'm still seeing zeros.
But on the testboard it's not running a cache:
Average visits to this page
Hourly 0.00 Daily 0.01 Weekly 0.05 Monthly 0.22 Yearly 2.63
Isn't that displaying it the wrong way? I expect hourly views to rise faster than yearly views?
Hmm, I'm putting it wrong. Those are totals/averages for a hour-year right? When I do a fresh install with all counters set to zero, I guess I would see the hourly counter to go up first. ... erm... is it because our site is over 11 years old already with all old average data being 0? I can see hourly visits stay at 0 then, there will be loads of 0 visit hours in 11 years.
Edit: I set it to yesterdays date, reset the counter to 0 and did a few page refreshes
Average visits to this page
Hourly 0.25 Daily 6.05 Weekly 42.33 Monthly 183.93 Yearly 2,207.15
It doesn't make much sense to me? Shed some light on this please?
It's going to be query intensive I guess (though you can probably go around that with a cron that updates it once an hour). There would be 5 fields: one for an hourly counter and that gets life update. A field for day, week, month, year. After each hour the cron adds the hour value to the day value and the hour is reset to 0. After 24 hours the data from day is copied to week and resets to 0. And so on. That makes it totals and not averages.
horussjr
01-17-2011, 05:52 PM
oh, dont be silly. take a look at this then go to the site and look at that
IN ADMIN CP
Site Life Status Startup Date 14 Sep 2007 16:48
IN FORUM
Site Startup Date Friday, 14 September, 2007 at 16:48
Site Age 3 years, 4 seconds
bump.... can you help me or not?
Boofo
01-17-2011, 06:38 PM
bump.... can you help me or not?
14 Sep 2007 16:48 works fine for me. You either edited the js file or something else to cause it to mess up. Undo whatever you did and that will fix it. How's that for "silly"?
Boofo
01-17-2011, 06:40 PM
The cache is a blessing, but sometimes it makes pull your hair.
I don't know how long it takes to update the cache, I'm still seeing zeros.
But on the testboard it's not running a cache:
Average visits to this page
Hourly 0.00 Daily 0.01 Weekly 0.05 Monthly 0.22 Yearly 2.63
Isn't that displaying it the wrong way? I expect hourly views to rise faster than yearly views?
Hmm, I'm putting it wrong. Those are totals/averages for a hour-year right? When I do a fresh install with all counters set to zero, I guess I would see the hourly counter to go up first. ... erm... is it because our site is over 11 years old already with all old average data being 0? I can see hourly visits stay at 0 then, there will be loads of 0 visit hours in 11 years.
Edit: I set it to yesterdays date, reset the counter to 0 and did a few page refreshes
Average visits to this page
Hourly 0.25 Daily 6.05 Weekly 42.33 Monthly 183.93 Yearly 2,207.15
It doesn't make much sense to me? Shed some light on this please?
It's going to be query intensive I guess (though you can probably go around that with a cron that updates it once an hour). There would be 5 fields: one for an hourly counter and that gets life update. A field for day, week, month, year. After each hour the cron adds the hour value to the day value and the hour is reset to 0. After 24 hours the data from day is copied to week and resets to 0. And so on. That makes it totals and not averages.
You haven't set the hits counter yet. Look at your settings. The averages are working properly.
TosaInu
01-17-2011, 07:31 PM
This one Boofo? Site Life Status Forumhome Page Views Counter.
Something like the active users template isn't held back by the Cache. The Sidebar in the Suite gets refreshed with new content and so does forumviews. So, there should be an possibility somewhere?
The currently active users are served from the FORUMHOME template. My 1st guess is that that template is somehow exempted from the cache.
Paul M made hacks to show users who were online in the last 24 hours. I'm at best an armchair coder myself, but I guess he got some plugins that arrange cache for his templates and those bypass other cache systems.
I just installed his hack and then logged in with an useraccount: the page was updated immediately with the new name, despite the cache.
Boofo
01-17-2011, 07:53 PM
When you figure out how to have the datastore work like that with caching enabled, please let me know.
TosaInu
01-17-2011, 08:08 PM
:)
I'm sure you've searched high and low already Boofo.
When and if I ever figure it out, I'll let you know.
Boofo
01-17-2011, 08:35 PM
:)
I'm sure you've searched high and low already Boofo.
When and if I ever figure it out, I'll let you know.
That's just one of the trade-offs for using a cache on the site. You are going to find a few other places that this happens when using a caching system. It really doesn't matter as long as the counter gets updated properly so it shows correctly when the cache updates. The only way around it is to use a query to pull it on each page update but that defeats the purpose of putting it in the datastore.
TosaInu
01-17-2011, 09:01 PM
Running queries each time isn't great either Boofo.
There's also a cron and query option. The hack is on my page for a day now and it's still zero. I've no idea how long the memcache is going to last, it's a day already.
I'ld like a modification where the views for the actual day are displayed and the total views since the site is created. A cron could update/flush (I've little idea what's going on) the daily data once an hour and the total will be updated once a day (the daily one is then reset to zero).
I'm guessing I miss something special about the datastore too?
Boofo
01-17-2011, 09:15 PM
Running queries each time isn't great either Boofo.
There's also a cron and query option. The hack is on my page for a day now and it's still zero. I've no idea how long the memcache is going to last, it's a day already.
I'ld like a modification where the views for the actual day are displayed and the total views since the site is created. A cron could update/flush (I've little idea what's going on) the daily data once an hour and the total will be updated once a day (the daily one is then reset to zero).
I'm guessing I miss something special about the datastore too?
You're not understanding how this works. The counter IS getting updated with each page view. It is your caching that is keeping it from showing the proper count right now. You will need to look at your cache settings to see when the cache gets updated. Since this is a free modification, I have no plans to add anything else to it.
horussjr
01-18-2011, 08:06 PM
14 Sep 2007 16:48 works fine for me. You either edited the js file or something else to cause it to mess up. Undo whatever you did and that will fix it. How's that for "silly"?
reinstaled the product and now it works fine:-?? maybe a bad transfer of the .js at upload. thank you for this great mod
Bob_R
02-19-2011, 01:31 AM
I think this is a winner. I'll install it this weekend!
Thanks!!
Which download would I use?
Site_Life_Status_vb4.zip (6.6 KB, 48 downloads)
Site_Life_Status_vb4.08.zip (6.7 KB, 89 downloads)
Bob_R
02-19-2011, 02:05 PM
Site Life Status
Site Startup Date
Monday, April 12, 2010 at 4:04 pm
Site Age
312 days, 18 hours, 59 minutes and 14 seconds
Great mod! I love it!
But, I need to get this fixed below. Please advise. Thanks!!
Site Location
Dumont, NJ
Hello, Bob, you are the 3 visitor to this page.
Average visits to this page
Hourly
0.00
Daily
0.01
Weekly
0.07
Monthly
0.29
Yearly
3.50
Bob_R
02-19-2011, 02:49 PM
I got it!
I had originally used vb4
Teascu Dorin
02-26-2011, 07:29 PM
Nice work with this. Installed, Rated 5 stars, Romanian Translation attached.
Boofo
02-26-2011, 08:57 PM
I got it!
I had originally used vb4
Did you lose site of the install button in all the hub-bub? ;)
Teascu Dorin
02-26-2011, 09:03 PM
Did you lose site of the install button in all the hub-bub? ;)
What do you mean?
I have clicked marked and installed :|!
Boofo
02-26-2011, 09:04 PM
What do you mean?
I have clicked marked and installed :|!
I was referring to the person I quoted. ;)
Vick98
02-27-2011, 03:45 AM
Is there any way to change to the title "Site Age" to something like "Clan Age" since I own a online gaming clan and website? That way members can see how long we have been around.
Boofo
02-27-2011, 04:27 AM
Check the phrases for this mod.
Bob_R
02-28-2011, 01:29 PM
Did you lose site of the install button in all the hub-bub? ;)
Marked as installed. :) :p
BadgerDog
03-18-2011, 10:52 AM
Good, at least we're no worse off than before we added the leap year code. It was working fine with it until we hit January 1st. I noticed a coupe of other scripts on the net were messing up on the new year, also. I'll get it sorted out. Thanks for reporting back.
My version installed says 1.06 ...
Is this the latest rev of your mod I should be using with a vb4.04 board?
I ask be cause of the confusion and problems we encountered installing another mod of yours with a version that was only for vb4.1...
Thanks .. :)
Regards,
Doug
Boofo
03-18-2011, 11:07 AM
The two versions posted above are the same except that the 4.0.8 version included a fix for the template change in 4.0.8. The js file for both versions is the original one, not the updated one.
Phaedrus
04-13-2011, 12:36 AM
Question, the "page views" portion... does this count from whatever you set it at, forever? My site has been up since 2006, what would I put in as the starting page count?
I figured it out. I used webalyzer stats for the past year and figured out the average per day and used that number... It may even be accurate.
:D
Alan_SP
04-13-2011, 09:53 PM
Since I installed it this part stays same:
Hello, Alan_SP, you are the 0 visitor to this page.
Average visits to this page: Hourly: 0 Daily: 0 Weekly: 0 Monthly: 0 Yearly: 0
I set it to 8 000 000, but it doesn't move from zero. What to set for that to start counting site hits? Any idea?
vB is 4.1.2PL1
Boofo
04-13-2011, 10:20 PM
Make sure you set the3 option above it (Update the page views counter to the value below?) to yes when you enter the count. And the count does not have spaces or commas when you set it.
Alan_SP
04-14-2011, 11:50 AM
Yes, I used this option, below I put 8000000 (without spaces or anything else). When I set it to yes and save it, it goes back to no and no information on forum home is displayed.
Like it doesn't recognize site hits. Maybe something server related? Or PHP?
Boofo
04-14-2011, 11:58 AM
Since you are the only one who is having this issue. I would have to look at it and see what is going on. Are you running a cache on your server by chance? (Memcache, xcache, etc.)
Alan_SP
04-14-2011, 11:59 AM
Ok, I just tested it on my test server. There it works with no problems. So, it is something different on server. What exactly don't know. Do you have some idea what server side needs to be enabled, or disabled? My main server is much more protected than test server. As it works fine on test server, probably I protected some part of server and this is the reason why it doesn't work...
Alan_SP
04-14-2011, 11:59 AM
Yes, I run xcache on both servers.
Boofo
04-14-2011, 12:24 PM
All it does is read the counter from the datastore in the vb db. Make sure the datastore has the counter on the server that doesn't show it.
Alan_SP
04-14-2011, 01:56 PM
I just found out that turning off xcache, i.e. not using xcache for datastore solved problem.
Any idea how to set this up to work with xcache and it's datastore?
EDIT: further info: I removed datastore prefix and it works ok now. I think you should try to include datastore prefix somehow.
This is the line in config.php I commented out:
// $config['Datastore']['prefix'] = 'forum_';
With this enabled, it doesn't work. It's not too big a problem for me, but there could be people who would use Xcache for more than vBulletin. So it works with xCache, but not when datastore prefix is used.
Alan_SP
04-14-2011, 02:14 PM
And as a feature request, is it possible to program this mod to work with real usage statistics? What I mean is, I just supposed I had 8 millions hits so far, but it's not precise. Can you make it to use two counters, one from the installation, that counts actual page hits and one that's just sum of actual and the supposed page hits till now?
This way we would have better site statistics.
Also, if you go that way, if there could be way to reset page hits and while reseting them, giving this offset counter value of total hits till reset, so we could benchmark actual site usage in various periods, but retaining total page hits.
Or using altogether two counters, one real, from installation and one with installation plus offset?
Boofo
04-14-2011, 02:35 PM
I just found out that turning off xcache, i.e. not using xcache for datastore solved problem.
Any idea how to set this up to work with xcache and it's datastore?
EDIT: further info: I removed datastore prefix and it works ok now. I think you should try to include datastore prefix somehow.
This is the line in config.php I commented out:
// $config['Datastore']['prefix'] = 'forum_';
With this enabled, it doesn't work. It's not too big a problem for me, but there could be people who would use Xcache for more than vBulletin. So it works with xCache, but not when datastore prefix is used.
I used to have xcache enabled on my server and this worked just fine with it. I didn't use a prefix for the datacache, and to be honest, you are the only one who has ever reported that. So I don't really see a need for the prefix.
Boofo
04-14-2011, 02:37 PM
And as a feature request, is it possible to program this mod to work with real usage statistics? What I mean is, I just supposed I had 8 millions hits so far, but it's not precise. Can you make it to use two counters, one from the installation, that counts actual page hits and one that's just sum of actual and the supposed page hits till now?
This way we would have better site statistics.
Also, if you go that way, if there could be way to reset page hits and while reseting them, giving this offset counter value of total hits till reset, so we could benchmark actual site usage in various periods, but retaining total page hits.
Or using altogether two counters, one real, from installation and one with installation plus offset?
That is more than I want to invest in a free mod, since I would not use it.
Alan_SP
04-14-2011, 03:51 PM
I used to have xcache enabled on my server and this worked just fine with it. I didn't use a prefix for the datacache, and to be honest, you are the only one who has ever reported that. So I don't really see a need for the prefix.
I just realized, I needed to disable xcache for datastore. If xcache was enabled, counter remained static, not updating at all. I'm modifying gc interval, maybe it would solve this problem.
What are your var.ttl, var.maxttl i gc_interval settings?
EDIT: No luck, xcache datastore needs to be disabled for your mod to work, at least page hits part. :( Is it possible to put somehow counter outside of xcache datastore?
Boofo
04-14-2011, 04:17 PM
Thew counter does NOT remain static. It updates the counter in the datastore on every page refresh. The xcache will update the counter when it updates the cache. I don't use any server caching anymore. I don't have enough users to warrant using it right now.
Alan_SP
04-14-2011, 06:13 PM
Well, for some reason it doesn't work for me when I cache datastore in xcache. Only without caching counter gets updated.
At the moment I don't need to cache datastore, so I can use it, but later I hope that I'll need caching. :)
Boofo
04-14-2011, 09:33 PM
Well, for some reason it doesn't work for me when I cache datastore in xcache. Only without caching counter gets updated.
At the moment I don't need to cache datastore, so I can use it, but later I hope that I'll need caching. :)
It DOES work when you have xcache enabled. It just doesn't update the counter on the forumhome until the cache gets updated. The counter is being updated on every page refresh in the datastore, and if you will check the datastore, you will see that. None of your counters will update any more than this one will when you are using a server cache. You're not understanding how caching works.
Garamond
04-14-2011, 10:08 PM
vB4? It just sucks. Most serious admins are still using 3.8.x
When is a version ready for that?
Boofo
04-14-2011, 10:54 PM
I have a stripped down version ready for vb 3 but haven't decided if I want to post it yet as I am running vb 4 so vb 3 support would be spotty for me.
Alan_SP
04-15-2011, 12:54 PM
It DOES work when you have xcache enabled. It just doesn't update the counter on the forumhome until the cache gets updated. The counter is being updated on every page refresh in the datastore, and if you will check the datastore, you will see that. None of your counters will update any more than this one will when you are using a server cache. You're not understanding how caching works.
I understand caching, but I had problems, counter didn't changed even after ttl and max ttl and gc interval expired. Cache items should be forced to renew, but it didn't worked for me. Maybe I need to test it further? Will see, and I report here if I manage to have it working with xcache.
EDIT:
Still not working.
If someone knows better how to setup xcache, here's my xcache ini:
xcache.shm_scheme = "mmap"
xcache.var_size = 64M
xcache.var_count = 4
xcache.var_slots = 8K
; default ttl
xcache.var_ttl = 60
xcache.var_maxttl = 60
xcache.var_gc_interval = 60
xcache.test = Off
; N/A for /dev/zero
xcache.readonly_protection = Off
; for *nix, xcache.mmap_path is a file path, not directory.
; Use something like "/tmp/xcache" if you want to turn on ReadonlyProtection
; 2 group of php won't share the same /tmp/xcache
; for win32, xcache.mmap_path=anonymous map name, not file path
xcache.mmap_path = "/tmp/xcache"
; leave it blank(disabled) or "/tmp/phpcore/"
; make sure it's writable by php (without checking open_basedir)
xcache.coredump_directory = ""
; per request settings
xcache.cacher = On
xcache.stat = On
xcache.optimizer = On
[xcache.coverager]
; per request settings
; enable coverage data collecting for xcache.coveragedump_directory and xcache_coverager_start/stop/get/clean() functions (will hurt executing p
xcache.coverager = Off
; ini only settings
; make sure it's readable (care open_basedir) by coverage viewer script
; requires xcache.coverager=On
xcache.coveragedump_directory = ""
With these settings for xcache.ini and with this setting in config.php for vbulletin:
$config['Datastore']['class'] = 'vB_Datastore_XCache';
my page hit counter doesn't work. When I disable datastore caching counter starts to count. What is the problem, I don't know. If anyone has an idea, please, tell me.
EDIT2: Just checked, after I disable datastore caching, counter is updated with new page hits. So counter does work, but I'm unable to set automatic flushing of counter to make changes visible. For some reason change in counter isn't propagated while caching is on. Any idea how to set it right?
Boofo
04-15-2011, 02:00 PM
You STILL don't get it. It WORKS! I had it working with xcache just fine. It WILL NOT update the counter on the forumhome until the cache refreshes itself. But the counter is still being updated in the datastore. That is how caching works. I don't know how else to explain it to you so you will understand.
Alan_SP
04-15-2011, 02:08 PM
Yes, it works, as I said in edit2, but thing is, I don't see it. As long as the xcache is used, I don't see it. That's the problem. I want to see it, that is whole point. How to make cache to refresh itself automatically?
Other things work as far as I can tell, but your counter doesn't, not automatically, not for me.
I agree that there can be something that I set up wrong, but I can't tell what.
Boofo
04-15-2011, 02:13 PM
Arrggghhhhh! It works, it just doesn't change the number until the cache refreshes. When it refreshes, you should see a jump in the numbers as they are being added to the datastore even while the cache is on. You will notice that the threads and posts numbers don't update either until the cache refreshes. That is how caching works. There is no way to refresh the cache other than the settings and if you want it to refresh on very page load, then caching makes no sense for you to use.
Alan_SP
04-15-2011, 02:17 PM
Ok, I understand what you are saying and I'll turn caching and wait.
When I installed and waited for about a day, nothing changed. Now I wasn't waited that long, but I will.
Boofo
04-15-2011, 02:32 PM
Ok, I understand what you are saying and I'll turn caching and wait.
When I installed and waited for about a day, nothing changed. Now I wasn't waited that long, but I will.
Finally! ;)
Caching gives you the added benefit of speed as it reads from the cache and doesn't do the queries on every page refresh. But there is a trade-off, like with counters. If you have a lot of users on the site at one time, caching is the way to go to keep resources manageable.
You can always look in the db at the datastore and see the counter has increased so you know it works. You just won't see the higher number until the cache refreshes is all. It looks like your caching interval is set to an hour, unless I'm reading it wrong.
Alan_SP
04-15-2011, 02:53 PM
Do you have idea where can I see my caching interval? And how to change it?
Alan_SP
04-15-2011, 03:04 PM
Ok, I see now that it works. :) I'm very much ashamed. :( You're right, I just needed to wait. I think that my problem was caused with using datastore prefix and certainly I was very impatient afterward.
Thanks for your patience. :)
Boofo
04-15-2011, 03:07 PM
It gets confusing sometimes, I know. I have been there myself a few times. No harm done. ;)
Alan_SP
04-15-2011, 07:06 PM
Just to know, does your mod counts page hits or unique visitors?
Boofo
04-15-2011, 07:17 PM
Page hits for the forumhome. I can set it to count every page hit on the site, too. ;)
Alan_SP
04-15-2011, 10:21 PM
Well, that would be great, I'd like to have it this way... :)
And I looked at mod and am wandering is secret hidden here:
if ($vbulletin->options['site_lifestatus_enable'] AND THIS_SCRIPT == 'index')
But it adds one query to every page loaded or not?
Boofo
04-16-2011, 02:26 AM
My way wouldn't. ;)
Alan_SP
04-16-2011, 10:44 AM
And what is your way, if you want to share it?
Boofo
04-16-2011, 12:50 PM
I'd have to add another setting so the user can select how they want to do it. Not really worth the trouble for a free mod and something I, myself, would never use.
Alan_SP
04-17-2011, 01:29 AM
Ok, I'll use it till I see that my servers starts melting. :) Then I may consider further usage.
Would you maybe explain the way to avoid one query for every page? I just removed
AND THIS_SCRIPT == 'index'
condtion in plugin for updating counter.
Boofo
04-17-2011, 01:34 AM
If your server melts, it isn't anything to do with this mod. This mod does not affect resources in the least. Use it or not, totally up to you.
What you did should work fine.
steve1966
04-17-2011, 09:46 AM
Thank you rated this 10/10
haytham
05-03-2011, 04:49 PM
Is there any way this fantastic mod can run on 3.8.7? By the way, I always look after the first post at "Similar Mod" to find if the mod is compatible with other VB versions..that's why I am asking, since there isn't any similar mods listed.
Boofo
05-03-2011, 05:44 PM
I will see if I can find a vb 3 version here somewhere.
Mike Gaidin
05-22-2011, 08:05 PM
Installed. Thanks, Rob.
Popa Andrei
06-23-2011, 10:38 AM
what version should i use for vb 4.1.4
Boofo
06-23-2011, 01:51 PM
what version should i use for vb 4.1.4
Site_Life_Status_vb4.08.zip
jack-d
11-05-2011, 05:26 PM
Has anyone tried this on vB 4.1.7 yet.
Hippy
11-05-2011, 05:50 PM
works perfect
Hippy
11-18-2011, 11:04 AM
still working with vb4.1.8
thanks boofo
It's much appreciated
Angelus
12-05-2011, 09:57 AM
wieso werden die monate nicht angezeigt?
also: 1 jahr 4 monate 15 tage 20 min. 48 sec.
wo ist das deutsche sprachpacket?
Boofo
12-05-2011, 10:05 AM
English only, please.
GhostHunter2010
01-15-2012, 04:35 PM
hey boofo add albanian langue please :)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.