![]() |
Well, the hack itself only requires one hack to work, thats putting the counter in the phpinclude template. The rest is gravy.
Adding vbstatsCP to the AdminCP (you can run this from the file instead) Adding vbstats to whos online Grouping vbstats templates in the template modify. So really all you need to do is run the install and add the counter. You can do the config by using http://your-site.com/forums/admin/vbstats_set.php and the excludes by pointing to http://your-site.com/forums/admin/vb...action=exclude |
As a quick fix here is a txt file with the needed hacks for the full install, these should work for 2.2.4 with no problems.
Simply do these instead of the hacks listed in the installer. This was intended to be an install.txt so the instructions should be complete. Removed attachment |
|
freehtml - I think I mentioned before I love your boards topic no? I want new games in the states! *sulks*
|
I'm not for sure if this has been brought up before or not - my referals all point to my start (vbportal) page and not the forum - is there any way to get the referals to reflect hits sent to the home (vbportal) page???
|
You have to hack the header.php file to point to the vbstats header instead of the php-nuke one.
|
I'm not very computer literate but I'm trying to learn - can you be a little more specific - sorry
|
open header.php and find "counter.php" try changing that to "vbs_counter.php" and then upload the vbs_counter.php file to your vbportal directory.
I dont have a copy of it right now so being anymore specific is difficult, I'm sorry :( |
OK i just deleted all the other site referers from the db and changed what you said - i will monitor it throughout the day and then let you know what heppens - thanks for the help!!
John http://www.thehobbyforum.com |
np john
good luck :) |
When I go to the vBPortal admin page and then view httpreferers it shows me that http://www.aerc.biz is the #1 referer but when I go to the vBStata referer page it shows me something different. I will wait until tomorrow to see for sure but my initial idea is that it is probably still not pointing to the right page.
|
What the hell? I can't install it on 2.2.4, online.php, the file I have to edit, I can't find the sections to add the code under/above. I basically installed the hack, just need to edit the files.. what am I doing wrong?
Thanks, Dan |
Quote:
https://vborg.vbsupport.ru/showthrea...threadid=32849 |
Try this file
|
bane - your directiosn dont apply for version 2.2.4..
nevermind, that actual stat program is working, and that's all I care about, thanks :) |
Quote:
|
For example when I try editing admin/index.php, to add the extra lines of code, I search the document and can't find what I need to find.. even with that updated txt file.
|
okay i installed it on my vbb 2.2.4 and it gives a error on line 74
http://www.xtreme-forumz.cc/vbs_counter.php look.. how do i fix it? (please?) |
Webmasta: Why are you running the counter itself?
|
Quote:
PHP Code:
|
Quote:
|
You dont run the counter though, you include it.. it gives you the same error?
|
Bane, I just installed the AddonForumHome hack, but nothing has changed on my index page. I also added the template vbstats_forumhome to my custom templates.
Any idea what might be wrong? |
i did the same but nothing is apearing?
and if i include it it shows nothing no errors or something.. |
Webmasta: If its included and not showing any errors then its working correctly. Is it logging?
HellRazor : Did you add $vbstats in the forumhome template? |
Bane, that was the problem, I must have missed that. Thanks for your help!
|
Also, one question... would it be possible to add a section to VBStats that would show what resolution people were using? That would be useful!
|
argh, I STILL can't figure out how to exclude my url >_< Please reply as quickly as possible
|
Quote:
|
I must be blind, because I can't see the link anywhere =/ I'm sorry.
|
you are blind =p
|
lol, thanks azn. Is it in the admin cp or the vbstats cp?
|
I cant figure where to add the index.php stuff.
I find the makenavselect("Statistics & Logs","<hr>",$df); in the index.php but if I try adding in the vbStates code I get errors. I tried doing the following code makenavoption("Deluxe Stats","vbstats_set.php","<br>") I get page not found because for some reason &s= is added after the url. Can anyone help? Scott DBStalk.COM |
Go to your admin page, toward the bottom there should be a vbstats section. Go to "exclude URL" and enter your domain (minus the "WWW", i.e. "yourdomain.com").
Quote:
|
I got it, just forgot the ? after the php.
Thanks Scott DBStalk.COM |
oh there isn't a vb stats section...I will try installing again =/
|
Quote:
I read thru all of the posts, seems this problem is being avoided? (Very cool hack, thanks) |
Anyone?
|
Okiewan - It's a known problem that I'm trying to find the fix for. It's not being avoided, its just not fixed and I really dont want to extend this thread any more by saying (Yes I know and am working on that) any more than I have to.
There are some known bugs. The one you are having problems with seems to happen on only some servers. Then there are postcount problems, country problems, etc.. I'm working on them and hope to have a small fix out soon. |
uhh....is there a certain php file I need to edit to make a vbstats section where I can exclude the url?
|
All times are GMT. The time now is 07:43 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:
|