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
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



Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks