View Full Version : Reputation Bug

03-25-2009, 06:48 AM
There seems to be a bug with the reputation system with GARS. I know that it can be found in the tools module. However this is what i observe:

For some members, the reputation link appears in the tools module. HOWEVER, it does not allow adding of reputation when you click. Rather it goes to a page that says how much reputation has been added for the article instead of the usual drop-down box. Looking at the source code, there is something funny:

<td class="alt1" style="font-size: 8pt;"><img class="inlineimg" border="0" src="http://www.abc.com/images/sgclub1/buttons/reputation.gif" alt="" /> <a href="http://www.abc.com/reputation.php?p=2110493" rel="nofollow">Add to Clumpsyjoe Reputation</a> </td>

The entire portion of the code found in the GARS_tools template:
<a href="infraction.php?$session[sessionurl]do=report&amp;p=$post[postid]" rel="nofollow">

is missing before the reputation image. Is there a problem with the variable?

That is not all, for SOME other members, the reputation button don't even appear! It just doesn't show. Not sure which members, but I've identified at least one other member that has happened.

Any ideas?

03-25-2009, 08:04 PM
In the GARS_tools template, the following template conditional is used so the reputation icon should only show to those members that have permission:

<if condition="$show['reputationlink']"></if>

If you have the reputation system enabled in the vBulletin Options, then check the reputation settings via the ACP -> Usergroups -> Usergroup Manager -> Edit Usergroup -> User Reputation Permissions.

The reputation links goes to the /forum/reputation.php?p=postid page, where users can approve or disapprove, and add a comment. If you want to have the pop-up box instead, you would need to edit the GARS_tools template, adding in those bits you want from the default vBulletin templates. The same goes for the infraction link. You'll be able to find these things in the vBulletin postbit template. Copy from there what you want and paste it into the GARS_tools template. While the GARS templates have some of the same features as the vBulletin templates, they are not identical copies so you may need to edit to get the look and feel you want for your site.

03-26-2009, 08:24 AM
tks. i am the administrator and the add reputation button is still not displayed for some members but displayed for others. thus it is not a problem with the permissions as the button appears for some members and not others.

03-27-2009, 12:47 AM
Do your members see the reputation icon if you temporarily untype a forum? Are you using the same template for the GARS postbit template in all types?

03-27-2009, 02:41 AM
Yes they see the reputation icon if i remove the GARS feature from the forum. And yes, i'm using the same template for the postbit. I will PM you the links to demonstrate.