What happens when the WP user is deleted?
-
Howdy all,
Can anyone tell me what happens when an account is deleted? What happens to the Buddy Press / bbPress content that the user created? Is it also deleted? Or does it remain? If it remains is it still associated with the content?
I setting up a WP site with BuddyPress, bbPress for group forums, and S2 Member.
What I want to do is let anonymous visitors read everythting in the BuddyPress section of the site. But because they are not logged in, the cannot post. If they buy a membership through S2Member/paypal, they will be allowed to create an account and therefore they will be able to post status and make forum posts etc. So far that sounds easy. I don’t have to set any restrictions in S2 Member. If you have an account, you can post. If you don’t have an account, you can only read.
But when the user’s subscription expires, S2Member can be configured to demote the user to level 0 / subscriber or the account can be deleted.
Demoting the user to subscriber doesn’t work in my case because the user can still login and because he can still login, he can continue to post to BuddyPress and bbPress.
So I’m thinking about seting the S2Member to “delete” the account when the membership expires. But that raises some questions:
— When a user’s account is deleted, is all of their posted content also deleted? i.e. all the status messages, forum posts etc?
— Is the user ID available again in the future or is it blocked. For example, suppose John smith signs up, creates the ID JSmith and uses the service for a few months. Then he lets his membership expire and S2Member “deletes” the account. If Jason Smith comes along and pays for an account, can he create an ID JSmith? Or is it no longer available to him because it had previously been used by john Smith?
Any light that could be shed on this scenario would be appreciated!
Thanks
Calvin
- The topic ‘What happens when the WP user is deleted?’ is closed to new replies.