vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Add-On Releases - Simplestats - Show simple vB stats on non-vb pages (https://vborg.vbsupport.ru/showthread.php?t=172150)

wii 03-04-2008 10:00 PM

Simplestats - Show simple vB stats on non-vb pages
 
Simplestats is a little php file that reads the database and shows the result on a non-vB page.

Installation is simple:

1. Download the attached file.
2. Edit the forum directory path in line 4:

Code:

chdir('/home/users/public_html/forums');

3. Upload the file somewhere on your server.
4. Add a php include to the page where you want to show the stats, like this:

Code:

<?php include('/home/users/public_html/forums/simplestats.php'); ?>

The stats are shown like this in the php file:

Code:

4,535 members, 9,317 topics and 543,871 posts

wii 03-05-2008 09:43 AM

If you like this, please comment and please click Installed, if you are using it.

Thanks

SEOvB 03-05-2008 03:01 PM

Can you get the total number of guests/members online as well. :D (and if could even count users online on non-vbpages, would be even better)

it'd be absolutely wonderful then :D


Nice work so far *installed!

And you should make it work with DB prefixes,, i had to hardcore mine in :)

wii 03-09-2008 09:31 AM

Well, to keep it simple, I havenĀ“t planned to add more features to this MOD.

I released it because I use it myself.

devilsmania 07-16-2008 01:18 PM

nice :) thanks


All times are GMT. The time now is 11:04 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.01095 seconds
  • Memory Usage 1,711KB
  • 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
  • (3)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete