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)

Dakota 11-04-2001 07:43 AM

Quote:

Originally posted by SharkY-GA
http://forums.gamingalliance.org/vbstats.php ...
Any idea why I am getting those errors?

add this to your phpinclude template:

include("vbs_counter.php");

SharkY-GA 11-04-2001 08:02 AM

That fixed it, thanks.

Are these unique page views or just total number of page views?

Steve Machol 11-04-2001 05:56 PM

Is there an upgrade for vB 2.2.0? I was mislead by the title of this thread. The installation instructions and in particular the changes to admin/install.php do not match 2.2.0.

Steve Machol 11-04-2001 06:01 PM

By the way this is a great hack!

One thing though - is there anyway to exclude the listing of private forums from the Top Forums list for people who don't have access to these forums. I just tried it as a regular member and I could see these forums listed.

Bane 11-04-2001 06:09 PM

Steve, I will be coming out with an update this week. The current version works with 2.2.0 just some differences in where to put the items.

In index.php find
Quote:

makenavselect("Statistics & Logs","<hr>",$df);
and just after that put
Quote:

// vbStats
makenavoption("Config","vbstats_set.php","<br>");
makenavoption("View Public Statistics","../vbstats.php","<br>");
makenavoption("Exclude URL","vbstats_set.php?action=add","<br>");
makenavselect("Statistics & Logs");
// vbStats
And that should get it working for you I believe. I havent had the chance to upgrade yet. :( If you have any problems let me know.

PS - You can exclude forums in the vbstats config.

Steve Machol 11-04-2001 06:23 PM

Thanks Bane. For some reason the links for 'View Public Statistics' and 'Config' don't work from my Admin CP. The URLs look ok, but when I click on these links I get the '404 file not found' error. However when I go to these links directly they work fine. :confused:

Bane 11-04-2001 06:35 PM

The config works but not the exclude?

Steve Machol 11-04-2001 06:41 PM

No, the 'exclude' link works but it doesn't actually exclude the domain I entered, and the other two links don't work at all.

Bane 11-04-2001 06:45 PM

:( the exclude system is a bit confusing right now, it doesnt actually list what you exclude.. just excludes it. I will put the list in the next version. I'll try this on 2.2.0 and let you know what I get.

orca 11-04-2001 06:46 PM

Quote:

Originally posted by Bane
Steve, I will be coming out with an update this week. The current version works with 2.2.0 just some differences in where to put the items.

In index.php find

and just after that put


And that should get it working for you I believe. I havent had the chance to upgrade yet. :( If you have any problems let me know.

PS - You can exclude forums in the vbstats config.

I agree with Steve here. vbstats.php won't be found this way. I think it will only look in the admin dir.

Bane 11-04-2001 06:54 PM

the vbstats options and exclude *are* in the admin directory. The only difference between the two are the action=add for excludes, I'm not sure why they wouldnt both work. The link to the actual statistics was sortof a thrown in bonus so not sure on that.

Steve Machol 11-04-2001 06:56 PM

[QUOTE]Originally posted by Bane
:( the exclude system is a bit confusing right now, it doesnt actually list what you exclude.. just excludes it. I will put the list in the next version. I'll try this on 2.2.0 and let you know what I get.

Bane 11-04-2001 07:17 PM

If you add it into the excludes it will not log new hits to that site, any that are in the table already will still be displayed. You would have to go into phpMyAdmin and remove them. :(

Steve Machol 11-04-2001 07:26 PM

Ah, ok. Thanks for clarifying this. :)

Bane 11-04-2001 07:31 PM

If you see any other things that are confusing please let me know. Im going to try to put as much documentation in for the next version as I can.

Steve Machol 11-04-2001 07:39 PM

Thanks Bane. Here's a few more things I noticed:

1. The text colors are very difficult to manage because of all the style sets I have. Can I put the vB replacement variables in these fields instead of the colors?

2. Shouldn't the 'activity levels' show up as a percent? I'm getting '581.115' instead of '58.1%.

3. How do I set it up so that private forums only show up for members that have access to those forums?

Bane 11-04-2001 11:42 PM

I didnt change the title to 2.2.0

The MySQL errors were quite likely from not putting the vbs_counter include in your header file. Did you check that?

Bane 11-04-2001 11:45 PM

Steve,

1) I will have to look at that. Or maybe set extra replacements per style. I had put the extra codes there to begin with because I had wanted the numbers to stand out.

2) This is as was intended, as I prefered that, but I will change it in the release since it seems to confuse people as well.

3) You can exclude forums in the vbstats config.

Steve Machol 11-05-2001 12:06 AM

Thanks Bane. On #3, I don't want to exclude forums. I want the forums to show based on user permissions. Are you saying it's all or nothing?

Bane 11-05-2001 12:23 AM

Steve: For now it is, One gentleman figured out the permissions for vbstats, but I believe he is trying to sell them :(. So you'll have to wait for me to grow the brain cells to grasp that :p

Everyone? I have a lot of things I need to throw in this version. Most are done or near done, just sorting through them. Unfortunately (fortunately?) I have had enough client work that I havent even been able to upgrade my own forum. As soon as Im done with that vbstats has my attention and I will release the next full version. It will have an upgrade from 203.2 so hopefully all the people (thanks :)) who have signed up for updates/installed will have an easy time when I release the upgrade.

I want to take this space for a special thanks though. You guys have been pretty patient with me, through my initial bumbling with the updates etc, to my current schedule, and I wanted to thank everyone for that. :) I'll try to get her out soon!

