vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   Hack .... help :) (https://vborg.vbsupport.ru/showthread.php?t=26096)

toLT 08-22-2001 08:18 AM

1 Attachment(s)
Need this hack for vbulletin 2.o3 ... tnx :)

Anyone can help me please ..

About active users ... non active users .. etc :)

Here is sample ...

snyx 08-22-2001 08:31 AM

see where it says "requests" or "search" for that matter

Afterburner 08-22-2001 08:44 AM

you can find a similar one here:

http://www.german-community.de/showt...=&threadid=628

but only in German

This Hack display the information on an extra side

weezle 08-22-2001 08:50 AM

afterburner could u convert this hack into english plz as i would like it aswell.

toLT 08-22-2001 09:06 AM

Yep that will be cool IF U can ... for vb 2.03 :)

toLT 08-22-2001 09:07 AM

Sorry snyx !

Bane 08-22-2001 09:38 AM

In index.php just after
PHP Code:

$numbersmembers=$DB_site->query_first('SELECT COUNT(*) AS users,MAX(userid) AS max FROM user');
$numbermembers=$numbersmembers['users']; 

Around Line 39 if you have no hacks in there, add the following
PHP Code:

// Member Statistics - Active/Non?
$snonposters=$DB_site->query_first('SELECT COUNT(*) AS users,MAX(userid) AS max FROM user WHERE posts=0'); 
$nonposters=$snonposters['users']; 
$activemembers=$numbermembers-$nonposters;
// Member Statistics - Active/Non? End 

Then open your forumhome template and add:

Active: $activemembers Non-Active: $nonposters

Where you want them to show.

snyx 08-22-2001 09:40 AM

sorry snyx?
as if I cared.

weezle 08-22-2001 10:14 AM

wheres happeneds if u do have some hacks installed?

Bane 08-22-2001 10:20 AM

Just find the first block of code and copy it in right after.


All times are GMT. The time now is 06:49 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.03304 seconds
  • Memory Usage 1,727KB
  • 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
  • (1)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