• I was wondering how it may be possible to create a vendor directory or listing of advertisers. I’d need it so that a vendor can sign up and create a new listing through the site which would automatically create an account for them that associates with a custom post type listing (vendor). This way they can login and make a request for changes and we know that they are associated with that specific account. Can’t really figure out the best way to do this, I am unfamiliar with most of the advanced user capabilities or plugins that may be available for this so some advisement in the right direction would be great, thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • This doesn’t sound like an off-the-shelf plugin – rather something that should be coded directly (though perhaps a plugin could be made from that!)

    If it was me, I’d start with a form collecting the data I needed (perhaps use a form plugin for that).

    Then make use of a few of the WP functions such as wp_insert_post (with your custom post type), add_post_meta (with the new post id and whatever special fields you have) and wp_create_user to create the user.

    You’ll need a couple of others, but that should give you the rough shape.

    Regards

    John

    Thread Starter qwik3r

    (@qwik3r)

    Thanks John, this is what i basically realized myself that I’d need to do a custom form, that may be the only answer. The next step is limiting the ability of the user to only their posts being able to only create once and not edit lol. Working on that before the form, so far so good.

    I’d need to do a custom form

    You certainly don’t want to go exposing the admin area to anyone/everyone.

    It sounds like an interesting project, one that’s probably got potential as a plugin if you can make it generic enough.

    Best of luck.

    John

    Thread Starter qwik3r

    (@qwik3r)

    I think there is a business directory plugin already available but its probably not as advanced, I have to check it out.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Creating a vendor directory’ is closed to new replies.