(2014-10-31, 05:17 PM).m. Wrote: [ -> ]you can add below code in a php file , upload the file to your MyBB forum files server root folder and visit forumURL/filename.php in your browser
<?php
define("IN_MYBB",1);
include("./global.php");
$db->query("UPDATE `mybb_users` SET `sourceeditor` = '0';");
echo "done";
?>
Tried.. Same error Persists..
Isn't there any way to manipulate the editor's code to have it changed.?
facing same problem.
^ if you can PM me temporary access to forum admin panel & web host control panel then I can check it (change your credentials later)
Is it possible that every user who registered has view source unchecked by default. just like administrator ??? how to do that ?
^ that is what this thread is all about. can you please read the posts in this thread once again
(2014-10-31, 05:41 PM)malehumor Wrote: [ -> ] (2014-10-31, 05:17 PM).m. Wrote: [ -> ]you can add below code in a php file , upload the file to your MyBB forum files server root folder and visit forumURL/filename.php in your browser
<?php
define("IN_MYBB",1);
include("./global.php");
$db->query("UPDATE `mybb_users` SET `sourceeditor` = '0';");
echo "done";
?>
Tried.. Same error Persists..
Isn't there any way to manipulate the editor's code to have it changed.?
Why not simply use TABLE_PREFIX?
<?php
define("IN_MYBB",1);
include("./global.php");
$db->query("UPDATE `".TABLE_PREFIX."users` SET `sourceeditor` = '0';");
echo "done";
?>
^ I missed that. Thanks @metonator