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)

Doubledoom 03-04-2003 09:44 AM

I have installed this on 2.3.0 RC3 running VBportal 3.0.

All appears ok but if you turn the vbportal option on, i get the following errors.

Code:

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /usr/local/psa/home/vhosts/new-version.org.uk/httpdocs/vbb/forums/vbstats.php on line 353

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /usr/local/psa/home/vhosts/new-version.org.uk/httpdocs/vbb/forums/vbstats.php on line 355

Those two lines are relating to the code for VBportal 2.

I notice the poll line is working but the news one is not. I would guess (and its only a guess) that the code cannot handle multiple news forums and that is why it fails (preferences in vbportal have news forums as " 1,2,5,9" to show forums 1,2,5 & 9 are news forums.

If the vbportal option is turned off, then the rest of it is fine without errors.

h4x0rtje 03-07-2003 06:47 PM

Quote:

Originally posted by Bane
Has anyone had any troubles getting this to work with vbHome?
Works fine with me :)

Only when you set Use vbPortal Weblinks Additions? on YES..
I get:
Code:

Warning: Supplied argument is not a valid MySQL result resource in /www/domain/site/board/vbstats.php on line 357

Warning: Supplied argument is not a valid MySQL result resource in /www/domain/site/board/vbstats.php on line 358
Table 'BBEsql.nuke_links_links' doesn't exist

I dont know what: Use vbPortal Additions? and Use vbPortal Weblinks Additions? is......

And in which format do i have to write the date statistics begin?

Bane 03-07-2003 07:12 PM

The problem with vbPortal is he must have changed the tables in some way. Unfortunately I dont have it installed anymore. I may have to install it on a test board. For now the only fix would be to turn those additions off.

esquared 03-08-2003 09:39 PM

Is there away that to make it show the current month stats for top posters of the month instead of the last 30 days? Atleast I assume it's doing 30 days because it says on my board I've gotten 1000+ posts already this month and that isn't possible unless it's doing 30 days instead of the current month of March.

Bane 03-08-2003 10:32 PM

It is doing 30 days instead of the current month yes. :(

VampireMan 03-08-2003 10:59 PM

re vbportal 30b problems

Find This in vbstats.php (near line 291)

PHP Code:

$cat1 mysql_num_rows(mysql_query("select * from  nuke_links_categories"));
$cat2 num_rows(mysql_query("select * from nuke_links_subcategories"));
$cat $cat1+$cat2

And replace with This
PHP Code:

$cat mysql_num_rows(mysql_query("select * from vbp_links_categories")); 


Bane 03-08-2003 11:03 PM

can anyone confirm VampireMans change? If so I will change it in the zip.

esquared 03-09-2003 03:18 AM

Quote:

Originally posted by Bane
It is doing 30 days instead of the current month yes. :(
Anyway to make it do the current month though? :(

h4x0rtje 03-10-2003 10:23 AM

Quote:

Originally posted by h4x0rtje


I dont know what: Use vbPortal Additions? and Use vbPortal
Weblinks Additions? is......

And in which format do i have to write the date statistics begin?

Anyone?

Bane 03-10-2003 04:12 PM

The format of the date statistics begin is whatever you want it to be. Its not really used.

As far as the other if you dont know what it is you dont need to use it, its fog vbportal.

esquared : I'll take a look at it when I have some time.


All times are GMT. The time now is 01:21 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.02599 seconds
  • Memory Usage 1,745KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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