Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not Solved [How To?] Change reputation to text
#1
Not Solved
so, currently a number and I see on other forums that owner/staff's reputation is text, such as their reputation is bee instead of an actual number. how would I do this?
Reply
#2
Not Solved
Either a plugin, or a simple core edit.
Reply
#3
Not Solved
(05-13-2017, 09:41 PM)Sazze Wrote: Either a plugin, or a simple core edit.

didn't really help.
Reply
#4
Not Solved
(05-13-2017, 10:48 PM)wabam Wrote:
(05-13-2017, 09:41 PM)Sazze Wrote: Either a plugin, or a simple core edit.

didn't really help.

https://github.com/mybb/mybb/blob/featur...3819-L3856

Find
$reputation = my_number_format($reputation);

Change it to
if ($uid == 1) 
{
    $reputation = 'My custom text';
} 
else 
{
   $reputation = my_number_format($reputation);
}
Reply
#5
Not Solved
Go to ACP -> Templates & Style -> Templates -> [Theme Name Here] Templates -> and find the templates where the reputation is displayed, for example: Member Templates -> member_profile_reputation and then replace "{$reputation}" with the text you want. Also if you want you can remove the code "[<a href="reputation.php?uid={$memprofile['uid']}">{$lang->reputation_details}</a>]" which is the details.

You're welcome >.<
Reply
#6
Not Solved
(05-15-2017, 12:29 PM)Bunny Wrote: Go to ACP -> Templates & Style -> Templates -> [Theme Name Here] Templates -> and find the templates where the reputation is displayed, for example: Member Templates -> member_profile_reputation and then replace "{$reputation}" with the text you want. Also if you want you can remove the code "[<a href="reputation.php?uid={$memprofile['uid']}">{$lang->reputation_details}</a>]" which is the details.

You're welcome >.<

You don't get it.
User want the reputation to be text based for a specific user only. My post above is how you do it to achieve it.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)