Title: Setup plugin
Last modified: August 30, 2016

---

# Setup plugin

 *  Resolved [furtice](https://wordpress.org/support/users/furtice/)
 * (@furtice)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/setup-plugin-1/)
 * Hello Jan,
 * I’ve got multible questions to ask for a B&B with two appartments, nöst1 en nöst2.
 * #1 after setting up and filling ‘lijst met kamers’ i can book at back-end. Default
   is empty. But when i set shortcode [availbooking name=”Nöst1″] [availbooking 
   name=”Nöst2″] the page shows 2 calenders, but all days are red/booked.
 * #2 i can’t figure out how to make a reservationform with contactfrom 7 that works
   along with the plugin. For exemple it would be great is booked day can’t be choosen
   at the datepicker.
 * [https://wordpress.org/plugins/jm-avail-booking/](https://wordpress.org/plugins/jm-avail-booking/)

Viewing 8 replies - 1 through 8 (of 8 total)

 *  Plugin Contributor [Jan Maat](https://wordpress.org/support/users/jan-maat/)
 * (@jan-maat)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/setup-plugin-1/#post-6584978)
 * #1
    There are two possibilities. 1. There is a very long booking. 2. There is
   a css conflict. To find which is happening at your site go to the source fill
   of the page with the calendar. Look for the table with the calendar. If the red/
   booked cells have the class cal_post there is a booking. With the class cal_empty
   there is a css issue. In the last situation there is somewhere outside the plugin
   a css rule that defines the background color of the cells to be red. #2 Make 
   a form with ctf7 as normale. Add the shortcode [booking]. This shortcode has 
   two functions, 1 it generates the room info for the form and 2 it triggers at
   send the code to store some of the form fields into the database. The fields 
   to be stored need to have specific names as defined in the plugin description.
   If you want 1 form for your two rooms just use the shortcode [booking]. If you
   want a form for each room use [booking nost1] on the form and [nost2] on the 
   other form. The dates cannot be blocked in the datepicker but at send the dates
   are validated for overlaps and if so control returns to the form and the send
   actions are aborted.
 * Regards,
    Jan
 *  Thread Starter [furtice](https://wordpress.org/support/users/furtice/)
 * (@furtice)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/setup-plugin-1/#post-6585022)
 * Lets firts deal with #1 🙂
 * It looks like there’s a booking
 *     ```
       <p><div class="availcal" >	<div class="table_pos"><table class="table table-bordered"  >
                               <thead>
                               <tr class="cal_title">
       			<td class="left"><a href="#" class="makeRequest" data-instance="1" ><--</a></td>
       			<td colspan="6" class="cal_month">
       			<div id="availcalheader1">september - 2015</div></td>
       			<td class="right"><a href="#" class="makeRequest2" data-instance="1">--></a></td></tr><td class="weeknbr">#</td><td>ma</td><td>di</td><td>wo</td><td>do</td><td>vr</td><td>za</td><td>zo</td></tr></thead><tbody id="data-update1"><tr id="table_info1" style="display: none;" data-year="2015" data-monthmin="8" data-monthplus="10" data-monthname="september - 2015" data-name="Nöst1"></tr><tr><td class="weeknbr">36</td><td colspan="1">&nbsp;</td>
       <td class="cal_post">1   </td>
       <td class="cal_post">2   </td>
       <td class="cal_post">3   </td>
       <td class="cal_post">4   </td>
       <td class="cal_post">5   </td>
       <td class="cal_post">6   </td>
       </tr>
       <tr><td class="weeknbr">37</td><td class="cal_post">7   </td>
       <td class="cal_post">8   </td>
       <td class="cal_post">9   </td>
       <td class="cal_post">10   </td>
       <td class="cal_post">11   </td>
       <td class="cal_post">12   </td>
       <td class="cal_post">13   </td>
       </tr>
       <tr><td class="weeknbr">38</td><td class="cal_post">14   </td>
       <td class="cal_post">15   </td>
       <td class="cal_post">16   </td>
       <td class="cal_post">17   </td>
       <td class="cal_post">18   </td>
       <td class="cal_post">19   </td>
       <td class="cal_post">20   </td>
       </tr>
       <tr><td class="weeknbr">39</td><td class="cal_post">21   </td>
       <td class="cal_post">22   </td>
       <td class="cal_post">23   </td>
       <td class="cal_post">24   </td>
       <td class="cal_post">25   </td>
       <td class="cal_post">26   </td>
       <td class="cal_post">27   </td>
       </tr>
       <tr><td class="weeknbr">40</td><td class="cal_post">28   </td>
       <td class="cal_post">29   </td>
       <td class="cal_post">30   </td>
       <td colspan="4">&nbsp;</td></tr><td class="weeknbr"><div class="cel_hidden">31  </div> </td><td colspan="7">&nbsp;</td></tr><tr><td class="weeknbr">&nbsp;</td><td class="cal_post display_post">&nbsp;</td> <td class="display_post" colspan="6">geboekt</td></tr>
       </tbody></table></div></div></p>
       ```
   
 * But i didn’t make it and i can’t find it in the backend. So how to remove it?
 *  Thread Starter [furtice](https://wordpress.org/support/users/furtice/)
 * (@furtice)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/setup-plugin-1/#post-6585075)
 * Jan,
 * Already got any clue on how to fix the problem?
 *  Plugin Contributor [Jan Maat](https://wordpress.org/support/users/jan-maat/)
 * (@jan-maat)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/setup-plugin-1/#post-6585078)
 * Hi,
 * I overlooked your last post. Sorry to keep you waiting.
    No I have not yet any
   clue.
 * Do you have access to phpMyAdmin? If so can you make a screenshot of the contents
   of the table wp_availabilitybooking_bookings? If you do not have access to phpMyAdmin
   perform the xml export and post the content of the exported file.
 * Jan
 *  Thread Starter [furtice](https://wordpress.org/support/users/furtice/)
 * (@furtice)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/setup-plugin-1/#post-6585087)
 * <?xml version=”1.0″ encoding=”UTF-8″ ?>
    <AvailCal> <Bookings> </Bookings> <Prices
   > </Prices> </AvailCal>
 *  Plugin Contributor [Jan Maat](https://wordpress.org/support/users/jan-maat/)
 * (@jan-maat)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/setup-plugin-1/#post-6585089)
 * Hi,
 * May be I found the problem. Did you have set the Use Small Hotel mode option 
   in combinatie with the list of rooms in the format room1,room2.
 * In this case you get all dates red in the calendar.
    With the Use Small Hotel
   mode set you need the List of rooms in the format room1:number,room2:number
 *  Thread Starter [furtice](https://wordpress.org/support/users/furtice/)
 * (@furtice)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/setup-plugin-1/#post-6585090)
 * It did the trick!
 * Also i’ve found out the intergration with CF7 zo all isseus are cleared!
 *  [Menubestof](https://wordpress.org/support/users/menubestof/)
 * (@menubestof)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/setup-plugin-1/#post-6585181)
 * Hello,
    I can’t figure it out. I’ve the same problem : every day is booked / 
   red, even if I have no booking, no price set. And that’s not a CSS conflict. 
   I tried everything with or without Small Hotel Mode… It doesn’t work, and the
   plugins says
 * > Room list in wrong format
 *  when I check Small Hotel mode and set my room like that `room:1`.
    The reservation
   form is ok and reservations are saved, but the “availbooking” shortcode is definitely
   not working. What did I do wrong?
 * **EDIT** Ok I just updated from 1.6.1.3 to 1.6.1.4 and now it works. Great job!
   
   Sorry for that.
 * Thanks a lot.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Setup plugin’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/jm-avail-booking.svg)
 * [WP Availability Calendar & Booking](https://wordpress.org/plugins/jm-avail-booking/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/jm-avail-booking/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/jm-avail-booking/)
 * [Active Topics](https://wordpress.org/support/plugin/jm-avail-booking/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jm-avail-booking/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jm-avail-booking/reviews/)

 * 8 replies
 * 3 participants
 * Last reply from: [Menubestof](https://wordpress.org/support/users/menubestof/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/setup-plugin-1/#post-6585181)
 * Status: resolved