diff --git a/flexprofile_mj/actions/edit.php b/flexprofile_mj/actions/edit.php index 6fe49c9c28d4a24b66df13360751ff76b1f0ae1f..889f7b2e543b5ad9b1b171864786575b01196ee2 100755 --- a/flexprofile_mj/actions/edit.php +++ b/flexprofile_mj/actions/edit.php @@ -29,6 +29,11 @@ if ($user && $user->canEdit()) { //add to river add_to_river('river/user/default/profileupdate','update',$user->guid,$user->guid); + if ($_POST['firstlogin'] == 'yes'){ + system_message("Your profile has been created! Now add a profile picture to finish putting yourself on the map. Click the 'Home' tab to return to the map."); + forward($user->getUrl() . "/editicon?firstlogin=yes"); + } + system_message(elgg_echo("profile:saved")); // Forward to the user's profile