Plugin Directory

Changeset 651362


Ignore:
Timestamp:
01/11/2013 04:27:53 PM (13 years ago)
Author:
lyros
Message:

Version 1.0.3 Update

Location:
wp-easybooking/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • wp-easybooking/trunk/admin/businesses_bookings.php

    r649393 r651362  
    3535//           CHECK USER LEVEL
    3636//=========================================================
    37 global $current_user;
     37
     38$user_id = get_current_user_id();
     39$user_info = get_userdata( $user_id );
     40
    3841$noAdmin_whereStr = '';
    3942$editBusinessLink = '';
    40 if($current_user->wp_user_level == 0 && $current_user->wp_user_level != 10) {
     43
     44if($user_info->user_level == 0) {
    4145    $noAdmin_whereStr = 'and post_author = "'.$current_user->ID.'"';
    4246    $targetPage = 'busines_menu';
    4347    $editBusinessLink = 'business_list';
    4448}
    45 if($current_user->wp_user_level == 10) {
     49
     50if($user_info->user_level == 10) {
    4651    $targetPage = 'easy_booking_menu';
    4752    $editBusinessLink = 'busines_menu';
     
    166171init_plugin_name();
    167172function init_plugin_name(){
    168   wp_enqueue_script('flotscript', WP_PLUGIN_URL . '/wp-easybooking/js/jquery.flot.min.js', array('jquery'));
    169   wp_enqueue_script('excanvasscript', WP_PLUGIN_URL . '/wp-easybooking/js/excanvas.min.js', array('jquery'));
     173  wp_enqueue_script('flotscript', WP_PLUGIN_URL . '/wp_easybooking/js/jquery.flot.min.js', array('jquery'));
     174  wp_enqueue_script('excanvasscript', WP_PLUGIN_URL . '/wp_easybooking/js/excanvas.min.js', array('jquery'));
    170175
    171176}
     
    187192}
    188193
    189 function getBAvailability(bID, bTitle, addMonths){
     194function getBAvailability(bID, bTitle, addMonths){ 
    190195        jQuery("#chartBusinessTitle").html(bTitle);
    191196        jQuery("#businessAvailabilityDiv").html("<div style='width:100%' align='center'><img src='<?php echo WP_CONTENT_URL;?>/plugins/wp-easybooking/images/loaderMedium.gif'></div>");
     
    195200            data: "usrLevel=<?php echo $current_user->wp_user_level; ?>&bID="+bID+"&bTitle="+bTitle+"&aPath=<?php echo $absPath; ?>&pref=<?php echo $table_prefix; ?>&sMonth="+addMonths,       
    196201            success: function(resp){
    197                 //alert(resp);
    198202                jQuery('#businessAvailabilityDiv').html(resp);
    199203                jQuery('#ebChartHolder').show();
    200                 /*displayPlot(resp);*/
    201             }
     204            },
     205            error: function (xhr, ajaxOptions, thrownError) {
     206        alert(xhr.status + ' '+ thrownError);
     207      }
    202208            });
    203209}
  • wp-easybooking/trunk/admin/businesses_list.php

    r649393 r651362  
    11<?php
    2 global $eb_adminUrl;//<-importand to globalize it so you can use it
     2global $eb_adminUrl;
    33$eb_page = addslashes($_REQUEST['page']);
    44$targetPage = '';
     
    77//           CHECK USER LEVEL
    88//=========================================================
    9 //global $current_user;
     9
    1010$noAdmin_whereStr = '';
    1111$user_id = get_current_user_id();
     
    5858    }
    5959    else{
    60         //if(isset($_REQUEST['statusAction']) && $_REQUEST['statusAction']== "updateBusinessStatus" && $_REQUEST['setStatus'] != ''){
    6160            $businessId = $_REQUEST['bID'];
    6261            if($_REQUEST['setStat'] == "Publish") $staAct = 'publish';
     
    9796                    An email has been sent to the owner <em>('.$eb_BusinessOwner.' - '.$ownerData->user_email.')</em> to inform about the new status of his business.</div>';                   
    9897                }               
    99 
    100             //}
    10198        }
    10299    }//END OF STATUS UPDATE
     
    118115                    if(is_file($imgPath.'/thumbs/'.$delroomImages[$i])){
    119116                        unlink($imgPath.'/thumbs/'.$delroomImages[$i]);
    120                         //echo 'Image '.$delroomImages[$i].' deleted succesfully from thumbs<br>';
    121117                    }
    122118                    else echo 'No such file '.$delroomImages[$i]. 'in thumbs<br>';
     
    124120                    if(is_file($imgPath.'/'.$delroomImages[$i])){
    125121                        unlink($imgPath.'/'.$delroomImages[$i]);   
    126                         //echo 'Image '.$delroomImages[$i].' deleted succesfully<br>';
    127122                    }
    128123                    else echo 'No such file '.$delroomImages[$i]. '<br>';   
     
    146141        }
    147142        wp_delete_post($room->ID); 
    148         //delete_post_meta($room->ID);
    149143    }
    150144   
  • wp-easybooking/trunk/readme.txt

    r649393 r651362  
    55Requires at least: 3.4
    66Tested up to: 3.5
    7 Stable tag: 1.0.1
     7Stable tag: 1.0.3
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    8282
    8383== Frequently Asked Questions ==
    84 = I can't add new cities from the quick add form, located at the business's (Hotel's) page =
    85 To enable this feature you have to install the qTranslate plugin, it's one of the best translation plugins and it's free. The qTranslate plugin should be installed in order the wp-easybooking plugin to function properly.
    86 
    87 = Is it necessary to install the qTranslate plugin, even if my site is not multilingual? =
    88 Yes it is. The wp-easybooking plugin uses qTranslate's functions in several cases, so if you do not install it the plugin will have errors.
    89 If your site is not multilingual, you still have to install and activate qTranslate, but don't enable the 'qTranslate language chooser' widget at Appearance/Widgets.
    90 
    91 = Can I use a different plugin for translations, or I have to use qTranslate only? =
    92 The wp-easybooking plugin uses functions of qTranslate for translations. So no other translation plugin will do, only qTranslate.
    93 
    94 = I can not select any owner for my hotel =
    95 To add an owner, go to the wordpress 'Users' menu and press 'Add New'. Fill in the details and select the role "Businessman".
    96 
    97 = I have created a new business (hotel) and added room types, but it doesn't show up at the results page. =
    98 After creating a new business, you have to:
    99 1. Set the location information from the 'Contact information' tab.
    100 2. Set the operating period or seasons of the hotel, from the 'Seasons/ Operating period' tab.
    101 3. Fill in the payment details of the hotel at the 'Payment Accounts' tab. You have to fill at least the bank details or the paypal account.
    102 4. You have to publish the hotel by pressing the 'Publish' button at the top of the business's page.
    103 
    104 = When I search for hotels, there are no rooms and no prices shown at the results page (nor the hotels page), just plain hotel names, even if I have added rooms and prices for them. =
    105 This may happen for two reasons. First, you have not set the website's currency from the 'Easy Booking' menu. Second, you have not selected a business pack/ package deal for your hotels.
    106 At the top of the hotel's page there is a selection box with the available business packages options, from which you have to select one. For the free version it doesn't matter which one you select.
    107 
    10884= When I activate the plugin and widget, there are several pages added at the menu bar. But when I click on them nothing appears. =
    10985The plugin creates these several pages in order to use them for displaying specific content.
     
    11692= Why do I see 'No report available' at the Balance column at the Businesses List? =
    11793The free version does not calculate the fee that Hotel Owners owe you. That's why it can not display any report.
    118 
    119 = Since the free version does not calculate Hotel Owner's fees, why do I have to select a 'Package Deal' for every hotel? =
    120 The main (premium) version of this plugin, uses the package deal of the hotel at several procedures.
    121 The free version is just limited at the reports, but the calculations are the same. That's why you have to select a Package Deal for each hotel.
    122 
    123 = Can I add new Package Deals? =
    124 No. This operation has been excluded from the free version.
    125 
    126 = How can I change the text 'Resort Search Results', that appears at the top of the results page? =
    127 From the 'Pages' menu of WordPress, select the 'Resort Search Results' page and change it's title to whatever you like.
    128 Same goes for the rest of the pages.
    129 Be careful though and leave the content as is, change only the titles.
    13094
    13195= How can I add a new language? =
     
    145109
    146110= How can I get any help if I face any problem? =
    147 Visit <http://wp-easybooking.com> for complete documentation. If you still have any problems or need extra functionality please contact me at [email protected].
     111Visit <http://wp-easybooking.com> for complete documentation. If you still have any problems or need extra functionality please contact me at [email protected].
     112
     113More FAQ at <http://wp-easybooking.com/content/21-faq>.
    148114
    149115
    150116== Changelog ==
     117= 1.0.3 =
     118* Correction at "Bookings" menu to be visible, by changing the old "$current_user" to "get_userdata()". 
     119
     120= 1.0.2=
     121* Currency Converter minor bug fix.
    151122
    152123= 1.0.1 =
    153 *Base plugin dir changed to wp-easybooking (from wp_easybooking)
    154 *Enabled selection of default packages, in order the prices of rooms to be calculated correctly from the widget.
     124* Base plugin dir changed to wp-easybooking (from wp_easybooking)
     125* Enabled selection of default packages, in order the prices of rooms to be calculated correctly from the widget.
    155126
    156127= 1.0.0 =
  • wp-easybooking/trunk/wp_easybooking.php

    r648905 r651362  
    22/*
    33Plugin Name: Easy Booking
    4 Version: 1.0.0
     4Version: 1.0.3
    55Plugin URI: http://wp-easybooking.com
    66Description: Multi hotel booking plugin for wordpress. Transforms your website into a complete booking engine.
     
    2020} else {
    2121    // Else, load the front-end content (no need for admin content here!)
    22     //if(is_page('resort-search-results'))
    2322    if( isset( $_POST['eb'] )  && $_POST['eb'] == 'rs')
    2423        add_filter('the_content','load_search_results');
     
    143142add_role('eb_businessman', 'Businessman', array(
    144143    'read' => true // True allows that capability
    145     //'edit_posts' => true,
    146    // 'delete_posts' => true
    147144));
    148145
    149 /*
    150 //Remove custom role
    151 $wp_roles = new WP_Roles();
    152 $wp_roles->remove_role("eb_businessman");*/
    153 
    154 $ebPluginFolderName = 'wp_easybooking';
     146$ebPluginFolderName = 'wp-easybooking';
    155147$eb_listLimit = 10;
    156148$eb_adminUrl = 'http://'.$_SERVER['SERVER_NAME'].$_SERVER['PHP_SELF'];
     
    178170            $query .= $sql_line;
    179171            if (substr(rtrim($query), -1) == ';'){//an teleiwnei h grammh me ; einai query
    180                 //echo $query;
    181172                $result = mysql_query($query)or die(mysql_error());
    182173                $query = "";
     
    211202}
    212203else{   
    213     //$file_content = file($eb_path.'/admin/eb_facilities.sql');
    214 
    215204    $query = "";
    216205echo '
     
    229218';
    230219$result = mysql_query($createSql)or die(mysql_error());
    231 /*$query = '';
    232 $linenum = 1;
    233     foreach($file_content as $sql_line){
    234         //if(trim($sql_line) != "" && strpos($sql_line, "--") === false){
    235 
    236             $linenum++;
    237             $query .= $sql_line;
    238            
    239     }*/
    240 
    241     //$result = mysql_query($query)or die('error rep: '.mysql_error());
    242    
    243220    mysql_query('rename table eb_facilities to '.$facilitiesTable_name);
    244221   
     
    274251}
    275252
     253function businesDeals(){
     254    include('admin/businessDeals.php');
     255}
     256
    276257function main_busines() {
    277258    global $title;
     
    359340return $value;
    360341}
    361 function correctPriceNum($price){
    362     //if($price == '') return '';   
     342function correctPriceNum($price){   
    363343    $startsWithDelimiter = false;
    364344    $fCharOfPrice = substr($price, 0, 1);
     
    393373                $delimiterPosition = $firstComma;
    394374            }
    395         }
    396        
    397         //if($delimiterPosition == '') $delimiterPosition = 1;
     375        }       
    398376        if($delimiterPosition == '') $delimiterPosition = strlen($price);//gia na mpainei sto telos k na mhn xalaei ari8mo pou den exei komma
    399377        $priceIntegral  = substr($price, 0, $delimiterPosition);
     
    411389function ebooking_admin_actions() { 
    412390        add_menu_page(__('Easy Booking Settings'), __('Easy Booking'), 'edit_themes', 'easy_booking_menu', 'easybooking_menu_render', '', 7);
     391        add_submenu_page('easy_booking_menu', __('Package Deals'), __('Package Deals'), 'edit_themes', 'busines_deals', 'businesDeals');
    413392        add_submenu_page('easy_booking_menu', __('Businesses list'), __('Businesses'), 'edit_themes', 'busines_menu', 'main_busines');
    414393        //anti gia business_control paliotera eixame to add_business_menu
    415394        add_submenu_page('easy_booking_menu', __('Business control'), __('Add Business'), 'edit_themes', 'business_control', 'addBusinessMenu');
    416         //add_submenu_page('easy_booking_menu', __('Services Provision'), __('Services Provision'), 'edit_themes', 'services_provision', 'main_services_provision');
    417395        add_submenu_page('easy_booking_menu', __('Control Bookings'), __('Bookings'), 'edit_themes', 'bookings_menu', 'main_bookings');     
    418396        add_submenu_page('easy_booking_menu', __('Control Facilities'), __('Facilities'), 'edit_themes', 'facilities_menu', 'main_facilities');
     
    425403        add_submenu_page('eb_businessman_menu', __('Control Bookings'), __('Bookings'), 'eb_businessman', 'bookings_menu', 'main_bookings');
    426404        add_submenu_page('eb_businessman_menu', __('Control Facilities'), __('Facilities'), 'eb_businessman', 'facilities_menu', 'main_facilities');
    427       // add_options_page("Easy Booking Settings", "Easy Booking Settings", 1, "Easy-Booking-Settings", "call_mySettings_page");
    428    
    429     //each existing menu has it's own function to add sub-menu items
    430     //http://codex.wordpress.org/Adding_Administration_Menus
    431405
    432406
     
    497471    jQuery("#regionContainer").show();
    498472    jQuery(".editLocationArea").hide("slow");
    499     jQuery("#regionContainer").html("<img src='<?php echo WP_CONTENT_URL;?>/plugins/wp_easybooking/images/ajax-loader.gif'>");
    500     jQuery("#cityContainer").html("<img src='<?php echo WP_CONTENT_URL;?>/plugins/wp_easybooking/images/ajax-loader.gif'>");
     473    jQuery("#regionContainer").html("<img src='<?php echo WP_CONTENT_URL;?>/plugins/wp-easybooking/images/ajax-loader.gif'>");
     474    jQuery("#cityContainer").html("<img src='<?php echo WP_CONTENT_URL;?>/plugins/wp-easybooking/images/ajax-loader.gif'>");
    501475    var eb_country = jQuery("#eb_countries_select option:selected").val();
    502476    var data = {
     
    519493    jQuery("#addCityArea").show();
    520494    jQuery(".editLocationArea").hide("slow");
    521     jQuery("#cityContainer").html("<img src='<?php echo WP_CONTENT_URL;?>/plugins/wp_easybooking/images/ajax-loader.gif'>");
     495    jQuery("#cityContainer").html("<img src='<?php echo WP_CONTENT_URL;?>/plugins/wpeasybooking/images/ajax-loader.gif'>");
    522496    var eb_region = jQuery("#eb_regions_select option:selected").val();
    523497    if(regionID) eb_region = regionID;
     
    540514    jQuery(".editLocationArea").hide().html('');
    541515    jQuery("#addNewCityContainer").hide("slow");
    542     jQuery("#"+editForm).html("<img src='<?php echo WP_CONTENT_URL;?>/plugins/wp_easybooking/images/ajax-loader.gif'>");
     516    jQuery("#"+editForm).html("<img src='<?php echo WP_CONTENT_URL;?>/plugins/wp-easybooking/images/ajax-loader.gif'>");
    543517    jQuery("#"+editForm).show();
    544518    var locationID = jQuery("#"+locationSelect).val();
     
    564538function updateLocationTranslations(locationType, locationID, langs, defaultLang){
    565539    jQuery("#locationMsgArea").hide().addClass('updated');
    566     jQuery("#locationMsgArea").html("Please wait...<img src='<?php echo WP_CONTENT_URL;?>/plugins/wp_easybooking/images/ajax-loader.gif'>").show();
     540    jQuery("#locationMsgArea").html("Please wait...<img src='<?php echo WP_CONTENT_URL;?>/plugins/wp-easybooking/images/ajax-loader.gif'>").show();
    567541    var translateFormSerialized = '';
    568542    var languages = langs.split('|');
     
    583557function addCity(){
    584558    jQuery(".editLocationArea").hide().html('');
    585     //jQuery("#addNewCityContainer").html("<img src='<?php echo WP_CONTENT_URL;?>/plugins/wp_easybooking/images/ajax-loader.gif'>");
     559
    586560    jQuery("#addCitiesMsgArea").hide().html('');
    587561    jQuery("#addNewCityContainer").show(); 
     
    589563function insertNewCity(langs, defaultLang, locationType){
    590564    jQuery("#addCitiesMsgArea").hide().html('');
    591     jQuery("#addCitiesMsgArea").html("<img src='<?php echo WP_CONTENT_URL;?>/plugins/wp_easybooking/images/ajax-loader.gif'>").show();
     565    jQuery("#addCitiesMsgArea").html("<img src='<?php echo WP_CONTENT_URL;?>/plugins/wp-easybooking/images/ajax-loader.gif'>").show();
    592566    var locationParentID = jQuery("#eb_regions_select").val();
    593567    var locationCountryID = jQuery("#eb_countries_select").val();
     
    608582            var sRes = response.split('|');
    609583            if(sRes[0] == "CITY_INSERT_OK"){
    610                 //var newSelOptionVal = jQuery("#eb_newcity_"+defaultLang).val();
    611                 //alert('New option: ' +newSelOptionVal);
    612                 //jQuery('#eb_cities_select').append(jQuery(document.createElement("option")).attr("value","val").text("myText"));
    613584                fetchRegionCities(locationParentID, sRes[1]);
    614585                for(i = 0; i < languages.length; i++){
     
    634605//==================================================================================================
    635606function eb_action_callback() {
    636     global $wpdb; // this is how you get access to the database
     607    global $wpdb;
    637608    if(isset($_POST['situation'])){
    638609        if($_POST['situation'] == 'OC_FETCH_REGIONS_BY_COUNTRY'){
     
    656627            echo '</select>';
    657628            }
    658             //else echo '<em>No city found. Please insert if you need.</em>';
    659629        }//end of if situation = fetch cities
    660630        if($_POST['situation'] == 'OC_FETCH_LOCATION_TRANSLATION'){
     
    705675                $locationTrans = explode('<!--:-->',$locationSplit[1]);
    706676                if($locationTrans[0] != '') $locationTrans = $locationTrans[0];
    707                 else $locationTrans = $defaultTrans;
    708                 //if($locationTrans[1]!= '') $locationTrans = $locationTrans[0];
    709                 //else $locationTrans = $locationStr->$nameField;
     677                else $locationTrans = $defaultTrans;           
    710678                echo "<tr><td><img alt=\"".$language."\" src=\"".$_POST['langsFlagPath']."/".$langsFlag[$langCounter]."\" /></td>
    711679                <td><input type='text' id='".$language."_translation' name='".$language."_translation' value='".$locationTrans."'></td>
  • wp-easybooking/trunk/wp_easybookingWidget.php

    r648905 r651362  
    22/**
    33 * Plugin Name: Easybooking Widget
    4  * Plugin URI: http://easy-booking.gr/wordpress
     4 * Plugin URI: http://wp-easybooking.com
    55 * Description: This widget is used for accommodation search and to perform the actual booking
    6  * Version: 0.1
     6 * Version: 1.0.3
    77 * Author: Panos Lyrakis
    8  * Author URI: http://www.actionweb.gr
     8 * Author URI: http://wp-easybooking.com
    99 *
    1010 */
     
    2626}
    2727
    28 /**
    29  * Example Widget class.
    30  * This class handles everything that needs to be handled with the widget:
    31  * the settings, form, display, and update.  Nice!
    32  *
    33  * @since 0.1
    34  */
    3528class EasyBooking_Widget extends WP_Widget {
    3629
     
    6659        /* Display the widget title if one was input (before and after defined by themes). */
    6760        if ( $title )
    68             //echo $before_title . $title . $after_title;
    6961            printf( $before_title . __('%1$s', 'example') . $after_title, $title );
    7062       
     
    7365        include($eb_folder.'/search_form.php');
    7466       
    75         /* Display name from widget settings if one was input. */
    76         //if ( $name )
    77         //  printf( '<p>' . __('Hello. My name is %1$s.', 'example') . '</p>', $name );
    78 
    79         /* If show sex was selected, display the user's sex. */
    80         //if ( $show_sex )
    81         //  printf( '<p>' . __('I am a %1$s.', 'example.') . '</p>', $sex );
    82 
    83         /* After widget (defined by themes). */
    8467        echo $after_widget;
    8568    }
     
    9578        $instance['name'] = strip_tags( $new_instance['name'] );
    9679
    97         /* No need to strip tags for sex and show_sex. */
    98         /*$instance['sex'] = $new_instance['sex'];
    99         $instance['show_sex'] = $new_instance['show_sex'];*/
    100 
    10180        return $instance;
    10281    }
     
    10584     * Displays the widget settings controls on the widget panel.
    10685     * Make use of the get_field_id() and get_field_name() function
    107      * when creating your form elements. This handles the confusing stuff.
     86     * when creating form elements. This handles the confusing stuff.
    10887     */
    10988    function form( $instance ) {
     
    125104        </p>
    126105
    127         <!-- Sex: Select Box -->
    128         <!--<p>
    129             <label for="<?php echo $this->get_field_id( 'sex' ); ?>"><?php _e('Sex:', 'example'); ?></label>
    130             <select id="<?php echo $this->get_field_id( 'sex' ); ?>" name="<?php echo $this->get_field_name( 'sex' ); ?>" class="widefat" style="width:100%;">
    131                 <option <?php if ( 'male' == $instance['format'] ) echo 'selected="selected"'; ?>>male</option>
    132                 <option <?php if ( 'female' == $instance['format'] ) echo 'selected="selected"'; ?>>female</option>
    133             </select>
    134         </p>-->
    135 
    136         <!-- Show Sex? Checkbox -->
    137         <!--<p>
    138             <input class="checkbox" type="checkbox" <?php checked( $instance['show_sex'], true ); ?> id="<?php echo $this->get_field_id( 'show_sex' ); ?>" name="<?php echo $this->get_field_name( 'show_sex' ); ?>" />
    139             <label for="<?php echo $this->get_field_id( 'show_sex' ); ?>"><?php _e('Display sex publicly?', 'example'); ?></label>
    140         </p>-->
    141 
    142106    <?php
    143107    }
     
    152116    wp_enqueue_script('jquery-ui-datepicker', $pluginfolder . '/jquery.ui.datepicker.min.js', array('jquery', 'jquery-ui-core') );
    153117    wp_enqueue_style('jquery.ui.theme', $pluginfolder . '/smoothness/jquery-ui-1.8.18.custom.css');
    154     //wp_enqueue_style('jquery.ui.theme', $pluginfolder . '/scrollStyle.css');
    155118}
    156119add_action('widgets_init', 'datepicker_in_init');
Note: See TracChangeset for help on using the changeset viewer.