MyBB Community Forums

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

Does someone knows how to use the avatar of the last replied person into an automated notification mail?

I know how to do it but there misses one peace of information and that's how to translate the template variables within curly brackets to normal php $ string variables.

I basically want to achieve this:
[attachment=39304]

but I only got tho this so far:
[attachment=39305]

bump, anyone?
bump...
Variables can be used with or without the curly braces. The curly braces are often used to determine and highlight where the variable actually finishes. Refer to this post.
I still don't understand it fully...

If this array: $l['email_subscription'] holds {2} as the author.. How can I use it to perform a query ?
I am interested as well, nice request
ty Eldenroot for backing me up.
Can somebody clarify how to use the {} template variables for further manipulation?
bump? Sad