MyBB Codes

Full Version: How To Force Classic Postbit on users!
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,
To Force Classic postbit on users:

1-GO to ACP --> Configuration --> Show Thread Options

2- In Post Layout Select Display posts using the classic layout

3- Save

===============

Now How Force Classic Postbit on old users?

1- Go to phpmyadmin and select the database which you installed MyBB on.

2- Go to SQL section and insert this rule:

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

* If you have changed the tables Perfix also change it in the below code instead of "mybb"

Author: GreyWolf (Translated from Persian to English by : Kevin)
If you are the administrator of the forum and wish that all members have the classic view messages do the following:
First, disable users to change these settings. Go to ACP -> Templates & Style -> Templates -> ** ** expand template set -> User Control Panel Templates -> usercp_options. Find the following 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>
I replaced it with the following:
<input type="hidden" name="classicpostbit" id="classicpostbit" value="1" />

And go to SQL section and insert this rule
UPDATE `mybb_users` SET `classicpostbit` = '1' WHERE `classicpostbit` = '0'
(04-24-2010 02:26 AM)Bane95 Wrote: [ -> ]If you are the administrator of the forum and wish that all members have the classic view messages do the following:
First, disable users to change these settings. Go to ACP -> Templates & Style -> Templates -> ** ** expand template set -> User Control Panel Templates -> usercp_options. Find the following 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>
I replaced it with the following:
<input type="hidden" name="classicpostbit" id="classicpostbit" value="1" />

And go to SQL section and insert this rule
UPDATE `mybb_users` SET `classicpostbit` = '1' WHERE `classicpostbit` = '0'

Cool! Is there a way to force linear postbit the same way?
this what i was looking for thanks!
I have been trying to do this for a while. Thank you for sharing!
Reference URL's