BuddyDev

Search

[Resolved] Logging in automatically, and then using WooCommerce Redirect for the exact URL

  • Keymaster
    (BuddyDev Team)
    Posts: 24706
    Brajesh Singh on #29659

    Hi 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
    Brajesh

  • Participant
    Level: Enlightened
    Posts: 44
    teacherpete on #29682

    Dear 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, 7 months ago by teacherpete.
  • Keymaster
    (BuddyDev Team)
    Posts: 24706
    Brajesh Singh on #29694

    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
    Brajesh

  • Participant
    Level: Enlightened
    Posts: 44
    teacherpete on #29720

    Hi 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,
    Peter

  • Keymaster
    (BuddyDev Team)
    Posts: 24706
    Brajesh Singh on #29724

    Hi 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
    Brajesh

  • Participant
    Level: Enlightened
    Posts: 44
    teacherpete on #29745

    Hi 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!

  • Keymaster
    (BuddyDev Team)
    Posts: 24706
    Brajesh Singh on #29751

    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
    Brajesh

  • Participant
    Level: Enlightened
    Posts: 44
    teacherpete on #29755

    Hi 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,
    Peter

  • Participant
    Level: Enlightened
    Posts: 44
    teacherpete on #29757

    I 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.

This topic is: resolved