• We have a tiny office space that shares an office conference room. I am using this plugin to allow people to schedule the conference room but I keep hitting a dead end on the shortcode and pages linking to each other.
    I have all the information about the security key and database information entered. I have 3 pages. 1 called Meeting Room Registrations with shortcode [showReg]
    2nd page Meeting Rooms shortcode [meetingRooms] I am able to see Meeting rooms to click on Reserve. Then my message about special instructions comes up and it takes me to my 3rd page called Event Calendar. I can click on a date but nothing happens. I thought I followed the directions as stated. Is it my site or am I missing a crucial step?

Viewing 8 replies - 1 through 8 (of 8 total)
  • I think you are speaking about the Event Calendar plugin. There are 2 plugins, the main plugin and the Event Calendar. THis is the help for the main plugin, not the Calendar. These are separate so that they can run on separate domains if needed.

    In the main plugin, you should have a URL for reservations page, with a [meetingRooms] shortcode on that page.

    You also have a spot for a URL for the event calendar. Use the external (if on a separate domain) or internal link for that.

    In the Event Calendar plugin there are settings for security keys and DB. To set up the Calendar:

    Create a page for your main calendar. Use the shortcode [showCalendar].

    Make another page for registration. Use the shortcode [showReg].

    Finally, use that last page’s URL for the Events settings “Registration page URL”

    Thread Starter kthrall

    (@kthrall)

    This plugin ROCKS, wow, now that I put the right shortcode on the right page, I can see how cool this is. Great work! So I think I read the tech doc wrong then, I thought you had to have both plugins for the book a room to work properly.
    I can now schedule a room but I am getting errors that I don’t know if they are settings or the code.
    Warning: A non-numeric value encountered in /home/c101co36/public_html/wp-content/plugins/book-a-room/bookaroom-meetings-public.php on line 122

    Warning: A non-numeric value encountered in /home/c101co36/public_html/wp-content/plugins/book-a-room/bookaroom-meetings-public.php on line 873

    I can see in the code that it’s related to time and cost of room amount but I am only just now getting curious enough about code to try to understand it a bit and I am probably way off in my understanding. I don’t know what settings these are connected to for me to adjust them. We don’t charge for the room to be booked. I have $0 in the For Profit Room Deposit under meeting room settings as well as all 3 fields below such, when I save, it clears out those fields.

    Finally, am I able to edit the fields required for people to fill out when they are reserving a room? Some of the required fields don’t apply to us or if they do, like phone number, that can be a privacy issue for some.

    I am guessing it’s your Reserve Buffer or Base Increment.

    Base increment is how you want do block the room. We use 30 (One reservable increment is 30 minutes long).

    The reserve buffer is a number that blocks people from reserving immediately, so they can’t reserve on the same day (or whatever you choose).

    Sorry, that wasn’t typed very well.

    What are your Base Increment and your reserve buffer set to?

    Thread Starter kthrall

    (@kthrall)

    I replied last week but when I checked this, it’s not showing.
    Here is what I sent.

    Base is set to 30 and the Days buffer to Reserve is set to 1. These are the two lines it’s telling me are in error so my settings must not be right for base or days buffer.

    $externals[‘roomCost’] = ( ( ( ( $externals[‘endTime’] – $externals[‘startTime’] ) / 60 ) / get_option( ‘bookaroom_baseIncrement’ ) ) * $costIncrement ) * $roomCount;

    $externals[‘roomCost’] = ( ( ( ( $oldExternals[‘endTime’] – $oldExternals[‘startTime’] ) / 60 ) / get_option( ‘bookaroom_baseIncrement’ ) ) * $costIncrement );

    Are you using PHP 7 or above? I have only tested to the 5s.

    I think I can add some typecasting to make it compare as an integer.

    Can you let me know your PHP version first?

    Thread Starter kthrall

    (@kthrall)

    We are on version 7

    BOok a Room is only good on 5 although I am making changes to get it working on 7 as we speak.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Dead end’ is closed to new replies.