Choose from our various pricing plans. There is a package for everyone!


Solved: Customize reputation

View previous topic View next topic Go down

Topic Solved Solved: Customize reputation

Post by Stallmp on Sun Jan 26, 2014 11:19 am

Hello, how do I customize the reputation like this?
(The thing with: Neutral, Good, Great, Etc)

I already tried this one
Spoiler:
but I like this one more

Thanks!
avatar
Stallmp
Member
Member

Age : 23
Posts : 227
Join date : 2014-01-10
Forum Version : PunBB
Reputation : 15

View user profile

Back to top Go down

Topic Solved Re: Solved: Customize reputation

Post by Mati™ on Sun Jan 26, 2014 2:57 pm

avatar
Mati™
Administrator
Administrator

Age : 31
Posts : 2112
Join date : 2011-10-20
Forum Version : PhpBB3
Reputation : 147

View user profile http://fmfocus.forumotion.net/forum

Back to top Go down

Topic Solved Re: Solved: Customize reputation

Post by Stallmp on Sun Jan 26, 2014 3:36 pm

Ok, thanks anyway! Solved

avatar
Stallmp
Member
Member

Age : 23
Posts : 227
Join date : 2014-01-10
Forum Version : PunBB
Reputation : 15

View user profile

Back to top Go down

Topic Solved Re: Solved: Customize reputation

Post by Hancki on Mon Feb 03, 2014 10:48 pm

Hi there!

You can use this script, but I think you need to change the templates.
Code:
jQuery(document).ready(function(){jQuery('.user-info span:contains("Reputation")').attr('style','background-color: #6F8F52!important;border-radius: 3px;color: #FFFFFF;font-weight: bold;display: block;margin: 0 auto;margin-top: 4px; text-align: center;');jQuery('.user-info span:contains("Reputation: 0")').attr('style','background-color: #DEDEDE!important;border-radius: 3px;color: #6E6E6E;font-weight: bold;display: block;margin: 0 auto;margin-top: 4px;text-align: center;');$('.user-info span:contains("Reputation")').each(function(){var rep=$(this).text().match(/\d+/g);$(this).append('<span class="title" style="width: 120px;"></span>');if(rep==0){$(this).find('.title').text('Neutral')}if(rep>=1&&rep<10){$(this).find('.title').text('Good')}if(rep>=10&&rep<30){$(this).find('.title').text('Great')}if(rep>=30&&rep<40){$(this).find('.title').text('Excellent')}if(rep>=50&&rep<60){$(this).find('.title').text('Perfect')}if(rep>=70&&rep<80){$(this).find('.title').text('Extreme')}if(rep>=80&&rep<500){$(this).find('.title').text('IM Famous')}})});

Hancki
avatar
Hancki
Member
Member

Age : 21
Posts : 4
Join date : 2014-02-03
Forum Version : PunBB
Reputation : 0

View user profile

Back to top Go down

Topic Solved Re: Solved: Customize reputation

Post by Th1nK on Tue Apr 29, 2014 11:40 am

The question(s) in this topic have been answered and the owner has been able to solve the problem. Because of this, the topic has been locked.
If you have other questions, please open a new topic.
avatar
Th1nK
Administrator
Administrator

Posts : 468
Join date : 2012-04-06
Reputation : 43

View user profile http://www.csshelp.net

Back to top Go down

Topic Solved Re: Solved: Customize reputation

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum