MyBB Community Forums

Full Version: Force Classic Postbit on all members for 1.8.10
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Does anyone know what SQL Query to run that would force the classic postbit on all members?  I have already removed the option to change it in the User CP but when I look at some member profiles in the ACP, the classic postbit option is NOT checked even after I ran the following query that I found via search.


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


How can I know that all members are actually seeing classic postbit for sure?
There is a working plugin for that purpose - https://mods.mybb.com/view/force-postbit-layout just change the compatibility from 16* to 18*
(2017-02-25, 04:38 PM)Eldenroot Wrote: [ -> ]There is a working plugin for that purpose - https://mods.mybb.com/view/force-postbit-layout just change the compatibility from 16* to 18*

This does not work.
No this dosen't work.
If you wish to force the classic postbit style without changing the hard code, you need to ...

1) remove the option in User CP template

2) run the following SQL (mentioned in the inital post) to override all current user settings:
UPDATE mybb_users SET classicpostbit = 1

3) set the table field classicpostbit default value to 1 (should be set by installation already)

Mind: this will not guarantee that user can set this field by cheating the User CP form!

To be sure that user do not cheat and send manipulated form fields, it would be best to make hard code changes to prevent classicpostbit to be set at all.

[ExiTuS]