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.

Adding icon to username

View previous topic View next topic Go down

Solved Adding icon to username

Post by eccato on November 5th 2011, 7:18 pm

Hello!

I saw icon at the beginning of username at one forumotion forum, but how to add it?

eccato
New Member

Posts : 24
Reputation : 0
Language : Estonian, English

http://wevax-volukool.forum.co.ee

Back to top Go down

Solved Re: Adding icon to username

Post by Guest on November 5th 2011, 7:26 pm

Code:
a[href="/u1"] {
    background: url("http://illiweb.com/fa/admin/couronne.png") no-repeat;
    padding-left: 19px;
    padding-top: 2px;
}
Add this code to CSS Stylesheet.

Guest
Guest


Back to top Go down

Solved Re: Adding icon to username

Post by eccato on November 5th 2011, 7:29 pm

But what I need to put here:

a[href="/u1"] {

eccato
New Member

Posts : 24
Reputation : 0
Language : Estonian, English

http://wevax-volukool.forum.co.ee

Back to top Go down

Solved Re: Adding icon to username

Post by Guest on November 5th 2011, 7:30 pm

I don't understand you? Very Happy Only put the code I show.

Guest
Guest


Back to top Go down

Solved Re: Adding icon to username

Post by eccato on November 5th 2011, 7:31 pm

Okay...

But it didn't appear.

eccato
New Member

Posts : 24
Reputation : 0
Language : Estonian, English

http://wevax-volukool.forum.co.ee

Back to top Go down

Solved Re: Adding icon to username

Post by Nera. on November 5th 2011, 9:41 pm

Hi,

Try using this. Add it to AP > Modules > JS managment and mark all pages.

Code:
/* Kruna ispred nicka administratora. By BubbleDreams 2011 -
AdminCentar.net . Nemoj uklanjati copyright! Don't remove copyright! */
 
$(function() {
if($('a[href="/u1"] span strong')){
            $('a[href="/u1"] span strong').before('<img src="http://cdn2.iconfinder.com/data/icons/ledicons/crown.png" border="0" />');
    }
});

Nera.
Energetic

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

http://webartzforum.com

Back to top Go down

Solved Re: Adding icon to username

Post by eccato on November 6th 2011, 6:46 am

But it doesn't appear. I want to add it to only my account.

eccato
New Member

Posts : 24
Reputation : 0
Language : Estonian, English

http://wevax-volukool.forum.co.ee

Back to top Go down

Solved Re: Adding icon to username

Post by Nera. on November 6th 2011, 8:14 am

It will be added to your account only. I'm not sure you are doing it correctly. You have a phpBB3 forum and this is the script working my test phpBB3 forum
http://someonelikeyou.forumcroatian.com/

Is your JS enabled?

Edit: Is this your profile Argos Theodor Ürklainen? That's the 25 registered, u25.
I can't read your language but the script works on the founder of the forum. The u1 in the script represents the first registered. You have to change it to the number you are on the board if you are not the founder. You get the number by clicking on your name on the board and taking it from the browser. On FM mine would be
http://help.forumotion.com/u42273

Nera.
Energetic

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

http://webartzforum.com

Back to top Go down

Solved Re: Adding icon to username

Post by eccato on November 6th 2011, 8:29 am

Okay, I got it. Thanks to everyone! Someone may close it.

eccato
New Member

Posts : 24
Reputation : 0
Language : Estonian, English

http://wevax-volukool.forum.co.ee

Back to top Go down

Solved Re: Adding icon to username

Post by Nera. on November 6th 2011, 8:33 am

@eccato wrote:Okay, I got it. Thanks to everyone! Someone may close it.

Topic solved

Nera.
Energetic

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

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