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)
-   -   Stats Hack (https://vborg.vbsupport.ru/showthread.php?t=31653)

Neo 10-28-2001 10:00 PM

ok, here it is alot of people seem to want this kind of stats hack do here it is.

Features:
-Different bar for members and visitors
-Admins avatar plus welcome message for logged out users on stats bar
-log in feature in visitors stats bar
-hide unwanted information from certain forums
-code updated

so there you have it:D

update:
10/28:fixed speeling errors
10/29:code error fixed

Neo 10-28-2001 11:00 PM

to hide unwanted info from certain forums go into index.php and edit these line

Quote:

$pop = $DB_site->query("SELECT title,threadid,lastpost,lastposter,views FROM thread WHERE forumid<>'X' AND forumid<>'Y' AND forumid<>'Z' ORDER BY views DESC LIMIT 5");
---------------------------
$pop1 = $DB_site->query('SELECT title,threadid,views FROM thread WHERE forumid<>'X' AND forumid<>'Y' AND forumid<>'Z' ORDER BY views DESC LIMIT 1');
---------------------------
$pop2 = $DB_site->query("SELECT title,threadid,lastposter,views FROM thread WHERE forumid<>'X' AND forumid<>'Y' AND forumid<>'Z' ORDER BY views DESC LIMIT 1");
---------------------------
and make the X,Z and Z to the number of the forums you wish to hide

if you need to add more just PM me and i will ship you the code;)

Neo 10-28-2001 11:01 PM

hmmm forgot the file didnt i, well here you go
unreistered or not logged in

https://vborg.vbsupport.ru/
logged in
https://vborg.vbsupport.ru/

poff gone.. if you want it ask and i might be nice

Unknown553 10-28-2001 11:27 PM

FYI: "surton" is properly spelled "certain" in English :)

rekcah2000a 10-29-2001 03:42 PM

i tried your hack and i have an error Parse error: parse error in /index.php on line 69
can you help me

[Edit: Attachment deleted. You can't post vB files here. - Steve]

Neo 10-29-2001 04:26 PM

could you give me the link to the error so i can see what it is, by looking at the code all i cant see anything wrong with it exept you added the file attachment top 5.

Steve Machol 10-29-2001 04:36 PM

rekcah2000a,

Please see the last line of my sig. Thanks.

Turk Master 10-29-2001 08:57 PM

same here I get Parse error: parse error in /usr/home/a/n/animeforums/public_html/index.php on line 71 I tried everything and im 100% postive that this is installed correctly, what seems to be wrong also can I see a workign demo plz?

Neo 10-29-2001 09:51 PM

wow... really it worked for me, hmmm here is a link
http://www.animegathering.com/

could you send me the index.php file so i can take a look at it.. hmm

doea anyone eles have this problem?

kaizen 10-29-2001 09:56 PM

"rekcah2000a" has posted a vbulletin file?

Is that allowed?

I have seen it be deleted in the past ?


All times are GMT. The time now is 01:41 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.00983 seconds
  • Memory Usage 1,728KB
  • 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
  • (2)pagenav_pagelink
  • (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