ეს პლაგინი არ დატესტილა WordPress-ის 3 ძირითად ვერსიაზე. როგორც ჩანს, ის უკვე აღარ არის მხარდაჭერილი და შესაძლოა არ იყოს თავსებადი WordPress-ის მიმდინარე ვერსიასთან.

Roomcloud

აღწერა

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

დაყენება

  1. Upload roomcloud.php to the /wp-content/plugins/ directory
  2. Upload CSS and JS folders to the /wp-content/plugins/ directory
  3. Activate the plugin through the ‘Plugins’ menu in WordPress
  4. Depending on the Roomcloud Booking Engine version you use, prepare your shortcode string using one of the formats as described at https://apitest.roomcloud.net/wordpress and briefly listed below
    • SE1 Horizontal Search Form: [roomcloud hotel=’xyz’]
    • SE1 Multi Account Horizontal Search Form (for group of hotels): [roomcloud_multi hotel=’xyz’ multi_id=’xxx;yyy’ multi_desc=’xxx_desc;yyy_desc’]
    • SE1 Vertical Search Form: [roomcloud_vertical hotel=’xyz’]
    • SE1 iFrame: [roomcloud_iframe hotel=’xyz’]
    • SE1 iFrame with resizer module: [roomcloud_iframeResizer hotel=’xyz’]
    • SE2 Horizontal Search Form: [roomcloud_v2 hotel=’xyz’]
    • SE2 Multi Account Horizontal Search Form (for group of hotels): [roomcloud_multi_v2 hotel=’xyz’ multi_id=’xxx;yyy’ multi_desc=’xxx_desc;yyy_desc’]
    • SE2 Vertical Search Form: [roomcloud_vertical_v2 hotel=’xyz’]
    • SE2 iFrame: [roomcloud_iframe_v2 hotel=’xyz’]
    • SE2 iFrame with resizer module: [roomcloud_iframeResizer_v2 hotel=’xyz’]
  5. Place the roomcloud shortcode inside the page of your website using wordpress page editor.
  6. In case of internal page, place the roomcloud_iframe shortcode inside the page with specified page_id using wordpress page editor.

ხდკ

Do I need a Roomcloud account?

Yes. Please complete a signup https://www.roomcloud.net/en/signup/

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 one of the formats reported abovein 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?

Goto http://www.roomcloud.net

მიმოხილვები

12.05.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; }
2 რევიუს წაკითხვა

მონაწილეები & დეველოპერები

“Roomcloud” ღია პროგრამული უზრუნველყოფაა. შემდეგმა ადამიანებმა წვილი შეიტანეს მის განვითარებაში.

მონაწილეები

გადათარგმნეთ Roomcloud თქვენს ენაზე.

დაინტერესებული ხართ დეველოპმენტით?

დაათვალიერეთ კოდი, შეამოწმეთ SVN რეპო, ან გამოიწერეთ შექმნის ჟურნალი : RSS.

ცვლილებები

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

2.0

  • SE2 integration
  • multi account integration
  • vertical form introduction

2.0.2

addess CSS and JS folders

2.0.3

addess CSS and JS files