I am using WordPress SSO to authorize folks who have purchased a membership (I implemented custom logic in WordPress to determine whether they are members). All is working well but I am wondering how to handle cancelled members.
Obviously the cancellation of their membership will means they can’t logon. Unfortunately, I do need to manually log them out when they cancel, in case they keep accessing the forum and keeping their session alive (doing anything manually was something I thought I’d left behind when I switched from my Facebook group).
But I have two additional issues on my mind
- What happens to topics / posts they posted to the forum? I want these to remain, so presumably that mean I can’t delete the user
- I do want to make sure digest eMails are not sent to cancelled members. Discourse is blissfully unaware that the account has been cancelled until I do “something”. What is that, with the proviso that I don’t want to remove their content.
Is all addressed by user supression and are they are best practices for how to automated this? I am assuming some form of custom code, but checking in case I can avoid that.