How to sort for popular topics [message #27545] |
Mon, 12 September 2005 13:01 |
Markus Allen
Messages: 58 Registered: September 2005
Karma: 0
|
Member |
|
|
Great, awesome forum software Ilia.
I can't believe how fast it is, too.
Onward.
I looked and searched everywhere on how to sort by 'Views' and 'Replies'...
Can you help point me in the right direction to find out how to do this?
|
|
|
|
|
Re: How to sort for popular topics [message #27565 is a reply to message #27564] |
Mon, 12 September 2005 15:53 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Well before you do you need to know one thing and that is that the forum uses "views" for topic arrangement. This makes topic listings VERY fast even when you have tens of thousands of topics inside a single forum. However, to allow different sorts a different "view" per sort would be required, this would be quite ineffecient.
FUDforum Core Developer
|
|
|
FUDForum sort for popular topics [message #27567 is a reply to message #27565] |
Mon, 12 September 2005 16:24 |
Markus Allen
Messages: 58 Registered: September 2005
Karma: 0
|
Member |
|
|
I understand... maybe.
I see you're able to sort members by posts at:
http://fudforum.org/forum/index.php?t=finduser&usr_login=&&pc=1 &btn_submit=Find
And it's amazingly fast (but of course:>).
I'm not sure how sorting the number of member posts is different than sorting the number of 'Replies' and/or 'Views'.
If the concern is about speed (and I hear you), can't a click on 'Replies' or 'Views' open a new browser window (at the risk of loading a bit slower)?
I ask for 3 reasons:
1) When my wife is moody, I'll lock my home office door and scan my favorite forums. Often, I'll click on the 'Replies' header hyperlink to find the most active threads. I don't usually bother with sorting 'Views', but it would be nice.
2) As the forum admin, I'd like to get a summary of my top 5 or 10 (some number set in the admin) most popular forums. Even better, I'd like to syndicated that.
3) From a forum spam side of things, I had my programmer develop a quick phpBB script that analyzed the ratio of 'Replies' to 'Views'.
After manually studying several dozen popular forums, I found those with less than 3% often had a thread start with a spammy opening topic.
When the ratio was less than 3% (a global variable we programmed in the admin so it could be adjusted), the phrase [spam] was appended to the initial title of the thread.
For example:
Title: How to make millions at home [spam]
I've been using this simple calculation for a few years and while it's not perfect, allowed me to offer my forum to the public without moderation.
One other thing. The script analyzed the ratio after 100 views for (I hope) obvious reasons.
The only tweak to my forum spam script I wished to implement (but didn't because I'm a FUDForum junkie) was to erase the [spam] tag if the ratio surfaced back over 3% -- with my spam script, once the ratio fell below 3%, the [spam] tag was appended to the title for life... even if the ration surfaced over 3% in the future.
Would anyone reading this like to see this in FUDForum (or add ideas to this)?
|
|
|
Re: FUDForum sort for popular topics [message #27568 is a reply to message #27567] |
Mon, 12 September 2005 16:38 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
First (and very important) the forum does provide syndication a fairly flexible one at that (look @ admin RSS control panel). You can use that to create feeds for specific forums, most recent messages, etc...
Generally speaking a forum will contain far more topics then the member list. And the member list will get slower once the # of members becomes large. The compromise is that member list is accessed fairly rarely while topic list is one of the most frequently trafficed pages and requires outmost speed.
That said if you really want to change the sort order you can adjust the algorithm to sort by another field.
FUDforum Core Developer
|
|
|
|
|