View Single Post
  #9 (permalink)  
Old 04-08-2003, 02:17 AM
OpositeAxis OpositeAxis is offline
Junior Member
 
Join Date: Mar 2003
Location: Valencia, Venezuela
Posts: 5
I have see it, but right now i'm burn out (I need to get some sleep ).

I can't imagine why that happens. it seems is something relative of the phpbb template, but i'm not really sure

I see that you let people use Link to off-site Photo, thats avatars will not be show in the user info page in your_account because this code
Code:
<img src=\"modules/Forums/images/avatars/$user_avatar\" alt=\"\">
Is not design to work with offsites avatars, if you use a offsite avatar you will get something like this:
Code:
http://elcaminocentral.com/modules/Forums/images/avatars/http://wwww.avatarplace.com/images/avatars/someavatar.gif
You need to change that with something like this
Code:
  
if ( ereg( "(http)", $user_avatar) )
{
echo "<img src=\"$user_avatar\">
\n";
}
else
{
echo "<img src=\"modules/Forums/images/avatars/$user_avatar\" }
This code is from the people of http://www.gopsfrench.net and i have been using it, solving some issues with offsite avatars
Reply With Quote