• 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: check availability of email if is not registered

check availability of email if is not registered 12 years 4 months ago #20187

when i approve a new payment, if the email of the registration is the same of a user already present in joomla, the system upgrade and create the membership to this user .
also if i fill the form without login as a member...
it s ok this operation... because the email is the same and joomla can not create 2 user with the same email

so...i would like to have an email control similar to username with the alert: email already exist , please insert another email.
it s possible to have this ?
Anyone can help me? thanks
the team support say that i must to edit this file....

components/com_rsmembership/views/subscribe/tmpl/default.php
The administrator has disabled public write access.

check availability of email if is not registered 12 years 4 months ago #20424

  • seth33
  • seth33's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 6
I see this as a major security issue. I theory, one could change all the information stored in custom fields of a subscriber without knowing the subscribers user name, rather simply by knowing their email address!

I too will require a solution to this issue and have submitted a support ticket. Hopefully RSJoomla will address this security issue and supply a reasonable solution quickly.

If YOU have found a solution, would you be willing to share it here?

Kind Regards

Seth
The administrator has disabled public write access.

check availability of email if is not registered 12 years 4 months ago #20430

  • octavian
  • octavian's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 783
  • Thank you received: 110
This is not a security issue as the information will be changed only after the payment is made. So, if somebody would want to change your custom information (again, not a security issue, nothing related to email/username/password), they'd have to pay for your membership.
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.

check availability of email if is not registered 12 years 4 months ago #20439

  • seth33
  • seth33's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 6
Octavian_

Understood - however, in my case, a free student subscription is offered. Thus it's easy for someone who happens to know an email of a current user, to create a new free student subscription for that user, therefore changing all of the personal information stored.

Additionally, this can cause confusion for an existing member. Example:
An existing member forgets that they are an existing member. They purchase a new membership using a NEW username, a NEW password, but an old email. Once the subscription is created, the custom field data is updated, however, the username and password are not changed. If that user then tries to log in using their NEW username and NEW password, the system says they don't exist. Thus the problem.

When I say Security issue I do NOT mean to say that the information is not secure in that it could be stolen or used maliciously, only that, like in the free subscription scenario, information could be changed causing an issue for the user and my client.

Can you think of any solutions? Is there a way that the email could be checked like the username is against the Joomla User database?

Kind Regards,

.:Seth
Last Edit: 12 years 4 months ago by seth33.
The administrator has disabled public write access.

check availability of email if is not registered 12 years 4 months ago #20440

  • seth33
  • seth33's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 6
Ok - a thought:

Could I create a custom email field that would check the email against the jos_users DB and then I could create a validation message that says the email is already is use? Maybe using the code:

function unique($param, $extra=null)
{
if(!RSFormProValidations::email($param,null))
return false;
$db = JFactory::getDBO();
$param = $db->getEscaped($param);
$db->setQuery("SELECT `id` FROM #__users WHERE `email`='".$param."'");
$db->query();
$invalid = $db->getNumRows();
if ($invalid)
return false;
return true;
}

I don't see anywhere in the RSMembership custom filed area that will allow me to place any code though.

Respectfully,

Seth
The administrator has disabled public write access.

check availability of email if is not registered 12 years 4 months ago #20449

thanks seth33
The administrator has disabled public write access.

check availability of email if is not registered 12 years 4 months ago #20539

thanks for your reply!
i'm not an expert of php code... :(
so..there's a solution?
best regards
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!