Multiple Login Page/Registration Pages

This topic contains 8 reply and 3 voices, and was last updated by Nayem 9 years, 4 months ago
Viewing 8 Posts - 1 through 8 (of 8 total)
Author Posts
December 9, 2014 at 3:23 pm 32037
Nayem First off great plugin! My question is I have created 2 different registration forms. http://www.vi280.com/vc-registration/ http://www.vi280.com/investor-profile/ The login page is also created.. http://www.vi280.com/login-2/ My question is there a way to create 2 login pages... the reason I am asking this is for the "register link" how do you differentiate the register link below... I can also just add a second register link however not sure where I can do that. I would prefer not have 2 links and just having 2 seperate login pages but if not possible then just knowing where to change those bottom links will work.
December 9, 2014 at 3:33 pm 32038
Nayem Nayem

Hello marcelo,

I am not able to open your link. I got an error there. Can you please provide a screenshot here to make me more clear.

Thank you 🙂

December 9, 2014 at 3:45 pm 32039
marcelo marcelo

here is registration form 1
registration form 1
here is registration form 2

December 9, 2014 at 3:48 pm 32040
marcelo marcelo

here is registration form 1
registration form 1
here is registration form 2
registration form 2
How do I make another login page
login
the login above does not give you a choice which registration form it will go to is there a way in shortcode to make a second registration link? something like [wpuf-login registration_page=”vc_registration”] or something like that? I am not sure I am explaining right. but there should be some way to differentiate between both registration forms.

December 9, 2014 at 5:57 pm 32049
Sekander Badsha Sekander Badsha

Hello Marcelo,

You do not need two login form or do not need to define the registration form.

You can use different registration forms for different user roles. But whenever the user tries to edit his profile, as he is logged in, the system will automatically get the users data.

So nothing to worry about.

Let me know if you are still confused. 🙂

December 10, 2014 at 11:03 am 32072
marcelo marcelo

Yes I understand that however if you look at the register link below it only takes you to ONE registration page. I have 2 registration forms one for an “Investor” one for a “VC” if you look at the screenshot above there is a register link can I add 2 links one to take the VC to to the VC register form and one for that takes them to the investor register form.

December 10, 2014 at 6:10 pm 32092
marcelo marcelo

The other issue I am having is similar to this http://wedevs.com/support/topic/redirect-login-page-after-sign-in/ the only difference is that I have 2 users… I want both my types of users to go to their appropriate landing page… i.e vc will go to a form I created for “project upload” and investors will go to “investor dashboard” is there anyway for this to happen… These pages will not be part of the MAIN navigation on the site each user should be redirected to its appropriate section of the site. Basically in normal terms one user will be “Postings” and second user will be “viewing and commenting on posts”. This plugin allows several forms and registration forms… how do you separate each one depending on USER. I need help ASAP please.

December 12, 2014 at 9:48 am 32185
marcelo marcelo

???

December 12, 2014 at 3:20 pm 32197
Nayem Nayem

Hello Marcelo,

If you want user to redirect to a different page by their role. You have to check for user role after their login. Please open conent/wp-user-fronted/class/login.php. login.php file is using for user login. You will find many filter and hook in login.php file. You can add check point here to find user role and also you can set condition to redirect them to a different page as their role required.

Thank you 🙂

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