latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

About: Com'en Médoc

Sorry, I've not written a description yet. I'll get to it soon!


Topics I'm Subscribed To

Viewing topic 1 (of 1 total)
Topic Count Last Reply
Login => keep users default/Choosen language

By:  Com’en Médoc in: Community Forum

voices: 2
replies: 1

3 years, 10 months ago  Bruce

Viewing topic 1 (of 1 total)

Topics I've Started

Viewing 2 topics - 1 through 2 (of 2 total)
Topic Count Last Reply
Login => keep users default/Choosen language

By:  Com’en Médoc in: Community Forum

voices: 2
replies: 1

3 years, 10 months ago  Bruce

Viewing 2 topics - 1 through 2 (of 2 total)

My Latest Replies (From Various Topics)

Viewing 5 replies - 1 through 5 (of 5 total)
Author Replies
Author Replies
Posted: Thursday Feb 21st, 2013 at 5:53 pm #42765

Thank you for your answer.

Maybe I got you wrong but in short
• all proposed solutions will display translated content but still redirect to the default (french) Log in Page.
(navigation and as consequence the language switcher is still displayed in french.)
• There does not exist any …..(get_permalink()); “stay on current page” option for s2members after login.

Unfortunately this does not really fit.

Anyway thank you very much for the effort.

Posted: Tuesday Feb 19th, 2013 at 5:45 pm #42519

Ok, another idea, could I simply remove the redirection to the Login Welcome Page and stay on the same page from where the login took place? Would this help to keep the language which was chosen by the user?
Thank you very much
I tried to put this piece of code in the mu plugin folder

<?php
add_filter ("ws_plugin__s2member_login_redirect",  '__return_false', 10, 2);
?>

and called it hook.inc.php.
I do not have any idea about php but this is what I tried after searching the forum.
It is not working but as I already said I am a php dummy;)
But as far as I read in the forum this could be possible?

Posted: Tuesday Feb 19th, 2013 at 2:39 pm #42507

Hello,
Could you maybe look at my question once again?
I am not sure your answer matches my question.
I do not need advice for translation but for redirection to members default language?
Is there a possibility?
Someone posted this and it goes in the right direction I think,
but maybe you could help me?
http://www.s2member.com/forums/topic/redirect-problem/

Posted: Monday Feb 18th, 2013 at 3:38 am #42242

Hello,
thank you very much for your answer,
the delay was absolutely my fault, I posted in the wrong forum.

I am not sure if I got you right. I am a bit confused by your answer.

To dynamically change this text, you will need to use the information provided in this Knowledge Base Article:

( Translating s2Member does not work via adding .po and .mo files?)

Could you maybe explain a bit more how this would help me to keep the chosen language?

p.e. if I log in via my english login widget I am redirected to my french Login Welcome Page.
How can I achieve to be directed to my english Login Welcome Page? (or chinese, japanese?) with your proposed method?
Kind regards

Posted: Sunday Feb 17th, 2013 at 11:27 am #42029

Maybe I should add the login widget via php?
Would this offer more choice for the language?
Sorry, I think I have to push this a bit as I posted accidentally in the community forum at the beginning;)

Viewing 5 replies - 1 through 5 (of 5 total)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.