I have no idea how to modify mods. As an ex ipb user, never really had to modify any mods I used for our board.
--------------- Added [DATE]1302985980[/DATE] at [TIME]1302985980[/TIME] ---------------
Okay good news. I installed the avatarforumdisplay mod and edited it to resize avatars and made it english language. But how would I edit this plugin code here...
Code:
require_once('./includes/functions_user.php');
$userid = $thread['postuserid'];
$username = $thread['postusername'];
$avatarurl = fetch_avatar_url($userid);
if ($avatarurl == '') {
$avatar = "<div class='avatar_forumdisplay' style='float:$stylevar[left]'><a href='member.php?u=$userid'><img src='$stylevar[imgdir_misc]/aucun_avatar.gif' border='0' width='50' height='50' alt='Profil de $username'></a></div>";
}
else {
$avatar = "<div class='avatar_forumdisplay' style='float:$stylevar[left]'><a href='member.php?u=$userid'><img src='image.php?u=$userid' border='0' width='50' height='50' alt='Avatar $username'></a></div>";
}
to get the avatars to display on the forums index page in place of the usual post icons like question mark, smiley, etc? Would it be as simple as changing avatar_forumdisplay to avatar_indexdisplay?