Simple Machine Codes
March 21, 2010, 04:44:10 pm
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Welcome to SMC, the best place for your SMF For Free Codes
 
  Home Help Search Arcade Affiliates Code Index Staff List Calendar Members Login Register  

Change Username to Image


Pages: [1]   Go Down
  Print  
Author Topic: Change Username to Image  (Read 551 times)
0 Members and 1 Guest are viewing this topic.
Agent Moose
Administrator

Offline Offline

Gender: Male
Posts: 2,668



View Profile WWW
« on: July 19, 2007, 09:59:34 am »

Code:
<script>
function nmeimg(user,img){
//Created by Agent Moose
$(function() {
$("td.c_username a").contains(user).html("<img src='"+ img +"' />")
nmeimg("USERNAME","IMAGE URL")
});
}
nmeimg();
</script>

Put this in your footers.  To add more users, just add more of these lines:
Code:
nmeimg("USERNAME","IMAGE URL")
Share Report Spam   Logged

deathwilldie
100 Club Member

Offline Offline

Posts: 214


View Profile WWW
« Reply #1 on: September 08, 2007, 07:44:43 pm »

Thats pretty cool.
Report Spam   Logged

Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by EzPortal
Bookmark this site! | Upgrade This Forum
SMF For Free - Create your own Forum

Powered by SMF | SMF © 2006-2009, Simple Machines LLC
Hostgator Hosting