The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Image Next to Members' Names

5 posters

Go down

Solved Image Next to Members' Names

Post by Nuka37 April 4th 2011, 5:38 pm

Is there any way I can add an image next to the names of my forum members? I've noticed that in several forums, there are things like crowns next to the user names of the Admins. Can I implement this into my forum? I believe I use phbb2.


Last edited by Nuka37 on April 7th 2011, 9:55 pm; edited 1 time in total
avatar
Nuka37
New Member

Posts : 22
Reputation : 0
Language : English

Back to top Go down

Solved Re: Image Next to Members' Names

Post by Base April 4th 2011, 5:56 pm

Hello Nuka37,

Yes there is a way, however it is quite buggy and will make the image appear in different places as well. But if you want, here is the code:

Code:
a[href="/u#"]{
padding-left: 13px;
background: url(YOUR IMAGE URL HERE ) no-repeat left;}

Replace the # sign with the ID number of the member you wish to have an image displayed next to their name. Also replace YOUR IMAGE URL HERE with an image URL linking to your image. Wink

Regards,

Base
Base
Base
Forumaster

Male Posts : 10386
Reputation : 1695
Language : English and French
Location : United Kingdom, England

http://forumotionhub.net

Back to top Go down

Solved Re: Image Next to Members' Names

Post by Nuka37 April 7th 2011, 7:25 am

Thank you! Just one more thing: can you tell me EXACTLY where I'd put it? If you like, I can give you a link to my forum.
avatar
Nuka37
New Member

Posts : 22
Reputation : 0
Language : English

Back to top Go down

Solved Re: Image Next to Members' Names

Post by Sanket April 7th 2011, 7:28 am

Display>Colors
css Stylesheet tab.
Sanket
Sanket
ForumGuru

Male Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai

Back to top Go down

Solved Re: Image Next to Members' Names

Post by Nuka37 April 7th 2011, 9:31 am

Thank you. Where can I find a member's ID number?
avatar
Nuka37
New Member

Posts : 22
Reputation : 0
Language : English

Back to top Go down

Solved Re: Image Next to Members' Names

Post by Nijan April 7th 2011, 9:40 am

The members are numbered by join date. So go to your memberlist and sort them by join date, ascending.
Nijan
Nijan
Forumember

Female Posts : 31
Reputation : 30
Language : English, German

http://namina.forum-aktiv.com

Back to top Go down

Solved Re: Image Next to Members' Names

Post by Base April 7th 2011, 5:41 pm

Hi, the member's ID number is displayed in the address bar when visiting their profile. For example, my profile link is: https://help.forumotion.com/u12726

Notice the "12726" at the end? That is known as my ID number. Wink
Base
Base
Forumaster

Male Posts : 10386
Reputation : 1695
Language : English and French
Location : United Kingdom, England

http://forumotionhub.net

Back to top Go down

Solved Re: Image Next to Members' Names

Post by Nuka37 April 7th 2011, 9:53 pm

Thank you! Base, you were correct about a person's ID number. Yes, this script is UNBELIEVABLY glitchy, but thank you all for your help. Smile

Exclamation For anybody that may be wondering: To put an image next to more than one user's name, you can put the script in multiple times.
avatar
Nuka37
New Member

Posts : 22
Reputation : 0
Language : English

Back to top Go down

Solved Re: Image Next to Members' Names

Post by MrMario April 7th 2011, 11:20 pm

Solved => Locked
MrMario
MrMario
Helper
Helper

Male Posts : 22186
Reputation : 1839
Language : test

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum