Customize administrator user registration email
- abstractimagegroup
-
Topic Author
- Offline
Less
More
11 years 6 months ago #195824
by abstractimagegroup
Abstract Image Group | Fulfilling all of your large format printing needs!
-- url of the page with the problem -- :
www.accuratesurgical.com/products/user/form
-- HikaShop version -- : HikaShop [1411161808]
-- Joomla version -- : 2.5.28
-- PHP version -- : 5.4.34
-- Browser(s) name and version -- : Chrome Version 41.0.2272.89
I want to include all of the fields for this registration form in the administrator email for activations.
www.accuratesurgical.com/products/user/form
-- HikaShop version -- : HikaShop [1411161808]
-- Joomla version -- : 2.5.28
-- PHP version -- : 5.4.34
-- Browser(s) name and version -- : Chrome Version 41.0.2272.89
I want to include all of the fields for this registration form in the administrator email for activations.
www.accuratesurgical.com/products/user/form
Abstract Image Group | Fulfilling all of your large format printing needs!
Please Log in or Create an account to join the conversation.
- abstractimagegroup
-
Topic Author
- Offline
11 years 6 months ago #195825
by abstractimagegroup
Abstract Image Group | Fulfilling all of your large format printing needs!
Replied by abstractimagegroup on topic Customize administrator user registration email
This is the email I receive currently.
Abstract Image Group | Fulfilling all of your large format printing needs!
Please Log in or Create an account to join the conversation.
11 years 6 months ago #195826
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Replied by Jerome on topic Customize administrator user registration email
Hi,
You need to override the email "user_account_activation" in your HikaShop email (System > Emails).
(please note that the email edition is provided by HikaShop Business ; version that you have, but just in case)
In the $data variable you will have access to all registration field that HikaShop had when the user registered.
Regards,
You need to override the email "user_account_activation" in your HikaShop email (System > Emails).
(please note that the email edition is provided by HikaShop Business ; version that you have, but just in case)
In the $data variable you will have access to all registration field that HikaShop had when the user registered.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Please Log in or Create an account to join the conversation.
- abstractimagegroup
-
Topic Author
- Offline
11 years 6 months ago #195925
by abstractimagegroup
Abstract Image Group | Fulfilling all of your large format printing needs!
Replied by abstractimagegroup on topic Customize administrator user registration email
Ok great, and where would I find the ID's for those custom fields to place in the form? I am assuming it will be something like $data->address_street? I also noticed that I do not see a "user_account_activation" email present. I have "User account administrator notification" and "User Account"
Abstract Image Group | Fulfilling all of your large format printing needs!
Please Log in or Create an account to join the conversation.
11 years 6 months ago #195933
by nicolas
Replied by nicolas on topic Customize administrator user registration email
Hi,
It's the "User account administrator notification" email.
For custom user fields, it's that code:
echo $data->user_data->field_column_name;
For custom address fields, it's that code:
echo $data->address_data->field_column_name;
And if the column name of your custom field is address_street, then it would be that code:
echo $data->address_data->address_street;
It's the "User account administrator notification" email.
For custom user fields, it's that code:
echo $data->user_data->field_column_name;
For custom address fields, it's that code:
echo $data->address_data->field_column_name;
And if the column name of your custom field is address_street, then it would be that code:
echo $data->address_data->address_street;
The following user(s) said Thank You: abstractimagegroup
Please Log in or Create an account to join the conversation.
- abstractimagegroup
-
Topic Author
- Offline
11 years 6 months ago #195962
by abstractimagegroup
Abstract Image Group | Fulfilling all of your large format printing needs!
Replied by abstractimagegroup on topic Customize administrator user registration email
Thank you, Ill give it a try
Abstract Image Group | Fulfilling all of your large format printing needs!
Please Log in or Create an account to join the conversation.
- abstractimagegroup
-
Topic Author
- Offline
11 years 5 months ago #196809
by abstractimagegroup
Abstract Image Group | Fulfilling all of your large format printing needs!
Replied by abstractimagegroup on topic Customize administrator user registration email
This information did not work. Applying the changes specified did not change the admin email at all and forced a blank screen upon submit when registering. Any ideas?
Abstract Image Group | Fulfilling all of your large format printing needs!
Please Log in or Create an account to join the conversation.
11 years 5 months ago #196871
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Replied by Jerome on topic Customize administrator user registration email
Hi,
If you have a blank screen when performing a registration means that you have a PHP fatal error in your email.
You should take a look at your PHP error log or set your "error reporting level" to "maximum" in your Joomla global configuration (activating the Joomla debug mode can also help).
So you will have more details about the error and you will be able to fix the PHP code.
Regards,
If you have a blank screen when performing a registration means that you have a PHP fatal error in your email.
You should take a look at your PHP error log or set your "error reporting level" to "maximum" in your Joomla global configuration (activating the Joomla debug mode can also help).
So you will have more details about the error and you will be able to fix the PHP code.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Please Log in or Create an account to join the conversation.
10 years 11 months ago #215771
by EnerW
Replied by EnerW on topic Customize administrator user registration email
Afternoon Nicolas,
echo $data->address_data->field_column_name;
should be:
echo $data->address_data->field_column_name,
Also from one of your other informative posts, change the language file under:
HIKA_USER_ACCOUNT_ADMIN_NOTIFICATION_BODY
and add an extra %s for each extra field you want to display in the confirmation email
echo $data->address_data->field_column_name;
should be:
echo $data->address_data->field_column_name,
Also from one of your other informative posts, change the language file under:
HIKA_USER_ACCOUNT_ADMIN_NOTIFICATION_BODY
and add an extra %s for each extra field you want to display in the confirmation email
Please Log in or Create an account to join the conversation.
9 years 2 months ago - 9 years 2 months ago #273412
by byoguru
Replied by byoguru on topic Customize administrator user registration email
--EDIT--
* selecting the correct template AND making sure the edits are in the text version as well seems to be the trick to make it work.
Hello,
I found this thread for adding extra data to the ADMIN NOTIFICATION EMAIL and I have tried to make this happen but I cannot make it work.
The code i am using is below -I think I am doing something wrong but do not what?
Do you have any suggestions?
<?php
/**
* @package HikaShop for Joomla!
* @version 3.1.1
* @author hikashop.com
* @copyright (C) 2010-2017 HIKARI SOFTWARE. All rights reserved.
* @license GNU/GPLv3 www.gnu.org/licenses/gpl-3.0.html
*/
defined('_JEXEC') or die('Restricted access');
?><?php
echo JText::sprintf(
'HIKA_USER_ACCOUNT_ADMIN_NOTIFICATION_BODY',
$data->name,
$data->username,
HIKASHOP_LIVE,
$data->address_data->address_company,
$data->address_data->address_city,
$data->address_data->address_telephone
);
* selecting the correct template AND making sure the edits are in the text version as well seems to be the trick to make it work.
Hello,
I found this thread for adding extra data to the ADMIN NOTIFICATION EMAIL and I have tried to make this happen but I cannot make it work.
The code i am using is below -I think I am doing something wrong but do not what?
Do you have any suggestions?
<?php
/**
* @package HikaShop for Joomla!
* @version 3.1.1
* @author hikashop.com
* @copyright (C) 2010-2017 HIKARI SOFTWARE. All rights reserved.
* @license GNU/GPLv3 www.gnu.org/licenses/gpl-3.0.html
*/
defined('_JEXEC') or die('Restricted access');
?><?php
echo JText::sprintf(
'HIKA_USER_ACCOUNT_ADMIN_NOTIFICATION_BODY',
$data->name,
$data->username,
HIKASHOP_LIVE,
$data->address_data->address_company,
$data->address_data->address_city,
$data->address_data->address_telephone
);
Last edit: 9 years 2 months ago by byoguru.
Please Log in or Create an account to join the conversation.
Time to create page: 0.203 seconds