MyBB Community Forums

Full Version: Editor in source mode by default using tasks
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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?
Where is all?