Curshad Posted June 10, 2014 Report Share Posted June 10, 2014 Hey guys, I just recently found out that in the Pilot manager addon i have (not sure whichh version) Has my Name in emails i sent to other pilots. Here is the code let me know how i can fix. Please. <p>Dear <?php echo Auth::$userinfo->firstname.' '.Auth::$userinfo->lastname; ?>,</p> You are required to submit one PIREP per month. Your last PIREP was sent on <?php echo Auth::$userinfo->lastpirep?>.</p> Please be advised if you do not send a report within the next 2 days your account will be deleted. Sincerely SkyBahamas Virtual - Administrative Staff And as an example, lets say i email a pilot name John Sky, and i sent him a warning email it would show up as Dear Curshad Nairn, You are required to submit one PIREP per month. Your last PIREP was sent on 2013-08-18 21:33:23. Please be advised if you do not send a report within the next 2 days your account will be deleted. Sincerely SkyBahamas Virtual - Administrative Staff Quote Link to comment Share on other sites More sharing options...
Tom Posted June 10, 2014 Report Share Posted June 10, 2014 Auth::$userinfo is the user info of the currently logged in user. You need to find the variable it uses for the user you're sending to. Quote Link to comment Share on other sites More sharing options...
Curshad Posted June 11, 2014 Author Report Share Posted June 11, 2014 Thanks for that piece of information. anyone can think of a code that should work? Quote Link to comment Share on other sites More sharing options...
RocketRod Posted June 11, 2014 Report Share Posted June 11, 2014 I use a separate login of flight dispatch (assigned to staff), and have that email address in the site settings (not the original installers email). I then forward that email address where it's needed. So all site communication comes from one anonymous email. Quote Link to comment Share on other sites More sharing options...
Curshad Posted June 25, 2014 Author Report Share Posted June 25, 2014 <p>Dear <?php echo Auth::$userinfo->firstname.' '.Auth::$userinfo->lastname; ?>,</p> You are required to submit one PIREP per month. Your last PIREP was sent on <?php echo Auth::$userinfo->lastpirep?>.</p> Please be advised if you do not send a report within the next 2 days your account will be deleted. Sincerely SkyBahamas Virtual - Administrative Staff Anyone knows how i can correct that? like i said it sends my name to the person Im sending the warning to. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.