Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Sep 1999
Posts: 339
Kahuna
Kahuna
Offline
Joined: Sep 1999
Posts: 339
The templates all have tables aligned to the center, and the tablealign theme was removed in V6...

So, you'll have to simply do some searching and replacing in the templates to align your forum to the left instead of centered.

First, open all template files. The following templates don't need to be modified:

[:"#666666"]ubbt_closedboard.tmpl
ubbt_footer.tmpl
ubbt_header.tmpl
ubbt_icon_select.tmpl
ubbt_instant_ubbcode.tmpl
ubbt_jumper.tmpl
ubbt_notright.tmpl
ubbt_registerednav.tmpl
ubbt_unregisterednav.tmpl
viewfavorites.tmpl
viewmessage.tmpl
viewmessages.tmpl
viewpoll.tmpl
viewprivacy.tmpl
viewreminders.tmpl[/]

But, all the others will need to be modified.

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 )... search for the following:

[:"red"]width="{$theme['tablewidth']}" align="center"[/]

...and replace it, simply, with:

[:"green"]width="{$theme['tablewidth']}" align=""[/]

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.

(Then save all files, upload, bla bla bla...)

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
Sponsored Links
Joined: Sep 1999
Posts: 339
Kahuna
Kahuna
Offline
Joined: Sep 1999
Posts: 339
Plus, you'll want to go fix the open_table function in [:"blue"] ubbt.inc.php[/]... around line 724.


Muhammad

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Gizmo
Gizmo
Portland, OR, USA
Posts: 5,833
Joined: January 2000
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)