News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Removing Ugly Scrollbar, how?

Started by otario, March 24, 2005, 02:41:46 AM

Previous topic - Next topic

otario

What must i do so that i can't see the ugly Scrollbar beside my Post and in the signature? But I also want to see all of the Post so that that i mustn't scroll.

Please, Help!


[Unknown]

So you want it to simply make the page wider?

-[Unknown]

EG

yeah! why!  Page stretching is annoying! and all you end up with is a scroll bar in your browser instead of on the forum!

woehrl

I think he means the Scrollbar in the Post which could be seen in Firefox and this is really annoying. Here it is what you musst do:

go to $theme/Display.template.php

The Post itself
search
Show the post itself, finally!
echo '
td
trtable
hr width=100% size=1 class=hrcolor
div style=overflow Auto; width 100%;', $message['body'], 'div
td
tr';


replace with
Show the post itself, finally!
echo '
td
trtable
hr width=100% size=1 class=hrcolor
div style=overflow no; width 100%;', $message['body'], 'div
td
tr';



Does the Same with the Attachments..
search
Assuming there are attachments...
if (!empty($message['attachment']))
{
echo '
hr width=100% size=1 class=hrcolor
div style=overflow Auto; width 100%;';

replace it with

Assuming there are attachments...
if (!empty($message['attachment']))
{
echo '
hr width=100% size=1 class=hrcolor
div style=overflow no; width 100%;';


and finaly the Signature
search
Show the member's signature
if (!empty($message['member']['signature']) && empty($options['show_no_signatures']))
echo '
hr width=100% size=1 class=hrcolor
div style=overflow Auto; width 100%; padding-bottom 3px; class=signature', $message['member']['signature'], 'div';


Replace
Show the member's signature
if (!empty($message['member']['signature']) && empty($options['show_no_signatures']))
echo '
hr width=100% size=1 class=hrcolor
div style=overflow no; width 100%; padding-bottom 3px; class=signature', $message['member']['signature'], 'div';


Hollywood™

#4
I dont know what the heck that is that you posted but it doesn't work and it messed up my forum. Does anyone have a resolution that can solve the scrollbar underneath avatar images and signatures? maybe even attachments... that actually WORKS?
People live longer when they mind their own dern business. -Miazani

Harro

Look at the date of that post.
That's more then 2 years ago that it was posted :P

Go to the admin panel -> Attachments and Avatars
There you can set the max size for avatars and thumbnails.

Hollywood™

#6
Yeah I'm trying everything though I really am. And I even have a post of my own. I'm not getting anywhere I've been at this for hours and hours trying to get help. This is not FAST help at all and the link that led me here said so.

My post.
http://www.simplemachines.org/community/index.php?topic=205459.0
People live longer when they mind their own dern business. -Miazani

kat

Hollywood...

The people who help, here, are volunteers. We give our time voluntarily.

Getting out of your pram is NOT likely to make people want to help you.

For one thing, the problem could well be with Firefox, not SMF.

Try this. It may work.

In Firefox, go to the "Prefs" menu and hover over "General". When the menu pops up, check that "Resize image" is checked.

Hollywood™

It's happens in IE too. I don't see a Pref's Menu.
People live longer when they mind their own dern business. -Miazani

kat

What version of Firefox do you have?

Mine's 2.0.0.9.

Maybe there's a difference?

Can you give me a link to a page that I can see, which has this scrollbar problem?

Hollywood™

http://miazani.com/forum/index.php [nofollow] thats the link to my forum and I have version 2.0.0.9
People live longer when they mind their own dern business. -Miazani

Hollywood™

o and all of the pages have them. like... its under the avatar images and i changed the max height and width in my avatar settings but i still get scrollbar thingies
People live longer when they mind their own dern business. -Miazani

kat

It HAS to be a problem with your browser, then.

I'm there, now, in both Opera and Firefox. Everything fits the page, perfectly.

Harro

What screen resolution do you have?

kat

Funnily enough, I just had the same thought.

When I had my screen-res set at 800x600, Firefox used to have scrollbars on almost every page.

Since I changed to 1024x768, I rarely see them.

Good finkin', Harro!

Hollywood™

#15
Oooo let me check that. I go to my control panel right?

Edit
1024x768 thats what my Display Settings are at. Should I go higher?

Edit
ok i set it higher and I still see scrollbars lol -cries- :P
People live longer when they mind their own dern business. -Miazani

kat

Right-click on your desktop and select "Properties", then the "Settings" tab.

There's a slider, near the bottom, labelled "Screen resolution".

Move the slider to the right, until it says "1024x768".

Hollywood™

okays it was on 1024x768 at first and i saw scrollbars still i moved it up one and still saw them.
People live longer when they mind their own dern business. -Miazani

kat

That's well-weird.

I'll do a bit of research and see what I can come up with.

If it's of any use, Opera has the option to force pages to fit the screen. I can't see where Firefox has that option, though.

If you enter "about:config" into Firefox's url box, you can get down'n'dirty with it. I'll see what I can find.

kat

Sorry. Been right through that and I can't find anything useful. Oddly enough, there's an option to not allow/allow resizing of windows via javascript, but not normal pages.

I'll do a bit of research...

Advertisement: