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)
-   -   Forum stats on your Non-VB page! No templates needed. (https://vborg.vbsupport.ru/showthread.php?t=43293)

09-07-2002 10:00 PM

Forum stats on your Non-VB page! No templates needed.
 
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.

Colon33 09-08-2002 01:22 AM

If you wanna see this hack in action just goto this website:

http://www.gamer-pit.com

The stats as you can see are all on the front page. This hack is located at the top of the page. :)

Audionuts 09-08-2002 03:25 AM

very cool :) thanks

joeboo 09-08-2002 04:18 AM

this wont work if your forums and site is on a different site right? -_-

Colon33 09-08-2002 04:39 AM

Well, my forums are a subdomain of my main site. It might work if you make the path to the global.php absolute. Sometimes it works with a URL sometimes it doesnt. IT all depends, people are gonna have different results. You can try to make the url to the global.php a full URL otherwise it needs to be on the same server.

Velocd 09-08-2002 04:52 AM

Heh, Google blocked by China :p Silly communists
[high]* Velocd snickers
[/high]

Anyway looks like a useful hack, although I wont be needing it.

Colon33 09-08-2002 05:33 PM

If the requiring of the script doesnt work, and the forums are located on a different server you can always use an iframe and it will work if the forums are on a different server.

joeboo 09-08-2002 10:57 PM

Hmm.. ok, i'll try that out

Colon33 09-10-2002 06:32 AM

Coming soon, Personal Avatars on non-VB, to be integrated with this.

Colon33 09-10-2002 06:37 AM

Preview of stats and avatar


All times are GMT. The time now is 03:47 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.00999 seconds
  • Memory Usage 1,726KB
  • 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)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