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)

caislander 11-07-2002 04:55 PM

Quote:

Originally posted by NTLDR
Is that what you get when viewing vbstats.php or the vbstats installer?
NTLDR,

When I call the installer I get a blank page, and when I view the source code of that blank page that is what I see.

Thanks

NTLDR 11-07-2002 05:01 PM

All I can suggest then is that you re-download the zip file and check your uploading the .php files in ASCII mode in your FTP Client.

caislander 11-07-2002 05:08 PM

OK NTLDR, I will do that when I get home this evening, my boss doesn't mind me on forums during breaks but he would probably draw the line @ me working on web projects not related to work :D

Thanks for the help

caislander 11-08-2002 01:24 AM

NTLDR,

Thanks for your help I fimnaly got it up and running, the problem was and still is to a point, that the files in my directorys are php3 not php, so the installer was trying to include global.php anf=d it didn't exist. But my next problem was born of my own stupidy, as i did the install I did not do the optional hacks at the time, planning to do them later, well to make a long story short the browser window got closed before I could make the modifacations, now I don't know where to find the instructions for those changes, can you tell me?? or is there someother way (file) that I can make the url exclusions and other changes in?

Thanks again

caislander 11-08-2002 11:12 PM

Ok, I found that answer. So upward & onward to the next problem, where & how to I change this so that it looks for the .php3 extensions instead of just .php?

EZ-Dozet 11-09-2002 01:19 AM

I bet this has been answered and I don't feel like going through 66 pages. Does this hack work with 2.2.8

thanx kindly

AsedaH 11-13-2002 10:14 AM

i installed this about 10 minutes ago on 2.2.8. It was a flawless install. However, i didnt install any of the options. I don't need them as of yet.

GZ_Tanis 11-14-2002 01:19 AM

seeing how there is 20 pages here im sorry i really dont have the time to read them all :)

What I need to know is, is it possible to only choose certian parts to show for this? Cause all i really would like to show is the forum stats, member stats (without the referrals we dont use it), and last 24 hour stats. The top posters is somethin i would like also but the other stuff like countires and OS and that I can do without. But before I install this I want o be sure I can just set it up to show those things and not the stuff i dont want.


Also you wouldnt by any chance of a php3 version of this? It is such a pain to go thru all the files and change the php to php3 :)


I awiat your reply in earnest,

GZ_Tanis

Shepski 11-14-2002 02:41 PM

installed the hack but get an error on my forums homepage:

Warning: Supplied argument is not a valid MySQL result resource in pathtoforums\vbs_counter.php on line 74

My phpinclude template looks like:

ob_start();
include("vbheader.php");
include ("vbs_counter.php");
$revdis = ob_get_contents();
ob_end_clean();

the other file in there calls up a file that reads data from another database and displays it on the forums.

when i run the vbstats.php i get:

Warning: Supplied argument is not a valid MySQL result resource in E:\domains\dvd-swaps.co.uk\dvd2001\dvdforums\vbstats.php on line 88
1046: No Database Selected

this is prolly cos my other file has mysql_close(); in it but if i take this out the vbstats starts looking in my other database!!

any ideas how I can get the vbstats to work. i have tried putting the include("vbheader.php"); all over the place in the template but no joy :(

EDIT
Got it going :) I had to add to the vbstats code and counter the code from global.php which connects to the database as my other file was closing all connections to mysql. works like a dream now. great hack :)

Dynamic One 11-20-2002 02:03 PM

Thanks Bane for this nice stat.


All times are GMT. The time now is 04:35 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.02147 seconds
  • Memory Usage 1,740KB
  • 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_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