hi
the title is not very clear but this is what i want to do:
I want avatars but i can't install Stramm's mod pack, i changed so many files i wouln't know where to begin,
anyway i don't need the other functions of the mod pack, only the avatars.
So i hacked my own (down and dirty

) avatar system (at least i tried), far from perfect because the user can't upload his own avatar,
has to host it on another site

but it works.
i used the custom profile 6 (like it says in the help files) and bbcode to put an avatar in the side menu (attached pic1) and made it work with foulu's forum plugin (pic2)
but i can't ad it to the comments (pic3), i spent hour trying but i just don't know where to put the code.
i want to reduce the text box size (pic3-black box) and put the avatar on the left (pic3-red box).
I'm really new to php and by reading the manuals i was able to do part of it, but this is over my head.
i used this code in 'init.inc.php' in Stramm's 'CPG PMS v1.1' to show the avatar in the side menu and similar code for foulu's forum:
//loginForm data ... the statistics, pms status
if (USER_ID) {
$loginFormHtml = '<div align=\"left\" class=\"smallfont\"><h2>My Account</h2><hr />'.$lang_pms_sys['welcome'].' <br><strong><a href="profile.php?uid=' .(USER_ID). '">'.(USER_NAME).'</a></strong>';
//begin avatar
$result = mysql_query("SELECT user_profile6 FROM {$CONFIG['TABLE_USERS']} WHERE user_id = '".(USER_ID)."'");
$row = mysql_fetch_array( $result );
$avatar_url = $row['user_profile6'];
if ($avatar_url !="") $avatar_url = $avatar_url;
else $avatar_url="";
$loginFormHtml .= bb_decode($avatar_url);
//end avatar something similar would probably work in the comments (maybe), if i just knew where to put it.
So any help would be really really appreciated.
i use the Giallo theme, just tell me if you need access to my site or for me to upload any files.
Thanks
Jorge