Database

Permalink
I'm looking to build a website with two different logins. One for clients and one for vendors. I then want clients to fill out a form and then I can match vendors to them from the form they fill out. Any suggestions for add-ons to make this easier. Otherwise I was thinking of doing some PHP coding and using the PHP Code block to accomplish this. Any help would be appreciated. I went through pretty much all the Add-ons and I think I can't seem to find what I'm looking for.

 
Mnkras replied on at Permalink Reply
Mnkras
1. There most likely isn't going to be an addon that does that out of the box.
2. You probably shouldn't have to databases, and 2 logins. You can do this with user attributes/groups and the default login page.
3. Don't ever use the PHP Block. This block is a gaping security hole. Write actual code on the server in files.
OKDnet replied on at Permalink Reply
OKDnet
I agree with @Mnkras there's probably no reason to use more than one database, and the php block is not a shortcut to doing this properly. However, with built in permissions, user attributes, and now in v.8.1 Express Data Objects, it sounds like (from the limited scope you provided) you might need a relatively small amount of custom coding, to determine and match a client with a proper vendor. The new Express Data Objects would probably be a huge time saver for this type project!!!
see https://documentation.concrete5.org/editors/dashboard/express...
and
https://documentation.concrete5.org/developers/express/overview...