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)

nhnam 08-19-2002 09:10 PM

Quote:

Originally posted by succorso
Still can't figure out what's going on. Here are the errors

Warning: Division by zero in /home/notcrap/public_html/forums/vbstats.php on line 159

Warning: Division by zero in /home/notcrap/public_html/forums/vbstats.php on line 165

Warning: Division by zero in /home/notcrap/public_html/forums/vbstats.php on line 162

Warning: Division by zero in /home/notcrap/public_html/forums/vbstats.php on line 186

Warning: Division by zero in /home/notcrap/public_html/forums/vbstats.php on line 148

Warning: Division by zero in /home/notcrap/public_html/forums/vbstats.php on line 139

Warning: Division by zero in /home/notcrap/public_html/forums/vbstats.php on line 145

Warning: Division by zero in /home/notcrap/public_html/forums/vbstats.php on line 142

Warning: Division by zero in /home/notcrap/public_html/forums/vbstats.php on line 136

Warning: Division by zero in /home/notcrap/public_html/forums/vbstats.php on line 151

Warning: Division by zero in /home/notcrap/public_html/forums/vbstats.php on line 154

Most of the stats don't work as well.


Anyone ?

Thanks,

Succorso

7. Be sure to add this line to your phpinclude template:

include("vbs_counter.php");

Courage 08-21-2002 12:23 AM

The hack is great, but after ~ 1 yer it stopt working :)
I don't know why...

I get this error:

Quote:

1046: No Database Selected
I'm running vbulletin 2.2.2

FlyingDutchman 08-21-2002 05:51 AM

damn, i can't seem to get the forumhome thingie to work? running vb 2.2.5...
i did everything correctly, but i can't get it to show up :(
the strange thing though is that it doesn't give me any errors also?!
i just see nothing :(

roxics 08-21-2002 11:26 PM

I've got it going on my site. thanks.

CeleronXL 08-21-2002 11:47 PM

Weird, mine just stopped working too. Just a blank page....

joecool 08-25-2002 12:31 PM

I've version 2.2.6 and it won't work can someone tell me how I can make it work ?

futureal 08-25-2002 05:00 PM

What exactly is the problem? Do you have a sample URL? I can try to help...

dssforum 08-25-2002 09:02 PM

Warning: Division by zero in /var/www/html/forum/vbstats.php on line 159

Warning: Division by zero in /var/www/html/forum/vbstats.php on line 165

Warning: Division by zero in /var/www/html/forum/vbstats.php on line 162

Warning: Division by zero in /var/www/html/forum/vbstats.php on line 186

Warning: Division by zero in /var/www/html/forum/vbstats.php on line 148

Warning: Division by zero in /var/www/html/forum/vbstats.php on line 139

Warning: Division by zero in /var/www/html/forum/vbstats.php on line 145

Warning: Division by zero in /var/www/html/forum/vbstats.php on line 142

Warning: Division by zero in /var/www/html/forum/vbstats.php on line 136

Warning: Division by zero in /var/www/html/forum/vbstats.php on line 151

Warning: Division by zero in /var/www/html/forum/vbstats.php on line 154

got all those errors anyone know why?

dssforum 08-25-2002 09:04 PM

never mind problem fixed with include("vbs_counter.php");

futureal 08-25-2002 09:53 PM

Yup, that's the one. We need to hack this thread so it includes that line in every post, since that is by far the most asked question. When I installed it a long time ago, I admit I did the exact same thing! haha

joecool 08-26-2002 01:55 PM

I Get all the error's too

futureal

joecool 08-26-2002 06:38 PM

It work's thnx for the info on the forum thanks !

CeleronXL 08-27-2002 11:25 PM

<a href="http://www.starcraftsector.com/fs/vbstats.php" target="_blank">http://www.starcraftsector.com/fs/vbstats.php</a>

Just stopped working mysteriously.

Webmasta XT 08-29-2002 04:55 AM

I get this error when I visit vbstats.php?action=stats
Code:

Warning: Supplied argument is not a valid MySQL result resource in /home/virtual/site1/fst/var/www/html/vbstats.php on line 215
and I get this error when I visit vbstats.php?action=incoming
Code:

Warning: Supplied argument is not a valid MySQL result resource in /home/virtual/site1/fst/var/www/html/vbstats.php on line 496

Warning: Supplied argument is not a valid MySQL result resource in /home/virtual/site1/fst/var/www/html/vbstats.php on line 504
Can't open file: 'vbstats_referrer.MYD'. (errno: 145)


Intex 08-29-2002 12:40 PM

I've installed this then got the usual error messages that everyone else seemed to be experiencing (Division by zero etc.). Then updated the phpinclude template to include vbs_counter.php - nps. The errors disappear.

However, it appears as though none of the statsistics on the first page (Site Statistics) work. The 'Forum Status' and 'Last 24' Hour boxes don't have any statistics in them. I actually went a created a couple of threads/ post and went to see if it would update after the installation, but nope, no joy.

All the other statistics are fine on that page (newest member, Browser, OS etc. just that is missing. All other vBstats statistic pages seem fine including the top forums / threads which also pick up the later threads / posts I made.

Any ideas? I'm using v2.2.5.

Tigga 08-30-2002 06:23 AM

Just installed it on 2.2.7 and it seems to be working fine. :)

Odil 08-30-2002 08:39 PM

I went through haslf of the posts trying to find this but I gave up.

How can I add the total number of new members registered today (maybe even weekly and monthly too!) to vbstats?

Thanks!

Odil

DudeSicko 08-31-2002 02:32 AM

I have now installed it, but i get some weird problems now.

http://www.mor-far.dk/forum/

http://www.mor-far.dk/forum/vbstats.php

On the main page, (bottom)

If you compare the 2 pages, you will notise the botom get cutted this way:

< Kontakt Mor-Far.dk - Mor-Far.dk >

<font face="verda

But the footer is more then that, but the main page dosent shot it all, anyone know why ?


And another problem, i would like this to be on the front page 2, how do i do that ?
http://www.mor-far.dk/forum/vbstats....ion=topthreads

BlackTiger 08-31-2002 10:02 PM

begin 666 Re_ Your post was processed and added! Re_ vbStats .eml
M2&]I:&]I+@T*#0I):R!B96X@965N('!A87(@=V5E:VIE<R!M970@=F%K8 6YT
M:64N#0I(970@:V%N(&1U<R!E=F5N(&1U<F5N(&5E<B!J92!E9 6X@86YT=V]O
M<F0@:W)I:F=T+@T*06QS(&AE="!V<F%G96X@>FEJ;B!O=F5R( '-A=&5L;&EE
M="!O9B!S871E;&QI=&5F=6XL#0IS8VAR:6IF(&1A;B!D96YK= &5N:T!S871E
M;&QI=&5F=6XN;W)G(&5E;B!B97)I8VAT:F4N#0H-"DES(&1I="!B97)I8VAT
M('-P96-I86%L(&)E9&]E;'0@=F]O<B!M:6H@>F5L9BP-"F1A;B!K<FEJ9R!J
M92!V86YZ96QF(&5E;B!A;G1W;V]R9"!A;',@:6L@=&5R=6<@8F5N+@T*#0I4
8;W0@>FEE;G,N#0H-"D)L86-K(%1I9V5R
`
end

BlackTiger 08-31-2002 10:16 PM

begin 666 Re_ vbStats .eml
M2&]I:&]I+@T*#0I):R!B96X@965N('!A87(@=V5E:VIE<R!M970@=F%K8 6YT
M:64N#0I(970@:V%N(&1U<R!E=F5N(&1U<F5N(&5E<B!J92!E9 6X@86YT=V]O
M<F0@:W)I:F=T+@T*06QS(&AE="!V<F%G96X@>FEJ;B!O=F5R( '-A=&5L;&EE
M="!O9B!S871E;&QI=&5F=6XL#0IS8VAR:6IF(&1A;B!D96YK= &5N:T!S871E
M;&QI=&5F=6XN;W)G(&5E;B!B97)I8VAT:F4N#0H-"DES(&1I="!B97)I8VAT
M('-P96-I86%L(&)E9&]E;'0@=F]O<B!M:6H@>F5L9BP-"F1A;B!K<FEJ9R!J
M92!V86YZ96QF(&5E;B!A;G1W;V]R9"!A;',@:6L@=&5R=6<@8F5N+@T*#0I4
8;W0@>FEE;G,N#0H-"D)L86-K(%1I9V5R
`
end

Erwin 08-31-2002 10:18 PM

That looks like gzip is screwing up that post.

DudeSicko 09-03-2002 01:35 PM

My problem i have found out, it only comes if there is 1 online on the forum, if there is more then 1 then the problem dosent apere, wonder why that..

Floris 09-03-2002 02:15 PM

Installed on 2.2.7 without any problems.

kvk007 09-03-2002 09:09 PM

Quote:

Originally posted by DudeSicko
My problem i have found out, it only comes if there is 1 online on the forum, if there is more then 1 then the problem dosent apere, wonder why that..
it happened to my forum also!! when i installed vBulletin 2.2.7 !

PHiXTiT 09-08-2002 05:47 PM

Works like a charm on my 2.2.7. ThanX

CeleronXL 09-10-2002 07:28 PM

Thanks xiphoid btw. I needed to run the upgrade script. You == pure_genious. O_o

Dark Shogun 09-12-2002 06:25 AM

Can SOMEONE tell me how to install this on vb 2.2.7 or atleast which page to look on?

Dark Shogun

dm02 09-12-2002 07:53 PM

I too run VB2.2.7 and would love to have these kinds of stats... Anyone installed it on 2.2.7 yet???

vkrazzy 09-12-2002 08:58 PM

I'm running 2.2.7 and am installing it right now so far everything that was in the instructions is right to par, only thing I'm having trouble with is adding the hack to the admin/index.php

Where it says to add the code above, this line, the line that they are saying isn't there

I'll post when it's up.

vkrazzy 09-12-2002 09:41 PM

I got it up and running, follow his directions they are all most perfect, the only thing I can't get in the admin/cp hack, I had to run the vb_stats.php and could change the options, I've read this thread back to front and nobody tells anything about what to look for in 2.2.7, I'm going to try and run the update and see if that does it

vkrazzy 09-12-2002 10:36 PM

For all the masses,

I did this on a clean install of vb2.2.7, and it works fine, no errors, what I did was follow the instructions in the .zip file and the only change I had to make was in the admin/index.php From what I can gather the oringal thing to look for was this

Code to look for before version 2.2.5
<tr><td>
<table width="100%" border="0" cellspacing= "0" cellpadding="2" id="navtable">
<?php maketableheader("Stats & Logs"); ?>

Unfortunatly that code has changed since version2.2.5 so if you have version 2.2.5 - 2.2.7 look for this code "Thank Threadcrapper"

Code to look for after version 2.2.5
<center><a href="index.php?s=<?php echo $sessionsessionhash}; ?>&action=home:>
Control Panel Home </a></center>
<table width ="100%: border="0" cellspacing="0" cellpadding="<?php echo iif($cpanvjs,2,5?; ?>" id="navtable">

SO THAT SHOULD DO IT.

P.S. I attached the index file so if you want you can just download it, the file name is index.php.txt, so when you upload it rename it to just index.php and the code is allready in there so it should work great.

Ron G 09-12-2002 10:54 PM

I can't find any downloads beyond the one for v. 2.2.1. Is there an updated download for 2.2.6? If so, can someone point me to it?

Thanks.

vkrazzy 09-13-2002 12:50 AM

I used the one for 2.2.3 it worked fine and I'm running 2.2.

GaleForce 09-15-2002 06:17 AM

The forumhome addon thing isnt working for me. The stats are not displaying on my Forum Home.

SeanM 09-15-2002 05:58 PM

Nevermind i found where the phpinclude goes

How do you change the background colors of the tables/cells. Mine are defaulting to teal and I can't find anywhere to change them.

I have searched the templates, but still no luck

Any help appreciated!

SeanM
http://forums.weathertalk.net/

chad777 09-16-2002 09:01 AM

anyway of having it not count on stats everytime someone clicks on any link in the forum ?

I even tried it. 2 clicks to stats 2 more on stats

Greystang302 10-06-2002 06:15 PM

Just tried to install this on vB 2.2.8 per the directions, with no luck. I uploaded all of the files, then opened the install_vbstats.php file in my browser. The initial page opened up fine, but when I clicked on NEW INSTALLATION nothing happened. I was taken to the page that was supposed to be Step 3, but it was blank.

This didn't seem to harm anything because the forum is still up and running, but with no vbstats. :( If I missed an explanation, I apologize... I made it to page 30 of this thread and could read no more.

bouncer18 10-08-2002 06:08 AM

Quote:

Originally posted by vkrazzy
For all the masses,

I did this on a clean install of vb2.2.7, and it works fine, no errors, what I did was follow the instructions in the .zip file and the only change I had to make was in the admin/index.php From what I can gather the oringal thing to look for was this

Code to look for before version 2.2.5
<tr><td>
<table width="100%" border="0" cellspacing= "0" cellpadding="2" id="navtable">
<?php maketableheader("Stats & Logs"); ?>

Unfortunatly that code has changed since version2.2.5 so if you have version 2.2.5 - 2.2.7 look for this code "Thank Threadcrapper"

Code to look for after version 2.2.5
<center><a href="index.php?s=<?php echo $sessionsessionhash}; ?>&action=home:>
Control Panel Home </a></center>
<table width ="100%: border="0" cellspacing="0" cellpadding="<?php echo iif($cpanvjs,2,5?; ?>" id="navtable">

SO THAT SHOULD DO IT.

P.S. I attached the index file so if you want you can just download it, the file name is index.php.txt, so when you upload it rename it to just index.php and the code is allready in there so it should work great.

Hmm. not bad but why not make it all look the same?

Open /admin/index.php

Locate
Code:

makenavselect("Options", "<hr>");
Below It Paste
Code:

// *************************************************
makenavoption("Config","vbstats_set.php?action=","|");
makenavoption("View Public Statistics","../vbstats.php?action=","|");
makenavoption("Exclude vbStats URL","vbstats_set.php?action=add","|");
// ***
makenavselect("vbStats Options", "<hr>");

now it blends in with the rest of Admin CP

Von Halen 10-10-2002 02:44 AM

I've only installed a couple of hacks, as I am a newbie, so don't laugh too hard at this question.

Where is the Vbulletin root directory? I have looked in all the folders on my server, and can't find that. Do I create that? Thanks.

Reverend 10-11-2002 11:51 AM

Quote:

Originally posted by Von Halen
I've only installed a couple of hacks, as I am a newbie, so don't laugh too hard at this question.

Where is the Vbulletin root directory? I have looked in all the folders on my server, and can't find that. Do I create that? Thanks.

The root directory is where all your vB files and folders are installed to.

I presume this is your forums URL

http://www.diamonddavidleeroth.com/forums/

so your Root directory is forums


All times are GMT. The time now is 09:32 AM.

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.02969 seconds
  • Memory Usage 1,832KB
  • 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
  • (4)bbcode_code_printable
  • (5)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