Uutiset:

Join the Facebook Fan Page.

Main Menu
Advertisement:

Scrollbar For Avatar [solved]

Aloittaja Fanta, helmikuu 13, 2005, 08:46:26 AP

« edellinen - seuraava »

Fanta

I am using the theme Puzzle Light and when you view the avatars, this happens:



How can I fix this?

Adin

I think it's in the post.php, either that or the board index. I had the same problem and if i remember right it was because of a style that was applied to the avatar images.

Adin

#2
Forget that. It's the display.template

find:

if (!empty($settings['show_user_images']) && empty($options['show_no_avatars']) && !empty($message['member']['avatar']['image']))
echo '


remove after:

<div style="overflow: auto; width: 100%;">

Try removing this tag, it should work i think.

Fanta

Sorry, where is display.template?

xenovanis

It should be in the theme's directory you're using. Or, if you're using an additional theme and it's not in there, try the default theme.
"Insanity: doing the same thing over and over again and expecting different results."

Fanta


Fanta

Okay, if I remove it I get a template parse error?

xenovanis

That's funny. I tried the same and it worked fine:


// Show avatars, images, etc.?
if (!empty($settings['show_user_images']) && empty($options['show_no_avatars']) && !empty($message['member']['avatar']['image']))
echo '
', $message['member']['avatar']['image'], '</div><br />';


Maybe you accidently removed ' before , $message?
"Insanity: doing the same thing over and over again and expecting different results."

Midgard

Okay, Again

You open it: Display.template.php

Find it:
// 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 '
', $message['member']['avatar']['image'], '<br />';

Fanta

Thanks for all your help, guys! :)

Adin

No problem, Fanta.

It's annoying if you have many users with bigger avatars, i know that ;)

N3lson

This works fine but i have a new question.....
And if i want to remove the scrool bar of the signatures?
what should  i remove?
I´m Portuguese Yeah

Advertisement: