Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo

Forum member rating system


Go to End


2 Posts   1522 Views

Avatar
grilldan

Community Member, 135 Posts

30 September 2008 at 7:49pm

Edited: 30/09/2008 7:50pm

What I am trying to do, is to implement a user rating system into the forum module. By user rating system, I mean:
1) For each new post, users can rate that post (only once, or change their vote).
2) Then I want to be able to have a page displaying the top 10 users with the highest ratings. (That wouldn't be hard to do, just get the user ratings, order DESC and set the limit to 10.)

In the attachment, you can see two ideas I had for how the rating system would look.

I am looking for someone, or a group of people, to help me code this.

If you would be interested in helping, please let me know.

Avatar
grilldan

Community Member, 135 Posts

30 September 2008 at 9:44pm

Edited: 01/10/2008 9:34am

*Update*
An update on this project:

1) Implemented the "Thumbs" into the design of the forum.
2) Added RatingGood & RatingBad fields to Database.

TODO:

1) Allow users to rate forum posts by clicking the "Thumb up", "Thumb down" images at the top of the forum posts.
2) Limit the number of times a user can rate a post to one time (or they can change their vote).

If you would like to join the project, let me know. I could use the help :)

*********UPDATE**********
I changed the database schema around, now there is a much better flow.

The last thing that I need to do is to code the script for users to "rate" posts.