Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow Admin to Bulk Change levels on the User Admin page. #2981

Open
kimwhite opened this issue May 3, 2024 · 2 comments
Open

Allow Admin to Bulk Change levels on the User Admin page. #2981

kimwhite opened this issue May 3, 2024 · 2 comments

Comments

@kimwhite
Copy link
Contributor

kimwhite commented May 3, 2024

This feature would be similar to the Change Role features that is part of WP on the User Admin Page.
Check off the users you want to change, then select what membership level you want to change them to, and hit the change button.

admin-change-levels

Describe alternatives you've considered
Add feature to PMPro Members List? or Toolkit?

@jahidhasan018
Copy link
Contributor

jahidhasan018 commented May 8, 2024

image

I have experience in implementing a similar feature for one of my clients in the past. They required a filter system to sort users based on their membership level and also wanted the option to bulk assign the level of selected users. I am interested in integrating this feature into the core, but I need guidance on which file to add the code.

@MaximilianoRicoTabo
Copy link
Contributor

MaximilianoRicoTabo commented May 15, 2024

hey @kimwhite wrote this recipe that works the way you describe. It would be nice to test it further but at a glance it works nice.

https://gist.github.com/MaximilianoRicoTabo/65c7e5e52d0749bd98306da47802566a

DISCLAIMER:
It has been brought to my attention that things trigger off a membership level change often, which need to hit third parties, and so users can expect timeouts and rate limiting often when bulk editing even a relatively small number of members depending on their hosting and how things are wired up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants