Help Center

Powered by Minitek FAQ Book

[AUTHOR_NAME] doesn't work in email templates

A
AntonPosted 4 months ago

Hi! For some reason [AUTHOR_NAME] doesn't work in email templates.  This tag comes out blank in moderator notification. Any ideas why?

Loading...
0
#3478

8 answers

M
MinitekPosted 4 months agoModerator

Hi there,

Which template are you referring to? Is it the "New Question" template?

A
AntonPosted 4 months ago

Yes, it is "New Question".

A
AntonPosted 4 months ago

Any news on the issue?

M
MinitekPosted 4 months agoModerator

Can you please create a new question in the topic Собаки with a registered user?

I want to check the email that I will receive.

A
AntonPosted 4 months ago

I wasn't planning to have registered users to ask questions just yet. But ok

Just created 3 questions with a public user, a super user and a registered user. But no emails were sent to moderators. At least none were received. The author (public user)  got notification though.

Should you need any more tests please feel free to create new questions by yourself.

M
MinitekPosted 4 months agoModerator

You did not receive the notifications because I changed the topic moderator to myself, so I'm the only one receiving notifications at the moment for this particular topic.

This is the email that I received:

Здравствуйте, minitek!

Новый вопрос был задан в теме Собаки. Спрашивает HOT support.

Test question 2
Test question 2



The author is displayed: HOT support

The author will not be displayed if it's a non-logged in user though.

A
AntonPosted 4 months ago

Ah, I see. Thanks for clarifying. Is it too much to ask to fix this so a public user's name too gets displayed in the notification?

I mean, there is an input that a public user is required to fill out when posting a question which would be only logical to use exactly for that:

<input type="text" name="jform[created_by_name]" id="jform_created_by_name" value="" class="inputbox required" size="20" required="required" aria-required="true">

M
MinitekPosted 4 months agoModerator

Sure, it will be added in next version.