Forum Replies Created
-
AuthorPosts
-
TomPtacnik
ParticipantI did update now. Hopefully, it will help. I’ll keep you posted here in case of problems. Thank you.
TomPtacnik
ParticipantSome more information…
The caching plugin is off on the login, registration and password reset pages. Also, these cookies are excluded from caching:
starting with
swpm_session
simple_wp_membership_sec_
swpm_in_useandwp_swpm_in_useIs there anything else caching-related that could be interfering with the login authentication?
TomPtacnik
ParticipantPresumably it will be a problem with PHP 8.1 which I am currently running. I do not fancy downgrading back to 7.4 because of security issues.
TomPtacnik
ParticipantYes, the files are uploaded in this folder too. I guess the problem will be somewhere on my side then.
TomPtacnik
ParticipantUnfortunately, the problem has not been solved. I am attaching the simple-membership-cs_CZ.po and simple-membership-cs_CZ.mo files. I have added only one single translation to illustrate the issue of it not working.
https://drive.google.com/drive/folders/1h9F6SNLpc9PpWBVCyvWV1Jo1hMFLi8Vm?usp=sharing
The added lines are:
#: classes/class.swpm-front-registration.php:219
#: classes/class.swpm-init-time-tasks.php:214
#: classes/class.swpm-utils-misc.php:422 views/login.php:65
msgid “Log In”
msgstr “Přihlásit se”The files have been uploaded to the correct folder replacing original files, the cache on my website has been purged. The log in form still shows the English phrase.
TomPtacnik
ParticipantThanks a lot. I will try that and let you know it it works.
TomPtacnik
ParticipantThank you for your detailed reply. I understand #1, there are not any missing string I would need to use.
As to #2, I added the missing strings to the file of my language. However, it is still not showing up.
An example of the added string is
#: views/forgot_password.php:27
msgid “Processing password reset request…”
msgstr “Zpracování žádosti o obnovu hesla…”It also shows correctly in Poedit software. The cache on my website has been purged.
I do not why but the plugin just ignores the updated version of my files simple-membership-cs_CZ.po and simple-membership-cs_CZ.mo.
Additionally, if it helps you find the issue, none of password reset messages is shown at all. They are not present in the original simple-membership-cs_CZ.po. But even after adding them, no messages appear apart from English Processing password reset request…
TomPtacnik
ParticipantI have performed your suggested test. Everything is showing in German as it is supposed to.
I downloaded simple-membership-de_DE.po and it really differs from the Czech one. Many fields are missing. But even if I update the simple-membership-cs_CZ.po file and update it alongside with simple-membership-cs_CZ.mo, it does not update the language on my site.
Also, for example, the Processing password reset request… sentence is not even present in the German file. So it must be processing it from somewhere else. Btw, this line is not translated in German either.
And when requesting new password, no text is visible either in any language. I would assume a confirmation message or an error should be present.
TomPtacnik
ParticipantEdit: I noticed that some messages do not appear at all. For instance, when requesting a new password, the page does not give me any messages about the length, confirmation etc.
TomPtacnik
ParticipantI don’t think you understand my problem. I will try to be as easy as possible.
It does allow 31 days but the problem is that every month has a different length. Let’s say January, it is 31 days long, so I would need to set the expiration to 32 days. Next is February with 28 days, it would need 29 days of expiration to allow 1 day extra.
Of course I could use 32 days to cover all lengths, but it would be giving customers extra days for free in many months. On the contrary, if I use Stripe set up for billing after 30 days, not 1 month, I would be stealing a few days from them.
TomPtacnik
ParticipantThank you for the reply, but I believe my request was misunderstood. I’m not struggling with “early expiration” or PayPal button settings.
My issue is that the Simple Membership Plugin doesn’t allow me to set the subscription duration to exactly “1 month + 1 day”, which is needed to prevent expiration issues with different month lengths.
Would you consider adding this feature to the plugin in future updates?
Or is there a workaround or will I need to allow hard-code this manually?TomPtacnik
ParticipantI definitely second this! I am currently developing the cancellation and this feature with Simple Membership Plugin would be amazing!
-
AuthorPosts