Displaying Plus sign (+) before positive rep points
mrgtb Offline
Junior Member
**
Posts: 10
Joined: Jan 2011
Post: #3
RE: Displaying Plus sign (+) before positive rep points
Alternatively, if it's not possible to display the + sign in-front of Positve reps points. Is the a way instead to remove the - sign from being displayed in-front of negative points. That's another option I'm willing to go with as well? So you would see a red number with no - sign displayed.
(07-05-2011 01:59 AM)RateU Wrote:  You can try this way:

functions.php, find (by default, MyBB 1.6*, it's in line #2738):

PHP Code:
2738
2739
2740
2741
elseif($reputation > 0)
{
	$display_reputation .= "reputation_positive";
}


replace it with:

PHP Code:
2738
2739
2740
2741
2742
elseif($reputation > 0)
{
	$display_reputation .= "reputation_positive";
	$reputation = '+'.$reputation;
}


Thanks for that, it works fine displaying the + sign in profile fields on the forum in posts. But when you go to the REP page where comments are left the + sign does not get displayed there like it does if you have minus REP. Pictures uploaded to show what I mean.

But it works fine on testing, just now needs to get a + sign displayed there also and jobs a good one.


Attached File(s) Thumbnail(s)
           
(This post was last modified: 07-05-2011 02:37 AM by mrgtb.)
07-05-2011 02:00 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

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

 Standard Tools
Forum Jump: