Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Beta Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
QuickStats v1.1 Details »»
QuickStats v1.1
Version: 1.00, by X-Fan X-Fan is offline
Developer Last Online: Apr 2005 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 09-21-2003 Last Update: Never Installs: 4
Is in Beta Stage  
No support by the author.

Hack Name: QuickStats v1.1 for vBulletin 2.x.x
Hack Author: X-Fan (x-fan@bigpond.net.au)
Inspired by: Bane's vbStats Hack and Afterburner's NewStatistikHack
Thanks to: Mystics' Who Was Online Today hack for the members today record, inphinity's UserAgentCheck hack for the web robots online, and Velocd's Who's Chatting modification for phpMyChat for the chatters online portions of this hack.
First Release: 22 September 2003
Description: This is a quick and easy hack that provides many statistics for your forums via a pop-up window, including:

* Online Stats (total online, members online, visible/invisible, guests online, web robots online, online record)
* Crew Stats (admins, super mods, and mods)
* Members Stats (total members, invisible members, active members, activity rate, members today, members today record, registrations today)
* Top 5 Posters
* Top 5 Referrers
* 5 Newest Members
* Forum Stats (total categories, total forums, posts today, total posts, active posts, views today, total views, total attachments, total PMs, unread PMs, total avatars, total smilies)
* Top 5 Forums
* Thread Stats (threads today, total threads, active threads, sticky threads, closed threads, moved threads, unanswered threads)
* Top 5 Threads
* Newest 5 Threads
* Stats add-ons for other popular hacks such as Lesane's Store, MarkB's Mark User as Contributor, and more.

Tested and installed on vBulletin v2.3.0

Files to Edit: 0 (without add-ons), 1 (quickstats.php with add-ons)
Templates to Edit: 1 (header)
Templates to Add: 7 (without add-ons), 8-9 (with add-ons)
Install Time: <=5 minutes

Hack History:

v1.1 Added newest 5 threads stats, tweaked all links to open in new browser window
v1.0 Initial release

Upgrade/First Install Instructions:

Download the attached zip file, extract the files, and follow the instructions in the txt file.

If you use this hack, please don't forget to click install. Any questions, feel free to ask.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 10-23-2003, 03:02 AM
Gio Takahashi's Avatar
Gio Takahashi Gio Takahashi is offline
 
Join Date: Jul 2003
Location: Cape Coral
Posts: 250
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

pretty much to make it show top 15 threads and 15 new threads.

It may have been caused by the wierd format of TXT but it was proven wrong....

UPDATE

I got it to work, it works very nice so far...I'd like to see the top 10 used smileys add to this.

Oh I also looked through your file, and managed to use it on the main page to show today statistic.

www.unitedempire.net

Very nice hack indeed.
Reply With Quote
  #23  
Old 10-24-2003, 09:36 PM
Gio Takahashi's Avatar
Gio Takahashi Gio Takahashi is offline
 
Join Date: Jul 2003
Location: Cape Coral
Posts: 250
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Your script is WIERD.

I never changed anything except the store hack add on, and I used Ultra Edit as well, this time (was using notepad before) and ow it doesn't work AT ALL, there is a bug in the hack.
Reply With Quote
  #24  
Old 11-13-2003, 01:30 AM
FleaBag's Avatar
FleaBag FleaBag is offline
 
Join Date: Dec 2001
Posts: 1,674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Working pretty nicely!
Reply With Quote
  #25  
Old 11-13-2003, 03:14 AM
Rampag33's Avatar
Rampag33 Rampag33 is offline
 
Join Date: Jun 2002
Location: Houston, Texas
Posts: 162
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice hacc, once I find a good place to use it at with all the other damn stats I already have installed I will install it.

Good job.
Reply With Quote
  #26  
Old 11-13-2003, 03:35 AM
X-Fan's Avatar
X-Fan X-Fan is offline
 
Join Date: Jan 2002
Location: Adelaide, Australia
Posts: 496
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Gio Takahashi
Your script is WIERD.

I never changed anything except the store hack add on, and I used Ultra Edit as well, this time (was using notepad before) and ow it doesn't work AT ALL, there is a bug in the hack.
It works, Gio, I think you may have done something wrong whilst editing it.

Try reverting back to the code you had before installing the hack, then reinstalling it.
Reply With Quote
  #27  
Old 11-13-2003, 04:43 PM
Gio Takahashi's Avatar
Gio Takahashi Gio Takahashi is offline
 
Join Date: Jul 2003
Location: Cape Coral
Posts: 250
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

the thing is...it works then ti doesn't work...it only works when it feel like it......
Reply With Quote
  #28  
Old 11-13-2003, 08:35 PM
X-Fan's Avatar
X-Fan X-Fan is offline
 
Join Date: Jan 2002
Location: Adelaide, Australia
Posts: 496
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I honestly can't think of what might be causing that. This shouldn't be affected by any other hacks, as it's a standalone (ie has its own php file, it doesn't require any other files to be modified).
Reply With Quote
  #29  
Old 11-14-2003, 03:21 PM
Red Blaze's Avatar
Red Blaze Red Blaze is offline
 
Join Date: Jan 2003
Location: Texas
Posts: 493
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I got a problem. It was working very well but once someone registered, I get this error.

Fatal error: Call to undefined function: useragentcheck() in /home/thesonic/public_html/forum/quickstats.php on line 153

I tried replacing the original quickstats.php, but that didn't help either.

Edit: Err.. and now it works. o.o; What's with the hack? It takes time to gather information after something's been posted/register etc?
Reply With Quote
  #30  
Old 11-14-2003, 09:40 PM
X-Fan's Avatar
X-Fan X-Fan is offline
 
Join Date: Jan 2002
Location: Adelaide, Australia
Posts: 496
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Sonikku
I got a problem. It was working very well but once someone registered, I get this error.

Fatal error: Call to undefined function: useragentcheck() in /home/thesonic/public_html/forum/quickstats.php on line 153

I tried replacing the original quickstats.php, but that didn't help either.

Edit: Err.. and now it works. o.o; What's with the hack? It takes time to gather information after something's been posted/register etc?
You need to have the UserAgentCheck 1.00 hack installed. If you don't have or don't want that hack, then just remove these lines from quickstats.php:

PHP Code:
$loggedins=$DB_site->query("SELECT session.useragent FROM session WHERE userid=0 AND session.lastactivity>$datecut");
$numberwebrobots=0;
$loggedinrobots="";
while (
$loggedin=$DB_site->fetch_array($loggedins)) {
    
$checkagent $loggedin['useragent'];
    
$webrobot useragentcheck($checkagent1);
    if (
$webrobot) {
        
$numberwebrobots++;
        if (!(
preg_match("/$webrobot/i"$loggedinrobots) )) $loggedinrobots .= $webrobot ", ";
    }
}
if (!empty(
$loggedinrobots)) $loggedinrobots "(" substr($loggedinrobots0, -2) .")";
$numberguest = ($numberguest $numberwebrobots); 
Then find this line:

PHP Code:
$DB_site->free_result($loggedins); 
And after it, add this line:

PHP Code:
  $numberguest intval($numberguest); 
Lastly, find and remove these lines from the quickstats template:

PHP Code:
<tr>
<
td bgcolor="{secondaltcolor}"><smallfont><b>Web Robots Online</b></smallfont></td>
<
td bgcolor="{secondaltcolor}" align="right"><smallfont>$numberwebrobots</smallfont></td>
</
tr
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:30 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04715 seconds
  • Memory Usage 2,316KB
  • Queries Executed 24 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete