Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Forum Rating Details »
Forum Rating
Mod Version: 1.02, by cheesegrits (Member) cheesegrits is offline
Developer Last Online: Nov 2011 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.6.8 Rating: (8 votes - 4.88 average) Installs: 18
Released: 28 Jan 2008 Last Update: 03 Feb 2008 Downloads: 105
Not Supported DB Changes Uses Plugins Template Edits Additional Files Re-usable Code Translations Is in Beta Stage  

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

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	forumrating_1.jpg
Views:	332
Size:	38.0 KB
ID:	75072   Click image for larger version

Name:	forumrating_2.jpg
Views:	334
Size:	68.5 KB
ID:	75077   Click image for larger version

Name:	forumrating_4.jpg
Views:	188
Size:	13.1 KB
ID:	75127   Click image for larger version

Name:	forumrating_acp.png
Views:	78
Size:	21.2 KB
ID:	75390  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
  #16  
Old 29 Jan 2008, 03:19
ChurchMedia's Avatar
ChurchMedia ChurchMedia is offline
 
Join Date: Dec 2002
Real name: Tim Eason
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.
Reply With Quote
  #17  
Old 29 Jan 2008, 03:45
cheesegrits's Avatar
cheesegrits cheesegrits is offline
 
Join Date: May 2006
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
__________________
Hugh Messenger
Itinerant PHP Mechanic and vB Therapist
Will Work for Food or PayPal

Last edited by cheesegrits; 29 Jan 2008 at 04:02.
Reply With Quote
  #18  
Old 29 Jan 2008, 04:15
inciarco's Avatar
inciarco inciarco is offline
 
Join Date: Mar 2007
Question

Now that you mention Permissions, I haven't seen any Options to Set which Usergroups can Use the Ratings!!

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!!

My Best Regards!!

Reply With Quote
  #19  
Old 29 Jan 2008, 04:26
cheesegrits's Avatar
cheesegrits cheesegrits is offline
 
Join Date: May 2006
As per the README, in the Configuration section:
For forum and usergroup permissions, forum rating follows the existing "Allow thread rating" options. So if thread rating is enabled for a forum, the forum itself can be rated, subject to the usergroup settings. Usergroups who can't rate threads in a given forum won't be able to rate the forum itself either. Everyone can see current rating values for ratable forums.
And in the To Do section:

1) Add separate forum rating permissions, rather than inheriting thread rating permissions. The reason I didn't do this to start with is I'm still looking for an upgrade safe way of adding forum permissions.

-- hugh
__________________
Hugh Messenger
Itinerant PHP Mechanic and vB Therapist
Will Work for Food or PayPal
Reply With Quote
  #20  
Old 29 Jan 2008, 04:28
inciarco's Avatar
inciarco inciarco is offline
 
Join Date: Mar 2007
Red face

Originally Posted by cheesegrits View Post
As per the README, in the Configuration section:


-- hugh
Great, Thanks for Clarifying that!!

I think is better to Inherint the Permissions, so that the Admins can choose which Forum to Rate and which one Not!!

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!!

Reply With Quote
  #21  
Old 29 Jan 2008, 06:03
cheesegrits's Avatar
cheesegrits cheesegrits is offline
 
Join Date: May 2006
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
__________________
Hugh Messenger
Itinerant PHP Mechanic and vB Therapist
Will Work for Food or PayPal
Reply With Quote
  #22  
Old 29 Jan 2008, 06:47
ChurchMedia's Avatar
ChurchMedia ChurchMedia is offline
 
Join Date: Dec 2002
Real name: Tim Eason
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!
Reply With Quote
  #23  
Old 29 Jan 2008, 11:48
TCE Killa TCE Killa is offline
 
Join Date: Dec 2007
Talking

Originally Posted by cheesegrits View Post
If you can't figure it out, and don't mind PM'ing me a temporary admin account, I'd be more than happy to check out your site and see what the problem is. I'd like to make sure this isn't some kind of booboo on my part.

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
Okay, check your PM's now, thanks alot man.
Reply With Quote
  #24  
Old 29 Jan 2008, 17:58
cheesegrits's Avatar
cheesegrits cheesegrits is offline
 
Join Date: May 2006
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
__________________
Hugh Messenger
Itinerant PHP Mechanic and vB Therapist
Will Work for Food or PayPal
Reply With Quote
  #25  
Old 29 Jan 2008, 18:31
TCE Killa TCE Killa is offline
 
Join Date: Dec 2007
Originally Posted by cheesegrits View Post
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
Yeah, I noticed now, it is in the Forum Display template, not my Forum Home lol. Have a look in there if you want. Sorry about that, you should have admin status again now. Thanks for the help man, appreciated.
Reply With Quote
  #26  
Old 29 Jan 2008, 22:49
cheesegrits's Avatar
cheesegrits cheesegrits is offline
 
Join Date: May 2006
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.
__________________
Hugh Messenger
Itinerant PHP Mechanic and vB Therapist
Will Work for Food or PayPal
Reply With Quote
  #27  
Old 31 Jan 2008, 14:29
cheesegrits's Avatar
cheesegrits cheesegrits is offline
 
Join Date: May 2006
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):


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

... and delete it.

-- hugh
__________________
Hugh Messenger
Itinerant PHP Mechanic and vB Therapist
Will Work for Food or PayPal
Reply With Quote
  #28  
Old 03 Feb 2008, 06:08
cheesegrits's Avatar
cheesegrits cheesegrits is offline
 
Join Date: May 2006
Version 1.02 has been uploaded.

Two bug fixes. 2 new ACP options (see updated screenshots for details).

-- hugh
__________________
Hugh Messenger
Itinerant PHP Mechanic and vB Therapist
Will Work for Food or PayPal
Reply With Quote
  #29  
Old 30 Aug 2008, 01:35
acast acast is offline
 
Join Date: Aug 2008
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
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 00:39.

Layout Options | Width: Wide Color: