Export Donors - IP Address

  • Jeff
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
4 years 5 months ago #139374 by Jeff
Export Donors - IP Address was created by Jeff
Is it possible to include IP address in Export Donors CSV file?

Please Log in or Create an account to join the conversation.

More
4 years 5 months ago #139375 by Mr. Dam
Replied by Mr. Dam on topic Export Donors - IP Address
Sure, Jeff, it's possible to add include IP address of donors in CSV file, please following below steps
1. Open file: root -> components -> com_jdonation -> helper -> data.php (by notepad or ftp software)
2. Find:
Code:
$fields[] = JText::_('Transaction ID');
and add this below
Code:
$fields[] = JText::_('IP Address');
3. Find:
Code:
$fields[] = $r->transaction_id;
and add this below
Code:
$fields[] = $r->ip_address;

Good luck
Dam

Please Log in or Create an account to join the conversation.

Moderators: Mr. DamDũng Nguyễn Việt