help i edited my settings on admin panel to enable flash , so on my avatar i put this link!
http://www.2and2.net/Uploads/Flashes/stacknyflash1.swf
But all i see is an X on my forum! Please why is this! heres a direct link to a topic on my forum
http://nl.he4t.com/forum/index.php?topic=7289.0
now i made that topic. look at my avatar. it shows a X on it i bet! Please tell me why this is. and how i can fix it
For security reasons this is not supported by default.
If you still need flashes in Avatar, then you have to edit /Themes/default/Display.template.php and look for:
// Show avatars, images, etc.?
if (!empty($settings['show_user_images']) && empty($options['show_no_avatars']) && !empty($message['member']['avatar']['image']))
echo '
<div style="overflow: auto; width: 100%;">', $message['member']['avatar']['image'], '</div><br />';
replace with:
// Show avatars, images, etc.?
if (!empty($settings['show_user_images']) && empty($options['show_no_avatars']) && !empty($message['member']['avatar']['image']))
echo '
<div style="overflow: auto; width: 100%;">';
if (stristr($message['member']['avatar']['url'], '.swf'))
echo '
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="65" height="65">
<param name="movie" value="', $message['member']['avatar']['url'], '" />
<param name="play" value="true" />
<param name="loop" value="true" />
<param name="quality" value="high" />
<param name="AllowScriptAccess" value="never" />
<embed src="', $message['member']['avatar']['url'], '" width="65" height="65" play="true" loop="true" quality="high" AllowScriptAccess="never"></embed>
</object>';
else
echo '
', $message['member']['avatar']['image'];
echo '
</div><br />';
you may have to change the width="65" and height="65" to a value of yours.
hey i did what you just told me. but no! it still dont work
Hey! Thanks i fixed it