![]() |
|
#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 02:46 PM. |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Memberlist (user avatar) | Alaric | Questions and Supports | 6 | 06-01-2012 03:28 AM |
| Avatars | StarGirl | Questions and Supports | 6 | 03-31-2012 12:50 PM |
| Pets as avatars | ToonDartist | Suggestions and Feature Requests | 6 | 03-24-2011 12:50 AM |
| User Avatars | konzair | Suggestions and Feature Requests | 4 | 01-27-2011 05:50 AM |
| Memberlist? | Celcia | Questions and Supports | 5 | 05-19-2009 10:17 PM |
What's New? |
What's Hot? |
What's Popular? |