Way to edit the notification sent after creating a user account

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
kgr2020@nglt.pl
Posts: 1
Joined: 04 Dec 2023, 13:44

Way to edit the notification sent after creating a user account

Post by kgr2020@nglt.pl »

Hello,
I'm looking for a way to edit the notification sent after creating a user account, notification contents:

"The user Kamil_Grochowski has created an account for you with username "TESTOWE". In order to complete your registration, visit the following URL (make sure it is entered as the single line) and set your own access password:

*LINK TO SET PASSWORD...

If you did not request any registration, ignore this message and nothing will happen.

Do not reply to this message"

Where should I look for this message template?

Please HELP :)
cas
Posts: 1622
Joined: 11 Mar 2006, 16:08
Contact:

Re: Way to edit the notification sent after creating a user account

Post by cas »

That wiould mean adjusting a core file which is not the best way forward (needs to re-applied after each update of Mantis).
Loo at function email_signup in core/email_api.php
atrol
Site Admin
Posts: 8378
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Way to edit the notification sent after creating a user account

Post by atrol »

This is the way to customize strings
https://www.mantisbt.org/docs/master/en ... ze.strings
This works as long as you don't change the number or the ordering of placeholders in the string.
Whenver upgrading, check if the changed string is changed in MantisBT
Please use Search before posting and read the Manual
Post Reply