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

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

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
  #24  
Old 01-29-2008, 10:48 AM
TCE Killa TCE Killa is offline
 
Join Date: Dec 2007
Posts: 330
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

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
Reply With Quote
  #26  
Old 01-29-2008, 05:31 PM
TCE Killa TCE Killa is offline
 
Join Date: Dec 2007
Posts: 330
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

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

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" />
... and delete it.

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

Version 1.02 has been uploaded.

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

-- hugh
Reply With Quote
  #30  
Old 08-30-2008, 12:35 AM
acast acast is offline
 
Join Date: Aug 2008
Posts: 179
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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


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:39 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.04785 seconds
  • Memory Usage 2,301KB
  • Queries Executed 26 (?)
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
  • (1)bbcode_html
  • (2)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
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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_postinfo_query
  • fetch_postinfo
  • 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