What's new

Colored Likes/Reps in Postbit

Code:
{$post['tyl_unumrcvtyls']}
Code:
<strong class="<if ($post['tyl_unumrcvtyls'] > 0) then>reputation_positive</if>
<if ($post['tyl_unumrcvtyls'] == 0) then>reputation_neutral</if>
<if ($post['tyl_unumrcvtyls'] < 0) then>reputation_negitive</if>">
{$post['tyl_unumrcvtyls']}
</strong>
Code:
.reputation_positive {color: green;}
.reputation_neutral {color: white;}
.reputation_negitive {color: red;}
 
Thank you very much! I learned some new coding from you! Didn't know you can do If = 0 then etc...

Thank you, Master! :D
 
I think that having a coloured like is a good idea because then it draws your attention to the reaction to that post and it will tell you if it is a good or bad post.
 

Newest Directory Listings

Vicky1225
Forums
Clicks
1
Views
39
Expand your business scale with over 200 million clean IP addresses, stellar features, and affordable prices provided by 922S5Proxy.
Shortie
Forums
Clicks
33
Views
130
Comments
1
WWE Hub is a discussion forum for all things wrestling! Share and chat with other wrestling fans throughout the world!
momode
Forums
Clicks
14
Views
66
ABCProxy is cost-effective, ethical residential proxies network!
Back
Top