Solved: 8 Years, 9 Months ago Source mode disable
#1
Solved: 8 Years, 9 Months ago
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
[MyBB 1.8 Czech translation] [MyBB 1.8 plugins]: Prune old PMs + optimize DB plugin --- Thank you/like system
Reply
#2
Solved: 8 Years, 9 Months ago
Run the following query:
UPDATE mybb_users SET sourceeditor = 0
Reply
#3
Solved: 8 Years, 9 Months ago
Thank you. I see there is an issue for this request https://github.com/mybb/mybb/issues/1393 Smile
[MyBB 1.8 Czech translation] [MyBB 1.8 plugins]: Prune old PMs + optimize DB plugin --- Thank you/like system
Reply
#4
Solved: 8 Years, 9 Months ago
Can I request help for these two cases:

- enable PMs from others users
- enable email notification

Thank you very much!
[MyBB 1.8 Czech translation] [MyBB 1.8 plugins]: Prune old PMs + optimize DB plugin --- Thank you/like system
Reply
#5
Solved: 8 Years, 9 Months ago
(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
We can't help everyone, but everyone can help someone - Ronald Reagan
Did you know? Your question has already been answered. But you haven't searched it yet.
Don’t  Forget to “Mark as Solved” after the fix
Reply
#6
Solved: 8 Years, 9 Months ago
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.
[MyBB 1.8 Czech translation] [MyBB 1.8 plugins]: Prune old PMs + optimize DB plugin --- Thank you/like system
Reply
#7
Solved: 8 Years, 9 Months ago
Hi guys, can you help me with SQL query for "uncheck" option in UCP - Hide from Who is online?? Thank you
[MyBB 1.8 Czech translation] [MyBB 1.8 plugins]: Prune old PMs + optimize DB plugin --- Thank you/like system
Reply
#8
Solved: 8 Years, 9 Months ago
^
UPDATE mybb_users SET invisible = 0;

ALTER TABLE `mybb_users` CHANGE `invisible` `invisible` TINYINT(1) NOT NULL DEFAULT '0';
Reply
#9
Solved: 8 Years, 9 Months ago
Thank you very much!
[MyBB 1.8 Czech translation] [MyBB 1.8 plugins]: Prune old PMs + optimize DB plugin --- Thank you/like system
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)