EricThePanic Posted May 15, 2009 Report Share Posted May 15, 2009 Hi, How can I change the subject of the email sent when a new pilot registers? Example: "Your account was created" Thanks! Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted May 15, 2009 Administrators Report Share Posted May 15, 2009 It's hardcoded for now, I can change that for a future version Quote Link to comment Share on other sites More sharing options...
EricThePanic Posted May 15, 2009 Author Report Share Posted May 15, 2009 All right! It's only because I'm skinning my phpvms to a french version, and would have liked my members to receive a message in french, but that's ok! Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted May 15, 2009 Administrators Report Share Posted May 15, 2009 Gotcha, I made a note to change that Quote Link to comment Share on other sites More sharing options...
EricThePanic Posted May 15, 2009 Author Report Share Posted May 15, 2009 Thanks a lot! ;D Quote Link to comment Share on other sites More sharing options...
AGuyFawkesMask Posted September 14, 2011 Report Share Posted September 14, 2011 Sorry to bump this ancient topic, but was this ever resolved in a future version of phpVMS? Perhaps the current version? I'm assuming it was, but I've been hunting this particular item down all afternoon and I can't seem to find the right file & directory. Thanks. Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted September 16, 2011 Administrators Report Share Posted September 16, 2011 There are 5 email templates for various things in the core/templates folder that you can move to your skin folder and customize. They all start with email_ Quote Link to comment Share on other sites More sharing options...
AGuyFawkesMask Posted September 16, 2011 Report Share Posted September 16, 2011 Right, and I was able to successfully edit all of those files. But, these *.tpl files only have to do with email content. I wasn't able to edit the subject lines. Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted September 21, 2011 Administrators Report Share Posted September 21, 2011 You will have to dig around the core files to find the subject lines for emails. For example the subject line for the PIREP submitted email to the admin is in /core/common/PIREPData.class.php around line #814 $sub = "A PIREP has been submitted by {$pilotcode} ({$pirepdata['depicao']} - {$pirepdata['arricao']})"; Quote Link to comment Share on other sites More sharing options...
AGuyFawkesMask Posted September 21, 2011 Report Share Posted September 21, 2011 Exactly what I was looking for. Thanks for the help, simpilot. 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.