MyBB Community Forums

Full Version: Make all users use classic layout?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm going to be implementing a JS library that adds a users Steam Profile info (such as if they are logged in or not) to the users postbit, but since I want it to appear on the top right, having the horizontal layout style wouldn't make it look very good.

How can I force the use of the classic layout on all users (including any new registrations I may get), and remove the option to change it to horizontal?
Select classic in Show Thread Layout so that new registrations and guests use it.

Go to Templates -> User Control Panel -> usercp_options

Find and Remove

	<tr>
	<td valign="top" width="1"><input type="checkbox" class="checkbox" name="classicpostbit" id="classicpostbit" value="1" {$classicpostbitcheck} /></td>
	<td><span class="smalltext"><label for="classicpostbit">{$lang->show_classic_postbit}</label></span></td>
	</tr>

That will make users unable to change it.

Run this query

UPDATE `mybb_users` SET `classicpostbit` = '1'

To change all current users to classic.

Alternatively, just replace the postbit template with the one from postbit_classic so both are the same.

Regards,
Jammerx2
Thanks! That works perfectly!