Diva
10-17-2001, 07:09 AM
I just finished putting together the avatar category hack [again.. heh heh] and when I uploaded, the picture wasn't there. Just a broken link. I scanned the files and found 3 lines in red in the avatar_category.php...
1.
echo "<img src='../$avatarpath/$FileArray[$x]' border=0 align='center'>";
2.
maketableheader("Edit Avatar:</b><i> $avatar[title]</i>   <img align=\"absmiddle\" src=\"../$avatar[avatarpath]\">","",0);
3.
echo "<td valign='bottom' nowrap align='center'><img src=\"".iif(substr($avatar['avatarpath'],0,7)!="http://" and substr($avatar['avatarpath'],0,1)!="/","../","")."$avatar[avatarpath]\"><br><b>$avatar[title]</b><br>$current_cat\n";
Anyone know the magic words? Please?
Thanks bunches!
1.
echo "<img src='../$avatarpath/$FileArray[$x]' border=0 align='center'>";
2.
maketableheader("Edit Avatar:</b><i> $avatar[title]</i>   <img align=\"absmiddle\" src=\"../$avatar[avatarpath]\">","",0);
3.
echo "<td valign='bottom' nowrap align='center'><img src=\"".iif(substr($avatar['avatarpath'],0,7)!="http://" and substr($avatar['avatarpath'],0,1)!="/","../","")."$avatar[avatarpath]\"><br><b>$avatar[title]</b><br>$current_cat\n";
Anyone know the magic words? Please?
Thanks bunches!