MyBB Community Forums

Full Version: Change userbar/userstar hue to grayscale?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
So I'd want to have a plugin to change the hue and saturation for the current userbar a user is wearing in the usercp. But instead I thought if I can just make a custom grayscale for specific people instead, don't really know much about html / css so I couldn't possibly do this on my own.

Example:

Default look:

[Image: 87a6817c7437d4480467a83789b1c6cc.png]

Grayscale look:

[Image: e7da70e33ec47e36251d3882fb9b812c.png]

Anything that allows me to change the coloring of a userbar/userstar hue I would love to know and find out how I can do that!
<span style="-webkit-filter: saturate(0)">Userbar and userstar variable</span>

Im assuming you also know how to use the php if conditionals plugin as well
(2016-03-08, 06:14 AM)Aiko Wrote: [ -> ]<span style="-webkit-filter: saturate(0)">Userbar and userstar variable</span>

Im assuming you also know how to use the php if conditionals plugin as well

Sorry I'm like legit new with all of this, basically going off instinct with everything and basic tutorials on forums and from friends.  Sad
find {$userstars} and {$groupimage} in your templates. add <span style="-webkit-filter: saturate(0)"> before it and then </span> right after.
<span style="-webkit-filter: saturate(0)">{$groupimage}</span>

Please also go to w3schools to learn more about HTML and CSS
(2016-03-08, 06:37 AM)Aiko Wrote: [ -> ]find {$userstars} and {$groupimage} in your templates. add <span style="-webkit-filter: saturate(0)"> before it and then </span> right after.
<span style="-webkit-filter: saturate(0)">{$groupimage}</span>

Please also go to w3schools to learn more about HTML and CSS

Started learning but also how would that work for specific UID's though?
(2016-03-08, 03:22 PM)Obliterate Wrote: [ -> ]
(2016-03-08, 06:37 AM)Aiko Wrote: [ -> ]find {$userstars} and {$groupimage} in your templates. add <span style="-webkit-filter: saturate(0)"> before it and then </span> right after.
<span style="-webkit-filter: saturate(0)">{$groupimage}</span>

Please also go to w3schools to learn more about HTML and CSS

Started learning but also how would that work for specific UID's though?

Read this thread: http://community.mybb.com/thread-31860.html
<if $post['uid'] == uid then>stuff here for the UID you specified<else>normal stuff</if>
Got a plugin to change usergroup sat and hue, thanks for the help though guys.