The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Image Next to Members' Names

View previous topic View next topic Go down

Solved Image Next to Members' Names

Post by Nuka37 on 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

Nuka37
New Member

Posts : 22
Reputation : 0
Language : English

Back to top Go down

Solved Re: Image Next to Members' Names

Post by Base on 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
Forumaster

Male Posts : 10386
Reputation : 1687
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 on 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.

Nuka37
New Member

Posts : 22
Reputation : 0
Language : English

Back to top Go down

Solved Re: Image Next to Members' Names

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

Display>Colors
css Stylesheet tab.

Sanket
ForumGuru

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

http://webartzforum.com

Back to top Go down

Solved Re: Image Next to Members' Names

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

Thank you. Where can I find a member's ID number?

Nuka37
New Member

Posts : 22
Reputation : 0
Language : English

Back to top Go down

Solved Re: Image Next to Members' Names

Post by Nijan on 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
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 on 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: http://help.forumotion.com/u12726

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

Base
Forumaster

Male Posts : 10386
Reputation : 1687
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 on 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.

Nuka37
New Member

Posts : 22
Reputation : 0
Language : English

Back to top Go down

Solved Re: Image Next to Members' Names

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

Solved => Locked

MrMario
Helper
Helper

Male Posts : 22186
Reputation : 1830
Language : test

http://test.com

Back to top Go down

View previous topic View next topic Back to top


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