Hi all,
I'd like to add the account ID to email template.
Capture.PNG
Could someone please help?
Thank you so much!
Regards,
Dylan
Hi all,
I'd like to add the account ID to email template.
Capture.PNG
Could someone please help?
Thank you so much!
Regards,
Dylan
Hello,
It will require additional modifications in php code
it depends in what template you need to use your account id
actually, you can write to your account from admin panel: Accounts > your account > click on 'Name' > 'Contact Dealer' button
Last edited by Rudi; December 11, 2018 at 04:44 AM.
Hi Rudi,
Where I can go to modify PHP code for email templates in CPanel?
I want to add Account ID to the emails once he signs up the account or signs in from Social plugin.
Thanks for your help!
Regards,
Dylan
That account ID is just number, it's not really the ID your want. May be you want username instead? Username is also unique and created by user or his/her email address.
Use a new placeholder {account_id} in the following email templates: account_created_pending, account_created_active and account_created_incomplete
then go to ftp > includes > classes > rlAccount.class.php > sendRegistrationNotification
find a code:
and change it to:PHP Code:
Only registered members can view the code.
and also change:PHP Code:
Only registered members can view the code.
to:PHP Code:
Only registered members can view the code.
PHP Code:
Only registered members can view the code.
Hi Hong,
Thanks for your help! I want to use username, too. But it does not work, it just shows {username} in my email instead of the actual username. Did I miss something?
you should use {name} placeholder actually
Hi Rudi,
Thanks for your help! I'll change code and check it out.
I also have the issue using the variable {username} in email template, it does not work.
Rudi,
Thanks for your quick response! I'll try again.
Hi Rudi,
Placeholder {name} shows but it isn't unique.
I'll use either {login} or {account_id} for my site since they're unique.
I have one more question.
I've installed the Reference Number Plugin and I would like to add the REF. number into the email template once user posts an Ad.
Can you help me this?
Thanks,
Dylan