MyBB Community Forums

Full Version: Mailtemplates
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

In the messages.lang.php files you are able to edit the mailtemplates of the automated mailingsystem.

But what I am trying to figure out is how the variables between curly brackets work... for exemple {2} this is the name of an author in the $l['email_subscription'] array .... how could I extract that name out of there to poor it into another standard php variable like: $username ?
Some of those variables are hard coded with no easy way to change, others are editable in the language files.