Displaying Plus sign (+) before positive rep points
mrgtb Offline
Junior Member
**
Posts: 10
Joined: Jan 2011
Post: #1
Displaying Plus sign (+) before positive rep points
I've been asking about this on MyBB but have gotten nowhere with it, read this post first: Putting + sign in-front of positive reps.

What I'm trying to do there seemed pretty straight forward to me, edit the reputation.php file and change this code below to put two + sign in the same places were (- signs) are displayed for negative points in the code below it. Not the case though!

Quote: $positive_title = $lang->sprintf($lang->power_positive, "+".$i);
$positive_power = "\t\t\t\t\t<option value=\"{$i}\" class=\"reputation_positive\" onclick=\"$('reputation').className='reputation_positive'\"{$vote_check[$i]}>{$positive_title}</option>\n".$positive_power;
if($mybb->settings['negrep'])
{

Two + signs added below (in red), but made no difference.

Quote: $positive_title = $lang->sprintf($lang->power_positive, "+".$i);
$positive_power = "\t\t\t\t\t<option value=\"+{$i}\" class=\"reputation_positive\" onclick=\"$('reputation').className='reputation_positive'\"{$vote_check[+$i]}>{$positive_title}</option>\n".$positive_power;
if($mybb->settings['negrep'])
{

My question, how can you make it so plus points displays a + sign in-front of rep points. I've tried lot of ways now, only using one + sign in each place, rather than 2 added. Still no joy though! Surely it can be that hard to show a + sign in-front of positive reps numbers.
(This post was last modified: 07-05-2011 01:44 AM by mrgtb.)
07-05-2011 01:38 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
Displaying Plus sign (+) before positive rep points - mrgtb - 07-05-2011 01:38 AM

 Standard Tools
Forum Jump: