[Skip to main content](#vessel-content)

#   Connexion automatique après création de compte

##

- **[nilegoff](/forum/user/11694-nilegoff "View nilegoff's Profile")**
- [![nilegoff's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/11694-nilegoff "View nilegoff's Profile") Topic Author
- [ Offline](/forum/user/11694-nilegoff)

Less More

- Posts: 99
- Thank you received: 3
-
-
-

11 years 4 weeks ago [\#217193](#217193) by [nilegoff](/forum/user/11694-nilegoff "View nilegoff's Profile")  *[Connexion automatique après création de compte](/forum/5-support-en-francais-french-support-/879840-connexion-automatique-apres-creation-de-compte#217193 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.4 -- PHP version -- : 5.6  Bonjour  Lorsque mon client a créer un compte, est il possible qu'il soit automatiquement loguer?  Merci  Nicolas")* was created by *[nilegoff](/forum/user/11694-nilegoff "View nilegoff's Profile")*

-- HikaShop version -- : 2.6.0
-- Joomla version -- : 3.4.4
-- PHP version -- : 5.6

Bonjour

Lorsque mon client a créer un compte, est il possible qu'il soit automatiquement loguer?

Merci

Nicolas

---

Joomla 3

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODc5ODQwLWNvbm5leGlvbi1hdXRvbWF0aXF1ZS1hcHJlcy1jcmVhdGlvbi1kZS1jb21wdGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86359
- Thank you received: 14296
-
-

11 years 4 weeks ago [\#217204](#217204) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Connexion automatique après création de compte](/forum/5-support-en-francais-french-support-/879840-connexion-automatique-apres-creation-de-compte#217204 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.4 -- PHP version -- : 5.6  Bonjour  Lorsque mon client a créer un compte, est il possible qu'il soit automatiquement loguer?  Merci  Nicolas")*

Bonjour,

C'est le cas automatiquement, sauf si vous avez activé l'option d'activation des comptes utilisateurs dans les options de Joomla. Dans ce cas, l'utilisateur doit d'abord activer son compte avant de pouvoir se logger.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODc5ODQwLWNvbm5leGlvbi1hdXRvbWF0aXF1ZS1hcHJlcy1jcmVhdGlvbi1kZS1jb21wdGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nilegoff](/forum/user/11694-nilegoff "View nilegoff's Profile")**
- [![nilegoff's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/11694-nilegoff "View nilegoff's Profile") Topic Author
- [ Offline](/forum/user/11694-nilegoff)

Less More

- Posts: 99
- Thank you received: 3
-
-
-

11 years 3 weeks ago [\#217309](#217309) by [nilegoff](/forum/user/11694-nilegoff "View nilegoff's Profile")  Replied by *[nilegoff](/forum/user/11694-nilegoff "View nilegoff's Profile")* on topic *[Connexion automatique après création de compte](/forum/5-support-en-francais-french-support-/879840-connexion-automatique-apres-creation-de-compte#217309 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.4 -- PHP version -- : 5.6  Bonjour  Lorsque mon client a créer un compte, est il possible qu'il soit automatiquement loguer?  Merci  Nicolas")*

Bonjour,

Joomla est bien paramétré. A activation de compte, j'ai aucune.
J'ai désactivé les 2 plugin (Re captcha et Recaptacha hikashop) sans effet.

J'ai le fichier de création de compte d'hikashop d'origine.

Auriez vous une piste?

Merci par avance
Nicolas

---

Joomla 3

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODc5ODQwLWNvbm5leGlvbi1hdXRvbWF0aXF1ZS1hcHJlcy1jcmVhdGlvbi1kZS1jb21wdGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86359
- Thank you received: 14296
-
-

11 years 3 weeks ago [\#217328](#217328) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Connexion automatique après création de compte](/forum/5-support-en-francais-french-support-/879840-connexion-automatique-apres-creation-de-compte#217328 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.4 -- PHP version -- : 5.6  Bonjour  Lorsque mon client a créer un compte, est il possible qu'il soit automatiquement loguer?  Merci  Nicolas")*

Bonjour,

Merci de fournir un lien vers votre boutique pour que nous puissions reproduire cela sur votre passage en caisse, car nous n'avons jamais eu ce problème.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODc5ODQwLWNvbm5leGlvbi1hdXRvbWF0aXF1ZS1hcHJlcy1jcmVhdGlvbi1kZS1jb21wdGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nilegoff](/forum/user/11694-nilegoff "View nilegoff's Profile")**
- [![nilegoff's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/11694-nilegoff "View nilegoff's Profile") Topic Author
- [ Offline](/forum/user/11694-nilegoff)

Less More

- Posts: 99
- Thank you received: 3
-
-
-

11 years 3 weeks ago [\#217423](#217423) by [nilegoff](/forum/user/11694-nilegoff "View nilegoff's Profile")  Replied by *[nilegoff](/forum/user/11694-nilegoff "View nilegoff's Profile")* on topic *[Connexion automatique après création de compte](/forum/5-support-en-francais-french-support-/879840-connexion-automatique-apres-creation-de-compte#217423 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.4 -- PHP version -- : 5.6  Bonjour  Lorsque mon client a créer un compte, est il possible qu'il soit automatiquement loguer?  Merci  Nicolas")*

Bonjour

Mon souci ne vient pas au moment du passage en caisse. La, cela fonctionne bien.

Je note que le plugin 'Redirect Joomla registration to HikaShop plugin' est bien activer.

Lorsque je veux créer un compte sans passage en caisse, j'ai créer un lien: index.php?option=com_hikashop&amp;view=user&amp;layout=form

Ce lien m'affiche bien le formulaire avec les information concernant le compte et l'adresse principale pour le client.
Je pense que nous ne parlions pas du même formulaire.

Si besoin, je vous fournirai l'URL du site en MP

Cordialement

---

Joomla 3

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODc5ODQwLWNvbm5leGlvbi1hdXRvbWF0aXF1ZS1hcHJlcy1jcmVhdGlvbi1kZS1jb21wdGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86359
- Thank you received: 14296
-
-

11 years 3 weeks ago [\#217461](#217461) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Connexion automatique après création de compte](/forum/5-support-en-francais-french-support-/879840-connexion-automatique-apres-creation-de-compte#217461 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.4 -- PHP version -- : 5.6  Bonjour  Lorsque mon client a créer un compte, est il possible qu'il soit automatiquement loguer?  Merci  Nicolas")*

Bonjour,

Ah oui, pour le formulaire d'enregistrement d'HikaShop sur sa propre page, il n'y a pas d'auto-login après l'enregistrement car le fonctionnement est le même que le fonctionnement du formulaire d'enregistrement de Joomla, qui ne gère pas cela non plus.
Donc c'est normal.

Nous allons voir pour ajouter une option pour permettre cela dans le futur.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODc5ODQwLWNvbm5leGlvbi1hdXRvbWF0aXF1ZS1hcHJlcy1jcmVhdGlvbi1kZS1jb21wdGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nilegoff](/forum/user/11694-nilegoff "View nilegoff's Profile")**
- [![nilegoff's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/11694-nilegoff "View nilegoff's Profile") Topic Author
- [ Offline](/forum/user/11694-nilegoff)

Less More

- Posts: 99
- Thank you received: 3
-
-
-

11 years 3 weeks ago [\#217547](#217547) by [nilegoff](/forum/user/11694-nilegoff "View nilegoff's Profile")  Replied by *[nilegoff](/forum/user/11694-nilegoff "View nilegoff's Profile")* on topic *[Connexion automatique après création de compte](/forum/5-support-en-francais-french-support-/879840-connexion-automatique-apres-creation-de-compte#217547 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.4 -- PHP version -- : 5.6  Bonjour  Lorsque mon client a créer un compte, est il possible qu'il soit automatiquement loguer?  Merci  Nicolas")*

Merci pour l'information.
Je vais voir pour générer moi même un auto login.

Nicolas

---

Joomla 3

The following user(s) said Thank You: [Jerome](/forum/user/80-jerome "View Jerome's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODc5ODQwLWNvbm5leGlvbi1hdXRvbWF0aXF1ZS1hcHJlcy1jcmVhdGlvbi1kZS1jb21wdGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nilegoff](/forum/user/11694-nilegoff "View nilegoff's Profile")**
- [![nilegoff's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/11694-nilegoff "View nilegoff's Profile") Topic Author
- [ Offline](/forum/user/11694-nilegoff)

Less More

- Posts: 99
- Thank you received: 3
-
-
-

11 years 3 weeks ago -  11 years 3 weeks ago [\#217560](#217560) by [nilegoff](/forum/user/11694-nilegoff "View nilegoff's Profile")  Replied by *[nilegoff](/forum/user/11694-nilegoff "View nilegoff's Profile")* on topic *[Connexion automatique après création de compte](/forum/5-support-en-francais-french-support-/879840-connexion-automatique-apres-creation-de-compte#217560 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.4 -- PHP version -- : 5.6  Bonjour  Lorsque mon client a créer un compte, est il possible qu'il soit automatiquement loguer?  Merci  Nicolas")*

Je propose de rajouter ce petit bout de code dans la fonction register de com_hikashop -&gt; controllers -&gt; user.php
Code:

function register(){ if(empty($_REQUEST['data'])){ return $this-&gt;form(); } $class = hikashop_get('class.user'); $status = $class-&gt;register($this,'user'); if($status){ $app = JFactory::getApplication(); $app-&gt;enqueueMessage(JText::sprintf('THANK_YOU_FOR_REGISTERING',HIKASHOP_LIVE)); JRequest::setVar( 'layout', 'after_register' ); return parent::display(); } $this-&gt;form(); }

deviendrait Code:

function register(){ if(empty($_REQUEST['data'])){ return $this-&gt;form(); } $class = hikashop_get('class.user'); $status = $class-&gt;register($this,'user'); if($status){ $app = JFactory::getApplication(); $donnees=array(); $donnees=Jrequest::getVar('data'); $credentials = array(); $credentials['username'] = $donnees['register']['email']; $credentials['password'] = $donnees['register']['password']; $app-&gt;login($credentials); $app-&gt;enqueueMessage(JText::sprintf('THANK_YOU_FOR_REGISTERING',HIKASHOP_LIVE)); JRequest::setVar( 'layout', 'after_register' ); return parent::display(); } $this-&gt;form(); }

Ce bout de code est adapté à une version ou le username est l'email.

Pouvez vous me confirmer que le traitement des données username et password sont sécurisées.
Merci par avance

Nicolas

---

Joomla 3

Last edit: 11 years 3 weeks ago by [nilegoff](/forum/user/11694-nilegoff "View nilegoff's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODc5ODQwLWNvbm5leGlvbi1hdXRvbWF0aXF1ZS1hcHJlcy1jcmVhdGlvbi1kZS1jb21wdGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86359
- Thank you received: 14296
-
-

11 years 3 weeks ago [\#217598](#217598) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Connexion automatique après création de compte](/forum/5-support-en-francais-french-support-/879840-connexion-automatique-apres-creation-de-compte#217598 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.4 -- PHP version -- : 5.6  Bonjour  Lorsque mon client a créer un compte, est il possible qu'il soit automatiquement loguer?  Merci  Nicolas")*

Bonjour,

Nous allons faire une autre solution mais oui, vous pouvez faire cool cela, pas de soucis.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODc5ODQwLWNvbm5leGlvbi1hdXRvbWF0aXF1ZS1hcHJlcy1jcmVhdGlvbi1kZS1jb21wdGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Stephane](/forum/user/97-stephane "View Stephane's Profile")**
- [![Stephane's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar97.png)](/forum/user/97-stephane "View Stephane's Profile")
- [ Offline](/forum/user/97-stephane)

Less More

- Posts: 130
- Thank you received: 1
-
-
-
-

10 years 10 months ago [\#225159](#225159) by [Stephane](/forum/user/97-stephane "View Stephane's Profile")  Replied by *[Stephane](/forum/user/97-stephane "View Stephane's Profile")* on topic *[Connexion automatique après création de compte](/forum/5-support-en-francais-french-support-/879840-connexion-automatique-apres-creation-de-compte#225159 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.4 -- PHP version -- : 5.6  Bonjour  Lorsque mon client a créer un compte, est il possible qu'il soit automatiquement loguer?  Merci  Nicolas")*

Bonjour,

J'ai un soucis un peu similaire....

Je n'ai pas de Synchro entre la création d'un compte par le lien "Pas encore de compte?" (dispo quand le client veut suivre sa commande... ) et les comptes Hikashop.

En fait si un client s'inscris sans commander.... quand il revient trois jours plus tard et qu'il pense avoir un compte cela lui dit que non !

En fait ma question est : Comment synchroniser la création de compte "Sans commande" avec le même formulaire que celui "avec Commande..." ? OU Comment virer le lien "Pas encore de compte" dans le mini-formulaire de suivi de compte ?

Merci.

---

**It's nice to be important... but more important to be nice !**

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODc5ODQwLWNvbm5leGlvbi1hdXRvbWF0aXF1ZS1hcHJlcy1jcmVhdGlvbi1kZS1jb21wdGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86359
- Thank you received: 14296
-
-

10 years 10 months ago [\#225163](#225163) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Connexion automatique après création de compte](/forum/5-support-en-francais-french-support-/879840-connexion-automatique-apres-creation-de-compte#225163 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.4 -- PHP version -- : 5.6  Bonjour  Lorsque mon client a créer un compte, est il possible qu'il soit automatiquement loguer?  Merci  Nicolas")*

Bonjour,

Je pense que le plus simple sera d'activer le plugin "Redirect Joomla registration to HikaShop plugin" via le gestionnaire de plugins de Joomla.
Ainsi, cela utilisera toujours la page d'enregistrement d'HikaShop.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODc5ODQwLWNvbm5leGlvbi1hdXRvbWF0aXF1ZS1hcHJlcy1jcmVhdGlvbi1kZS1jb21wdGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.066 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
