PDA

View Full Version : Add-On Releases - Simplestats - Show simple vB stats on non-vb pages


wii
03-04-2008, 10:00 PM
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:


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:


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



The stats are shown like this in the php file:


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