Disable Registration

24.01.2012 14:49
#1
sp34k
Joomshopping forum user no avatar
Name: sp34k
26.11.2011
Posts: 8
Quote
Disable Registration

Cheers,

When I purchase a product from PaulFromStokeUK.com -> CDs
and come back later to purchase another CD, then I'm told:

This e-mail is already registered. If you forgot the password, click on the Lost your Password link and a new password will be sent to you.

I have turned Purchase Without Registration under:/administrator/index.php?option=com_jshopping&controller=config&task=adminfunction
To: Without

Is it possible to turn the registration totally off so the same Email can be used again?


Last change: 24.01.2012 14:53
 
24.01.2012 15:21
#2
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25919
Quote
Aw: Disable Registration

See version 3.4.2

see file

components\com_jshopping\models\userguest.php

 
24.01.2012 15:37
#3
sp34k
Joomshopping forum user no avatar
Name: sp34k
26.11.2011
Posts: 8
Quote
Aw: Disable Registration

I just downloaded the latest version and uploaded it via "Install/Update" but it still appears as Version 2.9.7 under "About Us".

Also, I just looked inside the file you mentioned and uhm, what am I suppose to do there exactly?

I can find: // check for existing email - am I suppose to delete that validator orr?


Last change: 24.01.2012 15:41
 
25.01.2012 20:34
#4
sp34k
Joomshopping forum user no avatar
Name: sp34k
26.11.2011
Posts: 8
Quote
Aw: Disable Registration

Any idéas guys? I dont think the "update" feature seems to work, I've downloaded the latest version but it doesnt rly change anything.

 
25.01.2012 21:54
#5
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25919
Quote
Aw: Disable Registration

Version?

 
26.01.2012 08:09
#6
sp34k
Joomshopping forum user no avatar
Name: sp34k
26.11.2011
Posts: 8
Quote
Aw: Disable Registration

I downloaded v3.4.2 and used the Install/Update feature. I don't feel like removing the currently installed, outdated version: 2.9.7. and start all over so I guessed the Updating feature could do the trick for me?

 
26.01.2012 08:55
#7
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25919
Quote
Aw: Disable Registration

1. joomshopping 3.x - joomla 1.6, 1.7, 2.5
joomshopping 2.x - joomla 1.5

 
26.01.2012 16:57
#8
sp34k
Joomshopping forum user no avatar
Name: sp34k
26.11.2011
Posts: 8
Quote
Aw: Disable Registration

Soo, there's no way of solving this issue within v.2.9.7 ?
I am currently Joomla 1.5 due to plugins combability. So, if theres a fix for 1.5 I would be much interested.

 
26.01.2012 19:18
#9
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25919
Quote
Aw: Disable Registration

components\com_jshopping\models\userguest.php

delete rows


// check for existing email
$query = "SELECT id FROM #__users WHERE email = '" . $db->getEscaped($this->email) . "' AND id != " . (int)$this->user_id;
$db->setQuery($query);
$xid = intval($db->loadResult());
if($xid && $xid != intval($this->id)) {
$this->_error = addslashes(_JSHOP_REGWARN_EMAIL_INUSE);
return false;
}


 
28.01.2012 11:50
#10
sp34k
Joomshopping forum user no avatar
Name: sp34k
26.11.2011
Posts: 8
Quote
Aw: Disable Registration

Thank you very much buddy! It did the job beautifully :)

 


Copyrights MAXXmarketing GmbH. Alle Rechte vorbehalten
Durch die Nutzung dieser Website stimme ich zu, dass Cookies zur optimalen Gestaltung der Website sowie zur Analyse der Nutzung der Website verwendet werden. Weiterführende Informationen finden Sie hier. OK, einverstanden.