Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Allow Same Email to be used without logging in?

Allow Same Email to be used without logging in? 13 years 11 months ago #11453

  • ismadman
  • ismadman's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 97
  • Thank you received: 0
I have quite a weird situation.
We NEED to allow the same email address when filling in the registration
( Because we have Parents and children registrations )
So the kids NEED to use the parents email address
All good . I found the Hack to disable joomla stopping it
http://www.practicaljoomla.com/tiny-iss ... il-address
But looking at the form code , Seems DT REG is bypassing joomla check email and using a JS file? Am I correct?
As The hack works for joomla but not for the reg forms
(Ajax check)
I need to disable the Email authentication ASAP as training for this with 10 girls is happening tonight ( About 6 hours )
And release is on the 29th JAN .
So If DT Admin could tell me which file the authentication is in that would be great

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

Allow Same Email to be used without logging in? 13 years 11 months ago #11454

  • dthadmin
  • dthadmin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 5470
  • Thank you received: 3
No hacking needed. If you want to enable people registering with the same email address, simply disable the duplicate registration prevention feature. This is on the first tab in Configuration. That check has no connection to users, but just checks the actual email address entered in the form.

Or, if needed, you can leave this feature enabled globally, but then for just certain events, you can BYPASS this check per event. In the event setup, towards the bottom of the first tab you'll see an option to ignore the duplicate registration prevention check.

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

Allow Same Email to be used without logging in? 13 years 11 months ago #11455

  • ismadman
  • ismadman's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 97
  • Thank you received: 0
Thanks for the quick response DTH
But I have it set to no
Duplicate Registration Prevention: no
Already and it still comes up with
A user account already exists with this email account. If it is yours, please login prior to registering for this event.
So i tried with the Event Overide setting and same thing
These People registering cannot be logged into the site during registration
They must do a public registration yet be able to sign up with an email address already assigned a joomla account .

Can you see my problem?

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

Allow Same Email to be used without logging in? 13 years 11 months ago #11472

  • marcporter
  • marcporter's Avatar
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 23
  • Thank you received: 0
That's because you are trying to create users with your registration. Disable the feature to create new users, "Joomla User Auto-Creation: NO"

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

Allow Same Email to be used without logging in? 13 years 11 months ago #11495

  • ismadman
  • ismadman's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 97
  • Thank you received: 0
No I can't do that Marc . The users must be able to get a joomla account with each registration . As I said in my first post , I have disabled the joomla Email check and that works fine ( If I try to sign up another account using the same email address )
And the Duplicate Registration Prevention in the config tab is set to no . I have tried changing it and it makes no difference . So my question still is how is dt reg checking for the email address when it shouldnt be?
Unless its because the user that is registering is not already logged into joomla?
I just need to know how/where to disable the check for email and my problem will be solved .

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

Allow Same Email to be used without logging in? 13 years 11 months ago #11501

  • dthadmin
  • dthadmin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 5470
  • Thank you received: 3
ismadmin - here is a hack for you that should get you what you need. Go to this file and modify function uniqueUser():
/components/com_dtregister/controllers/validate.php

Around line 192, you'll find this:
}else{

		   $email=array_pop($_GET['Field']);

		   $where = " email='".$email."' ";

		}

CHANGE IT TO:

}else{

		   // $email=array_pop($_GET['Field']);

		   // $where = " email='".$email."' ";

		}

Then you should have the username validated but not the email for the new joomla user account. Of course, if someone is already logged in, the user account creation fields will not show. Maybe you should encourage families to login first with whatever account they created in their first registration.

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

  • Page:
  • 1
  • 2
Time to create page: 0.158 seconds