|DarkManX| 11-05-2001 12:27 AM

no, thank you for your hard work bane :)

Steve Machol 11-05-2001 12:36 AM

Yeah, thanks Bane! You're work is appreciated!

|DarkManX| 11-05-2001 01:30 AM

i just saw a small lil bug........

here is a SS

any way to fix this to make it say viewing forum stats or something like that??

Bane 11-05-2001 01:49 AM

hmm.. did you do the optional online.php hack? it should have taken care of that.

|DarkManX| 11-05-2001 01:50 AM

yes i did do that part of it....

Bane 11-05-2001 01:53 AM

Hmm.. thats odd, that should add that to the online.php, if its not I'll find out soon. I'm starting on my upgrade in about an hour.

|DarkManX| 11-05-2001 02:11 AM

ok cool sounds good, yea i'm on 2.2 now so maybe its just with a small update somewhere.....thanks Bane :)

Bane 11-05-2001 05:12 PM

The correct file substitutions for vbStats in vb2.2.0 are as follows. These changes will be redocumented in the strictly 2.2.0 version though it should be noted it seems to work just dandy in 2.2.0 with these tweaks :)

The admin/template.php hack remains as is.

vb 2.2.0 online.php changes

Find
Quote:

case 'spider':
Just ABOVE this place

Quote:

// vbStats
case 'vbstats':
$userinfo[where] = "Viewing <a href='vbstats.php?action=stats&s=$session[sessionhash]'>Statistics</a>";
break;
// vbStats End


Find
Quote:

case '/robots.txt':
Just ABOVE this place

Quote:

// vbStats
case $forumprefix.'vbstats.php':
$userinfo[activity] = 'vbstats';
break;
// vbStats End

vb 2.2.0 admin/index.php changes

Find

Quote:

makenavselect("Statistics & Logs","<hr>",$df);
Just BELOW that place

Quote:

// vbStats
makenavoption("Config","vbstats_set.php?action=edi t","<br>");
makenavoption("View Public Statistics","../vbstats.php?action=stats","<br>");
makenavoption("Exclude URL","vbstats_set.php?action=add");
makenavselect("vbStats","<hr>");
// vbStats

Steve Machol 11-05-2001 05:28 PM

Good job Bane! Works like a charm!

patvdv 11-06-2001 11:52 AM

Hi Bane,

Just upgrade to v2.2.0 of vbulletin and vbstats still works as a charm after making the v2.2.0 specific changes.

However I have been browsing all weekend from my Linux box (Redhat 7.1) with the Konquerer browser and all these ticks are counted against the Netscape browser and 'unknown' OS. :(

Any ideas?

pgowder 11-06-2001 12:55 PM

Does this drastically affect the server load?

patvdv 11-06-2001 12:59 PM

Do you mean the upgrade to v2.2.0? No not that I have noticed so far.

pgowder 11-06-2001 01:04 PM

I mean the whole hack. I don't have any part of it installed.

patvdv 11-06-2001 01:15 PM

No not at all but then again we are only using a speck of our current server.

pgowder 11-06-2001 01:26 PM

Has anyone else tracked what this does to the server load?

centris 11-06-2001 02:26 PM

I have not tracked what it does to the load on the server, but I can say that I have NOT noticed any slowdown on page load etc. I have had two sql error e-mails ;

Database error in vBulletin :

Link-ID == false, connect failed
mysql error:

mysql error number:

Date: Monday 05th of November 2001 06:22:47 PM
Script: /forum/vbstats.php
Referer:

but thats it so far, I then changed the code to that, that Bane gave for ver. 2.2.0 and its running fine with no problems. I should add that my server is running slow lately, including FTP etc. So the above error may be due to a server issue.

TheComputerGuy 11-10-2001 10:29 AM

Does anyone know why phpportals hack has a little problem with it?

orca 11-10-2001 02:49 PM

Quote:

Originally posted by TheComputerGuy
Does anyone know why phpportals hack has a little problem with it?
What kind of problem? I didn't notice any...

Mike Gaidin 11-10-2001 04:00 PM

Woohoo! I finally got it working. Great program. :D

xcal 11-10-2001 04:13 PM

installed like a charm, quality hack :)

up and running here

www.rtcw.co.uk/forums/vbstats.php

:D


All times are GMT. The time now is 01:56 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.02028 seconds
  • Memory Usage 1,818KB
  • 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
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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