Xucce
How to Change Classic Postbit to Horizontal Postbit - Printable Version

+- Xucce (https://xucce.com)
+-- Forum: Forums (https://xucce.com/forum-1.html)
+--- Forum: MyBB Development (https://xucce.com/forum-4.html)
+---- Forum: Tutorials (https://xucce.com/forum-11.html)
+---- Thread: How to Change Classic Postbit to Horizontal Postbit (/thread-29.html)



How to Change Classic Postbit to Horizontal Postbit - Erik - 05-26-2025

How to Change Classic Postbit to Horizontal Postbit


To switch your forum from classic (vertical) postbit to horizontal postbit for all users, follow the steps below.

Step 1: Remove the Option from UserCP
Go to:
ACP → Templates & Style → Templates → Your Theme → User Control Panel Templatesusercp_options

Find this code:
Code:
<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>

Replace it with:
Code:
<input type="hidden" name="classicpostbit" id="classicpostbit" value="0" />

This disables the checkbox and forces users to use horizontal postbit.

Step 2: Force All Existing Users to Use Horizontal Postbit
Run the following SQL query using phpMyAdmin or your database manager:


Locked Content

Guests cannot view hidden content. Please log in.


This updates all users currently using the classic (vertical) layout.

Step 3: Set the Default Layout in MyBB Settings
Go to:
ACP → Configuration → Show Thread Options → Post Layout
Set it to: Display posts using the horizontal post layout

That’s it! Your forum will now consistently use the horizontal postbit layout for all users.