MyBB Community Forums

Full Version: Query in MySQL database to change all smilieoff from 1 to 0?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

In my MySQL database I have many posts where users checked post option "disable smilies".

I would like to show all smilies, so I should to use a query to change all, can you tell me the exact query I have to use to avoid disasters in the database (mybb_posts table)?

[Image: 4NWmW2o.jpg]
Just: update mybb_posts set smilieoff=0
Replace "mybb_" with your table prefix
Thank you very much Smile Smile
Please keep in mind that it can be really useful to deactivate smilies for a single post, e.g. when you use specific strings that should not be mis-interpreted.

You'd better off checking those posts with deactivated smilies before running the SQL-Update all over the table.

[ExiTuS]