Not Solved [How To?] Editor option
#1
Not Solved
Hi! The board I help admin recently switched to MyBB in the wake of the ZB dumpster fire, and I am trying to set up things to make the transition easier for our users. The first thing I haven't been able to figure out yet is this.

In the individual account profile settings, there is an option to check off to "Put the editor in source mode by default." Is there a way to set all accounts to that as the default? Only a few people have posted so far, and things they copy/pasted from the old boards have different text sizes/formatting and it's a little discombobulating. If that was enabled by default rather than the WYSIWYG option that would be a lot easier, as it wouldn't copy over formatting.
Reply
#2
Not Solved
To enable it for all registered users in the future, run the following query:

ALTER TABLE `mybb_users` ALTER `sourceeditor` TINYINT(1) NOT NULL DEFAULT 1;

For all existing users, run the following query:

UPDATE `mybb_users` SET `sourceeditor` = 1 WHERE `sourceeditor` = 0;

Note that the queries assume your table prefix is mybb_. This may need to be changed.
Plugin Count: I lost count.
Public Plugins are available here.
Official GitHub.
Please do not PM me for support unless asked to.
Reply
#3
Not Solved
Thanks for the quick reply... this is my first time as an admin in MyBB, can you tell me where in the ACP I would go to run those?
Reply
#4
Not Solved
In that case, best of luck with your forum. See here on how to run SQL queries.
Plugin Count: I lost count.
Public Plugins are available here.
Official GitHub.
Please do not PM me for support unless asked to.
Reply
#5
Not Solved
Excellent, thank you! Big Grin
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)