aspero
Forum Replies Created
-
Did you
ALTER TABLE wp_login_redirects CHANGE rul_type rul_type ENUM( ‘group’, ‘user’, ‘role’, ‘level’, ‘all’, ‘register’ )
?
Hi drsim,
In your case you have to examin wplogin_redirect.php and make some modifications concerning DB tables (I think) – just like jlipford did.
Thank you jlipford for your nice feedback 🙂
Bartek.
wplogin_redirect.zip updated (with a few fixes).
Hi,
I also needed this functionality. I modified peters’ login redirect plugin
1. Install the latest version of peters’ login redirect – 2.5.3
http://ww.wp.xz.cn/extend/plugins/peters-login-redirect/2. Replace /wp-content/plugins/peters-login-redirect/wplogin_redirect.php
with the following file:http://www.rajewski.pl/code/wplogin_redirect.zip
3. One DB modification is needed – add “group” type of redirect:
ALTER TABLE wp_login_redirects CHANGE rul_type rul_type ENUM( 'group', 'user', 'role', 'level', 'all', 'register' )4. Setup groups in UAM and create redirect links in Peters’ Login Redirect admin panel.
Backdraws:
– Peters’ Login Redirect plugin update will of course overwrite modified file.
– Deleting UAM group doesn’t delete redirects – you have to do it manually (but I used ID’s (with autoincrease) instead of names, so these records shouldn’t cause any problems.