![]() |
Forum Rating
IMPORTANT NOTE - if you installed 1.0, please make sure you upgrade to 1.02. There was a bug in 1.0 which can cause the wrong forum to be rated.
This mod adds rating of forums. Works exactly like rating of threads. Fully phrased. No code edits. Adds one table, and two extra columns to 'forum' table. Uses datamanagers. Adds one db query. Installation instructions are in the README.txt in the ZIP. Standard stuff - an 'upload' folder, some template edits, and a product XML install. Simple "Top Rated Forums" CMPS modules (for versions 2 and 3) included, see README.txt for details. Tested on vB 3.6.8 and 3.7b3, with CMPS 2.2.1 and 3.1rc2, Don't forget to hit Install if you decide to run this. No, I'm not shooting for MoTM, I just want to be able to keep you informed about any bug fixes or new versions. Revision History: 1) 1/27/2008 - 1.00 - initial release 2) 1/28/2008 - 1.01 - fixed tiny template edit issue to properly display tables when Forum Rating is disabled. 3) 1/28/2008 - 1.01 - added CMPS modules to ZIP. 4) 2/23/2008 - 1.02 - Added "Use Thread Rating" mode. Fixed small bug when viewing main category from anywhere other than forumdisplay.php (like index.php). Fixed "rating wrong forum" bug. Added "Sort by Rating" option. Re-organized plugin architecture. Thanks to wtrk for the original idea. -- hugh |
First post reserved by author. Don't know why, but it seems to be traditional!
-- hugh |
new idea and thanks for sharing
|
good job man :D:up:
|
Nice to see you in town Hugh! And a cool, original release! Thanks. :)
|
thanks gritz!
|
Thanks Man I Like The Idea ..
Install .. |
Thanks to everyone for the kind words. Although to be honest it wasn't my idea, 'wtrk' asked me to write it as a paid mod. I had a lot of fun writing it, thought other people might get a kick out of it, and decided to release it as a vborg mod rather than charging him for it.
So kudos to 'wtrk' for the idea. If anyone has any ideas for improvements, just post 'em and I'll see what I can do. -- hugh |
This is great, wish I could get it to work, got everything right but nothing is showing up, I must of put a template edit in the wrong place or something lol, marked installed for a great idea though.
|
Make sure "Yes" is selected for the Enable Forum Rating option, in the Forum Rating options (under the main vBulletin Options section).
-- hugh |
Yeah it's enabled, I'm going to go back through the template edits in a bit and see where I went wrong, thanks.
|
Yes, very good idea :)
|
Quote:
I know this is pretty much an "is there gas in the tank?" kinda question, but are you sure you edited the right templates for the style you are using? I can't offhand think of any other reason why absolutely nothing would show up if you've even vaguely got the right templates edited and that Enable Forum Rating option is set. I'd expect some kind of output, even if the table appearance was screwed up. Even if you don't have "thread rating" enabled for any forums, it should at least show the "rating not allowed" image on FORUMHOME / FORUMDISPLAY. -- hugh |
Great Idea, but has some Bugs in vB 3.6.7 PL1!! :(
1. When Rating a Forum the Rate appears Next to "Forum Tools", but when Leaving the Forum and Entering Again the Rate isn?t Displayed; when trying to Vote Again says that the User has Already Voted, so the Problem is in the Display. :confused: :( 2. When Seeing the Forum in the List of Forums, the Rating isn't Displayed, so I think should be because of the Same Problem of Display previously Exposed. :confused: :( 3. The CMPS has the same Problem, and don't Display the Rated Forums nor the Rating, perhaps is related with the Previously Explained. :confused: :( For Now I'll only Use it in My Test Forum and Not in my Community!! :( Would be Good to hear the Experience of other Forumers with vB 3.6.7 PL1, to Confirm those Bugs, or to Explain them with an Incompatibility with another Mod Installed in my Forums!! :rolleyes: My Best Regards!! ;) :) |
inciarco - I don't have a 3.6.7pl1 server to test on right now. Could you do me a favor, look in your phpMyAdmin and see if the two columns "votenum" and "votetotal" got added to your "forum" table?
The only time I've seen this behaviour was early in testing when the installer didn't work properly for some reason, and the new "forumrating" table got created, but those two extra columns on "forum" didn't get added. -- hugh |
I love this idea! I'm having the same basic problems as inciarco. On my board, I rated my Video Production forum a 5, but the stars show up in my PowerPoint forum. If I try to rate the Video Production forum again, it tells me I've already voted. Something is crossed up somewhere.
I'll let you know if I find anything. :) |
ChurchMedia - I confirmed it on your site, am now trying to duplicate it on mine.
What version of vB is that? EDIT - I've found some similar looking behavior when rating is enabled for guests. Were you logged in or not when you tried this? I've haven't managed to duplicate placing the vote in the wrong forum, even on your site. But I found why it doesn't record in the db for guests, and why guests will get that "you have already voted" when it's not showing up. That's fixed, I'm testing the fix now and should have it uploaded ASAP. I'll register on your site and see if I can duplicate the "wrong forum" thing. -- hugh |
Now that you mention Permissions, I haven't seen any Options to Set which Usergroups can Use the Ratings!! :o :confused:
Would be Great to Set those Usergroups Permissions, perhaps Listed in a TextBox and Separated by Commas!! ;) I Tested the Ratings with my Admin User in my Test Forum!! :rolleyes: My Best Regards!! ;) :) |
As per the README, in the Configuration section:
Quote:
Quote:
-- hugh |
Quote:
I think is better to Inherint the Permissions, so that the Admins can choose which Forum to Rate and which one Not!! :up: Perhaps if an Additional Option could be set for each Forum, independent to the Rating of the Threads, would be Nice too, but as you say, perhaps for other Update of this Mod mor in the Future; for now you've made a great choice inheriting the Rating Permissions!! ;) My Best Regards!! ;) :) |
FYI, it also obeys vB's "can change vote" option (under "Polls and Rating Options").
ChurchMedia - I've now seen the "rating thw rong forum" thing on your site, but can't duplicate it on 3.6.7pl1, 3.6.8 or 3.7b3. The only major difference I can see is that you are running vBSEO, so I'm wondering if that may be kerfuddling things? I've loaded up a 3.6.7pl1 test forum, and although I found a couple of little issues. It seems to work fine. I've fixed the 'guest' rating issue. So I don't think there's any problems with Forum Rating itself, but there may be some compatibility issues with vbSEO and/or some other mod. However, until we get these things resolved, I'm setting the status of this mod back to Beta. -- hugh |
I was logged in when I rated the forums. I'm running 3.7 beta 4. I just tried it with vbSEO disabled and had the same problem. There could be another hack interfering.
Thanks for looking into it. I'll be looking forward to the next release! :) |
Quote:
|
TCE Killa - it was working fine on your site, the only issue is because your FORUMHOME template is heavily modified, such that you couldn't apply the edit for that template, it wasn't showing the "Rating" title. And because none of the forums were rated, no stars were showing.
Everything else is working fine. I rated a forum, the stars showed up, etc. -- hugh |
Quote:
|
OBTW, something I forgot to mention in the docs ... if you want, there is a "rating_notrated.gif" included in the ZIP. If you replace your existing ./images/rating/rating_0.gif with this file, instead of blank for no rating, you'll see a single greyed out star.
|
NOTE - I tracked down the bug that was causing incorrect forums to get rated. I'm building a new ZIP, but for now to fix this, find the following line in the FORUMDISPLAY template (inside the third 'cheesegrits' edit):
HTML Code:
<input type="hidden" name="t" value="$forumid" /> -- hugh |
Version 1.02 has been uploaded.
Two bug fixes. 2 new ACP options (see updated screenshots for details). -- hugh |
Nice idea. Friend can you make an addon that makes let you choose different kind of ratings (up to five or to ten, for example, and with different kinds of images)?
I think it will be perfect, if you have a sport forum some images and up to five the rating, if you have a cinema forum, another kind of images and rating up to ten. Great work friend ;) |
All times are GMT. The time now is 01:54 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|