[RSS Feed/News] How to get User data in templatePostRender?

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
Hi,

my goal is to dynamically replace some html code in all E-Mails based on the selected language of the user (receiver of that E-Mail).

I therefore created a simple addon, inspired by the code in this discussion (XF 2.1 - Parsing Smilies in Emails) which works great as is it is. But I don't want it to change every E-Mail but only E-Mails send to users with a specific Language ID (in my case language_id = 4)

I tried to extend the if statement...

Read more

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom