MyBB Codes
How To Force Classic Postbit on users! - Printable Version

+- MyBB Codes (http://www.mybbcodes.com)
+-- Forum: Mods Database (/forumdisplay.php?fid=4)
+--- Forum: Tutorials for 1.4.x (/forumdisplay.php?fid=29)
+--- Thread: How To Force Classic Postbit on users! (/showthread.php?tid=950)


How To Force Classic Postbit on users! - Kevin - 03-27-2010 04:42 AM

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)


RE: How To Force Classic Postbit on users! - Bane95 - 04-24-2010 02:26 AM

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'



RE: How To Force Classic Postbit on users! - Icaros - 08-26-2010 04:12 PM

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


RE: How To Force Classic Postbit on users! - pumas09 - 01-18-2011 12:32 AM

this what i was looking for thanks!


RE: How To Force Classic Postbit on users! - Philly - 07-28-2011 01:07 AM

I have been trying to do this for a while. Thank you for sharing!