• Priority: 0
  • Status: Closed
  • Theme: Alysum
  • Assigned To: Marek
  • Private: No
  • Open Date: 14.12.17, 23:01
  • Opened by: mahieux
  • Closed by: Marek
  • Closed on: 19.12.17, 13:07
  • Reason: Closed
  • Comment: Glad to help!

Ticket #11280 - Not sure how the token iun URL related to anything reachable in Prestashop

A bit like in ticket 11268

I managed to get the popup newsletter inscription to work in french, with input feedback in french and verification mail template in french
so far so good (did it the hard way copying/editing the en files provided into their fr equivalent)

I receive a mail with a link made out of a token
https://lepetitcoton.com/fr/module/pk_popup/verification?token=98885242edbc060ef771b8c86624411d

I don’t see anything like a verification.php ….. ? at least in /pk_popup/

what is it supposed to liaise with ? which page does it target

Thanks to shed some light

Comments

Marek 15 Dec 2017, 13:22

Is the category of current ticket correct?

Marek 15 Dec 2017, 13:29

I need access to your server to fix the issue

mahieux 16 Dec 2017, 19:13

How can I send you access to the server privately

Marek 16 Dec 2017, 20:25

Please fill out all necessary fields in your profile https://support.promokit.eu/index.php?do=myprofile

mahieux 17 Dec 2017, 09:55

in deed FTP psw had an extra dot sorry

mahieux 17 Dec 2017, 14:20

Where should the emails be stored ?
if in newsletter subscriptions ? nope

I have 3 say A B C for now if I add a 4th one D it tells email already registered, where it was in deed registered in teh past but removed from subscriptions

Marek 17 Dec 2017, 16:51

Hi, mahieux.
- go to the Back Office - Modules, and search for Newsletter there

mahieux 17 Dec 2017, 19:14

There is :

a PS Newsletter module not configurable (no idea yet what it does where)

and

a PK Newsletter subscription , which nicely seems to list the people who subscribed to the newsletter using the footer registration in a tab in statistics that’s where I have A B C nicely listed and I can get D listed as well and manually removed from that list

Pb is I don’t see how this relates to the PopupBox which don’t seem to add email adresses in the same place please explain whether they should work in a similar fashion or not to start with
and why they don’t if they should.

Thanks in advance


mahieux 17 Dec 2017, 23:32

OK I think I got it it works seemlessly from both place adding user emails in the same exact place
Simply what DOES NOT work is the mail verification by token I think teh URL is wrongly built

https://lepetitcoton.com/fr/module/pk_popup/verification?token=88642e9a7b0b1807d8ae77c1623244d4

tehre is no /verification in popup
AND it should eb verification.php
AND there is one in /pk_newsletter

Just in case that helps

Marek 18 Dec 2017, 11:19

Hi, mahieux.
Sorry for the delay.
Here is the fix:
Open the file /modules/pk_popup/pk_popup.php
find the line 402:

change “pk_popup” to “ps_emailsubscription”

mahieux 18 Dec 2017, 12:13

Hi Marek
Pls ignore last message (accidental resend)
That perfectly fits expectations now , so i could re-apply the mail verif and confirmation
Brilliant
Thanks

PS OFFER : if you need a number of modules to be provided with an fr.php let me know (if it exists in english that is , I’m not that fluent in polish ;-)

Dziękuję bardzo!

Marek 18 Dec 2017, 12:20

:) no problem!
Yes, it would be great to have French translation.

mahieux 18 Dec 2017, 13:02

if there is a comprehensive acces to all your /translations folders somewhere you can send them to thierry;mahieux@free.fr (DEC,Compaq so I might eb able to return youteh fr.phps within hours)

Marek 18 Dec 2017, 13:05

Maybe will be easier just to download that files from your server if you already have them translated

mahieux 18 Dec 2017, 13:22

For now I have only translated the ones I needed But i can in deed investigate and gather them all

mahieux 18 Dec 2017, 14:09

dir /s /b xxfr.php
..\modules\pk_bannercarousel\translations\xxfr.php
..\modules\pk_categories\translations\xxfr.php
..\modules\pk_compare\translations\xxfr.php
..\modules\pk_customlinks\translations\xxfr.php
..\modules\pk_dailydeal\translations\xxfr.php
..\modules\pk_emailcontrol\translations\xxfr.php
..\modules\pk_facebookcomments\translations\xxfr.php
..\modules\pk_flexmenu\translations\xxfr.php
..\modules\pk_fullpageslider\translations\xxfr.php
..\modules\pk_instafeed\translations\xxfr.php
..\modules\pk_isotope\translations\xxfr.php
..\modules\pk_lookbook\translations\xxfr.php
..\modules\pk_manufacturers\translations\xxfr.php
..\modules\pk_newsletter\translations\xxfr.php
..\modules\pk_popup\translations\xxfr.php
..\modules\pk_products\translations\xxfr.php
..\modules\pk_testimonials\translations\xxfr.php
..\modules\pk_themesettings\translations\xxfr.php

18 candidate files taken either from fr es or it

If it’s worth an extended support ? … starting now

mahieux 18 Dec 2017, 18:23

ready and complete fr translations in
.. = lepetitcoton.com

..\modules\pk_bannercarousel\translations\fr.php
..\modules\pk_categories\translations\fr.php
..\modules\pk_compare\translations\fr.php
..\modules\pk_customlinks\translations\fr.php
..\modules\pk_dailydeal\translations\fr.php
..\modules\pk_emailcontrol\translations\fr.php
..\modules\pk_facebookcomments\translations\fr.php
..\modules\pk_flexmenu\translations\fr.php
..\modules\pk_fullpageslider\translations\fr.php
..\modules\pk_instafeed\translations\fr.php
..\modules\pk_isotope\translations\fr.php
..\modules\pk_lookbook\translations\fr.php
..\modules\pk_manufacturers\translations\fr.php
..\modules\pk_newsletter\translations\fr.php
..\modules\pk_popup\translations\fr.php
..\modules\pk_products\translations\fr.php
..\modules\pk_testimonials\translations\fr.php
..\modules\pk_themesettings\translations\fr.php

Marek 19 Dec 2017, 12:21

Thank you very much for your contribution, really appreciate it.

mahieux 19 Dec 2017, 12:33

I then found revol slider needing a bit of fr too … When we get it to work … I’ll go over the 873 lines

Marek 19 Dec 2017, 12:36

Do you need my help with that?