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.

Display an image for a user name.

View previous topic View next topic Go down

Display an image for a user name.

Post by Thatoutlaw on April 24th 2012, 7:55 pm

I would like to display and image instead of text for my name on my forum.The Link below will show what I'm talking about I seen the same question posted here once before but I looked and I couldn't seem to find it.
click here .(may or may not be forumotion)

Thatoutlaw
Forumember

Posts : 81
Reputation : 2
Language : english

http://Armedoutlawz.fourmotion.com

Back to top Go down

Re: Display an image for a user name.

Post by Guest on April 24th 2012, 8:05 pm

Hi!

Try to add in Javascript codes management:
Code:
$(function(){
$('a[href="/u1"]').replaceWith('<a href="/u1"><img src="IMAGE_URL_HERE" /></a>');
});
PS. In field Placement, don't check In all the pages, instead of this check the rest fields you have there. Wink

Guest
Guest


Back to top Go down

Re: Display an image for a user name.

Post by Thatoutlaw on April 24th 2012, 8:16 pm


I tried that but it shows it everywhere now. Like 3 times in one forum post(picture above) I also checked all except "in all pages"It's also doesn't work in chat Sad

Thatoutlaw
Forumember

Posts : 81
Reputation : 2
Language : english

http://Armedoutlawz.fourmotion.com

Back to top Go down

Re: Display an image for a user name.

Post by Guest on April 24th 2012, 8:24 pm

Oh, try this:
Code:
$(function(){
$('.post td[width="150"] a[href="/u1"]').replaceWith('<a href="/u1"><img src="IMAGE_URL_HERE" /></a>');
});

Guest
Guest


Back to top Go down

Re: Display an image for a user name.

Post by Thatoutlaw on April 24th 2012, 8:29 pm

That one did nothing Sad

Thatoutlaw
Forumember

Posts : 81
Reputation : 2
Language : english

http://Armedoutlawz.fourmotion.com

Back to top Go down

Re: Display an image for a user name.

Post by Guest on April 24th 2012, 8:31 pm

This?
Code:
$(function(){
$('.post td:first a[href="/u1"]').replaceWith('<a href="/u1"><img src="IMAGE_URL_HERE" /></a>');
});

If it's not working, can you provide your forum url?

Guest
Guest


Back to top Go down

Re: Display an image for a user name.

Post by Thatoutlaw on April 24th 2012, 8:37 pm

nothing also Sad

My fourm

Thatoutlaw
Forumember

Posts : 81
Reputation : 2
Language : english

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