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 before every username

View previous topic View next topic Go down

Solved Image before every username

Post by Tonight on November 21st 2012, 3:47 pm

How can I add the same image before every user? I wouldn't like to add all the /u1, /u2 etc in the code. Is there a better way?
(Tutorial: http://help.forumotion.com/t90311-how-to-add-an-icon-before-username)

My forum version: PHPBB3


Last edited by Tonight on November 23rd 2012, 3:30 am; edited 1 time in total

Tonight
Forumember

Male Posts : 241
Reputation : 63
Language : Estonian, English, Russian
Location : Estonia

Back to top Go down

Solved Re: Image before every username

Post by Nera. on November 21st 2012, 3:54 pm


Nera.
Energetic

Female Posts : 7077
Reputation : 2013
Language : English
Location : -

http://webartzforum.com

Back to top Go down

Solved Re: Image before every username

Post by Tonight on November 21st 2012, 4:25 pm

Yes, but isn't there a simple way to put it before all the usernames? You know, I'm lazy Very Happy Then I wouldn't have to put it before the new users, it would put the image automatically.

Tonight
Forumember

Male Posts : 241
Reputation : 63
Language : Estonian, English, Russian
Location : Estonia

Back to top Go down

Solved Re: Image before every username

Post by Sir Chivas™ on November 21st 2012, 4:48 pm

I think JavaScript would do the trick, but there isn't a code available for it. So, your only options would be the links above given by Nera.



Attention!
- Please provide your forum URL at all times.
- When the issue is solved, please mark it as solved.



Sir Chivas™
Support Moderator
Support Moderator

Male Posts : 6783
Reputation : 430
Language : EN, FR, ES
Location : || CSS || HTML || Graphics Designs || Support ||

Back to top Go down

Solved Re: Image before every username

Post by Tonight on November 23rd 2012, 3:28 am

Solved! Thank you guys for your help Smile Rideem3 solved it in another forum. I had to use:
Code:
a[href^="/u"]

Tonight
Forumember

Male Posts : 241
Reputation : 63
Language : Estonian, English, Russian
Location : Estonia

Back to top Go down

Solved Re: Image before every username

Post by SLGray on November 23rd 2012, 4:03 am

Topic Solved & Locked


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 36698
Reputation : 2445
Language : English
Location : United States

http://ztwds.forumotion.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