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.

icon after username

View previous topic View next topic Go down

Solved icon after username

Post by njaguar on January 12th 2012, 1:55 pm

need help on getting icon after username.

njaguar
Forumember

Male Posts : 113
Reputation : 1
Language : English
Location : United Kingdom

http://d4jsp.forumotion.com/

Back to top Go down

Solved Re: icon after username

Post by Guest on January 12th 2012, 2:15 pm

For all forum versions, there are a tutoruial:
http://help.forumotion.com/t90311-how-to-add-an-icon-before-username

Guest
Guest


Back to top Go down

Solved Re: icon after username

Post by njaguar on January 12th 2012, 2:27 pm

That is before i want after.

njaguar
Forumember

Male Posts : 113
Reputation : 1
Language : English
Location : United Kingdom

http://d4jsp.forumotion.com/

Back to top Go down

Solved Re: icon after username

Post by Guest on January 12th 2012, 2:28 pm

Your forum url?

Guest
Guest


Back to top Go down

Solved Re: icon after username

Post by njaguar on January 12th 2012, 4:12 pm


njaguar
Forumember

Male Posts : 113
Reputation : 1
Language : English
Location : United Kingdom

http://d4jsp.forumotion.com/

Back to top Go down

Solved Re: icon after username

Post by Guest on January 12th 2012, 4:26 pm

Use this code. Add in javascript management from Modules:
Code:
$(function() {
  $('.name strong a[href="/u1"]').after('<img src="http://i.imgur.com/O8yeK.png" border="0" />');
});
/u1 is user id;
http://i.imgur.com/O8yeK.png is the link of the image/icon.

Guest
Guest


Back to top Go down

Solved Re: icon after username

Post by njaguar on January 12th 2012, 11:31 pm

Can you do it? i tryed and did not do it Sad

njaguar
Forumember

Male Posts : 113
Reputation : 1
Language : English
Location : United Kingdom

http://d4jsp.forumotion.com/

Back to top Go down

Solved Re: icon after username

Post by Nera. on January 12th 2012, 11:42 pm

Try this one:

Code:
$(function() {
if($('a[href="/uPUT YOUR NUMBER HERE"] span strong')){
            $('a[href="/uPUT YOUR NUMBER HERE"] span strong').after('<img src="http://cdn2.iconfinder.com/data/icons/ledicons/crown.png" border="0" />');
    }
});

Put in your ID where it says put your number here. Leave the u letter.



Add it to AP > Modules > JS managment

It will work on all versions.

Nera.
Energetic

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

http://webartzforum.com

Back to top Go down

Solved Re: icon after username

Post by njaguar on January 13th 2012, 3:37 pm

Thanks all works now Very Happy

njaguar
Forumember

Male Posts : 113
Reputation : 1
Language : English
Location : United Kingdom

http://d4jsp.forumotion.com/

Back to top Go down

Solved Re: icon after username

Post by Base on January 13th 2012, 5:44 pm

Glad your problem is solved; topic marked as solved and archived.

Base
Forumaster

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

http://forumotionhub.net

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