The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Display an image for a user name.

Go down

Display an image for a user name. Empty Display an image for a user name.

Post by Thatoutlaw 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)
avatar
Thatoutlaw
Forumember

Posts : 81
Reputation : 2
Language : english

http://Armedoutlawz.fourmotion.com

Back to top Go down

Display an image for a user name. Empty Re: Display an image for a user name.

Post by Guest 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
avatar
Guest
Guest


Back to top Go down

Display an image for a user name. Empty Re: Display an image for a user name.

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

Display an image for a user name. Nnnnnn10
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
avatar
Thatoutlaw
Forumember

Posts : 81
Reputation : 2
Language : english

http://Armedoutlawz.fourmotion.com

Back to top Go down

Display an image for a user name. Empty Re: Display an image for a user name.

Post by Guest 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>');
});
avatar
Guest
Guest


Back to top Go down

Display an image for a user name. Empty Re: Display an image for a user name.

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

That one did nothing Sad
avatar
Thatoutlaw
Forumember

Posts : 81
Reputation : 2
Language : english

http://Armedoutlawz.fourmotion.com

Back to top Go down

Display an image for a user name. Empty Re: Display an image for a user name.

Post by Guest 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?
avatar
Guest
Guest


Back to top Go down

Display an image for a user name. Empty Re: Display an image for a user name.

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

nothing also Sad

My fourm
avatar
Thatoutlaw
Forumember

Posts : 81
Reputation : 2
Language : english

http://Armedoutlawz.fourmotion.com

Back to top Go down

Back to top

- Similar topics

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