php forum
php mysql forum
php mysql smarty
 
Topic Options
#217766 - 06/03/02 09:00 AM Aligning forum to the left rather than center...
Muhammad Offline
Kahuna

Registered: 09/26/99
Posts: 1289
Loc: Tucson, AZ

   Aligning forum to the left rather than center... to Del.icio.us Add to del.icio.us
  Digg Aligning forum to the left rather than center... Digg it
The templates all have tables aligned to the center, and the tablealign theme was removed in V6...<br /><br />So, you'll have to simply do some searching and replacing in the templates to align your forum to the left instead of centered.<br /><br />First, open all template files. The following templates don't need to be modified:<br /><br />[:"#666666"]ubbt_closedboard.tmpl<br />ubbt_footer.tmpl<br />ubbt_header.tmpl<br />ubbt_icon_select.tmpl<br />ubbt_instant_ubbcode.tmpl<br />ubbt_jumper.tmpl<br />ubbt_notright.tmpl<br />ubbt_registerednav.tmpl<br />ubbt_unregisterednav.tmpl<br />viewfavorites.tmpl<br />viewmessage.tmpl<br />viewmessages.tmpl<br />viewpoll.tmpl<br />viewprivacy.tmpl<br />viewreminders.tmpl[/]<br /><br />But, all the others will need to be modified.<br /><br />Once you have them opened in your favorite text editing program that can do find and replace of all active/open documents (save all/close all is helpful, too <img src="/forum/images/icons/wink.gif" alt="" />)... search for the following:<br /><br />[:"red"]width="{$theme['tablewidth']}" align="center"[/]<br /><br />...and replace it, simply, with:<br /><br />[:"green"]width="{$theme['tablewidth']}" align=""[/]<br /><br />We leave the [:"blue"]align=""[/] in so you can easily retrace your steps and change it back if you want/need, without accidently replacing [:"blue"]width="{$theme['tablewidth']}"[/] in the wrong places.<br /><br />(Then save all files, upload, bla bla bla...)<br /><br />IIRC, in previous versions that had the tablealign theme, you couldn't align the tables to the left because that would screw everything up and create a kind of nested chaos on the screen. Same applies here... by removing the align code altogether, the tables align to the default, and hence, to the left. Simple!
_________________________
Muhammad

Top
#217767 - 06/03/02 11:05 AM Re: Aligning forum to the left rather than center... [Re: paulj]
Muhammad Offline
Kahuna

Registered: 09/26/99
Posts: 1289
Loc: Tucson, AZ
Plus, you'll want to go fix the open_table function in [:"blue"] ubbt.inc.php[/]... around line 724.
_________________________
Muhammad

Top


Top Posters Last 30 Days
AllenAyres 20
Gizmo 10
blaaskaak 2
S7ARBVCK 2
Iann128 1
Claus1 1
M4D 1
Who's Online
1 Registered (AllenAyres), 33 Guests and 7 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Security Patch released for all 7.x versions
by AllenAyres
Today at 08:00 PM
What do you use to edit the files
by AllenAyres
Today at 07:54 PM
Team UBBDev Rides Again!
by AllenAyres
Today at 07:32 PM
Here I am! Rock me like a Hurricane!
by AllenAyres
Today at 07:20 PM
BeyondCompare v3.00
by AllenAyres
Today at 07:16 PM
[7.3.1] add search to showmembers page
by AllenAyres
Today at 07:13 PM
Noob - need help, or a reality check!
by Gizmo
09/04/08 03:21 AM
New Mods
[7.3.1] add search to showmembers page
by blaaskaak
Today at 04:50 AM
Installing FlashChat with 7.3
by Paug
08/23/08 12:14 AM
[7.3.x] ubb.links
by AllenAyres
06/20/08 11:50 PM
[7.2.1] - Naked shoutbox
by sirdude
08/17/07 10:36 PM
[7.x] Generic Page Outside of forum directory
by
01/14/07 10:58 PM
Newest Members
veedubb8, twentyseven, Claus1, welcomeback1, Paug
13327 Registered Users

 

 

 
fusionbb message board php hacks