Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Forum Rating Details »»
Forum Rating
Version: 1.02, by cheesegrits cheesegrits is offline
Developer Last Online: Nov 2011 Show Printable Version Email this Page

Category: Forum Display Enhancements - Version: 3.6.8 Rating:
Released: 01-27-2008 Last Update: 02-02-2008 Installs: 20
DB Changes Uses Plugins Template Edits
Re-useable Code Additional Files Translations Is in Beta Stage  
No support by the author.

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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 01-28-2008, 05:38 PM
TCE Killa TCE Killa is offline
 
Join Date: Dec 2007
Posts: 330
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah it's enabled, I'm going to go back through the template edits in a bit and see where I went wrong, thanks.
Reply With Quote
  #13  
Old 01-28-2008, 05:47 PM
Allan's Avatar
Allan Allan is offline
 
Join Date: Jun 2003
Location: France
Posts: 1,513
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, very good idea
Reply With Quote
  #14  
Old 01-28-2008, 05:55 PM
cheesegrits's Avatar
cheesegrits cheesegrits is offline
 
Join Date: May 2006
Posts: 500
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TCE Killa View Post
Yeah it's enabled, I'm going to go back through the template edits in a bit and see where I went wrong, thanks.
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
Reply With Quote
  #15  
Old 01-29-2008, 02:12 AM
inciarco's Avatar
inciarco inciarco is offline
 
Join Date: Mar 2007
Posts: 758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.

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.

3. The CMPS has the same Problem, and don't Display the Rated Forums nor the Rating, perhaps is related with the Previously Explained.

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

My Best Regards!!

Reply With Quote
  #16  
Old 01-29-2008, 02:18 AM
cheesegrits's Avatar
cheesegrits cheesegrits is offline
 
Join Date: May 2006
Posts: 500
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #17  
Old 01-29-2008, 02:19 AM
ChurchMedia's Avatar
ChurchMedia ChurchMedia is offline
 
Join Date: Dec 2002
Location: Las Cruces, NM
Posts: 473
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
  #18  
Old 01-29-2008, 02:45 AM
cheesegrits's Avatar
cheesegrits cheesegrits is offline
 
Join Date: May 2006
Posts: 500
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #19  
Old 01-29-2008, 03:15 AM
inciarco's Avatar
inciarco inciarco is offline
 
Join Date: Mar 2007
Posts: 758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
  #20  
Old 01-29-2008, 03:26 AM
cheesegrits's Avatar
cheesegrits cheesegrits is offline
 
Join Date: May 2006
Posts: 500
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

As per the README, in the Configuration section:
Quote:
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:

Quote:
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
Reply With Quote
  #21  
Old 01-29-2008, 03:28 AM
inciarco's Avatar
inciarco inciarco is offline
 
Join Date: Mar 2007
Posts: 758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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


-- hugh
Great, Thanks for Clarifying that!! :up:

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

Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 12:48 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06222 seconds
  • Memory Usage 2,313KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete