Tagged: auto login, redirects, registration
Dear Brajesh,
Thanks for a great effective plugin. I bought it today, but I’ve run into a problem that makes it possible to use it right now. I sincerely hope you can help me with a fix.
I’ve read this post here. However, my problem is unique: https://buddydev.com/support/forums/topic/redirect-to-page-they-were-on-before-clicking-signup/#post-8206
I need 50% of users to be logged in automatically (they are students). In the registration form they choose a Profile/Member Type, and this automatically assigns them the correct User Role. The other 50% of users will go to an application form (the teachers). They will not have full profile access until they complete the application form (they are applying for a job and I will need to manually approve them before giving them access to BuddyPress).
I want to use your plugin to automatically register User A and User B. However, User A and User B must go to different URLs when they log in or register. And this could change over time (so I don’t want to use PHP to achieve this because I have never touched code before).
To do this, I also paid for “WooCommerce Redirect After Login and Registration”. My plan was to use your plugin to instantly activate both users, and then I would filter them to 2 different URLs with WooCommerce Redirect.
Is there any way you could stop forcing the user onto the profile? I don’t mind it as a default option. However, I would like the ability to assign a new URL via WooCommerce Redirect. That would mean that I could send different users to different locations (like Students, Parents, Teachers, and Instructors).
I really hope you can help me. I finally thought that I had the solution to my problem by combing BuddyPress Auto Activate + WooCommerce Redirects. This shouldn’t be too complex to code, and it will solve so many people’s concerns and make the app super flexible! 😁
Here is the app I’m talking about (WooCommerce Redirect):
https://woocommerce.com/products/redirect-after-login-registration-and-logout/
I really don’t want to use PHP as I am designing a complex site, and I won’t know how to change things later. But with WooCommerce Redirects + Auto Activate, things could be so simple!
Thanks for your support, and wishing you health and happiness during this time. ✌️
Kind regards,
PeterHi Peter,
Welcome to BuddyDev
Thank you for purchasing the plugin.
I believe WooCommerce redirect after registration will not work with BuddyPress. BuddyPress uses a different registration process(I haven’t tested their plugin though).
If role based redirect will be useful, I can add that in the plugin itself? Please allow me till Monday evening to add this feature in the plugin itself.
Thank you
BrajeshDear Brajesh,
Thanks so much, Bradesh! Fantastic support. I would like to help if I can.
I can call and explain further if you would like? My Skype ID is peter.scratchley.
The best thing to add is this: users need to be able to automatically login to a specific redirected URL, based on the User Role (or Member Type) that was chosen during the registration process. We need to be able to choose the redirect based on the User Role that is created at Registration.
My Teacher User Role/Member Type will go to an ‘Application’ part of the site. It will force them to finish the job application. I will then Manually approve them. However, the student User Role/Member will go to the WooCommerce Marketplace – with full access to the site!
I hope that explains the User Experience of this. Your updates to allow custom URL redirects will solve this issue for everyone 😁
I will be more than happy to take a call with you if you’d like to hear it from a UX perspective?
Otherwise, I’m excited to see this and implement it!
Thanks again Brajesh, and keep me updated!
Kind regards,
Peter- This reply was modified 4 years, 4 months ago by
teacherpete.
- This reply was modified 4 years, 4 months ago by
Hi Peter,
Thank you.I will get in touch if I need any help.
Please do let me know how the users are registering currently. Are they using BuddyPress registration form or something else?
How are you applying members type to them?
Regards
BrajeshHi Brajesh,
We use the Buddy Press registration method through BuddyBoss theme. Don’t worry about member types – we only need redirects based on user role. Member types are assigned automatically when registering with BuddyBoss. This just give users a visible tag on the platform (such as Teacher, Student, Mentor, etc). Member Types are automatically registered with a matching User Role in the system at registration (i.e. a student member type becomes a “Subscriber” or “Customer” in WordPress user roles. 👍
Your plugin works for me because it resolves the email confirmation issue. It fixes this. However, users also just need the functionality to choose the redirect location after registration (based on the user role). In the future, you could also offer “redirect after login” (based on user role) as part of the same plugin. This is a great feature enhancement, and it will improve the sales and value of the plugin 😁
Thanks for your support. I hope these explanations help. If there’s anyway I can help with 5-star reviews on any social media or reviews platform, then please let me know because I’m happy to to help.
Waiting for your good news and I’m looking forward to trying it.
Kind regards,
PeterHi Peter,
Thank you for the patience.Please upgrade to 1.5.0
You can setup custom redirects for each role if you want to.
Please let me know if that works for you or not?
Regards
BrajeshHi Brajesh,
It’s only 50% working! It works perfectly for “Customer” user role. But it does not work for “Pending Vendor” user role. With Pending Vendor, it just goes to the page saying: “Your account is now active! Before you can login, you need to confirm your email address via the email we just sent to you.”
It works for Customer, but not for Pending Vendor.
1. Any ideas why? I’m sure it will be a quick fix 😊
2. Would it be easy to also add a redirect after login (not just registration)?
Will await your news.
Thanks!
Hi Peter,
Thank you.What is pending vendor role? Is there any chance that they are restricted from login? Are you using any plugin that restricts user account activation or login for the pending vendors?
2. Sure, will be adding today.
Please let me know about the first and I will release the update.
Regards
BrajeshHi Brajesh,
Would I be able to add you on an instant messaging platform such as Skype or another chat type service? It would be better to be able to talk it live.
You might be right about the Pending Vendor role! It’s a WooCommerce User Role to restrict anybody posting products on your store. Here is the documentation – https://docs.woocommerce.com/document/vendor-guide/
I need to assign the “Teacher” with a User Role that locks him into a certain area of the site where he can only apply for the job (and view the blog, etc).
After he submits the application, I can review the submission. If he’s successful, I would manually assign him as an employed teacher (by changing his User Role).
How would I implement this first step? Would the newly registered teacher need a temporary user role (like a “Job Applicant”). And how would I filter that user role from seeing most of the content? Would I need a plugin like MemberPress or Memberships for WooCommerce? Is that the best way to do this?
Kind regards,
PeterI spoke too soon. The plugin is still not working for me. I duplicated the Customer Role (which is the one that is working). But the duplicated role doesn’t redirect correctly (even though it is an exact duplicate of the Customer Role (which works).
It’s very confusing. I would really appreciate it if we could chat via a messenger service. It will be a lot quicker to resolve it this way.
What’s the best way to do this?
Regards,
Peter
You must be logged in to reply to this topic.