MyBB Community Forums

Full Version: images in front of username
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
is there a way to add a image in front of a username and it will appear everywhere on the forum where your username is?
ACP > Users and Groups > Groups > Edit the Group you wish to add an image > and in "Username Style" option field, add <img> tag like this;

<img src="IMAGE_URL_PATH">{username} 
I'm also interested in doing this i did this <span style="color: #EB2FF5;"><strong><img src="IMAGE_URL_PATH">{username}</strong></span> its not showing images just shows an image icon what imi doing wrong?
(2015-02-19, 11:20 AM)ytt Wrote: [ -> ]I'm also interested in doing this i did this <span style="color: #EB2FF5;"><strong><img src="IMAGE_URL_PATH">{username}</strong></span> its not showing images  just shows an image icon what imi doing wrong?

Try:

<img src="IMAGE_URL_PATH"><span style="color: #EB2FF5;"><strong>{username}</strong></span>

I shall also assume you are not leaving IMAGE_URL_PATH
public.html/images/avatars/

Images still not showing
you need to provide a complete url in the img tag, like http://adminads.com/images/avatars/butterfly.gif

btw, may i know in which places you are trying to add images before the username... you can try this plugin: http://community.mybb.com/mods.php?action=view&pid=74
(2015-02-19, 12:02 PM)mmadhankumar Wrote: [ -> ]you need to provide a complete url in the img tag, like http://adminads.com/images/avatars/butterfly.gif

btw, may i know in which places you are trying to add images before the username... you can try this plugin: http://community.mybb.com/mods.php?action=view&pid=74

I dont want to add just one image for the whole group. I'm thinking of one particular group images to show on all posts and if i do butterfly.gif that may not be the same as user image. That link you showed is what i need but not every poster image to show just one particular groups.
where you can add a small image or whatever size you choose from in front of a member's username everywhere on the forum where that username is, including inside threads and where the username shows on threads and on the index page...

and maybe another option to add it as a group thing where every member that's in said group will have selected or multiple option of images or "awards/badges" can show in front of their usernames...