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

Reply
 
Thread Tools
Forum stats on your Non-VB page! No templates needed. Details »»
Forum stats on your Non-VB page! No templates needed.
Version: 1.00, by (Guest)
Developer Last Online: Jan 1970 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 09-07-2002 Last Update: Never Installs: 21
 
No support by the author.

This hack was tested with version 2.2.6 and is my first ever attempt with a modification of VB. All you need to do is upload the attached .php file to your forums directory and then either "require" or use and "iframe" and recall the boardstats.php file into your website page. Currently this will display the latest user registered, number of members, number of threads and posts, and member of the day. In order to use the Member of the day you might need to have it installed. I have found that some boards were able to still display the member of the day even if they never installed the original hack.

This is my first hack, please be kind to me. Depending on the location of your board you might need to change some URL's found in the ECHO string.

In order to customize the OUTPUT of the HTML for your homepage just edit the lines in the ECHO string.

Show Your Support

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

Comments
  #12  
Old 09-12-2002, 05:41 AM
Colon33
Guest
 
Posts: n/a
Default

HACK UPDATED!

VERSION 2 located here.

https://vborg.vbsupport.ru/showthrea...threadid=43454
Reply With Quote
  #13  
Old 11-28-2002, 09:14 PM
Kathy's Avatar
Kathy Kathy is offline
 
Join Date: Nov 2001
Location: Texas, ya'll
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I like this simpler form of the board stats without the avatar for my boards. I've tried to add this but at present, it isn't working...

because I've set my board for view only by registered members. I end up getting the "login page/error page OOPs...are you registered?" inserted in my index.php of my domain because of this permission concern.

Is there any way to suspend those permissions for the index page of my domain (non-vb)?

thanks for your help!
Reply With Quote
  #14  
Old 11-29-2002, 05:55 PM
Glenn379's Avatar
Glenn379 Glenn379 is offline
 
Join Date: Aug 2002
Location: San Francisco, California
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

As usal I'm 2 months late for this hack, but I'm installing it right now *install* Great hack, I'll tell you if it works Thanks Colon
Reply With Quote
  #15  
Old 01-02-2003, 06:03 PM
Kathy's Avatar
Kathy Kathy is offline
 
Join Date: Nov 2001
Location: Texas, ya'll
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've tried to get this one to work...but I'm getting this error:

Fatal error: Call to a member function on a non-object in /usr/local/apache/sites/mydomain.com/httpdocs/stats.inc.php on line 8

I've changed the require "global" line up a few times...because at first I got nothing displayed on the page. Finally I got something but it was this error.

I'm using VB 2.2.8

Any ideas on what else I can tweak to get this to display on my index.php page of my domain? (Non-vb)

I didn't want all the info from the more elaborate "stats with avatar, etc". I just wanted simple: Members, threads, posts and newest member.

Thanks!
Reply With Quote
  #16  
Old 01-02-2003, 07:40 PM
Colon33
Guest
 
Posts: n/a
Default

Please refer to the updated version of this hack.

Located here:

http://www.vbulletin.org/hacks/index...ack&hackid=660

Just remove anything you dont want to use. Remove the call strings from the HTML located in the boardstat.php file.

As for you Kathy, i am not running 2.2.8 cause my 2.2.6 is too hacked at the moment and i am waiting for a version i dont lose my hacks on. So i cant help you there. Try installing the newest version.
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 01:46 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.06882 seconds
  • Memory Usage 2,248KB
  • Queries Executed 22 (?)
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
  • (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
  • (1)pagenav_pagelink
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (5)postbit
  • (3)postbit_onlinestatus
  • (6)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_postinfo_query
  • fetch_postinfo
  • 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
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_imicons
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete