The vB Geek

Go Back   The vB Geek > vB Geek Products > Geek Article and Review System

Geek Article and Review System GARS is the mega popular system for turning forums into articles, tutorials, or even reviews.

Advertisement
  Learn how to remove ads

Reply
 
Thread Tools Display Modes
  #1  
Old 03-04-2008, 05:42 PM
tekguru tekguru is offline
Junior Member
 
Join Date: Jun 2007
Posts: 29
Geek Article and Review System License Holder Geek Advertising Banner License Holder 
Default Ratings issue

I noticed tonight that comments on reviews were lacking some of the allowed ratings, that is some not showing at all as available. The actual review allows all ratings but not the comments.

I looked at the GARS settings and noticed the below problem, where rating jump and soem are missed out.

Any ideas on how to fix this?





Hope there is a quick fix as this is really messing up our review ratings.
Reply With Quote
  #2  
Old 03-05-2008, 03:00 PM
Morgan's Avatar
Morgan Morgan is offline
Administrator
 
Join Date: Jul 2006
Posts: 2,255
Geek Article and Review System License Holder GeekMart License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder Geek Gazette License Holder 
Default

Let's say you add three questions (Question #1, Question #2, Question #3) and then delete Question #2, the questions would show as Question #1 and Question #3 in the list (first screenshot you posted).

The number in parentheses (second screenshot you posted) is one minus the Question # from the first screenshot you posted, i.e., Question #14 in screenshot one is (13) Functionality in screenshot two, Question #17 in screenshot one is (16) Help and Instructions in screenshot two, etcetera.

Is it that numbering that is confusing you? If so, find the following line in the gars_admin_ratings.php file:
Code:
								print_select_row("(" . $qid . ") " . $q['q'][$qid]['text'], ($row['data'][$qid]['id'] ? "rating[" . $row['data'][$qid]['id'] . "]": "new_rating[$userid][$key][$qid]"), $rep, $row['data'][$qid]['value']);
And replace with the following:
Code:
								$qidplusone = $qid + 1;
								print_select_row("(" . $qidplusone . ") " . $q['q'][$qid]['text'], ($row['data'][$qid]['id'] ? "rating[" . $row['data'][$qid]['id'] . "]": "new_rating[$userid][$key][$qid]"), $rep, $row['data'][$qid]['value']);
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. Thanks.
While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams
Reply With Quote
Reply

Thread Tools
Display Modes

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
issue indie Geek Article and Review System 7 03-07-2007 05:44 PM
Star Ratings instead of Bar Ratings? rarara Geek Article and Review System 3 01-23-2007 02:03 PM
Submit the above ratings (box must be ticked to save ratings) attroll Geek Article and Review System 1 06-04-2006 09:28 PM
Review issue Bashy Geek Article and Review System 0 02-18-2006 05:52 PM


All times are GMT. The time now is 02:56 PM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.