vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   vbStats (https://vborg.vbsupport.ru/showthread.php?t=30751)

Bane 03-16-2002 02:08 PM

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

Bane 03-16-2002 02:20 PM

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 03-16-2002 02:28 PM

It works for me, I am using vB 2.2.4

Take a look

Bane 03-16-2002 03:17 PM

freehtml - I think I mentioned before I love your boards topic no? I want new games in the states! *sulks*

thehobbyforum 03-22-2002 01:40 AM

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???

Bane 03-22-2002 12:36 PM

You have to hack the header.php file to point to the vbstats header instead of the php-nuke one.

thehobbyforum 03-22-2002 04:31 PM

I'm not very computer literate but I'm trying to learn - can you be a little more specific - sorry

Bane 03-22-2002 06:48 PM

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 :(

thehobbyforum 03-22-2002 07:11 PM

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

Bane 03-22-2002 08:16 PM

np john

good luck :)

thehobbyforum 03-22-2002 08:51 PM

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.

dgessler 03-23-2002 08:51 PM

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

FWC 03-23-2002 09:24 PM

Quote:

Originally posted by dgessler
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

Add Firefly's killer Add Who's Online Locations from the Admin CP and you don't need to hardcode the loation in online.php.

https://vborg.vbsupport.ru/showthrea...threadid=32849

Bane 03-23-2002 09:32 PM

Try this file

dgessler 03-24-2002 01:54 AM

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 :)

FWC 03-24-2002 03:42 AM

Quote:

Originally posted by dgessler
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 :)

What doesn't apply to 2.2.4? They will work fine.

dgessler 03-24-2002 12:40 PM

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.

Webmasta XT 03-24-2002 01:35 PM

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?)

Bane 03-24-2002 03:31 PM

Webmasta: Why are you running the counter itself?

FWC 03-24-2002 04:00 PM

Quote:

Originally posted by dgessler
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.
Well, it's there. I'm not sure why you are having trouble finding it. Try looking for:
PHP Code:

makenavselect("Statistics & Logs" 


Webmasta XT 03-24-2002 04:25 PM

Quote:

Originally posted by Bane
Webmasta: Why are you running the counter itself?
well i tought it is supose to work..? do i have to leave it like this?

Bane 03-24-2002 04:30 PM

You dont run the counter though, you include it.. it gives you the same error?

HellRazor 03-24-2002 05:40 PM

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?

Webmasta XT 03-24-2002 05:47 PM

i did the same but nothing is apearing?
and if i include it it shows nothing no errors or something..

Bane 03-24-2002 07:40 PM

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?

HellRazor 03-24-2002 09:20 PM

Bane, that was the problem, I must have missed that. Thanks for your help!

HellRazor 03-24-2002 09:22 PM

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!

UltimaKing 03-24-2002 10:45 PM

argh, I STILL can't figure out how to exclude my url >_< Please reply as quickly as possible

FWC 03-24-2002 11:09 PM

Quote:

Originally posted by UltimaKing
argh, I STILL can't figure out how to exclude my url >_< Please reply as quickly as possible
Go to the Exclude URL link in your Admin CP and enter your domain without the www. Then use phpMyAdmin to delete your domain from the vbstats_referrer table.

UltimaKing 03-25-2002 01:58 PM

I must be blind, because I can't see the link anywhere =/ I'm sorry.

Stylez 03-25-2002 02:09 PM

you are blind =p

UltimaKing 03-25-2002 02:36 PM

lol, thanks azn. Is it in the admin cp or the vbstats cp?

scottct1 03-25-2002 03:26 PM

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

HellRazor 03-25-2002 04:10 PM

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:

Originally posted by UltimaKing
lol, thanks azn. Is it in the admin cp or the vbstats cp?

scottct1 03-25-2002 07:06 PM

I got it, just forgot the ? after the php.

Thanks

Scott
DBStalk.COM

UltimaKing 03-25-2002 07:59 PM

oh there isn't a vb stats section...I will try installing again =/

Okiewan 03-25-2002 09:42 PM

Quote:

Originally posted by JBMoney
I'm having a problem with the 24-hour thread count too. I currently have this.

New Threads: 499 | New Posts: 145 | Views: 1,691

Kind of hard to have more new threads than posts.

I've watched the number since installation (about 18 hours) and it moves occassionally, but stays around that 500 mark. I think the post count is accurate.

I have read through this entire thread and didn't find anything helpful. I saw the item about adding one line to the index.php, but the line you said it should be placed after doesn't exist.

Any help?

Any solution to this? I'm having the same issues. Help! There is nowhere to add the line in /root/index.php, there is however a place for it in the program.php (vbstats.php). I inserted the time calc in there, but it didn't change anything.

I read thru all of the posts, seems this problem is being avoided?


(Very cool hack, thanks)

Okiewan 03-26-2002 02:24 PM

Anyone?

Bane 03-26-2002 03:56 PM

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.

UltimaKing 03-26-2002 04:50 PM

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
  • Page Generation 0.02416 seconds
  • Memory Usage 1,816KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete