Question
Glas Offline
Member
***
Posts: 106
Joined: Jul 2010
Post: #1
Question
Is there a way to get the best 5 thread makers in X forum? (fid)

I made a wiki system on my forum using product review system from xthreads and i wish to make a contest.

The idea is show at the main page (thread list) who's "winning" at making threads

Yes

Thanks in advance
03-25-2012 01:12 PM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #2
RE: Question
Depends on how the best 5 thread makers choice system works?

03-25-2012 03:13 PM
Find all posts by this user Quote this message in a reply
Glas Offline
Member
***
Posts: 106
Joined: Jul 2010
Post: #3
RE: Question
the problem is that such system does not exist, i thought it was possible to make it with xthreads but it's not possible

and as far i seem within mybb documentation is not possible either owo
03-26-2012 03:15 AM
Find all posts by this user Quote this message in a reply
leefish Offline
Hamster
*****
Posts: 1,009
Joined: Apr 2010
Post: #4
RE: Question
I think what RateU means is how do you define what is winning?

Is it the top rated threads? The most viewed threads? The most replies? Or is it a combination of them all? If it is a combination then that is interesting as you would have to find a way to "combine" those scores to give a result. Then you have a possibility to make such a leaderboard.


[Image: leelink.gif]
MYBB1.6 & XThreads
03-26-2012 04:57 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Glas Offline
Member
***
Posts: 106
Joined: Jul 2010
Post: #5
RE: Question
Oh, pardon me, i did not explain that, i mean Top thread makers, "who made more threads in X FID" as each thread is actually an article/review, that would be enough to count him
03-26-2012 05:42 AM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #6
RE: Question
You need a plugin for that, because you need to run an additional query (if you are OK for using a plugin).
I use that method for my "YouTube Freaks" here (the block at the left bottom of the page):
http://xtest.byethost7.com/forumdisplay.php?fid=4

03-26-2012 07:41 AM
Find all posts by this user Quote this message in a reply
Glas Offline
Member
***
Posts: 106
Joined: Jul 2010
Post: #7
RE: Question
(03-26-2012 07:41 AM)RateU Wrote:  You need a plugin for that, because you need to run an additional query (if you are OK for using a plugin).
I use that method for my "YouTube Freaks" here (the block at the left bottom of the page):
http://xtest.byethost7.com/forumdisplay.php?fid=4
Wow, nice one, that's exactly what i was looking for Aww
03-26-2012 10:13 AM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #8
RE: Question
Try this plugin (attached).
Open up the file, change these settings:

PHP Code:
18
19
20
21
22
23
24
'type'	=> 0,//0 = threads, 1 = posts
'fids'	=> '2',//Forum IDs applied for this plugin (separated by commas)
'gids'	=> '2,3,6',//Only these usergroups are allowed to be a freak (separated by commas)
'limit'	=> 5,//How many users should be displayed
'tlmt'	=> 0,//In hour(s). Only for threads/posts submitted in the last x hour(s). 0 = No limit.
'nlmt'	=> 0,//Only accept freak if their num of threads/posts in this forum is above this setting. 0 = No limit.
'avdim'	=> '50x50'//Maximum avatar dimensions (width x height)

Put {$mn_freak} variable in your article/review's forumdisplay or forumdisplay_threadlist template  (depends on what template prefix you use for the forum).
If you want to change the layout, edit the forumdisplay_mn_freak and forumdisplay_mn_freak_user templates in your Global Templates.



Attached File(s)
.7z  mn_freak.7z (Size: 2.11 KB / Downloads: 405)

03-27-2012 06:38 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: