E-mail at registration problem

12 years 5 months ago - 12 years 5 months ago #183136 by otto@reveal.co.za
E-mail at registration problem was created by otto@reveal.co.za
Hi,
The problem I have seems to an old issue: How can I get rid of the duplicate e-mail at registration?

The platform I am developing has different types of members and one of the types of members will not even have an e-mail address. These members must reside in the central database as we communicate to them via sms's and in some cases e-mails to a central management body or co-ordinator. These co-ordinators will in some cases do the registrations for the members. I have tried a couple of methods which all are extremely messy and non productive, like to use fake e-mail addresses like XMB234754897@domain.com which use the membership number and some fake "@" address. These work but again causes problems when you send out mass e-mails to the database.

The ideal solution would be something like switching of the central Joomla e-mail at registration function and have fields or switches that would activate and allow for e-mail activation and registration to specific groups of members.

Any idea as to how, what or where I can get closer to solving this major problem will be greatly appreciated. I never thought at design time of this specific platform that this would be a issue at all. MAN, WAS I MISCALCULATING THIS PROBLEM!

Thank you so much in advance!

Otto von Kloëg
South Africa

Please Log in to join the conversation.

12 years 5 months ago #183153 by krileon
Replied by krileon on topic Re: E-mail at registration problem
Duplicate email happens on J1.7 when creating users on backend. It will not affect frontend. This is a problem within J1.7 it self where their Joomla user plugin sends the email, but has no way of disabling it. To my knowledge it's still the case and there's no workaround other then not sending any email at all (either by supplying fake email, save, edit, supply real email or disabling emails globally).


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

12 years 5 months ago - 12 years 5 months ago #183224 by otto@reveal.co.za
Replied by otto@reveal.co.za on topic Re: E-mail at registration problem
Thank you for the reply,

I did some further investigation regarding the e-mail problem and it seems that there is a lot of discussion regarding this problem. A thread for this is : forum.joomla.org/viewtopic.php?t=167296

They mention a crack in the code which I applied and it seems to work OK!

I am of course not sure as yet what the implications would be to the rest of the Registration Workflow but I will have to test it as we go.

I have about 1.2 million people that will need to be registered on the system within the next six months and we thus have to start as soos as possible to get the web running and have people register.

Do you by any chance know about any bulk upload software that will be able to load members into the database?

Here is the code that was commented out in the file libraries/joomla/database/table/user.php

The code in Joomla 1.7 is on line 225 and is commented out as such:
(this is the code to check if the e-mail is already in the database)

//* if ($xid && $xid != intval($this->id)) {
// $this->setError(JText::_('JLIB_DATABASE_ERROR_EMAIL_INUSE'));
// return false;
// }

The code for checking if a e-mail is entered in the e-mail field is in the same file as above and starts on line 192:
(this will allow you to leave the e-mail field blank. Also commented out)

//*if ((trim($this->email) == "") || ! JMailHelper::isEmailAddress($this->email)) {
//* $this->setError(JText::_('JLIB_DATABASE_ERROR_VALID_MAIL'));
//* return false;
//*}

The other thing to make sure of, of course, is that the Required tic in the Field Manager of CB should be marked as NOT REQUIRED otherwise one still get's the problem that it still asks for a e-mail to be entered.

I would also like to know if it is possible to change or to remove some of the pre-defined fields in like the name, firstname, middle name and last name fields?

Thank you again ad have a great day!

Please Log in to join the conversation.

12 years 5 months ago #183235 by nant
Replied by nant on topic Re: E-mail at registration problem
Not sure that this old hack will work.

Did you try the username recover reminder functionality where 2 users share the same email address and one of them forgot his/her username?

Hacks are quick changes that almost never think of the complete picture or situation.

Please Log in to join the conversation.

12 years 5 months ago #183237 by otto@reveal.co.za
Replied by otto@reveal.co.za on topic Re: E-mail at registration problem
Nick,

Not sure what you mean by the "did you try the username recover reminder functionality where 2 users share the same email address and one of them forgot his/her username?" What must I do with this?

For sure that hacks is not the answer and could mess up things on lots of other places but then again if your back is against the wall and with something that should not have been a problem at all, what do you do?

Is there any other possible solutions that you could reccommend?

Regards,

Otto

Please Log in to join the conversation.

12 years 5 months ago #183238 by nant
Replied by nant on topic Re: E-mail at registration problem

otto@reveal.co.za wrote: Not sure what you mean by the "did you try the username recover reminder functionality where 2 users share the same email address and one of them forgot his/her username?" What must I do with this?


What I mean is what happens is user1 and user2 are using the same email address and one of them forgets his username. Joomla has a function that will send a username reminder message if user provides their email address. If 2 usernames are using the same email address, how will this function react?

Does it fail?
Does it send whatever it finds first?

Is there any other possible solutions that you could recommend?


I wish I could, but I cannot.

I am just pointing out issues that most likely lead to the unique email address requirement to begin with.
The following user(s) said Thank You: otto@reveal.co.za

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.226 seconds

Facebook Twitter LinkedIn