This topic contains 8 reply and 4 voices, and was last updated by Tor B 4 years, 7 months ago
Viewing 8 Posts - 1 through 8 (of 8 total)
Author Posts
March 18, 2015 at 2:02 am 39351
Tor B 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?
March 18, 2015 at 10:18 am 39373
Nash Nash

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

March 19, 2015 at 7:09 am 39424
andrewsailer andrewsailer

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

March 19, 2015 at 4:30 pm 39507
towhid towhid

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 🙂

April 18, 2015 at 4:35 pm 41665
Tor B Tor B

Any update on this?

April 18, 2015 at 6:28 pm 41695
andrewsailer andrewsailer

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.

April 18, 2015 at 9:26 pm 41712
Tor B Tor B

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

April 18, 2015 at 10:26 pm 41715
andrewsailer andrewsailer

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’ );

}

April 19, 2015 at 2:37 pm 41746
Tor B Tor B

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?

User

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

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