Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Deleting Users and Reassigning Posts
Avatar
jim
Here and Now
Member
Pro Subscribers
sp_UserOfflineSmall Offline
Apr 15, 2013 - 12:42 pm

I know you can reassign posts from within SP, but my question is this:

When deleting a user and reassigning his posts from the WP User Admin, will that also reassign forum posts and topics started by that user? If not will they need to be reassigned individually, or can that be done in bulk? Before or after the user is deleted?

With news of the recent brute force bot attacks, I'm considering deleting "admin" accounts but would need to map all blog posts, forum posts, and topics started by Admin to User X (who has SP Admin permissions). Any recommendations for doing this efficiently are appreciated. Thanks!

TripawdsSimple:Press powers the Tripawds Discussion Forums.

It's better to hop on three legs than to limp on four.

The Tripawds Blogs Community is made possible by The Tripawds Foundation.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 15, 2013 - 12:58 pm

No, that wont work... If you delete a user, his posts will change to be from a guest user...

I would probably create the new user and use a db query to move the posts to the new user... but moving subscriptions, buddies, stuff like that is problematic... moving the user info, topics, posts, etc is pretty straight forward...

We do have an open ticket for better options on what to do with a users posts when deleting a user... just wont make it into 5.3 in next few weeks...

Avatar
jim
Here and Now
Member
Pro Subscribers
sp_UserOfflineSmall Offline
Apr 15, 2013 - 1:25 pm

Thanks for the quick feedback, glad I asked before attempting!

Sounds like it may be easier to just change the Admin user name in the db. Any thoughts about that are also appreciated.

TripawdsSimple:Press powers the Tripawds Discussion Forums.

It's better to hop on three legs than to limp on four.

The Tripawds Blogs Community is made possible by The Tripawds Foundation.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 15, 2013 - 2:09 pm

think so... there are multiple plugins that make it easy to do...

pushing to get 5.3 out in conjunction with WP 3.6 here in next few weeks... then we need to finish the mobile stuff... but this user deletion stuff is at the top of the next items list...

Avatar
jim
Here and Now
Member
Pro Subscribers
sp_UserOfflineSmall Offline
Apr 29, 2013 - 7:15 pm

Mr Papa said
... but moving subscriptions, buddies, stuff like that is problematic...

One more quick related question, hopefully:

Will deleting a user remove their topic subscriptions?

I'm asking for a different reason now. We'll be cleaning up our database soon, and I'm wondering if deleting a user will delete that user's subscriptions. That would be ideal in this case. (If the user requests to be deleted, we don't want them to continue receiving notifications.)

Anybody happen to know if the same goes for registered users subscribed to blog comments via the "Subscribe To Comments" plugin?

TripawdsSimple:Press powers the Tripawds Discussion Forums.

It's better to hop on three legs than to limp on four.

The Tripawds Blogs Community is made possible by The Tripawds Foundation.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 29, 2013 - 7:22 pm

yes... if you properly remove a wp user, it will remove any sp subscriptions that user had...

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17361
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625