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)

Zaeolos 01-17-2004 09:15 PM

How do you get this thing to show up on your board?

Sorry if this is a stupid ?

Thanks

Zelda-King 01-17-2004 09:38 PM

You need to make a link to the page somewhere, ie, make a vBStats button as a link in your header.

Zaeolos 01-17-2004 09:51 PM

Ok..I did that..I thought there might be a way to actually show up at the bottom of the board at all times.

Thanks

Zelda-King 01-17-2004 09:58 PM

Well you could stick a link in the footer instead. It doesn't show on the actual board. It wouldn't be good for server load for all that information to be showing ALL the time.

chrisvonc 01-18-2004 05:11 PM

Installed this and seems to be working good until I tried to do a backup of my DB. I had run one the night before installing this and now after, my backup consistantly stalls at the 18mb mark.

Any idea how it could be related?

Thanks,

Chris

carryapple 01-19-2004 03:31 PM

Guys,

I've still got that problem with vBstats (see above) - it keeps on trying to access the wrong database... please help, I'd apprechiate it!

Andreas 01-19-2004 03:40 PM

@CarryApple
That's kinda strange as VbStats does use vBs Database-Class.
Where did you put vbstats.php?
Maybe it's using the wrong global.php ...

You could also try to replace all instances of mysql_query in vbstats.php with $DB_site->query.

carryapple 01-19-2004 05:42 PM

Kirby,

Weeeeee, thanks a LOT!
Replacing mysql_query with $DB_site->query did the trick, vb stats is up and running again - thank you so much! :)

Darken Rahl 01-19-2004 06:02 PM

Any way to make the vbstats.php viewable only after you login?

Andreas 01-19-2004 06:10 PM

@Darken Rahl
I don't know which vBulletin & vBStats-Version you use, but this should do the trick:

In vbstats.php, before
PHP Code:

   if (!isset($action) or $action=="") {
     
$action="stats";
   } 

Add the following code
PHP Code:

   // Check if user is logged in
   
if (!$bbuserinfo['userid'])
     
show_nopermission(); 



All times are GMT. The time now is 01:50 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.02408 seconds
  • Memory Usage 1,733KB
  • 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_php_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