Dieses Plugin ist nicht mit den jüngsten 3 Hauptversionen von WordPress getestet worden. Es wird möglicherweise nicht mehr gewartet oder unterstützt und kann Kompatibilitätsprobleme haben, wenn es mit neueren Versionen von WordPress verwendet wird.

Roomcloud

Beschreibung

Use Roomcloud plugin to embed our Booking Engine form into your wordpress site.
This allows your customers to make online reservations on the web site of your hotel.
More info at http://www.roomcloud.net

Installation

  1. Upload roomcloud.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‚Plugins‘ menu in WordPress
  3. Prepare your shortcode string using the format: [roomcloud hotel=’xyz‘] where xyz is the hotel code defined in Roomcloud extranet. If you want the roomcloud calendar to point to an internal worpress page, define inside the roomcloud shortcode an additional parameter: page_id and define a roomcloud_iframe shortcode
  4. Place the roomcloud shortcode inside the page of your website using wordpress page editor.
  5. In case of internal page, place the roomcloud_iframe shortcode inside the page with specified page_id using wordpress page editor.

FAQ

Do I need a Roomcloud account?

Yes. You need to complete a demo signup request: https://www.roomcloud.net/be/search/demo_request.jsp, get username and password and configure your account.

I have logged into my account and configured it. What’s next?

Take note of your unique hotel code from roomcloud extranet. Go to wordpress admin page and install Roomcloud plugin. Then add your shortcode using the format [roomcloud hotel=’hotelCode‘] in the page of the website where you want to show the booking form. That’s all!

Where can I get more information about Roomcloud booking engine integration?

Read our support section at http://www.roomcloud.net/docs/integration_manual.pdf

Rezensionen

12. Mai 2019
I create add_shortcode('roomcloud_iframeResizer', 'rc_iframeResizer'); work weel and better. function rc_iframeResizer($atts){ //short code on page : [roomcloud_iframeResizer hotel="id-hotel"] $hotel=e($atts["hotel"]); // open the hotel from $atts //$hotel=e($_POST['hotel']); $hotel=intval($hotel); if(!$hotel) $hotel=''; $pin=e($_POST['pin']); if(strlen($pin) > 20) $pin=''; $start_day=e($_POST['start_day']); if(strlen($start_day) <> 2) $start_day=''; $start_month=e($_POST['start_month']); if(strlen($start_month) <> 2) $start_month=''; $start_year=e($_POST['start_year']); if(strlen($start_year) <> 4) $start_year=''; $end_day=e($_POST['end_day']); if(strlen($end_day) <> 2) $end_day=''; $end_month=e($_POST['end_month']); if(strlen($end_month) <> 2) $end_month=''; $end_year=e($_POST['end_year']); if(strlen($end_year) <> 4) $end_year=''; $lang=e($_POST['lang']); if(strlen($lang) <> 2) $lang=''; $adults=e($_POST['adults']); $adults=intval($adults); if(!$adults) $adults=''; $children=e($_POST['children']); $children=intval($children); if(!$children) $children=''; $chlda = ''; $chld = $children; if($chld>0){ for ($x=0; $x<$chld; $x++) { $ar='child_'.$x; $a=e($_POST[$ar]); $a=intval($a); if(!$a) $a=''; $chlda=$chlda.'&child_'.$x.'='.$a; } } echo(' <script type="text/javascript"src="http://www.roomcloud.net/be/js/iframeResizer.min.js"><span style="display: inline-block; width: 0px; overflow: hidden; line-height: 0;" data-mce-type="bookmark" class="mce_SELRES_start">?</span></script> <iframe frameborder="0" width="100%" height="2200" src="'); echo('https://www.roomcloud.net/be/se1/hotel.jsp?hotel='.$hotel.'&pin='.$pin.'&start_day='.$start_day.'&start_month='.$start_month.'&start_year='.$start_year.'&end_day='.$end_day.'&end_month='.$end_month.'&end_year='.$end_year.'&r=1&a=1&lang='.$lang.'&t=0&n=0&adults='.$adults.'&children='.$children.$chlda); echo('" width="110%" frameborder="0" scrolling="no"> </iframe> <script type="text/javascript">iFrameResize({checkOrigin:false,enablePublicMethods:true,bodyBackground: \'transparent\'}); </script>'); //return; }
Lies alle 2 Rezensionen

Mitwirkende & Entwickler

„Roomcloud“ ist Open-Source-Software. Folgende Menschen haben an diesem Plugin mitgewirkt:

Übersetze „Roomcloud“ in deine Sprache.

Interessiert an der Entwicklung?

Durchstöbere den Code, sieh dir das SVN Repository an oder abonniere das Entwicklungsprotokoll per RSS.

Änderungsprotokoll

1.0

  • Initial support

1.1

  • Added roomcloud_iframe shortcode

1.3

  • Contains a security bug fix to prevent cross-site scripting attacks

1.3.1

  • Iframe src in https