MyBB Community Forums
Editor in source mode by default using tasks - 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: Editor in source mode by default using tasks (/thread-207268.html)



Editor in source mode by default using tasks - Ashan - 2017-01-09

i am tring to use tasks for Editor in source mode by default

but this task not work 

<?php
function task_myuserqueries($task)
{
    global $db;

    $db->query("UPDATE mybb_users SET sourceeditor = 0");
    
    add_task_log($task, "Myuserqueries ran successfully!");
}
?>

please anyone help

Hello where is mybb expert?


RE: Editor in source mode by default using tasks - Ashan - 2017-01-11

Where is all?