Redirect not logged in users

This topic contains 4 reply and 2 voices, and was last updated by towhid 8 years, 11 months ago
Viewing 4 Posts - 1 through 4 (of 4 total)
Author Posts
May 20, 2015 at 2:48 pm 44619
towhid Hi We have a problem when not logged in users try to reach directly the "publish" page or the "dashboard" page it shows them a login form but if they enter a wrong username or password then they are redirected to wp-login.php... So to avoid this, the solution would be that IF they are not logged in and try to reach any of theses pages : - publish - dashboard - profile THEN they are redirected to the wpuf login page How can i set this redirect ? Tx a lot Alex
May 20, 2015 at 6:22 pm 44668
towhid towhid

Hello Alexandre,

I have reproduced this issue but failed. After click on the dashboard page, it redirects me to the login page (I am not yet login). But when I type the wrong username and password the site do not enroll me.

Can you please shared a screenshot for me.

Thanks.

May 20, 2015 at 7:17 pm 44677
Alexandre Alexandre This reply has been marked as private.
May 20, 2015 at 7:21 pm 44678
Alexandre Alexandre

Ok we just found a solution for those having the same issue :

Dashboard page :

File wpuf/class/frontend-dashboard :

Delete line 37 :

wp_login_form();

Post page :

File wpuf/class/render-form :

Delete line 268 :

wp_login_form();

May 21, 2015 at 11:18 am 44752
towhid towhid

Hello Alexandre,

I am very happy to know that the problem has solved for you. I am going to mark this topic as resolved and closed.

Thanks.

Viewing 4 Posts - 1 through 4 (of 4 total)