Opened 10 months ago
Last modified 5 months ago
#1889 new enhancement
Option to delete imported users when performing 'Reset Forum'
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.4 |
| Component: | Importers | Version: | 2.0 |
| Severity: | normal | Keywords: | |
| Cc: | jared@… |
Description
When you perform a 'Reset Forums' all forums/topics/replies are removed as is the importers conversion table (bbprc4_bbp_converter_translator), this leaves all imported users as standard WordPress users with all bbPress metadata removed from the user.
Because the conversion table is now gone you have no way to delete the imported users as there is no longer a record of what users were imported.
Thus when performing a 'Reset Forums' should there also be an option to also delete these users during this process to remove them whilst bbPress still knows something about these users?
I don't think this behavior should be forced as default as there would be use cases where you do want to actually keep all the users as standard WordPress users if you were to longer use bbPress for example but still wanted the users user/pass to stay in the system.
Change History (9)
- Summary changed from Option to delete imported users when performing 'Rest Forum' to Option to delete imported users when performing 'Reset Forum'
- Milestone changed from Awaiting Review to 2.2
comment:5
in reply to:
↑ 4
johnjamesjacoby — 7 months ago
Replying to jaredatch:
This sounds pretty easy, is there some user meta data that can be used to only delete users that were imported (and not users that were created outside the importer)?
Could look for '_bbp_user_id' in usermeta.
Does anyone have an export I can use for testing so I don't have to manually add the usermeta?
Jared,
How about a SQL database of BuddyPress with Group Forums with some sample data?
That way you can re-run the import as often as you need to import users etc
comment:9
johnjamesjacoby — 5 months ago
- Milestone changed from 2.3 to 2.4
Moving to 2.4 so we can focus on importers then. If an urgent/compelling patch comes in, we can sneak this in to 2.3.
This sounds pretty easy, is there some user meta data that can be used to only delete users that were imported (and not users that were created outside the importer)?