Module: Rate This Thread
Posted by Liliana von Goodin
All files from this thread
File Name | File Size | Posted by | Date | ||
---|---|---|---|---|---|
rate_this_thread_1_2.zip | 87.1 KB | open | download | Liliana von Goodin | 11/25/2009 | Read message |
Module: Rate This Thread November 25, 2009 06:13PM |
Registered: 16 years ago Posts: 22 |
This is a module for rating threads, it was created by Ravenswood. :)
Rating options:
- Stars
- Numbers
- Thumbs up/down
Other Settings Options:
- Submit comment with vote (individual user's vote will show up with their comment in a post, Amazon-review-style).
- Allow/disallow anonymous users to vote.
- Select any number from 0 - 100 as a rating option (shown either as numbers or stars) for voters.
- Rating settings can be unique to each forum (One forum can be 0-5 stars, another can be 0 - 10 stars, another can be thumbs up/down, etc).
- Folder-wide settings can be inherited to subforums or overridden by individual subforums as needed.
- Option to view voting results poll-style after a vote has been submitted.
- Several template design options to choose from.
Enjoy! :)
Edited 2 time(s). Last edit at 06/27/2016 05:45PM by Liliana von Goodin.
Rating options:
- Stars
- Numbers
- Thumbs up/down
Other Settings Options:
- Submit comment with vote (individual user's vote will show up with their comment in a post, Amazon-review-style).
- Allow/disallow anonymous users to vote.
- Select any number from 0 - 100 as a rating option (shown either as numbers or stars) for voters.
- Rating settings can be unique to each forum (One forum can be 0-5 stars, another can be 0 - 10 stars, another can be thumbs up/down, etc).
- Folder-wide settings can be inherited to subforums or overridden by individual subforums as needed.
- Option to view voting results poll-style after a vote has been submitted.
- Several template design options to choose from.
Enjoy! :)
Edited 2 time(s). Last edit at 06/27/2016 05:45PM by Liliana von Goodin.
Re: Module: Rate This Thread November 25, 2009 06:48PM |
Registered: 15 years ago Posts: 753 |
Re: Module: Rate This Thread November 25, 2009 07:08PM |
Registered: 16 years ago Posts: 22 |
It was created by Ravenswood for me, but I wanted it to be available to everyone when he was done with it. So now it's done, and here it is :) I tried to plan it with many flexible options built in so that it could be used for a variety of purposes, in keeping with Phorum's theme.
I like the idea of not letting people vote on their own threads, I'll bring that up with Ravenswood :) Maybe an option where you can choose to allow or disallow voting on your own threads.
I like the idea of not letting people vote on their own threads, I'll bring that up with Ravenswood :) Maybe an option where you can choose to allow or disallow voting on your own threads.
Re: Module: Rate This Thread November 26, 2009 09:52AM |
Registered: 15 years ago Posts: 753 |
Have you also considered displaying poll results on the list page? It will save time if users do not have to "digg" into the read page in order to check the popularity of the according post. Another interesting option of course would be a set of routines listing messages by popularity, most visited, etc. But this will require core work.
Re: Module: Rate This Thread November 26, 2009 10:19AM |
Moderator Registered: 17 years ago Posts: 1,301 |
Korsakov you have a lot of great ideas, but I really think you need to consider having a php programmer or two on retainer ;-)
Joe Curia (aka Azumandias)
Modules: l0Admin Mass Email00000000l000000Automatic Time Zones000ll.l00000Enhanced Custom Profiles0.00Google Calendar0000l.l000000Post Previews
000000000Admin Security Suite000000000000Check Modules for Upgrades0000External Authentication000000Group Auto-Email00000.00000Private Message Alerts
000000000Attachment Download Counter0000Custom Attachment Icons000ll.ll00Favorite Forums000000.00000Highlighted Search Terms0000Self-Delete Posts Option
000000000Attachment Watermarks0l00000000Custom Language Database00l.l.0Forum Lockdown00000.00000Ignore Forums0000000000000Threaded Tree View
000000000Automatic Message Pruning00.llll.00Easy Color Scheme Manager0l.l00Forum Subscriptions0000lll000Moderated User Group
Templates:lGeneric Integration000000000 0000Simple Rounded000000 00000000Tabbed Emerald
Joe Curia (aka Azumandias)
Modules: l0Admin Mass Email00000000l000000Automatic Time Zones000ll.l00000Enhanced Custom Profiles0.00Google Calendar0000l.l000000Post Previews
000000000Admin Security Suite000000000000Check Modules for Upgrades0000External Authentication000000Group Auto-Email00000.00000Private Message Alerts
000000000Attachment Download Counter0000Custom Attachment Icons000ll.ll00Favorite Forums000000.00000Highlighted Search Terms0000Self-Delete Posts Option
000000000Attachment Watermarks0l00000000Custom Language Database00l.l.0Forum Lockdown00000.00000Ignore Forums0000000000000Threaded Tree View
000000000Automatic Message Pruning00.llll.00Easy Color Scheme Manager0l.l00Forum Subscriptions0000lll000Moderated User Group
Templates:lGeneric Integration000000000 0000Simple Rounded000000 00000000Tabbed Emerald
Re: Module: Rate This Thread November 26, 2009 10:48AM |
Registered: 15 years ago Posts: 753 |
Re: Module: Rate This Thread December 07, 2009 04:52PM |
Registered: 14 years ago Posts: 115 |
I have been trying out this module, and there is a small issue when it runs on a system that incorporates search engine friendly URLs:
In rate_this_thread.php the urls to the graphics (i.e. the stars) are all relative which is fine normally. But not in SEO friendly URLs, where the page level URL will be re-written to be in folders (i.e., something like http: //mysite.com/2/3/topic_foo).
Example, a line of code like this:
$s .= '<img src="mods/rate_this_thread/images/rating70px-zero.gif" border=0 />';
results in a broken image because it is relative to http: //mysite.com/2/3/
I suppose we could make it the author of module "SEF URLs" problem, but one easy solution here is to just preface each image URL with $PHORUM["http_path"], example:
$s .= '<img src="'.$PHORUM["http_path"].'/mods/rate_this_thread/images/rating70px-zero.gif" border=0 />';
Anyway, I am continuing to try this module out and this is how I worked around the problem. Thought I would pass it along.
-phil.
In rate_this_thread.php the urls to the graphics (i.e. the stars) are all relative which is fine normally. But not in SEO friendly URLs, where the page level URL will be re-written to be in folders (i.e., something like http: //mysite.com/2/3/topic_foo).
Example, a line of code like this:
$s .= '<img src="mods/rate_this_thread/images/rating70px-zero.gif" border=0 />';
results in a broken image because it is relative to http: //mysite.com/2/3/
I suppose we could make it the author of module "SEF URLs" problem, but one easy solution here is to just preface each image URL with $PHORUM["http_path"], example:
$s .= '<img src="'.$PHORUM["http_path"].'/mods/rate_this_thread/images/rating70px-zero.gif" border=0 />';
Anyway, I am continuing to try this module out and this is how I worked around the problem. Thought I would pass it along.
-phil.
Re: Module: Rate This Thread December 07, 2009 05:49PM |
Admin Registered: 19 years ago Posts: 8,532 |
Actually, we advertise always using absolute URLs instead of relative URLs for Phorum. So your proposol is perfectly sound. See the developer docs for some of the reasoning behind this.
Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: Module: Rate This Thread December 07, 2009 09:38PM |
Registered: 14 years ago Posts: 221 |
Hi! Thanks for the compliments, and the feedback. I'm glad everyone likes this module.
I'll update it soon, to fix the issue Phil Connolly mentioned. Then when I get some time, I'll incorporate some of the other suggestions people have made. They're all very good ideas.
Thanks again!
-------------------------------------------------------------------
"When given a choice, always choose monkeys."
I'll update it soon, to fix the issue Phil Connolly mentioned. Then when I get some time, I'll incorporate some of the other suggestions people have made. They're all very good ideas.
Thanks again!
-------------------------------------------------------------------
"When given a choice, always choose monkeys."
Re: Module: Rate This Thread January 08, 2010 05:41PM |
Registered: 14 years ago Posts: 2 |
Sorry, only registered users may post in this forum.