MyBB Community Forums

Full Version: Global Option to make the Editor in Source Mode
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
(2014-09-07, 07:45 AM)Omar G. Wrote: [ -> ]I think what he meant is to add a setting in the ACP that sets the default, not to override the users's one.

I do agree with this and see no issues with it.

?? not will cause conflict?
In ACP setting to all user to Source...
And after user set to WYSIWYG mode to him...

priority of setting of user is grater than setting in ACP?

Edit: Lol... now i understood...
in UCP with three options Default, Source and WYSIWYG...
In ACP setting to define if Default option of UCP is Source or WYSIWYG mode? Correct?
(2014-09-07, 08:02 AM)martec Wrote: [ -> ]Edit: Lol... now i understood...
in UCP with three options Default, Source and WYSIWYG...
In ACP setting to define if Default option of UCP is Source or WYSIWYG mode? Correct?

Exactly. Glad you got it. Big Grin
usercp.php
0 -> Default,
1 -> On,
2 -> Off

inc/functions.php
			$sourcemode = '';
			if($mybb->settings['sourceeditor'] == 1 || $mybb->user['sourceeditor'] == 1)
			{
				$sourcemode = "MyBBEditor.sourceMode(true);";
			}

			if($mybb->user['sourceeditor'] == 2)
			{
				$sourcemode = '';
			}

Default value for new users should be '0' (ACP default), ACP setting should be '1', and current users should be updated from:
0 -> 2
1 -> 0
Will this be pushed to MyBB 1.8.4?
No, it wont... according to milestone it would be in 1.8.5
graaaaciasss ... lo solucioneee ... era en el archivo inc/datahandlers/user.php
linea $this->verify_yesno_option($options, 'sourceeditor', 0);
(2015-02-05, 10:27 PM)Eldenroot Wrote: [ -> ]No, it wont... according to milestone it would be in 1.8.5

Hi, was this setting pushed into 1.8.5?
(2015-07-09, 06:34 AM)ThePanda Wrote: [ -> ]
(2015-02-05, 10:27 PM)Eldenroot Wrote: [ -> ]No, it wont... according to milestone it would be in 1.8.5

Hi, was this setting pushed into 1.8.5?

no [Issue #1393]
I hope it will be soon in mybb
Pages: 1 2 3