Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Replacing first occurance of [USER_NAME] / [USER_FULLNAME] in registration email with value of user_

Asked Modified Viewed 1,051 times
J
janmol
J
janmol 10
...........................
Jan Mølgård
PHP-Fusion, Denmark
Phone: 004528966794
Mail: janmol@wordit.dk
Mail: janm@janm.dk

Testsite version 9: http://php-fusion.dk/fusion_9_test/
  • Veteran Member, joined since
  • Contributed 752 posts on the community forums.
  • Started 256 threads in the forums
  • Started this discussions
asked
Veteran Member

I want to do this:
1. Add new user from admin members section
2. Send confirmation email (members_email.php) where code looks like this now:
$locale['email_create_message'] = "Hello [USER_NAME],\n
Your account at ".$settings['sitename']." has been created.\n
You can now login using the following details:\n
username: [USER_NAME]\n
password: [PASSWORD]\n\n
Regards,\n
".$settings['siteusername'];

with this:
$locale['email_create_message'] = "Hello [USER_FULLNAME],\n
Your account at ".$settings['sitename']." has been created.\n
You can now login using the following details:\n
username: [USER_NAME]\n
password: [PASSWORD]\n\n
Regards,\n
".$settings['siteusername'];

where [USER_FULLNAME] should be replaced with the content of a user_field called user_fullname.

I have tried a lot of possibilites, but it's not working. Would really appreciate a helping hand here ... where to cange - what to change ... you know

Fusion-version: 7.02.x
0 replies

1 post

F
Falk
F
Falk 146
Need help?, Having trouble?
• View our Documentation for Guides, Standards and Functions
• Name and Organize your Topics and Content correctly in the corresponding Forums for best support results
• Attaching Log Files and Screenshots when reporting issues will help
• Provide with an URL to live example if one exists
• Please read the How to Report an Error post
• Please read and comply with the Code of Conduct

(¯·._.·(¯°·._.·°º*[ Project Manager ]*º°·._.·°¯)·._.·¯)
  • Super Admin, joined since
  • Contributed 6,201 posts on the community forums.
  • Started 639 threads in the forums
  • Answered 12 questions
answered
Super Admin

to call users´s fields you use
$userdata['user_fullname']
if the value of that field exist in your user fields table.
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 1 post
  • Votes 0 votes
  • Topic users 2 members

2 participants

F
F
Falk 146
Need help?, Having trouble?
• View our Documentation for Guides, Standards and Functions
• Name and Organize your Topics and Content correctly in the corresponding Forums for best support results
• Attaching Log Files and Screenshots when reporting issues will help
• Provide with an URL to live example if one exists
• Please read the How to Report an Error post
• Please read and comply with the Code of Conduct

(¯·._.·(¯°·._.·°º*[ Project Manager ]*º°·._.·°¯)·._.·¯)
  • Super Admin, joined since
  • Contributed 6,201 posts on the community forums.
  • Started 639 threads in the forums
  • Answered 12 questions
J
J
janmol 10
...........................
Jan Mølgård
PHP-Fusion, Denmark
Phone: 004528966794
Mail: janmol@wordit.dk
Mail: janm@janm.dk

Testsite version 9: http://php-fusion.dk/fusion_9_test/
  • Veteran Member, joined since
  • Contributed 752 posts on the community forums.
  • Started 256 threads in the forums
  • Started this discussions

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet