Forum Replies Created
-
AuthorPosts
-
December 13, 2016 at 12:10 am in reply to: Problems with translation new string on Login form added in last update #9166
dimabuko
ParticipantAlso there is no such string (“Username or email” on default login page) in a new POT file you added in the last version :(.
December 13, 2016 at 12:05 am in reply to: Problems with translation new string on Login form added in last update #9165dimabuko
ParticipantCan you give me an Editor level here (https://translate.wordpress.org/projects/wp-plugins/simple-membership) to get Russian translate happen? Also I found that there is no such string “Username or email” there.
November 21, 2016 at 8:40 am in reply to: Problems with translation new string on Login form added in last update #8955dimabuko
ParticipantHi! No we don’t use FormBuilder
dimabuko
ParticipantAfter few weeks of testing this solution:
What I did was make an edit to class.swpm-auth.php
Look for lines 191 and 195, then change the $expire variable to a value of 0.I found that it produces another problems when user is logged in by SMWP and logged out by WP at the same time. Clearing cache helps.
dimabuko
ParticipantAlso may be developers of plugin can comment this solution? May be there is some hidden problems?
What I did was make an edit to class.swpm-auth.php
Look for lines 191 and 195, then change the $expire variable to a value of 0.dimabuko
ParticipantHi, echo!
I am so glad that you post your solution! I am so happy, thank you so much.
Don’t know how you figure it out, but it works for me 100% that I need.September 18, 2016 at 10:43 am in reply to: Login re-directs to homepage, need to just refresh current #8359dimabuko
ParticipantI found the way to fix my problem with that action hook:
add_action('swpm_front_end_registration_complete', 'after_registration_callback'); function after_registration_callback ($member_info) { $redirect_url = '/registered/'; wp_redirect($redirect_url); exit; }September 18, 2016 at 9:15 am in reply to: Login re-directs to homepage, need to just refresh current #8357dimabuko
ParticipantIs there possibility to redirect user after successful registration (free) to the main page?
I found that there is feature Thank you page for Non-free membership (https://simple-membership-plugin.com/paid-registration-from-the-thank-you-page/). And is it possible for free?September 18, 2016 at 8:55 am in reply to: Login re-directs to homepage, need to just refresh current #8355dimabuko
ParticipantBut also I have a problem now. In case when user click this link on Registration page. He actually did it first time, after his registration. So he is redirected to registration page. Don’t know how to fix it.
September 18, 2016 at 8:52 am in reply to: Login re-directs to homepage, need to just refresh current #8353dimabuko
ParticipantI did it finally like this.
$whereiam = get_permalink( $post->ID ); echo('<a>' . $whereiam . '">Log in</a>');dimabuko
ParticipantI have the same issue. Also I described this issue a few times but seems that the plugin developers have the own vision how it should work 🙁 But the plugin of course is great 🙂
September 17, 2016 at 9:00 pm in reply to: Login re-directs to homepage, need to just refresh current #8346dimabuko
ParticipantHello!
Seems that for me it will be the great solution too (I talk about code:
<a href="http://mysite.co.uk/membership-login/?swpm_redirect_to=<?php echo get_permalink( $post->ID ); ?>">Log in</a>But I need some help. Now my Log In link displays in such cases and it is included in php code too, something like this:
... esle { echo('<a href="http://mysite.co.uk/membership-login/">Log in</a>'); }So how I can add <?php echo get_permalink( $post->ID ); ?> inside href?
dimabuko
ParticipantHello.
Today I tested SMWP with some other social auth plugins. And all of them have the same issue and don’t works.
So now I’ll describe this issue.
Every social plugin insert social login buttons in http://your-site/wp-login.php below the Default login form.
Also many of them propose a short code to implement these buttons in your templates or pages.For example, it could looks like here:
https://www.dropbox.com/s/3dfak1log0qqb4h/Screenshot%202016-07-27%2015.03.06.png?dl=0Here I added instagram login below the default SMWP form (it is customised with css, but it is really default SMWP login form, url — http://lililove.me/membership-login/).
Then you create app on Instagram (Facebook, etc, doesn’t matter) and try to log in with your social profile.
And it works but partly.Here is a screenshot: https://www.dropbox.com/s/emzsyh62r2ndw07/Screenshot%202016-07-27%2015.03.18.png?dl=0
As you can see there looks like user is logged in, because there is black wordpress admin panel on top (and username is displayed). So that is user is logged in. I can do anything like wordpress user, I have admin rights.But when you try to get access to any protected page or post, or to page Edit Profile for SMWP it says to you that:
You are not logged in. Screenshot (but in Russian): https://www.dropbox.com/s/1d78q0zbkliwbw3/Screenshot%202016-07-27%2015.03.24.png?dl=0So there is a problem. Looks like wordpress user is logged in, but SMWP user is not at the same time.
I tested a lot of Social plugins and they all have the same issue.I don’t know why it works that way, because when I login by username/password on http://lililove.me/wp-admin then I will be authorised like wordpress user and also as a SMWP user too.
dimabuko
ParticipantOf course if I create a new member with the same username as e-mail it would works.
But I don’t understand how I can implement it in my project.dimabuko
ParticipantHello.
Also I want the same thing. Want to create a possibility to login by Username OR by the e-mail.
Now it’s impossible by default.On my project I’ve got a lot of support requests about that. A lot of people trying to login by email and don’t understand that they should use their usernames.
-
AuthorPosts