Could you help me how to disable (uncheck) "Put the editor in source mode by default" for all users? Thank you!
P.S. There should be an option for this in mybb
Run the following query:
UPDATE mybb_users SET sourceeditor = 0
Can I request help for these two cases:
- enable PMs from others users
- enable email notification
Thank you very much!
(2015-02-15, 10:27 AM)Eldenroot Wrote: [ -> ]Can I request help for these two cases:
- enable PMs from others users
- enable email notification
Thank you very much!
UPDATE mybb_users SET receivepms = 1
UPDATE mybb_users SET pmnotify = 1
Thank you... I need to create a task for this. It is easier than run it manually
<?php
function task_myuserqueries($task)
{
global $db;
$db->query("UPDATE mybb_users SET sourceeditor='0', receivepms='1', pmnotify='1'");
add_task_log($task, "Myuserqueries ran successfully!");
}
?>
OK, I created a task with this php code... but it is not working. When I run this in sql query (in my db) it works fine.
Hi guys, can you help me with SQL query for "uncheck" option in UCP - Hide from Who is online?? Thank you
^
UPDATE mybb_users SET invisible = 0;
ALTER TABLE `mybb_users` CHANGE `invisible` `invisible` TINYINT(1) NOT NULL DEFAULT '0';