Group Redirect Plugin

Version
1.0.0 (last update on Nov 10, 2010)
Rating
Compatibility
Votes
Favoured
12
License
GPLv2 or later
Non-Commercial
Type
Views
22625
Date Added
23 October 2009
Example Uses:
- Redirect an Administrator to the backend login page when they login to the frontend of your site (handy if you use JSecure Authentication)
- Redirect Authors to a "Submit Article" page
- Redirect Registers Users to a personalized portal
I discovered that I needed to redirect users after logging in. Within minutes I'd found this plugin on the JED and within another few minutes I had installed the plugin and it worked perfectly. Thanks very much for solving my problem in under five minutes!
I installed this plugin and it worked great. With a little modification, you can extend this to work with other groups other than Joomla when using ACL components.
Modify the following files to work with other groups:
1) [template]/plugins/user/group_redirect.php
2) [template]/plugins/user/group_redirect.xml
For example, to add group 'Volunteers', add case statement to function onLoginUser() in group_redirect.php
case "Volunteers":
$link = $this->params->get('volunteers_url');
break;
And add corresponding entry in group_redirect.xml like the following.
Now when you go to the plugin in Joomla backend, you'll see the new field for "Volunteers URL".
Modify the following files to work with other groups:
1) [template]/plugins/user/group_redirect.php
2) [template]/plugins/user/group_redirect.xml
For example, to add group 'Volunteers', add case statement to function onLoginUser() in group_redirect.php
case "Volunteers":
$link = $this->params->get('volunteers_url');
break;
And add corresponding entry in group_redirect.xml like the following.
Now when you go to the plugin in Joomla backend, you'll see the new field for "Volunteers URL".




