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)

Von Halen 10-11-2002 04:49 PM

Reverend,

That's what I thought, but thanks a bunch for the confirmation. I appreciate the help. Just a little paranoid of screwing up. lol.

Greystang302 10-12-2002 12:09 PM

Has anyone else had any problems installing this on vB 2.2.8? Any fixes?

threadcrapper 10-19-2002 05:48 PM

In VB 2.2.8 here is how the code looks in admin/index.php -- this blends more as some asked about -- also the code in 2.2.8 changed a bit



PHP Code:

<table width="100%" border="0" cellspacing="0" cellpadding="<?php echo iif($cpnavjs,2,5); ?>" id="navtable">

<!-- vbStats -->
<tr><td><hr></td></tr>

<tr><td>
<table width="100%" border="0" cellspacing="0" cellpadding="2" id="navtable">
<tr class='tblhead'><td colspan='2'><a name=""><font size='1'><b><span
class='tblhead'>vbStats</span></b></font></a></td></tr></table>
<a href="vbstats_set.php"> vbStats Config </a><br>
<a href="../vbstats.php"> View Public Statistics </a><br>
<a href="vbstats_set.php?action=add"> Exclude vbStats URL </a><br>
</td></tr>
<!-- vbStats -->

<tr><td><hr></td></tr>
<?php
// *************************************************
makenavoption("vBulletin Options","options.php?t=0","<br>");


lowlight 10-20-2002 03:24 AM

This hack stopped working when I installed 2.2.8 - is there a fix coming?

bouncer18 10-20-2002 06:45 AM

works for me on 2.2.8

btw here is how i made my index.php entry look like.. MUCH CLEANER

Anywhere Below Vbulletin Options section.........

Code:

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


lowlight 10-21-2002 03:58 AM

I thought it doesn't even edit index.php :confused:

Graphics 10-21-2002 07:46 AM

Great hack. Installed it fine. I just get this error when I go to the stats page. Hope you can help. :)

PHP Code:

WarningDivision by zero in /home/thunder/public_html/static/vbstats.php on line 159

Warning
Division by zero in /home/thunder/public_html/static/vbstats.php on line 165

Warning
Division by zero in /home/thunder/public_html/static/vbstats.php on line 162

Warning
Division by zero in /home/thunder/public_html/static/vbstats.php on line 186

Warning
Division by zero in /home/thunder/public_html/static/vbstats.php on line 148

Warning
Division by zero in /home/thunder/public_html/static/vbstats.php on line 139

Warning
Division by zero in /home/thunder/public_html/static/vbstats.php on line 145

Warning
Division by zero in /home/thunder/public_html/static/vbstats.php on line 142

Warning
Division by zero in /home/thunder/public_html/static/vbstats.php on line 136

Warning
Division by zero in /home/thunder/public_html/static/vbstats.php on line 151

Warning
Division by zero in /home/thunder/public_html/static/vbstats.php on line 154 

That's my error... :(
Oh, and I'm running 2.2.8 btw.

Graphics 10-21-2002 07:50 AM

Quote:

Originally posted by lowlight
This hack stopped working when I installed 2.2.8 - is there a fix coming?
Did it not say on step one of the vbstats_install.php file that when you upgrade to a new version, you need to upgrade the stats too?

Re-Upload the installation file again and select the Upgrade option. :)

lowlight 10-22-2002 04:37 AM

Oops forgot :o

desi 10-29-2002 12:15 PM

ver nice hack ... installed it very easily and thanks for the update for version 2.2.8

everything seems to work fine ...
except i am getting a wierd error

Warning: Supplied argument is not a valid MySQL result resource in /home/123.com/httpdocs/forums/vbstats.php on line 283

Warning: Supplied argument is not a valid MySQL result resource in /home/123.com/httpdocs/forums/vbstats.php on line 284

Warning: Supplied argument is not a valid MySQL result resource in /home/123.com/httpdocs/forums/vbstats.php on line 285

any help with this would be appreciated

cheers


All times are GMT. The time now is 05:05 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.01969 seconds
  • Memory Usage 1,753KB
  • 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_code_printable
  • (2)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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