From 28bacb6dca58ad2bf8d6d3642e5275c339301c34 Mon Sep 17 00:00:00 2001 From: Matthew Juhl <mjuhl24@gmail.com> Date: Fri, 28 Aug 2009 22:39:29 +0000 Subject: [PATCH] --- flexprofile_mj/actions/edit.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/flexprofile_mj/actions/edit.php b/flexprofile_mj/actions/edit.php index 6fe49c9c..889f7b2e 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 -- GitLab