Jump to content

Welcome to IPB Forum Skins
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account
Photo

Reputation CSS modification

- - - - -

  • Please log in to reply
1 reply to this topic

#1
beebo

beebo

    Member

  • Customers
  • 23 posts
wanted to know which file to edit and add the if else statement regarding the reputation's CSS class change... I want it so that it gives a different color depending on the reputation range

so for example 1 - 5 green then 5 - 50 it's blue or something like that

#2
Ehren

Ehren

    Administrator

  • Root Admin
  • 8,818 posts
The if statement (for skins) would be something like:
<if test="($post['post']['rep_points'] > 0) && ($post['post']['rep_points'] <= 5)">This reputation is between 1 and 5 inclusive</if>

<if test="posRep:|:$post['post']['rep_points'] > 5">This reputation is above 5</if>

Not sure about automatically doing it by file edits though..
Posted Image




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users