Good art is a taste, good design is an opinion.


Come as guest, stay as family.
Board Index

Come as guest, stay as family.


You are not connected. Please login or register

Foto

[Solved] Customize Reputation



View previous topic View next topic Go down Message [Page 1 of 1]

1
Offline

  Stallmp

Stallmp
Newbie
Newbie
Details:
Hello, my previous thread has been locked because I haven't provided my forum url accidently, so I decided to make a new thread. Sorry for the mistake and spam

How to do the reputation thing like on this forum?
The one with: Great, Good, Neutral ETC
I saw a tutorial on this forum for it, but the Neutral color is black and it didn''t have: IM Famous, Neutral, Great, Helper, etc.

Your Forum Address:
www.wintervale.topiked.com

Forum Version:
PunBB

Powered by PunBB
Currently 0 users have thanked Stallmp for this post:

2
Offline

  Shadow

Shadow
Administrator
Administrator
Well just add the following lines in your reputation javascript:

Code:
[panda=js]$('.user-info .post_field:contains("Reputation")').each(function(){var rep=$(this).text().match(/\d+/g);$(this).append('<span class="title" style="font-weight:normal"></span>');

if(rep==0){$(this).find('.title').text('Neutral')}
if(rep>=1&&rep<10){$(this).find('.title').text('Regular')}
if(rep>=10&&rep<30){$(this).find('.title').text('Favored')}
if(rep>=30&&rep<50){$(this).find('.title').text('Popular')}
if(rep>=50&&rep<100){$(this).find('.title').text('Helper')}
if(rep>=100&&rep<200){$(this).find('.title').text('Excellent')}
if(rep>=200){$(this).find('.title').text('IM Famous')}})});

Powered by PunBB
Currently 0 users have thanked Shadow for this post:

3
Offline

  Stallmp

Stallmp
Newbie
Newbie
Thank you very much Smile
Solved

Powered by PunBB
Currently 0 users have thanked Stallmp for this post:

4
Offline

  nanako

nanako
Punbb Guru
Punbb Guru
Solved

Powered by PunBB
Currently 0 users have thanked nanako for this post:

5
Offline

  Sponsored content



Powered by PunBB
Currently 0 users have thanked Sponsored content for this post:

View previous topic View next topic Back to top Message [Page 1 of 1]


Topic URL's

URL
BBcode
HTML

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