Example use case: Bob is a Realtor creating/hosting an open house Event. Food provided by John Smith of XYZ Mortgage. Sally creates an open house event the following week at a different location. Gift card drawing sponsored by John Smith of XYZ Mortgage.
I want John Smith to have his own profile / user registration (or if necessary do some taxonomy thing like Venues) so he can see which events he’s sponsored in the past and plan for the future.
And when Sally goes to create next week’s event, she can just pick John Smith from the list as the sponsor (he’s already confirmed over the phone but Sally’s the one entering the event on the website).
===
Similarly, I want XYZ Mortgage (designated person is John Smith) to be able to add a map marker of his office location on the Events Map. He can have a free account/taxonomy to sponsor events off-site, but I also want him to be able to pay me $50/month for his business location to be added to the map.
For example, events are blue pins on the map and “local vendors” pins are red-colored.
If they don’t pay next month’s bill, their map marker status is “expired” and therefore doesn’t get mapped next month.
===
I thought maybe there’s a way to tie-in to Bookings, since I’m not really using that functionality on this site and since I want to charge for it (Stripe and such).
Please share your feedback. tyvm
Clifford P
Hi Clifford,
Must of the above can be done with the help of the post-to-post plug-in. I’d recommend:
- Sponsor is a post type (e.g. XYZ Morgage).
- Designated person (e.g. John Smith) could be the ‘post_author’ of that post type, or you can do a post type => user relation via post-to-post.
- The event admin can set up a link between a sponsor and an event (via post-to-posts)
While the event map shortcode doesn’t allow you to query by a post-to-post relationship, the API functions will allow you to do this. The eventorganiser_venue_map_options
can allow you to inject additional ‘locations’, and you can also set a different marker. (I can follow up with details if this is required).
Lastly, regarding the regular billing of sponsors, I don’t think piggy-backing off bookings will work. For a start, you’ll presumably want to recurring payments (manual, or automatic) on a regular basis. Event bookings don’t match that. I’d recommend to achieve that part you use a membership plug-in – pretty much any would do as you don’t need any content restriction features, just the ability to reguarly bill someone.
Stephen Harris
Further my comments regarding a membership plug-ins, will focus on users (in this case the designated person). If there’s no reason to have ‘XYZ Mortgage’ as a distinct entity I would skip that and have ‘John Smith’ and ‘XYZ Mortgage’ as the same ‘thing’ (e.g. store ‘XYZ Mortgage’ name as user meta). That would allow you to skip a step.
It would really depend on what role you want ‘XYZ Mortgage’ and ‘John Smith’ to have in the site.
Stephen Harris