|
Originally Posted by colin
|
Ack!!! This creates errprs!!!
|
Originally Posted by OpositeAxis
|
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
|
|
yeah that is the same problem with Blocks that display the user avatar. One reason we don't have Link to Offsite avatars enabled.
It adds the path to the module in front of the actual avatar link path. I have tried numerous times to fix this, but I think it needs to strip the site link IF the avatar is detected as offsite, but too involved for me.
Much easier to simply disable link to offsite avatars. Besides, linking to an offsite avatar in some cases can be construed as "stealing bandwidth" minor, but a disgruntled webmaster may not take kindly to it :-)
mikem