Version History
2.0
- added: support for custom redirect options (like [wwwroot]pg/profile/[username])
1.1
- added: dutch translation
1.0
- first release
View Jeroen Dalsem's plugins
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
Nice one.Work perfectly.You can still add to select if new member and old member direction so that someone can direct new member to invite friends and old member can chose..Nice one .Keep it up..
Saw it a while ago, and installed it at once. JERO is really IN now :)
Thanks for paying attention to something really essential. A general tendency of among dvelopers these days is to go for bells and whistles straight away while some of basic needs remain mostly or wholly unattended.
Hi,
where can i set these options ???
Does it work in elgg 1.6.1 ???
Good plugin!
Is there any way to redirect it to edit the user's profile fields but only on the first login?
Back to you, Jeroen.
Does it work with elgg 1.7 version?
@DoubleL --> There is another PlugIn that does exactly.. just searcg for it ;-)
@Shillo --> I think it should be oki with v1.7.. but have you tried it with v1.7 ? ;-O then you'll find out..
oopssz types lolz ;-)
It works well with 1.7, Dhrup. Thanks.
How would I make this plugin have an option to "forward($_SERVER['HTTP_REFERER']);" so users are taken back to the page they logged into using a topbar/lightbox login form? This third option would be fantastic!
Go to your Tools administration page. There, you should see the options under the settings link on the plugin header tab.
@Mark Bridges: i added this line into the start.php of the plugin to make it work:
if(empty($custom)){
$_SESSION['last_forward_from'] = $_SERVER['HTTP_REFERER'];
}
Insert this in the function redirectAdmin() below:
if(!empty($custom)){
$custom = str_replace("[wwwroot]",$CONFIG->wwwroot,$custom);
$custom = str_replace("[username]",$username,$custom);
$_SESSION['last_forward_from'] = $custom;
}
if(empty($custom)){
$_SESSION['last_forward_from'] = $_SERVER['HTTP_REFERER'];
}
To make it work, set the admin settings of the plugin to "use custom redirect" and leave the custom redirect field below empty. It also works in combination with the first login redirector plugin.
If a user logs in on one of the elgg pages they will be not anymore redirected to the dashboard but back to the page they used for their log in.
And yes it is a hack, but works.