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 #11508

  • ismadman
  • ismadman's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 97
  • Thank you received: 0
That didnt work alone dthadmin
But I commented out line 117 as well
//$email=array_pop($_REQUEST['Field']);
And now it works great
Looking at the query below it
if(!$my->id &&  $usercreation > 0){

			$sql="SELECT COUNT(*) FROM #__users WHERE email='$email' ";

			$database->setQuery($sql);

			$total=$database->loadResult();

			if($total){

				echo JText::_( 'DT_JOOMLA_EMAIL_EXISTS' );

			}else{

			    echo "true";	

			}
			
			die ;
		}

Should I comment any of that out as well
I thought if the $email was , well NULL then it won't effect it
Anyway line 117 commented out as well so far has not caused me any problems
Thanks again :D

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

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