Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: bharat on January 17, 2018, 04:50:22 AM

Title: How to reduce free space?
Post by: bharat on January 17, 2018, 04:50:22 AM
Is it possible to reduce the amount of free space between the messages, otherwise you have to scroll to be able to read the next answer.
Title: Re: How to reduce free space?
Post by: aegersz on January 17, 2018, 05:26:34 AM
can you be more specific ?

i'm sure that with some customisation, almost anything is possible ... are these blank lines put in by posters, between the standard SMF delimiters or something else ?

i have seen "reddit" like formatted SMF sites, if i am not mistaken but they were custom themes.
Title: Re: How to reduce free space?
Post by: bharat on January 17, 2018, 05:33:52 AM
I mean that there is no space between message on this site but we have a lot of free space and it be able to real next message you have to scroll. Even if you hide signatures, avatars, awards it still looks the same, is there a way to reduce this space? Please see attachment.
Title: Re: How to reduce free space?
Post by: Gwenwyfar on January 17, 2018, 05:46:32 AM
That free space is because you have so many custom images in your profile area. Either remove them or move them to the signature area.
Title: Re: How to reduce free space?
Post by: bharat on January 17, 2018, 06:05:05 AM
Can you please tell me how can I move them to signature area? I would like to move awards as well but not sure if it can be possible.
Title: Re: How to reduce free space?
Post by: Aleksi "Lex" Kilpinen on January 17, 2018, 02:38:29 PM
Where are the images from?
If they are added by a mod, then for mod Related Questions it is best to ask the mod author.

Title: Re: How to reduce free space?
Post by: Arantor on January 17, 2018, 03:18:17 PM
Where are the images from?
If they are added by a mod, then for mod Related Questions it is best to ask the mod author.



They're all awards...
Title: Re: How to reduce free space?
Post by: Aleksi "Lex" Kilpinen on January 17, 2018, 03:33:36 PM
Where are the images from?
If they are added by a mod, then for mod Related Questions it is best to ask the mod author.



They're all awards...

Ah... I see. Well, that's a lot of awards.
Title: Re: How to reduce free space?
Post by: bharat on January 18, 2018, 04:50:19 AM
Even if I hide all awards still there is a lot of space between the messages.
Title: Re: How to reduce free space?
Post by: Gwenwyfar on January 18, 2018, 06:20:06 AM
Everything you have displaying in the profile info will add to vertical space. You'll have to decide what do you really want keep there or not. Some of the information could be "condensed" so it uses less space (like gender), but that would require manual modifications in the code.

In any case you won't be able to get rid of all empty space on short messages unless you have almost nothing under the profile area. Your last reply is such an example...
Title: Re: How to reduce free space?
Post by: landyvlad on January 18, 2018, 07:35:16 PM
Possibly the way your award mod works is that 'hiding' the awards does exactly that - doesn't show them - makes them invisible, but they are still 'there' so space is still allocated to them.

Just a thought.
Title: Re: How to reduce free space?
Post by: bharat on January 19, 2018, 02:06:17 AM
So the only way to remove awards mod?
Title: Re: How to reduce free space?
Post by: Gwenwyfar on January 19, 2018, 05:36:14 AM
I think I misread what you said earlier. Could you link to your forum?

And how exactly are you "hiding" things? Normally removing any of them will free up space, unless they are still there, or there is something else setting that space.
Title: Re: How to reduce free space?
Post by: bharat on January 19, 2018, 06:46:34 AM
Here is the link to the forum: http://www.forum.bharatconnect.net

The only thing which takes space are member awards, in the settings I can choose not to show them in profile that's what I tried to do earlier.
Title: Re: How to reduce free space?
Post by: Gwenwyfar on January 19, 2018, 06:54:03 AM
Topics are blocked to guests :P

Quote
The only thing which takes space are member awards, in the settings I can choose not to show them in profile that's what I tried to do earlier.
And that should reduce the empty space. Does it?
Title: Re: How to reduce free space?
Post by: bharat on January 19, 2018, 07:53:44 AM
I changed the location of awards, now they are under signatures and it seems look much better.
Title: Re: How to reduce free space?
Post by: Illori on January 19, 2018, 07:56:07 AM
does that mean this issue is resolved? if so please click the mark topic solved button.
Title: Re: How to reduce free space?
Post by: bharat on January 19, 2018, 07:59:39 AM
I just didn't want to remove awards and was looking for the solution, it seems to be the only option I guess.
Title: Re: How to reduce free space?
Post by: Gwenwyfar on January 19, 2018, 08:31:44 AM
You could add a height limit with scrolling, but it may look even worse and no one will likely see your awards anyway...
Title: Re: How to reduce free space?
Post by: bharat on January 19, 2018, 08:54:33 AM
How could I do that? Maybe I can try and see if it looks better or not. Anyway I am looking for the best option so that it is comfortable for the forum members.
Title: Re: How to reduce free space?
Post by: Gwenwyfar on January 19, 2018, 09:25:34 AM
Look for .poster in your css file and add:

Code: [Select]
max-height: 200px; /* or whichever other size */
overflow: auto;

But, besides looking ugly, I'm sure no one will ever bother to see what is beyond the scroll again. I'd keep it in the signature area or the profile (if the mod has that option) and be done with it, that's a much better place for that :P
Title: Re: How to reduce free space?
Post by: bharat on January 19, 2018, 09:31:03 AM
I had to change some code in the templates to be able to shift it to the signature area, it looks much better indeed. If I try to change settings you meantioned now which changes it will add to the site?
Title: Re: How to reduce free space?
Post by: Gwenwyfar on January 19, 2018, 09:47:41 AM
The changes above will simply add a scrollbar in the profile area. Anything that gets bigger than the specified size won't be displayed unless the user scrolls.
Title: Re: How to reduce free space?
Post by: bharat on January 19, 2018, 10:14:11 AM
I see, will check it out anyway. Thanks a lot for your suggestions. :)
Title: Re: How to reduce free space?
Post by: Aleksi "Lex" Kilpinen on January 25, 2018, 06:14:00 AM
How could I do that? Maybe I can try and see if it looks better or not. Anyway I am looking for the best option so that it is comfortable for the forum members.
This would somewhat depend on your theme. I see guests can't access your topics, so it's hard to give very exact directions.
I do however think you could use CSS to limit the height and set the overflow property to scroll.