This annoys the life out of me. I have been manually activating users via the "List Users Awaiting Activation" page. It annoys me that I have activated a user, I get redirected to the main user management page, rather than the "List Users Awaiting Activation" page.
Open /admin/users.php
Find
cpredirect("users.php?".SID, $lang->activated);
Replace by
cpredirect("users.php?".SID."&action=find&search[usergroups][]=5&searchop[sortby]=regdate&searchop[order]=desc", $lang->activated);
LeX- Wrote:Open /admin/users.php
....
Thanks a lot LeX-. I changed the code as you recommended and it works the way Slythfox and I want it. What a relief!
Regards
Would this work on any search admins do for members in the ACP?
No =P Only when a users account gets activated.
Your request needs a different redirect change =P