How to change the width of phpbb forum pages

This forum is now closed. Please ask all styles-related questions in the phpBB 3.0 Styles Support & Discussion Forum.
Locked
ali904f
Registered User
Posts: 16
Joined: Fri Feb 23, 2007 9:47 am

How to change the width of phpbb forum pages

Post by ali904f » Wed May 30, 2007 6:28 am

Hi
You view my site at http://www.anokhiaasha.org
my site page width is 770px.
I want my forum page width set to same.
How can i change this ?

Thatbitextra
Former Team Member
Posts: 7604
Joined: Mon Mar 21, 2005 5:04 am
Location: A place where something is or could be located; a site.
Contact:

Re: How to change the width of phpbb forum pages

Post by Thatbitextra » Wed May 30, 2007 6:33 am

You can start by replacing the phpBB copyright.
Styles KB
My MODs: Choose Who to Accept PMs From (Prevents unwanted PMs!) | Warn of Old Topic Before Posting Reply
Style: subBlack (Now updated to phpBB 2.0.22 and 5 new color schemes!)

ali904f
Registered User
Posts: 16
Joined: Fri Feb 23, 2007 9:47 am

Re: How to change the width of phpbb forum pages

Post by ali904f » Wed May 30, 2007 7:01 am

Thatbitextra wrote:You can start by replacing the phpBB copyright.
I didnot understand.
Please can you explain me in detail

GivenOneChance
Registered User
Posts: 73
Joined: Thu Feb 22, 2007 11:47 pm

Re: How to change the width of phpbb forum pages

Post by GivenOneChance » Wed May 30, 2007 7:51 am

Thatbitextra wrote:You can start by replacing the phpBB copyright.
PWNED!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Sorry, for this , I just had to. ( To the Op btw)

Thatbitextra
Former Team Member
Posts: 7604
Joined: Mon Mar 21, 2005 5:04 am
Location: A place where something is or could be located; a site.
Contact:

Re: How to change the width of phpbb forum pages

Post by Thatbitextra » Wed May 30, 2007 11:29 am

GivenOneChance wrote:Sorry, for this , I just had to. ( To the Op btw)
I would rather you didn't.
Styles KB
My MODs: Choose Who to Accept PMs From (Prevents unwanted PMs!) | Warn of Old Topic Before Posting Reply
Style: subBlack (Now updated to phpBB 2.0.22 and 5 new color schemes!)

Jupix
Former Team Member
Posts: 429
Joined: Mon May 05, 2003 4:24 pm
Location: Finland
Contact:

Re: How to change the width of phpbb forum pages

Post by Jupix » Wed May 30, 2007 11:52 am

ali904f wrote:I didnot understand.
Please can you explain me in detail
The explanation can be found in your forum's source code. This is a direct quote.
We request you retain the full copyright notice below including the link to http://www.phpbb.com.
This not only gives respect to the large amount of time given freely by the developers
but also helps build interest, traffic and use of phpBB 2.0. If you cannot (for good
reason) retain the full copyright we request you at least leave in place the
Powered by phpBB line, with phpBB linked to http://www.phpbb.com. If you refuse
to include even this then support on our forums may be affected.
In short, if you refuse to include our copyright notice on your forum, we will refuse to provide you with support. Fair game.
#################

ccroo
Registered User
Posts: 14
Joined: Tue May 29, 2007 5:26 pm

Re: How to change the width of phpbb forum pages

Post by ccroo » Wed May 30, 2007 10:59 pm

Did the poster suggest removing the copyright? I didn't see that.

I think he might want to have a narrower width to the 2.0 board, more like board we're posting to here.

I might like to do the same thing. is there an issue there?

samredman
Registered User
Posts: 30
Joined: Sat Oct 22, 2005 8:24 pm

Re: How to change the width of phpbb forum pages

Post by samredman » Thu May 31, 2007 3:25 am

I think that they were referring to the guy, who asked the question first, having already removed the phpbb copyright from his site, and in doing so, sort of violating the very principle outlined on his site, which is shown as, "Together we can make a difference."


But, since his site seemed to be about a rather noble cause... maybe he did it inadvertently.. so here is a possible tip that might solve your problem,

Look in the overall_header.tpl. Find this code (down at the bottom of the file):

Code: Select all

 <a name="top"></a>

<table width="100%" bgcolor= .... snip ...
   <tr> 
	<td class="bodyline"><table width="100%"         
Change it to

Code: Select all

 <a name="top"></a>

<table width="770" bgcolor= .... snip ...
   <tr> 
	<td class="bodyline"><table width="100%"         
See if that doesn't work for you. Experiment to find the exact width you are seeking. Now, I'm not a real pro like the other guys... so they might have a better solution.

User avatar
Greenweaver
Former Team Member
Posts: 3913
Joined: Tue Jan 10, 2006 5:25 am
Location: In the rain
Contact:

Re: How to change the width of phpbb forum pages

Post by Greenweaver » Thu May 31, 2007 6:22 pm

Our rules at phpBB.com are simple, we do not support any installation of phpBB that decides to remove all copyright information for phpBB. Mistakes can happen from time to time, granted, but it takes a fairly conscious effort if this code is removed.

Sympathy for any specific cause does not enter in this decision, it is based purely on the principles that we have set ourselves and abide by. Until we here other wise from ali904f this topic is now = Image

phpBB rules
https://www.phpbb.com/rules/#rule4j
https://www.phpbb.com/rules/#rule4k
Image
Modage: Page Title Number MOD
Linkage: Find me at Styles Support & Discussion | Get a new style | Customise your style | phpBB userguide
Noteage:
Graphics requests to members over 20 posts and genuine phpbb requirements | I do not provide custom psd files

ali904f
Registered User
Posts: 16
Joined: Fri Feb 23, 2007 9:47 am

How to change the width of phpbb forum pages

Post by ali904f » Fri Jun 01, 2007 6:59 am

Re: How to change the width of phpbb forum pages
by GreenWeaver on Thu May 31, 2007 6:22 pm

Our rules at phpBB.com are simple, we do not support any installation of phpBB that decides to remove all copyright information for phpBB. Mistakes can happen from time to time, granted, but it takes a fairly conscious effort if this code is removed.

Sympathy for any specific cause does not enter in this decision, it is based purely on the principles that we have set ourselves and abide by. Until we here other wise from ali904f this topic is now =

phpBB rules
http://www.phpbb.com/rules/#rule4j
http://www.phpbb.com/rules/#rule4k
Links: Find me at Styles Development & Discussion | Get a new style | Customise your style | phpBB3 userguide
Note: Graphics requests to members over 20 posts only with genuine phpbb requirements | I do not provide custom psd files

GreenWeaver
Styles Team Member

Hi
Sorry for that
By mistake i have deleted the line Powered by http://www.phpbb.com
I appolize for that and now i have included the line not voilating the rules of phpbb
Hope you will forgive it.
Reply to me so that i may confirm that u have noticed my post

User avatar
Greenweaver
Former Team Member
Posts: 3913
Joined: Tue Jan 10, 2006 5:25 am
Location: In the rain
Contact:

Re: How to change the width of phpbb forum pages

Post by Greenweaver » Fri Jun 01, 2007 9:52 am

I think you will find we are very forgiving at phpBB.com and thank you for replacing the copyright.

You have been editing your board quite a bit, usually to control the width our your board you edit the first table in the file "overall_header.tpl":

Code: Select all

<table width="100%" cellspacing="0" cellpadding="10" border="0" align="center">
Change the 100% value to a fixed width such as 800px or whatever.

In your case, you have removed this table but you can still edit the size of the tables that you currently have. Again, in the file "overall_header.tpl" look for the table tags such as this:

Code: Select all

<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
And change the 100% to a fixed width. You will also need to change the table widths in the file "index_body.tpl". If none of this works the way you would like it to, then you may be best to wrap the board in a new table, get a copy of the original "overall_header.tpl" to see how this would work.

If you get stuck you can let us know.
Image
Modage: Page Title Number MOD
Linkage: Find me at Styles Support & Discussion | Get a new style | Customise your style | phpBB userguide
Noteage:
Graphics requests to members over 20 posts and genuine phpbb requirements | I do not provide custom psd files

Jupix
Former Team Member
Posts: 429
Joined: Mon May 05, 2003 4:24 pm
Location: Finland
Contact:

Re: How to change the width of phpbb forum pages

Post by Jupix » Fri Jun 01, 2007 9:58 am

Unlocked and topics merged.
#################

Locked

Return to “[2.0.x] Styles Development & Discussion”