MyBB Community Forums

Full Version: Remove need to use {username} in username style
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
When editing username style, {username} must be used. I want to get rid of this so I can have just an image as username. My username style code is currently:

<img src="http://mppierce66.home.comcast.net/~mppierce66/web/fi/shop.lego.16.gif">{username}

Effect: Yellow lego user (me) at: http://spamheaven.com - I made my username as a dot, so it almost looks like just the image, but can still see it.
If you don't have a username then how are people supposed to PM you?

Keep the dot but set the text color to white/your forum background colour... I think transparent is a CSS colour... Not sure though.
Try:
<img src="http://mppierce66.home.comcast.net/~mppierce66/web/fi/shop.lego.16.gif" alt="{username}" />
(2015-06-08, 09:45 AM)Crazycat Wrote: [ -> ]Try:
<img src="http://mppierce66.home.comcast.net/~mppierce66/web/fi/shop.lego.16.gif" alt="{username}" />

That's brilliant! Worked like a charm, thanks. Big Grin