Solved: 8 Years, 9 Months ago [How To?] Change userbar/userstar hue to grayscale?
#1
Solved: 8 Years, 9 Months ago
This user has been denied support. This user has been denied support.
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!
Reply
#2
Solved: 8 Years, 9 Months ago
<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
Relaxing and Friendly; Anime Forum
Reply
#3
Solved: 8 Years, 9 Months ago
This user has been denied support. This user has been denied support.
(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
Reply
#4
Solved: 8 Years, 9 Months ago
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
Relaxing and Friendly; Anime Forum
Reply
#5
Solved: 8 Years, 9 Months ago
This user has been denied support. This user has been denied support.
(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?
Reply
#6
Solved: 8 Years, 9 Months ago
(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
Relaxing and Friendly; Anime Forum
Reply
#7
Solved: 8 Years, 9 Months ago
<if $post['uid'] == uid then>stuff here for the UID you specified<else>normal stuff</if>
Reply
#8
Solved: 8 Years, 9 Months ago
This user has been denied support. This user has been denied support.
Got a plugin to change usergroup sat and hue, thanks for the help though guys.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)