![]() |
I have included these variables on the Forum Index, but they display null.
$threadstoday $poststoday $todayviews EDIT: With a little relocation of intialization sections to global.php, I was able to get two out of the three variables working. $todayviews is giving me a little trouble though, but is no sweat. |
Quote:
PHP Code:
PHP Code:
|
going to try installing it, but the installation seems to be VERY EASY.... but as i am a real newbie, everything could happens lol
thx GREAT work (i realy love the language file as i have a french board... nice idea save a lot of time :) ) |
Thanks Bane, a great hack, installed it today on 2.2.0 with a little messing with the changed code and it runs great. Also included a link for my members to appreciate your work, again thanks.
visit my forum @ http://www.caddis.co.uk/forum/index.php |
ANyone have the statistics graphic button in normal VB purple and what template do you add it to?
Thanks. |
Quote:
Go to your Admin CP, styles, Modify, and look for the Header Template; I placed mine here like this, just under toplinks. <!-- toplinks --> <a href="http://www.yoursite.com/forum/vbstats.php"><img src="vbimages/stats.gif" alt="View the forum statistics here" border="0"></a> Place the stats.gif in your images folder and ensure the above path to vbstats.php is correct. The above path should be imagesfolder NOT vbimages/stats and don't forget the { just look at the others on the template you will get the idea. Hope this helps, by the way here is a purple statistics button ENJOY |
My countries total is updating every time I hit refresh. I excluded by domain i.e. caddis.co.uk and looking at my database using phpMyAdmin the data HAS been inserted ok. Using 2.2.0 any suggestions, I may have put something in the wrong place looking at the new code in the index.php file?
|
Centris: At the moment the only option is for total hits (not unique) so it is counting every page view. I hope to get unique counts in on the next version.
|
Thanks for the quick reply Bane, thats ok, thought it was summit I did wrong, awsome hack - thanks.
|
<a href="http://forums.gamingalliance.org/vbstats.php" target="_blank">http://forums.gamingalliance.org/vbstats.php</a> ...
Any idea why I am getting those errors? |
All times are GMT. The time now is 04:19 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:
|