Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 Ranking Snitz sites - Not really a mod
 New Topic  Reply to Topic
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 9

-gary
Development Team Member

406 Posts

Posted - 13 July 2005 :  18:03:53  Show Profile  Reply with Quote
But, this would appear to be the best place for this.

I've never seen any sort of ranking site like big-boards.com specifically for Snitz and there's always questions here about what constitutes a "big" Snitz install. So, I threw this together a ranking site that will pull stats from your forum via XML, store and then rank them against other Snitz forums.

I didn't put a lot of time into this since I don't have a lot of time to waste if no one is going to use it, so it is quite bare at this point. If there seems to be some interest, I'll work on an interface and other features.

Each site only gets checked once per day so the processing needed is trivial. Polling runs are once per hour, so if you submit your site it'll show up at the top of the next hour if all is well. There is very little error checking on the submit side, so please make sure you enter the info correctly.

You'll need the get the stats client and register your forum for polling. http://snitzhcd.com/stats/register.asp
Extract the snitzstats.asp file to your forum directory.
I would assume it works on any DB unless MySQL uses a different max and count routine, but I didn't bother checking.<

KawiForums.com



Edited by - -gary on 17 September 2005 13:47:50

muzishun
Senior Member

United States
1079 Posts

Posted - 13 July 2005 :  21:00:07  Show Profile  Visit muzishun's Homepage  Reply with Quote
Sounds like a nice thing to get going. On putting the file up on my site I noticed you're missing an "AS" on line 30.

strSql = "SELECT MAX(REPLY_ID) AS R_MAX, COUNT(REPLY_ID) AS R_ACTIVE FROM " & strTablePrefix & "REPLY"


I'll be submitting my site within the hour. I'd like to see what sort of interest there could be in this.<

Bill Parrott
Senior Web Programmer, University of Kansas
Co-Owner and Code Monkey, Eternal Second Designs (www.eternalsecond.com)
Personal Website (www.chimericdream.com)
Go to Top of Page

-gary
Development Team Member

406 Posts

Posted - 13 July 2005 :  21:19:47  Show Profile  Reply with Quote
I saw the missing AS after I posted. Thought I caught it before anyone downloaded.<

KawiForums.com


Go to Top of Page

sr_erick
Senior Member

USA
1318 Posts

Posted - 13 July 2005 :  23:13:35  Show Profile  Visit sr_erick's Homepage  Send sr_erick a Yahoo! Message  Reply with Quote
Kawiforums will be on top. Wait until this winter though and let the war begin. <




Erick
Snowmobile Fanatics


Edited by - sr_erick on 13 July 2005 23:14:05
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 14 July 2005 :  04:47:17  Show Profile  Reply with Quote
Nicely done, Gary Will be submitting Woo.ie in short order. An idea for a future addition: You could show the date a forum was started by grabbing the timestamp of the first post made.

<

Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”

Edited by - Shaggy on 14 July 2005 04:49:01
Go to Top of Page

MarcelG
Retired Support Moderator

Netherlands
2625 Posts

Posted - 14 July 2005 :  07:20:01  Show Profile  Visit MarcelG's Homepage  Reply with Quote
Nice thought!
Submitted oxle.com right away!<

portfolio - linkshrinker - oxle - twitter
Go to Top of Page

-gary
Development Team Member

406 Posts

Posted - 14 July 2005 :  08:06:59  Show Profile  Reply with Quote
quote:
Originally posted by Shaggy

An idea for a future addition: You could show the date a forum was started by grabbing the timestamp of the first post made.





It's already in the XML. If this does work out, I'll make an about page where you can add info about your forum and it will include things like the first post date.<

KawiForums.com


Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 14 July 2005 :  08:32:32  Show Profile  Reply with Quote
Ay, spotted that when I cracked open the file. Hopefully, it'll work out so - great idea Gary, man.

<

Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

-gary
Development Team Member

406 Posts

Posted - 14 July 2005 :  09:40:28  Show Profile  Reply with Quote
I've noticed a few got a version with a missing AS statement. If you replace the stats file with the copy now linked in the first post you should work. The version in the file should be .02 just to be sure. The problem domains are listed below.

oxle.com
parrotlinks.com
ratdaddyvince.com<

KawiForums.com


Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 14 July 2005 :  09:47:48  Show Profile  Reply with Quote
Was that the only change to .02? The copy I downloaded this morning was .01 but apparently it's working OK as Woo.ie has been picked up by your script.

<

Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

Davecl
Junior Member

United Kingdom
105 Posts

Posted - 14 July 2005 :  09:58:11  Show Profile  Visit Davecl's Homepage  Reply with Quote
wondered why it hadn't been picked up.

got new version now, thanks<

Dave
Go to Top of Page

-gary
Development Team Member

406 Posts

Posted - 14 July 2005 :  10:49:00  Show Profile  Reply with Quote
The missing as was the only change, but I wanted to make sure someone isn't getting a cached copy since I didn't change the file name.<

KawiForums.com


Go to Top of Page

-gary
Development Team Member

406 Posts

Posted - 14 July 2005 :  10:51:51  Show Profile  Reply with Quote
quote:
Originally posted by Davecl

wondered why it hadn't been picked up.

got new version now, thanks



Your's has the following at the beginning of the file causing it's parse to fail.

<!--INCLUDE FILE="LangMODS_Ls3kAU4_1030.asp" --><!--INCLUDE FILE="LangMODS_Ls3kAU4_1033.asp" --><!--INCLUDE FILE="LangMODS_Ls3kAU4_1034.asp" --><!--INCLUDE FILE="LangMODS_Ls3kAU4_1036.asp" --><!--INCLUDE FILE="LangMODS_Ls3kAU4_1037.asp" --><!--INCLUDE FILE="LangMODS_Ls3kAU4_1041.asp" --><!--INCLUDE FILE="LangMODS_Ls3kAU4_1043.asp" --><!--INCLUDE FILE="LangMODS_Ls3kAU4_1046.asp" --><!--INCLUDE FILE="LangMODS_Ls3kAU4_1053.asp" --><!--INCLUDE FILE="LangMODS_Ls3kAU4_2070.asp" --><

KawiForums.com


Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 14 July 2005 :  11:11:50  Show Profile  Reply with Quote
Dave, what I did, because I using a highly modified config.asp, was copy the connection string (you'd also need the table prefixes) into snitzstats.asp and remove the config.asp include.

<

Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 14 July 2005 :  11:37:02  Show Profile  Reply with Quote
Forgot to ask, Gary, how often does your script visit our sites? Also, is there a reason why you're pulling the counts individually from the TOPIC and REPLY tables rather than all at once from the TOTALS table?

<

Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

sr_erick
Senior Member

USA
1318 Posts

Posted - 14 July 2005 :  12:06:34  Show Profile  Visit sr_erick's Homepage  Send sr_erick a Yahoo! Message  Reply with Quote
The totals table may not always be correct. Also here's what gary said about how often the script runs.

quote:

Each site only gets checked once per day so the processing needed is trivial. Polling runs are once per hour, so if you submit your site it'll show up at the top of the next hour if all is well.

<




Erick
Snowmobile Fanatics

Go to Top of Page
Page: of 9 Previous Topic Topic Next Topic  
Next Page
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.17 seconds. Powered By: Snitz Forums 2000 Version 3.4.07