Title: mini-plugins qs
Last modified: December 19, 2017

---

# mini-plugins qs

 *  [gibbsyns3](https://wordpress.org/support/users/gibbsyns3/)
 * (@gibbsyns3)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/mini-plugins-qs/)
 * hi nate
 * REPLACE CONTENT i stumbled across a mini plug ‘replace content when form submitted’–
   by replace, does it mean clear? its purpose is to clear the form to prevent second
   and duplicate submissions? if so great, we get that quite a lot. I also noticed
   another that prevents re submission – do they do different things or is it a 
   different approach to the same job?
 * AUTO ACCEPT also reading through the recent threads i noticed another to automatically
   accept bookings which i can make use of during the winter months. i wasn’t clear
   what its state of play was looking at the comments. can you please confirm whether
   it changes the status to confirmed, and whether the confirmed email is triggered(
   as opposed the email booking request received).
 * made me wonder what other goodies i might be missing out on so i had a trawl….
 * MAX BOOKINGS/CAPACITY Is the only difference that 1 is the number of individual
   bookings and 1 is the number of guests? Also, these go to reject when the limit
   is reached. I know my clients would pay a fee to have this function where it 
   differed in switching to unconfirmed when the limit was reached. So if i understand
   your developer info correctly I am allowed to amend/extend the code? Sounds quite
   a simple adjustment.
 * DON’T REQUIRE EMAIL Similar to above, if i can figure a copy and paste from one
   of your admin overrides, it is ok for me to amend this so that a logged in administrator
   can submit the form without email?
 * General Q – do i have to keep these (I’ll be up to 7) as separate plugins, or
   can i combine them into one text so 1 plug in?
 * These will be very useful, as are the ones i have already, but i don’t know why
   you put them out piecemeal instead of rolling them all up into a suite of advanced
   functions as another paid add-on. you’d get more money and spend a lot less time
   in this forum for sure 🙂
 * Merry Christmas

Viewing 1 replies (of 1 total)

 *  [NateWr](https://wordpress.org/support/users/natewr/)
 * (@natewr)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/mini-plugins-qs/#post-9799267)
 * Hi [@gibbsyns3](https://wordpress.org/support/users/gibbsyns3/),
 * The snippets that I provide are not very widely tested, and so you use them at
   your own risk. I generally recommend that you test thoroughly when using them,
   because many of them are just snippets because they’ll only work with certain
   configurations or might have odd side-effects in some cases. That said, many 
   of them have been in use for years without any complaints.
 * > REPLACE CONTENT i stumbled across a mini plug ‘replace content when form submitted’–
   > by replace, does it mean clear?
 * When the booking form is submitted and the success page is loaded, you can override
   all content on the booking page with what appears [here](https://gist.github.com/NateWr/038820ba03e6c36dad1f#file-replace-booking-page-for-rtb-php-L52-L54).
   So, for example, if you wanted to include a message above the booking form, but
   didn’t want that message to appear when the form is submitted, this would do 
   that.
 * >  its purpose is to clear the form to prevent second and duplicate submissions?
 * No, it doesn’t change anything immediately when the submit button is clicked,
   and coming back to the page will show the booking form again.
 * >  i wasn’t clear what its state of play was looking at the comments. can you
   > please confirm whether it changes the status to confirmed, and whether the 
   > confirmed email is triggered (as opposed the email booking request received).
 * I think a lot of people use it. It will set the status to confirmed immediately
   and I THINK that is then sends the confirmed email instead of the booking request
   email. But it might not, so you should test it and update whichever email it 
   sends.
 * > MAX BOOKINGS/CAPACITY Is the only difference that 1 is the number of individual
   > bookings and 1 is the number of guests?
 * Yes.
 * > So if i understand your developer info correctly I am allowed to amend/extend
   > the code?
 * Yes, it’s all GPL which doesn’t restrict your usage in any way.
 * > DON’T REQUIRE EMAIL Similar to above, if i can figure a copy and paste from
   > one of your admin overrides, it is ok for me to amend this so that a logged
   > in administrator can submit the form without email?
 * Yes, but I’m not responsible for you breaking anything. 🙂
 * > General Q – do i have to keep these (I’ll be up to 7) as separate plugins, 
   > or can i combine them into one text so 1 plug in?
 * It’s up to you. I like to isolate modifications but whatever’s easiest for you.
 * > i don’t know why you put them out piecemeal instead of rolling them all up 
   > into a suite of advanced functions as another paid add-on.
 * Some of them have edge-case issues, or can cause confusion about how they work,
   or otherwise don’t rise to the level of ease-of-use I strive for in my plugins.
   Above all, I don’t want responsibility for them. They are an extra, sometimes
   just a demonstration of how to go about a customization, rather than a product
   or service I offer as part of themeofthecrop.com. YMMV 🙂

Viewing 1 replies (of 1 total)

The topic ‘mini-plugins qs’ is closed to new replies.

 * ![](https://ps.w.org/restaurant-reservations/assets/icon-128x128.png?rev=2205491)
 * [Five Star Restaurant Reservations - WordPress Booking Plugin](https://wordpress.org/plugins/restaurant-reservations/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/restaurant-reservations/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/restaurant-reservations/)
 * [Active Topics](https://wordpress.org/support/plugin/restaurant-reservations/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/restaurant-reservations/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/restaurant-reservations/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [NateWr](https://wordpress.org/support/users/natewr/)
 * Last activity: [8 years, 5 months ago](https://wordpress.org/support/topic/mini-plugins-qs/#post-9799267)
 * Status: not resolved