• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: Admin email

Admin email 13 years 1 month ago #13013

  • rayge
  • rayge's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 8
Is there an easy way to add a tag in the Admin email portion to also show the email that was submitted when set to email download?
The administrator has disabled public write access.

Re:Admin email 13 years 1 month ago #13084

  • andreic
  • andreic's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 722
  • Thank you received: 59
Hello,

This can be achieved but it will require some component source code modifications. Please try editing the files.php file from components/com_rsfiles/controllers and adding following line:
$_SESSION['rsfl_email'] = $to;

after:
$to = JRequest::getVar('rsfl_email','','post');

Then edit the files.php file from components/com_rsfiles/models and replace:
$bad = array('{filename}','{ip}','{username}',);
				$good = array($fullpath,$_SERVER['REMOTE_ADDR'],empty($user->username) ? JText::_('RSFL_GUEST') : $user->username);

with
$bad = array('{filename}','{ip}','{username}','{email}');
				$good = array($fullpath,$_SERVER['REMOTE_ADDR'],empty($user->username) ? JText::_('RSFL_GUEST') : $user->username,$_SESSION['rsfl_email']);
Please note: my help is not official customer support. To receive your support, submit a ticket by clicking here
Regards,
RSJoomla! Development Team
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!