![]() |
#1
|
||||
|
||||
![]()
This is a quick and easy modification that will show a user's avatar next to their name in the Memberlist.
![]() First off open profile.php in any plain text editor (Notepad, Notepad++, etc). Then Find: Code:
$level=@mysql_result($result,$i,"usergroup"); Code:
$avatar=@mysql_result($result,$i,"avatar"); Code:
$article_content = $article_content."<b><a href='profile.php?user=".$username."'>".$star."".$username."</a></b><br>"; Code:
$article_content = $article_content."<img src='".$avatar."' border='0' width='25' height='25'> <b><a href='profile.php?user=".$username."'>".$star."".$username."</a></b><br>"; Edit: Quick Note, If you want to change the size of the avatar shown just change the values of "width='25' height='25'" Last edited by Inf3rnal; 04-12-2011 at 01:46 PM. |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Memberlist (user avatar) | Alaric | Questions and Supports | 6 | 06-01-2012 02:28 AM |
Avatars | StarGirl | Questions and Supports | 6 | 03-31-2012 11:50 AM |
Pets as avatars | ToonDartist | Suggestions and Feature Requests | 6 | 03-23-2011 11:50 PM |
User Avatars | konzair | Suggestions and Feature Requests | 4 | 01-27-2011 04:50 AM |
Memberlist? | Celcia | Questions and Supports | 5 | 05-19-2009 09:17 PM |
What's New? |
What's Hot? |
What's Popular? |