Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Maxxius Posted December 12, 2019 Posted December 12, 2019 hi, this is quite a simple question, I'd like to offer my members a clean slate by removing all the warnings ever issued. Which myphpadmin query could accomplish that?
flashpoint Posted December 13, 2019 Posted December 13, 2019 Truncate * FROM core_members_warn_actions; Truncate * FROM core_members_warn_logs;Truncate * FROM core_members_warn_reasons; or DELETE * FROM core_members_warn_actions; DELETE * FROM core_members_warn_logs;DELETE * FROM core_members_warn_reasons; Â P.S. Always back up your database before making any changes, regardless of how sure you are.
Maxxius Posted December 13, 2019 Author Posted December 13, 2019 Thank you @flashpoint Can anyone else confirm that this is the way to go? @Adriano Faria @Daniel F @DawPi (good morning guys 😄 ) Â
DawPi Posted December 13, 2019 Posted December 13, 2019 Also: UPDATE core_members SET warn_level = 0; UPDATE core_members SET warn_lastwarn = 0; Â
Maxxius Posted December 13, 2019 Author Posted December 13, 2019 @DawPi thanks , @flashpoint Wouldn't Truncate * FROM core_members_warn_reasons; and core_members_warn_actions simply just delete my warn reasons? I think I should leave it since I just want to clear up all the members but not my setup for future warnings.
Adriano Faria Posted December 13, 2019 Posted December 13, 2019 Just truncate core_members_warn_logs and update columns pointed by Dawpi.
DawPi Posted December 13, 2019 Posted December 13, 2019 20 minutes ago, Maxxius said: @DawPi thanks , @flashpoint Wouldn't Truncate * FROM core_members_warn_reasons; and core_members_warn_actions simply just delete my warn reasons? I think I should leave it since I just want to clear up all the members but not my setup for future warnings. Yes, do not do that. This is not necessary and would remove the reasons.
flashpoint Posted December 13, 2019 Posted December 13, 2019 My apologies. Should've double checked. :p. I'll remove that part from my post in case someone finds it in the future... 🙂
Maxxius Posted December 14, 2019 Author Posted December 14, 2019 Truncate * FROM core_members_warn_actions; strike that out too 🙂 this one also has to stay
Adriano Faria Posted December 14, 2019 Posted December 14, 2019 On 12/13/2019 at 6:35 AM, Adriano Faria said: Just truncate core_members_warn_logs and update columns pointed by Dawpi. 👆
Recommended Posts
Archived
This topic is now archived and is closed to further replies.