![]() |
If anyone is still having a problem with the text file resetting, PM me and I will let you test the new version. I have re-written the pagehits code and now there is no setting required for the forumhome_pagehits filename and path. It now resides in your forums directory.
|
Does anyone know how I can move the site life status into the forums default statistics box to the right of threads, posts, members etc?
|
million thanks for the new update Bro. Boofo... ;)
|
Are we happy now? ;)
|
Quote:
Site Age: Years, Month, Days, Hours, Minutes, And Seconds can we edit or add it somewhere? anyway thanks again... ;) |
Well, the only way it can mess up now is if everything else messed up first as this now uses the db datastore. Foolproof, as much as possible.
The rob30UK style won't be accurate as it doesn't account for months with 31 days, or February with 28 days. And weeks was not added as the days would never get over 7 in the count. Take another look as the AND part was added in the new version. |
opppsss...:rolleyes: i guess i don't have that AND thing...hmmm...
and also how come you got this Average hits per day: # to your site...and we don't? ;) |
Did you completely uninstall and reinstall like the instructions said to?
The 'Daily visitors to this page average:' is something I am working on now and will be testing. An after-thought, if you will. |
Quote:
You should know that if we see a function we just got too have it :p:D |
LOL Nothing for myself, huh? ;)
|
Quote:
Quote:
|
Thanks apprciated:up:
|
Thanks so much for this hack and for making it such a simple install
|
i did not do manual install, where are the templates cuz it aint in forum home
my site has been around over 5 years and gets alot of traffic, so i want to add to this There have been 377 visitors to this page.since May 16th. 2008 |
Quote:
thanks and best regards... ;) |
Quote:
|
Quote:
|
Quote:
|
That is strange. That should have been there unless the phrases didn't get replaced.
|
boofo where in the lang/phrases are your phrases cuz i frankly dont see it
|
Lok in the XML file towards the bottom and it will show you the names of the phrases used for this mod.
|
Quote:
|
Then you need to do a search in phrases for the text you want to change. You can find them that way, also. If you open up the XML file, it will tell you what the phrase names are in the phrases section, towards the bottom.
|
ok i found the thing its in global phrases, but im having some trouble here im not a master chief at vb but im not a total doofus either
but what ii want to do is make this There have been 819 visitors to this page. say this There have been 819 visitors to this page since May 16th, 2008. now can you please help me do this? |
Installed!! Great product.
|
Quote:
|
Thanks for the update Bob. Been away for a while so had not been able to do the updates I have needed. This is still one of the best ones I use
|
Quote:
Site Age: 5 years, 119 days, 6 hours, 4 minutes and 47 seconds There have been 829 visitors to this page. thats why, my site started back in 2003, and what only 829 visitors? ;p |
The start date and the starting hit count are now in the settings for this mod. Please read the install file more carefully.
|
how am i suppose to know how many hits ive had in the last 5 years? i just want to put "since blah blah"
|
PHP Code:
PHP Code:
=> Less code to process less often, yet same result (if you also remove the unnecessary option to turn off the feature -> if users want to turn it off they will simply disable the product). |
OK, here's what you do. You go to user id 1's account and look at their join date. Use that as the site start date. Then calculate how many hits you "think" you've had and enter that in the hits setting. This is not rocket science. ;)
|
Quote:
|
Currently the code is on global_shutdown, eg. being executed on every page.
But due to the condition it does the query only when the current script is index.php (forumhome). So why not execute it just for index.php and avoid the condition on all other pages? I don't see a reason for putting the code in a global place when there is an appropriate hook forumhome_complete that has exactly the context you want ;) |
OK, that makes sense. Code moved and setting deleted.
Can the starting count setting code stay in global_shutdown or should that be moved also? And thanks for the heads up, sir. You know when you speak, I listen. ;) |
I'd remove that from frontend code and handle it completely within ACP:
Make appropriate plugins for the misc.php ACP script and let the user set the start there - no need for an option. |
OK, you lost me on that one. How would they set it?
|
Ive reinstalled it and now the visitors count is stuck at 0.
|
Read the install file and do the file edit.
|
Quote:
ps all work appreciated ! |
All times are GMT. The time now is 07:29 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:
|