Email subject

Hi,

How can I change the subject of the email sent when a new pilot registers? Example: “Your account was created”

Thanks!

It’s hardcoded for now, I can change that for a future version

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!

Gotcha, I made a note to change that

Thanks a lot!  ;D

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.

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_

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.

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']})";

Exactly what I was looking for. Thanks for the help, simpilot.