Joomshopping Plugins: SimpleCaptcha

18.11.2020 22:20
#1
Stickdealer
User Stickdealer
Name: Bjoern
05.10.2011
Posts: 653
Quote
Joomshopping Plugins: SimpleCaptcha

Ich habe Joomshopping Plugins: SimpleCaptcha gekauft.

Es läuft!

Aber bei falscher Eingabe, wird der gesamte Inhalt im Formular gelöscht!

Was kann ich tun?

Gibt es einen workaround?

Kann man was in der Programmierung ändern?


Joomla: 2.5
JoomShopping: 3.20.2
PHP: 5.6
 
19.11.2020 20:28
#2
Stickdealer
User Stickdealer
Name: Bjoern
05.10.2011
Posts: 653
Quote
Aw: Joomshopping Plugins: SimpleCaptcha

Wenn die Captcha-Eingabe falsch ist, wir das gesamte Formular gelöscht!

Kann mir hier jemand weiterhelfen?

Grüße


Joomla: 2.5
JoomShopping: 3.20.2
PHP: 5.6

Last change: 19.11.2020 20:28
 
19.11.2020 21:08
#3
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25941
Quote
Aw: Joomshopping Plugins: SimpleCaptcha

Will be fixed in new version.

 
19.11.2020 22:06
#4
Stickdealer
User Stickdealer
Name: Bjoern
05.10.2011
Posts: 653
Quote
Aw: Joomshopping Plugins: SimpleCaptcha

admin - 19.11.2020 21:08
Will be fixed in new version.


OK thank you.

Please also fix for JS 3.20.2 ?

Version used by me: 1.0.0

 
22.11.2020 02:02
#5
Stickdealer
User Stickdealer
Name: Bjoern
05.10.2011
Posts: 653
Quote
Aw: Joomshopping Plugins: SimpleCaptcha

admin - 19.11.2020 21:08
Will be fixed in new version.


SimpleCapcha 1.1.0 (Joomshopping 4.12.0 +)

... is this version also for JS 3.20.2 ?

 
22.11.2020 10:16
#6
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25941
Quote
Aw: Joomshopping Plugins: SimpleCaptcha

SimpleCapcha 1.1.0 not works for JS 3.20.2

New version SimpleCapcha 1.1.1 - fixed save data.

JS 3.20.2 - not support save data.

Fixed manual:
install SimpleCapcha 1.0.1

1.
edit
\components\com_jshopping\templates\default\user\register.php

row 5 add
if (JRequest::getVar('lrd')) {
$this->user = (object)JFactory::getSession()->get('registrationdata');
} else {
$this->user = new stdClass();
}

See code new version joomshopping (4.18.4)

need change all field

example
<input type = "text" name = "f_name" id = "f_name" value = "" class = "inputbox" />
change to
<input type = "text" name = "f_name" id = "f_name" value = "<?php print $this->user->l_name?>" class = "inputbox" />

2.
edit
components\com_jshopping\controllers\user.php

row 190 add code:
if (JRequest::getVar('lrd')) {
$this->user = (object)JFactory::getSession()->get('registrationdata');
} else {
$this->user = new stdClass();
}

change
$select_countries = JHTML::_('select.genericlist', array_merge($option_country, $country->getAllCountries()),'country','id = "country" class = "inputbox" size = "1"','country_id','name', $jshopConfig->default_country);
to
$select_countries = JHTML::_('select.genericlist', array_merge($option_country, $country->getAllCountries()),'country','id = "country" class = "inputbox" size = "1"','country_id','name', $this->user->country);

change
$select_client_types = JHTML::_('select.genericlist', $client_types,'client_type','class = "inputbox" onchange="showHideFieldFirm(this.value)"','id','name');
to
$select_client_types = JHTML::_('select.genericlist', $client_types,'client_type','class = "inputbox" onchange="showHideFieldFirm(this.value)"','id','name', $this->user->client_type);

change
$select_titles = JHTML::_('select.genericlist', $option_title,'title','class = "inputbox"','title_id','title_name' );
to
$select_titles = JHTML::_('select.genericlist', $option_title,'title','class = "inputbox"','title_id','title_name', $this->user->title);


Last change: 22.11.2020 10:29
 
22.11.2020 11:39
#7
Stickdealer
User Stickdealer
Name: Bjoern
05.10.2011
Posts: 653
Quote
Aw: Joomshopping Plugins: SimpleCaptcha

perfect! it works!

thanks a lot!

 


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.