Simple Machines Community Forum

Customizing SMF => Tips and Tricks => Topic started by: inthe80s on February 11, 2005, 12:30:20 PM

Title: Got a 500,000+ message count board? Three lines of php for stats at big-boards
Post by: inthe80s on February 11, 2005, 12:30:20 PM
This site:

http://www.big-boards.com/

Tracks the most popular messageboards of the web, based on post counts.  Maybe not the most accurate measure of a board's worth, but still, another place you can list yourself online the better.  They have a preferred format for reporting your stats (to keep you up to date in their system) which is basically a very small xml file. It's not neccesary, but I also wanted to include my archive of messages from before I ran SMF in my count.

Using SSI, I wrote the following php file and stuck it in the root of my SMF install.


<?php
$archive_messages 
374175;
require_once(
dirname(__FILE__) . '/SSI.php');
echo 
'<members>'$modSettings['memberCount'], '</members><posts>', ($archive_messages $modSettings['totalMessages']), '</posts>';
?>



If you have no archived messages, just change the number to zero.
Title: Re: Got a 500,000+ message count board? Three lines of php for stats at big-boards
Post by: ygmn on February 11, 2005, 12:55:02 PM
They have not added ours yet.....not sure what more we have to do to get listed...

We are now over 615,000 posts....

Title: Re: Got a 500,000+ message count board? Three lines of php for stats at big-boar
Post by: inthe80s on February 11, 2005, 12:58:20 PM
Quote from: ygmn on February 11, 2005, 12:55:02 PM
They have not added ours yet.....not sure what more we have to do to get listed...

We are now over 615,000 posts....

I just submitted mine today.  So I have no idea how long they take to add new ones either.  It's cool to see other large boards using SMF.  I'm tired of seeing lesser software used on otherwise decent boards.  ;D
Title: Re: Got a 500,000+ message count board? Three lines of php for stats at big-boards
Post by: ygmn on February 11, 2005, 02:25:18 PM
We are now listed....
Title: Re: Got a 500,000+ message count board? Three lines of php for stats at big-boards
Post by: EG on February 13, 2005, 08:09:54 PM
how the hell does that work ?

I reckon some of those forums dont clear down their stats history.

Ive just looked at the top forum, and its first board says it has over 46million replies... but in the last 3 days, it cant have more than 700... and thats the only topics theyre showing.

when we clear out in SMF, the topic and board counts go down too,

sounds like a big fix to me!
Title: Re: Got a 500,000+ message count board? Three lines of php for stats at big-boar
Post by: Oldiesmann on February 14, 2005, 03:58:02 PM
Quote from: ygmn on February 11, 2005, 12:55:02 PM
They have not added ours yet.....not sure what more we have to do to get listed...

We are now over 615,000 posts....



I submitted your board to them a couple weeks ago. You're already on their list :)
You might want to edit your board's profile though... http://www.big-boards.com/highlight/1044/
Title: Re: Got a 500,000+ message count board? Three lines of php for stats at big-boards
Post by: ygmn on February 14, 2005, 05:18:18 PM
Quote from: Oldiesmann on February 14, 2005, 03:58:02 PM
Quote from: ygmn on February 11, 2005, 12:55:02 PM
They have not added ours yet.....not sure what more we have to do to get listed...

We are now over 615,000 posts....



I submitted your board to them a couple weeks ago. You're already on their list :)
You might want to edit your board's profile though... http://www.big-boards.com/highlight/1044/

a few of us admins have submitted stuff for our profile there.....
Title: Re: Got a 500,000+ message count board? Three lines of php for stats at big-boards
Post by: Oldiesmann on February 14, 2005, 07:24:07 PM
Ok :)

Always nice to see SMF creeping up on that list.
Title: Re: Got a 500,000+ message count board? Three lines of php for stats at big-boards
Post by: Ben_S on February 14, 2005, 08:22:55 PM
Wish they would update the 40konline listing, I hate being number1, when I'm not.