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

#   \[REGLE\] Repositionner KeyCaptcha

##

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

Less More

- Posts: 97
- Thank you received: 1
-
-

11 years 1 month ago -  11 years 1 month ago [\#218285](#218285) by [Tiko](/forum/user/4609-tiko "View Tiko's Profile")  *[\[REGLE\] Repositionner KeyCaptcha](/forum/5-support-en-francais-french-support-/880042-regle-repositionner-keycaptcha#218285 "-- url of the page with the problem -- :   www.i-micronews.com/component/hikashop/checkout.html  -- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.5 -- PHP version -- : 5.4  Bonjour,  Je voudrais repositionner le plugin KeyCaptcha sur la page &quot;login/Registration&quot; pour qu'il s'affiche entre les champs personnalisés et les moyens de paiement. Actuellement, il est affiché entre les moyens de paiement et le contenu du panier (ce qui n'est pas super cohérent) : cf image jointe.  J'ai interrogé les developpeurs du plugin qui est compatible avec HikaShop. Aucune réponse...  Dans le fichier keycaptcha.php, j'ai trouvé ce code qui me semble correspondre à l'emplacement où doit s'afficher le plugin :  Pourriez-vous m'indiquer ce que je dois modifier pour avoir le Captcha affiché au bon endroit, svp ?")* was created by *[Tiko](/forum/user/4609-tiko "View Tiko's Profile")*

-- url of the page with the problem -- : [ www.i-micronews.com/component/hikashop/checkout.html](http://www.i-micronews.com/component/hikashop/checkout.html)
-- HikaShop version -- : 2.5.0
-- Joomla version -- : 3.4.5
-- PHP version -- : 5.4

Bonjour,

Je voudrais repositionner le plugin KeyCaptcha sur la page "login/Registration" pour qu'il s'affiche entre les champs personnalisés et les moyens de paiement. Actuellement, il est affiché entre les moyens de paiement et le contenu du panier (ce qui n'est pas super cohérent) : cf image jointe.

J'ai interrogé les developpeurs du plugin qui est compatible avec HikaShop. Aucune réponse...

Dans le fichier keycaptcha.php, j'ai trouvé ce code qui me semble correspondre à l'emplacement où doit s'afficher le plugin : Code:

"com_hikashop" =&gt; array( "user::hikashop_registration_form,register,KC_RegistrationForm" =&gt; "", "checkout,step,KC_RegistrationForm" =&gt; "", "product::adminForm&#124;send_email-#-r,,KC_ContactUs" =&gt; "", ),

Pourriez-vous m'indiquer ce que je dois modifier pour avoir le Captcha affiché au bon endroit, svp ?

- [ ![login-captcha.jpg](/forum/attachment/27246) ](/forum/attachment/27246 "login-captcha.jpg") [ ](/forum/attachment/27246?download=1 "login-captcha.jpg")

Last edit: 11 years 1 month ago by [Tiko](/forum/user/4609-tiko "View Tiko's Profile").

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

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

Less More

- Posts: 97
- Thank you received: 1
-
-

11 years 1 month ago [\#218335](#218335) by [Tiko](/forum/user/4609-tiko "View Tiko's Profile")  Replied by *[Tiko](/forum/user/4609-tiko "View Tiko's Profile")* on topic *[Repositionner KeyCaptcha](/forum/5-support-en-francais-french-support-/880042-regle-repositionner-keycaptcha#218335 "-- url of the page with the problem -- :   www.i-micronews.com/component/hikashop/checkout.html  -- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.5 -- PHP version -- : 5.4  Bonjour,  Je voudrais repositionner le plugin KeyCaptcha sur la page &quot;login/Registration&quot; pour qu'il s'affiche entre les champs personnalisés et les moyens de paiement. Actuellement, il est affiché entre les moyens de paiement et le contenu du panier (ce qui n'est pas super cohérent) : cf image jointe.  J'ai interrogé les developpeurs du plugin qui est compatible avec HikaShop. Aucune réponse...  Dans le fichier keycaptcha.php, j'ai trouvé ce code qui me semble correspondre à l'emplacement où doit s'afficher le plugin :  Pourriez-vous m'indiquer ce que je dois modifier pour avoir le Captcha affiché au bon endroit, svp ?")*

Je donne la solution :

- ouvrir le fichier "keycaptcha.php" du plugin
- repérer la ligne 726
- remplacez Code:

$captcha_before = '&lt;div id="hikashop_checkout_cart" class="hikashop_checkout_cart"&gt;';

par Code:

$captcha_before = '&lt;div id="hikashop_payment_methods" class="hikashop_payment_methods"&gt;';

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

11 years 1 month ago [\#218336](#218336) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Repositionner KeyCaptcha](/forum/5-support-en-francais-french-support-/880042-regle-repositionner-keycaptcha#218336 "-- url of the page with the problem -- :   www.i-micronews.com/component/hikashop/checkout.html  -- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.5 -- PHP version -- : 5.4  Bonjour,  Je voudrais repositionner le plugin KeyCaptcha sur la page &quot;login/Registration&quot; pour qu'il s'affiche entre les champs personnalisés et les moyens de paiement. Actuellement, il est affiché entre les moyens de paiement et le contenu du panier (ce qui n'est pas super cohérent) : cf image jointe.  J'ai interrogé les developpeurs du plugin qui est compatible avec HikaShop. Aucune réponse...  Dans le fichier keycaptcha.php, j'ai trouvé ce code qui me semble correspondre à l'emplacement où doit s'afficher le plugin :  Pourriez-vous m'indiquer ce que je dois modifier pour avoir le Captcha affiché au bon endroit, svp ?")*

Bonjour,

Merci pour la solution mais je pense que le principal intéressé est l'équipe de Keycaptcha.
Car comme vous l'avez souligné dans le premier message ; le code d'intégration avec HikaShop est directement dans Keycaptcha, ce qui veut dire qu'au niveau d'HikaShop, nous n'avons strictement aucun lien ou connaissance de cette intégration.

Cordialement,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

The following user(s) said Thank You: [Tiko](/forum/user/4609-tiko "View Tiko's Profile")

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

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

Less More

- Posts: 97
- Thank you received: 1
-
-

11 years 1 month ago [\#218405](#218405) by [Tiko](/forum/user/4609-tiko "View Tiko's Profile")  Replied by *[Tiko](/forum/user/4609-tiko "View Tiko's Profile")* on topic *[Repositionner KeyCaptcha](/forum/5-support-en-francais-french-support-/880042-regle-repositionner-keycaptcha#218405 "-- url of the page with the problem -- :   www.i-micronews.com/component/hikashop/checkout.html  -- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.5 -- PHP version -- : 5.4  Bonjour,  Je voudrais repositionner le plugin KeyCaptcha sur la page &quot;login/Registration&quot; pour qu'il s'affiche entre les champs personnalisés et les moyens de paiement. Actuellement, il est affiché entre les moyens de paiement et le contenu du panier (ce qui n'est pas super cohérent) : cf image jointe.  J'ai interrogé les developpeurs du plugin qui est compatible avec HikaShop. Aucune réponse...  Dans le fichier keycaptcha.php, j'ai trouvé ce code qui me semble correspondre à l'emplacement où doit s'afficher le plugin :  Pourriez-vous m'indiquer ce que je dois modifier pour avoir le Captcha affiché au bon endroit, svp ?")*

Absolument, Jérôme !

Seulement, KeyCaptcha ne semble pas offrir de forum à ses utilisateurs, il m'est donc difficile de partager cette solution avec eux. C'est dommage, je pense.

Si d'autres utilisateurs d'HikaShop ont besoin de déplacer l'affichage de ce plugin, j'espère qu'ils utiliseront la fonction "recherche" de ce forum et qu'ils trouveront ce fil utile pour eux.

Cordialement ![:)](/media/kunena/emoticons/3.png ":)")

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

11 years 1 month ago [\#218406](#218406) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Repositionner KeyCaptcha](/forum/5-support-en-francais-french-support-/880042-regle-repositionner-keycaptcha#218406 "-- url of the page with the problem -- :   www.i-micronews.com/component/hikashop/checkout.html  -- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.5 -- PHP version -- : 5.4  Bonjour,  Je voudrais repositionner le plugin KeyCaptcha sur la page &quot;login/Registration&quot; pour qu'il s'affiche entre les champs personnalisés et les moyens de paiement. Actuellement, il est affiché entre les moyens de paiement et le contenu du panier (ce qui n'est pas super cohérent) : cf image jointe.  J'ai interrogé les developpeurs du plugin qui est compatible avec HikaShop. Aucune réponse...  Dans le fichier keycaptcha.php, j'ai trouvé ce code qui me semble correspondre à l'emplacement où doit s'afficher le plugin :  Pourriez-vous m'indiquer ce que je dois modifier pour avoir le Captcha affiché au bon endroit, svp ?")*

Bonjour,

Notre forum est très bien référencé sur Google ; je n'ai donc aucun doute qu'il pourra servir à d'autres personnes qui feront cette recherche.

Cordialement,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODgwMDQyLXJlZ2xlLXJlcG9zaXRpb25uZXIta2V5Y2FwdGNoYT90bXBsPW1hcmtkb3du) 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)
