MyBB Community Forums
Make Editor's "View Page Source" Activated By Default - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html)
+--- Forum: General Support (https://community.mybb.com/forum-176.html)
+--- Thread: Make Editor's "View Page Source" Activated By Default (/thread-175773.html)



Make Editor's "View Page Source" Activated By Default - GasmoN - 2015-08-23

Hello,
When i click "New Thread", i want "View Page Source" to be activated in the editor automaticly (by default)
How can i do that?


RE: Make Editor's "View Page Source" Activated By Default - Qiao - 2015-08-24

There is option In your profile.

But there is no "set View Page Source for all new users by default" option, though it should be in next version,


RE: Make Editor's "View Page Source" Activated By Default - mmadhankumar - 2015-08-24

check this related thread: http://community.mybb.com/thread-165583.html


RE: Make Editor's "View Page Source" Activated By Default - GasmoN - 2015-08-24

(2015-08-24, 07:30 AM)mmadhankumar Wrote: check this related thread: http://community.mybb.com/thread-165583.html

Im tried both of these, and nothing work for me... i'm using Monocons Editor btw..


RE: Make Editor's "View Page Source" Activated By Default - Ad Bakker - 2015-08-24

(2015-08-24, 10:02 AM)GasmoN Wrote: i'm using Monocons Editor btw..

And when you go to UserCP -> Edit Options

and check "Put the editor in source mode by default".

When i does not work then, it's the editor you use.


RE: Make Editor's "View Page Source" Activated By Default - GasmoN - 2015-08-25

(2015-08-24, 03:02 PM)Ad Bakker Wrote:
(2015-08-24, 10:02 AM)GasmoN Wrote: i'm using Monocons Editor btw..

And when you go to UserCP -> Edit Options

and check "Put the editor in source mode by default".

When i does not work then, it's the editor you use.

It's work now, but i want this option to be checked by default for new registered users, how to do that?


RE: Make Editor's "View Page Source" Activated By Default - Ad Bakker - 2015-08-25

(2015-08-25, 10:09 AM)GasmoN Wrote: It's work now, but i want this option to be checked by default for new registered users, how to do that?

This has been discussed several times, but it requires either a plugin, or a core change. THe core change involves file inc/datahandlers/user.php. Line 652 should be changed to:

$this->verify_yesno_option($options, 'sourceeditor', 1);



RE: Make Editor's "View Page Source" Activated By Default - GasmoN - 2015-08-25

(2015-08-25, 10:55 AM)Ad Bakker Wrote:
(2015-08-25, 10:09 AM)GasmoN Wrote: It's work now, but i want this option to be checked by default for new registered users, how to do that?

This has been discussed several times, but it requires either a plugin, or a core change. THe core change involves file inc/datahandlers/user.php. Line 652 should be changed to:

$this->verify_yesno_option($options, 'sourceeditor', 1);

Finally! IT WORKS, THANKS MAN!


RE: Make Editor's "View Page Source" Activated By Default - albano - 2017-11-18

(2015-08-25, 10:55 AM)Ad Bakker Wrote:
(2015-08-25, 10:09 AM)GasmoN Wrote: It's work now, but i want this option to be checked by default for new registered users, how to do that?

This has been discussed several times, but it requires either a plugin, or a core change. THe core change involves file inc/datahandlers/user.php. Line 652 should be changed to:

$this->verify_yesno_option($options, 'sourceeditor', 1);

This option doesn't work in 1.8.13. Please, help me identify where to make this change.

https://foro.guitarravallenata.com
test account: traste/espacio

Thanks,
albano