MyBB Community Forums

Full Version: Wrong Reputation
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey there

i have installed the ARS on my forum for pr2 weeks ago but i haven't recognized this issue until days ago

when someone put a postive reputation for someone, it post it a natural.

how can i change it !!~ which files i have to edite

manythanks
You can only give rep one time. in ARS.
no no i dont mean that Big GrinSmile

i mean when ever u try to give someone postive rep , it post it as natural,

althought natural and neg are working (Y)
Did you manually edit the files? It should be in the reputation.php file. It's also possible that it doesn't recognise the narssettings.php file which may cause the mod not to work. Have you used reputations before using the mod? (*)
I suggest to Disable the mod
download the latest version from http://community.mybboard.net/showthread...2#pid27232
upload the replacement files. (it could be that the install file wasn't updated)
Re-enable the mod and try again.
If you have any problems with loading narssettings in functions_post.php and functions.php.(*) You'll have to change line 1316 in functions.php and line 570 in functions_post.php into
include "narssettings.php";

(*)These things are totally solved in the version I'm working on now. It'll hopefully be released early December. If not: At the end of December. And that would be the final version.
hey thx for the info
ACTUALLY I"M USING THAT LATEST VERSION YOU HAVE THEREConfused!!

but look while looking at the reputation.php i found this

// work out new reputation
			$now = time();
			$comments = addslashes($mybb->input['comments']);
			$rep = $mybb->input['rep'];
			if($mybb->input['add'] == "neg")
			{
				$rep = "-".$rep;
			}
			if($mybb->input['add'] == "0")
			{
				$rep = 0;
			}

ok it seems like there is no one for the positive

so do u think if i add this

if($mybb->input['add'] == "pos")
			{
				$rep = "+".$rep;
			}

will it work ??

many thx
No, that won't work. That part is not needed. If the rep isn't negative and isn't neutral, it is positive.
Try changing both into:
			if($mybb->input['add'] == "neg")
			{
				$rep = "-".$rep;
			}
			elseif($mybb->input['add'] == "0")
			{
				$rep = 0;
			}

But I think it may be the template. Does the problem occure when updating the rep or when adding a rep? Or both?

You should check reputation_add_ars and reputation_update templates for
<input type="radio" name="add" value="pos">&nbsp;<span id="addpos">$lang->positive (+1)</span><br />
<input type="radio" name="add" value="0">&nbsp;Neutral (0)<br />
<input type="radio" name="add" value="neg">
These templates are under the global category, not under reputation templates.
actually it happens when i try to add a reputation to some one

i havent' try to updtae a reputation yet !!

thx

EDIT : the template are correct !! no error

i will try to deactivate then activate the plugin ok ??!!



IT WORKED