The Arcive of vBulletin Modifications Site. |
|
Details »»
|
|||||||||||||||||||||||||
Hello,
I would like to give users the ability to rate a thread from 1 to 10 and show the top rated threads on homepage/another page, is there a known hack for it? Regards, JDreamer Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
I'm looking for something a little familiar, except it's a rating on the forums. Not the threads. Anyone have it ?
|
|
#3
|
|||
|
|||
|
I'm looking for something a little familiar, except it's a rating on the Users . Not the threads or forums . Anyone have it ?
|
|
#4
|
|||
|
|||
|
my users have developed a system to 'rate' threads. generally speaking your average usefull thread (on my forums) will have 10 views/post. if it is particularly usefull it will have less then 10 views/post, and obviously if it has more then 10 vies/post it is deemed more a more useless thread. of course thats just a generalization, but maybe you could devide the # of views by 10 (or whatever), and then get the ratio of [views/10]
osts to rate a thread.of course thats just an idea, but i would require hella-less work then coding up a rating system. |
|
#5
|
|||
|
|||
|
This actually wouldn't be too hard...
1. Put a list of ratings on the "newreply" template. 1-10 per se. 2. Store that rating with each new post (would require a new field) 3. Your average thread rating would be the average of the ratings for each reply. To pull this out just do a query before you display the thread info. SELECT avg(rating) as rating from post where threadid=$threadid The rest I leave up to you. Not hard if you know a little PHP. |
![]() |
|
|