Two parties to an activity

We are creating a website with CodeIgniter similar to that of a newspaper. Most of the time adverts can be placed by one person, but a marriage advert will require both parties to agree to the advertising.

We know how one person can place an advert but do not know how we can get 2 members as parties to the placing of an advert.

Can anybody guide us on how to do that?

Use a “type” that requires two users to accept it

Thanks @astonecipher but that answer does not mean anything to me. Can you expand?

You need to expand on the types of advertisements and what the specification is to run them individually. Then you can put the requirement of two authorizers on to a type.

Adv_Types
Id | Type | AuthRequired
1 | Marriage | 2

Adv
Id | Type | Heading | Body | DateStart | DateEnd | Cost | Status
53 | 1 |Something | This | 2020-10-31 | 2020-11-14 | 100 | PAID

Auth
Id | userId | AdvId | dateAuth
26 | 500 | 52 | 2020-10-20
30 | 502 | 52 | 2020-10-21

Thanks @astonecipher. Can you provide a link to where I can learn more about it? I have already Googled “type” but that didnt provide much help.

@astonecipher can you build our website?

Message me. Not promising anything however

What is your email address?

Sent you a direct message

Sponsor our Newsletter | Privacy Policy | Terms of Service