Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: SychO on April 01, 2019, 03:36:43 PM

Title: Forum Width Setting
Post by: SychO on April 01, 2019, 03:36:43 PM
Link to the mod (https://custom.simplemachines.org/index.php?mod=4223)

Forum Width Setting

Brings back the forum width theme setting to 2.1
The setting can found in Admin > Configuration > Current Theme
Github Repository (https://github.com/SychO9/smf-forum-width)

Changelog

License
This mod is released under the MIT License. A full copy of this license is included in the package file.
Title: Re: Forum Width Setting
Post by: Bigguy on April 01, 2019, 03:59:54 PM
It works good. I had to emulate it for RC1 though. :)
Title: Re: Forum Width Setting
Post by: @rjen on April 01, 2019, 04:01:03 PM
Nice, no problems with the version here.
Title: Re: Forum Width Setting
Post by: SychO on April 01, 2019, 04:01:51 PM
yeah I only just added 2.1 RC2 to the compatible versions list in the package :)
Title: Re: Forum Width Setting
Post by: -Rock Lee- on April 01, 2019, 05:46:16 PM
I'm going to try it to see how good it is  8). I leave the translation to Latin Spanish :).


Regards!
Title: Re: Forum Width Setting
Post by: SychO on April 01, 2019, 05:54:45 PM
Cool, thank you Rock Lee :)
Title: Re: Forum Width Setting
Post by: Hatshepsut on April 02, 2019, 01:47:11 AM
Excellent mod, I don't understand why this option has been removed in SMF 2.1
Title: Re: Forum Width Setting
Post by: TurtleKicker on October 30, 2021, 12:51:33 PM
Anyone tested this in 2.1 RC4 yet?
Title: Re: Forum Width Setting
Post by: Speed King on October 30, 2021, 01:31:32 PM
Quote from: TurtleKicker on October 30, 2021, 12:51:33 PMAnyone tested this in 2.1 RC4 yet?

Yes, this mod works fine with SMF 2.1 RC4 (for default theme and its copies) :)
Title: Re: Forum Width Setting
Post by: pocttopus on October 30, 2021, 02:03:42 PM
Here says (https://custom.simplemachines.org/index.php?mod=4223) that is compatible with RC4, but it's not. Still needs to emulate. :-\
Title: Re: Forum Width Setting
Post by: Sesquipedalian on October 30, 2021, 02:25:53 PM
It is compatible. It uses only integration hooks, so it will install for RC4 and any future version of SMF 2.1. Its internal package_info.xml file needs to be updated to mention 2.1 RC4, that's all. In the meantime, just select the emulation option and go ahead.
Title: Re: Forum Width Setting
Post by: Panoulis64 on March 25, 2022, 04:24:08 AM
Unfortunately, although it would be quite useful to me, in Jane2
Did not work.
However, after I did his Greek translation, I enclose it with you.
Title: Re: Forum Width Setting
Post by: Michael Vail on April 13, 2022, 03:02:44 PM
Thank you so much for this Mod! Just turned on emulation as you suggested and installed it on my newly updated SMF 2.1.1. So great to have the 95% width back to what I had it set to in my previous 2.0.19 forum!

THANK YOU! THANK YOU! THANK YOU!
Title: Re: Forum Width Setting
Post by: SychO on April 22, 2022, 02:40:50 PM
The mod is only guaranteed to work in the default theme, other themes can have different structures leading to incompatibility.
Title: Re: Forum Width Setting
Post by: TwitchisMental on April 22, 2022, 02:43:34 PM
Quote from: SychO on April 22, 2022, 02:40:50 PMThe mod is only guaranteed to work in the default theme, other themes can have different structures leading to incompatibility.
Just to explain this a bit further.

In the theme that you are using there, Blue Evolution, the header is within the wrapper.

Where as in the case of the default theme, the header is not within the wrapper.

Not really a fault of the mod :).

Awesome Mod SychO. I love your themes too :).
Title: Re: Forum Width Setting
Post by: Steve on April 22, 2022, 03:02:20 PM
Oops ... I deleted my post before I realized Twitch had responded. The mod works great!
Title: Re: Forum Width Setting
Post by: Senkusha on December 07, 2023, 02:46:19 PM
Is there a way that members can specify a width setting?  Like I know my monitor has a huge resolution, and the forum would look better if it took up more horizontal space on my screen, but a member who may only have a 17" screen, the forum probably wouldn't look right.
Title: Re: Forum Width Setting
Post by: Sesquipedalian on December 07, 2023, 06:02:06 PM
No, you would need another mod for that.
Title: Re: Forum Width Setting
Post by: Diego Andrés on December 07, 2023, 07:23:57 PM
Quote from: Senkusha on December 07, 2023, 02:46:19 PMIs there a way that members can specify a width setting?  Like I know my monitor has a huge resolution, and the forum would look better if it took up more horizontal space on my screen, but a member who may only have a 17" screen, the forum probably wouldn't look right.
If you use percentages in the setting (with this MOD, or my themes) you can pretty much accomplish what you are looking for. You don't need to set the width in pixels or a specific unit.