Set the forum width from the acp of your forum.

Started by babjusi, June 03, 2009, 01:05:15 PM

Previous topic - Next topic

babjusi

Link to Mod

This modification will allow you to set the forum width from the comfort of your own forum Acp. To set the forum width go to Current Theme-Width of your forum.
To have an idea of how the mod looks like when used, please have a look at the attached screenshots :)


G6™

Seems to not be working properly, tested on 1.1.9 and it sets everything to the left side for some reason, have installed though the package manager and also did a manual install after that, still the same thing with everything align to the left side of the screen.

babjusi

Quote from: G6™ on June 04, 2009, 11:32:06 AM
Seems to not be working properly, tested on 1.1.9 and it sets everything to the left side for some reason, have installed though the package manager and also did a manual install after that, still the same thing with everything align to the left side of the screen.

After you install it, can you try to hard refresh the browser and give it another try G6™? I just tried it now and everything worked ok.

G6™

Tried about everything now, still sets the entire forum to the left hand side.

Preview my live site here, Cant show my testsite as it's on my local here, but it behave the same way.

http://www.familjegodis.se/index.php?action=forum;theme=1

babjusi

Quote from: G6™ on June 04, 2009, 12:38:31 PM
Tried about everything now, still sets the entire forum to the left hand side.

Preview my live site here, Cant show my testsite as it's on my local here, but it behave the same way.

http://www.familjegodis.se/index.php?action=forum;theme=1

That site looks fine to me g6, no left aligning at all. Here is the screenshot attached.

I see that you are testing it with tp. Can you test it in a stand alone smf and see if that would make any difference?

zidlicky

Babjuci,

I get this error with your mod through package handler:
Execute Modification     ./Themes/default/style.css

This is the only error line, everything else ok. The only other mod I have installed with this is 'pretty url'. Known conflict?

Running v1.1.9 on Apache/Babylon theme.
If there is no fix I will try manual install. Thanks.

j_jindal1

I installed this mod, but nothing happened.... Will this mod work only for default theme.. I'm using a custom theme.. I installed this mod and I dont' see the

"Width of your forum" option anywhere in theme settings.... Please help....  :)
www.ShayarFamily.com Shayri forum of Friends

babjusi

Quote from: zidlicky on June 05, 2009, 02:43:29 AM
Babjuci,

I get this error with your mod through package handler:
Execute Modification     ./Themes/default/style.css

This is the only error line, everything else ok. The only other mod I have installed with this is 'pretty url'. Known conflict?

Running v1.1.9 on Apache/Babylon theme.
If there is no fix I will try manual install. Thanks.

You can use the mod parser under the mod download link to make the edits for the style.css file.

Quote from: j_jindal1 on June 05, 2009, 04:57:43 AM
I installed this mod, but nothing happened.... Will this mod work only for default theme.. I'm using a custom theme.. I installed this mod and I dont' see the

"Width of your forum" option anywhere in theme settings.... Please help....  :)

Yes, the mod works with default theme only. To make it work with a custom theme you must make the edits manually to that theme''s template that my mod edits.

j_jindal1

www.ShayarFamily.com Shayri forum of Friends

babjusi


Tattoocu_Cartel

good mod thanks , can you make for 2.0 rc-1 ?

babjusi




lovearat

I get this error with your mod through package handler:
Execute Modification     ./Themes/default/style.css

This is the only error line, everything else ok. The only other mod I have installed with this is 'pretty url'. Known conflict?

Running v1.1.9 on default theme

I used the mod parser and then went to do the manual edit to the style.css  Part of the edit said to find  ?>  and place this before it, #forumwidth
{
   text-align: left;
   margin: 0 auto 0 auto;
   min-width: 750px;
   padding: 0 1px 0 1px;
}

But this is what is at the end of my file:

/* The AJAX notifier */
#ajax_in_progress
{
   background: #32CD32;
   color: white;
   text-align: center;
   font-weight: bold;
   font-size: 18pt;
   padding: 3px;
   width: 100%;
   position: fixed;
   top: 0;
   left: 0;
}

/* MOD New Style Message Icon */
#newstyleMI { width: 94%; border: 1px solid #7f9db9 }
#newstyleMI input { margin: 5px 10px 5px 15px }

So what do I need to do?

<span style="font-size: 12px; color: red;">Do Not Pm Me For Support. Please use the appropriate board</span>

babjusi

Quote from: lovearat on June 06, 2009, 10:45:18 PM
I get this error with your mod through package handler:
Execute Modification     ./Themes/default/style.css

This is the only error line, everything else ok. The only other mod I have installed with this is 'pretty url'. Known conflict?

Running v1.1.9 on default theme

I used the mod parser and then went to do the manual edit to the style.css  Part of the edit said to find  ?>  and place this before it, #forumwidth
{
   text-align: left;
   margin: 0 auto 0 auto;
   min-width: 750px;
   padding: 0 1px 0 1px;
}

But this is what is at the end of my file:

/* The AJAX notifier */
#ajax_in_progress
{
   background: #32CD32;
   color: white;
   text-align: center;
   font-weight: bold;
   font-size: 18pt;
   padding: 3px;
   width: 100%;
   position: fixed;
   top: 0;
   left: 0;
}

/* MOD New Style Message Icon */
#newstyleMI { width: 94%; border: 1px solid #7f9db9 }
#newstyleMI input { margin: 5px 10px 5px 15px }

So what do I need to do?



Can you attach here the style.css file and I will make the edits for you.

lovearat

Quote from: babjusi on June 07, 2009, 10:29:22 AM
Quote from: lovearat on June 06, 2009, 10:45:18 PM
I get this error with your mod through package handler:
Execute Modification     ./Themes/default/style.css

This is the only error line, everything else ok. The only other mod I have installed with this is 'pretty url'. Known conflict?

Running v1.1.9 on default theme

I used the mod parser and then went to do the manual edit to the style.css  Part of the edit said to find  ?>  and place this before it, #forumwidth
{
   text-align: left;
   margin: 0 auto 0 auto;
   min-width: 750px;
   padding: 0 1px 0 1px;
}

But this is what is at the end of my file:

/* The AJAX notifier */
#ajax_in_progress
{
   background: #32CD32;
   color: white;
   text-align: center;
   font-weight: bold;
   font-size: 18pt;
   padding: 3px;
   width: 100%;
   position: fixed;
   top: 0;
   left: 0;
}

/* MOD New Style Message Icon */
#newstyleMI { width: 94%; border: 1px solid #7f9db9 }
#newstyleMI input { margin: 5px 10px 5px 15px }

So what do I need to do?



Can you attach here the style.css file and I will make the edits for you.

Thank you so much for your reply and your offer to make the edits for me. :)   But I got it figured out and I did the edits.
<span style="font-size: 12px; color: red;">Do Not Pm Me For Support. Please use the appropriate board</span>

babjusi

Glad to hear that you worked it out lovearat.

ddarrell

Why would one want to set the width?

As it is, the forum just shrinks or expands to fit the viewer's window/page size.

Just curious.

?


i know just enough to really screw up ;D

Advertisement: