Home Forums Theme Support Dokan User Registration – Become A Vendor Application

This topic is: not resolved

This topic contains 8 replies, has 4 voices, and was last updated by  Tor B 3 years, 10 months ago.

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #39351

    andrewsailer
    Member
    Post count: 10

    Hello!
    I am trying to make the vendor registration act as an application. So basically I would have a link in my navigation (Become A Vendor) that would link to a form to register (apply) as a vendor. When the user submits the form, they get a confirmation message and confirmation email saying that the application is being processed. Once approved, the admin activates their account in the backend and they gain access to the Seller Dashboard. Essentially, I need them to not have access or be logged in at all until the admin activates the account.
    It would also be nice if once the admin activates the account, an email is automatically sent to the new vendor welcoming them to the site and giving them their credentials.

    What is the best way to go about this? Does Dokan support 3rd party user management in WordPress?

    #39373

    Nash
    Member
    Post count: 13

    I am also interested in knowing how to do this. Was just getting ready to post a thread about it myself.

    #39424

    andrewsailer
    Member
    Post count: 10

    Nash,
    I found this plugin: https://wordpress.org/plugins/new-user-approve/
    I'm gonna play around with it tonight to see if I can make it work with Dokan.
    Will let you know the outcome.

    DOKAN SUPPORT: PLEASE HELP!!

    #39507

    towhid
    Participant
    Post count: 4505

    Hello Andrewsailer,

    We do not have this kind of feature right now. But to avail this kind of feature anybody can customize the dokan plugin. If you find out any aid from the plugin please let me know.

    Thank You ๐Ÿ™‚

    #41665

    Tor B
    Member
    Post count: 100

    Any update on this?

    #41695

    andrewsailer
    Member
    Post count: 10

    Check out Ultimate Member (https://ultimatemember.com). I was able to achieve my goal with this free plugin. If you need assistance, feel free to shoot me an email at andrew@solariumcreative.com.

    #41712

    Tor B
    Member
    Post count: 100

    Thank you. Do you have a working, public site using this?

    #41715

    andrewsailer
    Member
    Post count: 10

    I have this working, but my client's site is not yet public. Essentially I added a link to the top menu “Become A Vendor” which only displays to logged out users. This links to a page with a form created with Ultimate Member. The tricky part was syncing WordPress roles with Ultimate Member Roles. Adding this to my functions.php did the trick:

    /* This example syncs both UM / WP role during user approval */

    add_action(‘um_after_user_is_approved', ‘sync_um_and_wp_role', 99 );
    function sync_um_and_wp_role( $user_id ) {

    // Get UM role
    $role = get_user_meta( $user_id, ‘role', true );

    // Set WordPress role for same user
    $wp_user_object = new WP_User( $user_id );
    $wp_user_object->set_role( ‘seller' );

    }

    #41746

    Tor B
    Member
    Post count: 100

    Thank you. Do you use any of the “User profile” functionality as seen in the demo, or do you restrict the use of Ultimate member to the registration form?

    http://ultimatememberdemo.com/user/tomsmith/

    …and do you use Ultimate member to populate the same fields as Dokan – or do you use custom fields?

Viewing 9 posts - 1 through 9 (of 9 total)

The topic ‘User Registration – Become A Vendor Application’ is closed to new replies.