Plugin Directory

Changeset 1879285


Ignore:
Timestamp:
05/22/2018 03:12:41 PM (8 years ago)
Author:
carson3511
Message:

version 1.0.4 commit

Location:
event-registration-pro-calendar/trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • event-registration-pro-calendar/trunk/README.txt

    r1872808 r1879285  
    55Requires at least: 4.8
    66Tested up to: 4.9
    7 Stable tag: 1.0.3
     7Stable tag: 1.0.4
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    120120== Changelog ==
    121121
     122= 1.0.4 =
     123
     1241. ENHANCEMENT- All events in the event manager are now ordered by date column by default
     1252. FIX- fixed an issue with the main setting getting reset to default when plugin is deactivated and then activated again.
     1263. FIX- fixed wordpress screen option and help button conflict issue.
    122127
    123128= 1.0.3 =
     
    1251301. ENHANCEMENT- In the admin side event list, added Sort the columns "Dates, Location, Category" functinality.
    1261312. ENHANCEMENT- Added event time in the Dates columns.
    127 3. NEW- Added popup when plugin activate and click accept button on popup you get an email regarding plugin documentation.
     1323. NEW- Added popup when plugin is activated and click accept button on popup you get an email regarding plugin documentation and added to the mailing list.
    1281334. ENHANCEMENT - Language translation issue
    129134
  • event-registration-pro-calendar/trunk/admin/js/event-registration-pro-admin.js

    r1861137 r1879285  
    252252    }
    253253}
    254 
    255 
     254jQuery(document).ready(function (jQuery) {
     255    jQuery("#contextual-help-link").click(function () {
     256        jQuery("#contextual-help-wrap").css("cssText", "display: block !important;");
     257    });
     258    jQuery("#show-settings-link").click(function () {
     259        jQuery("#screen-options-wrap").css("cssText", "display: block !important;");
     260    });
     261});
     262
     263
  • event-registration-pro-calendar/trunk/event-registration-pro.php

    r1872808 r1879285  
    1010 *
    1111 * @link:       http://www.eventregistrationpro.com
    12  * @since             1.0.3
     12 * @since             1.0.4
    1313 * @package           Event_Registration_Pro_Calendar
    1414 *
     
    1717 * Plugin URI:        http://www.eventregistrationpro.com
    1818 * Description:        Event Registration Pro Calendar is for accepting free and paid registrations to your events.
    19  * Version:           1.0.3
     19 * Version:           1.0.4
    2020 * Author:            EventRegistrationPro.com
    2121 * License:            GPL-3.0+
     
    709709   
    710710    }
    711 
     711    /*erp_event_sort default date*/
     712add_action( 'pre_get_posts','erp_event_sort_date');
     713function erp_event_sort_date($query){
     714    global $wpdb;
     715     if( is_admin() && $query->is_main_query()) {
     716            $orderby = trim(strip_tags(sanitize_text_field($_GET['orderby'])));
     717            $post_type = trim(strip_tags(sanitize_text_field($_GET['post_type'])));
     718            $post_status = trim(strip_tags(sanitize_text_field($_GET['post_status'])));
     719             if($post_type=='erp_event' && $post_status !='trash'){
     720                if(empty($orderby)){
     721                    $query->set( 'orderby', 'meta_value' );
     722                    $query->set( 'meta_key', 'erp_event_date' );
     723                    $query->set( 'order', 'ASC' );
     724                }
     725             }
     726        }
     727
     728}
    712729/*For Wp table sort*/
    713730function cf_join($join)
     
    761778            $where .= " AND  mt2.meta_key = 'erp_event_date' ";
    762779        }
     780
    763781    }
    764782 
  • event-registration-pro-calendar/trunk/includes/class-event-registration-pro-activator.php

    r1872808 r1879285  
    253253    update_option('permalink_structure','/%postname%/');
    254254    $wp_rewrite->set_permalink_structure('/%postname%/');
    255     $event_general_settings['erp_event_general_settings_boot_style']='Yes';
    256     update_option('erp_event_general_settings',$event_general_settings);
     255   
     256    $general_setting=get_option('erp_event_general_settings');
     257    if(empty($general_setting)){
     258        $event_general_settings['erp_event_general_settings_boot_style']='Yes';
     259        update_option('erp_event_general_settings',$event_general_settings);
     260    }else{
     261        update_option('erp_event_general_settings',$general_setting);
     262    }
    257263    update_option( 'admin_popup','term_condition' );   
    258264    /*Event Handling*/
     265    $event_handling1=get_option('erp_event_handling');
     266    if(empty($event_handling1)){
    259267    $event_handling['erp_event_handling_archiveby']='Event end date';
    260268    $event_handling['erp_event_handling_oldevent']='Archive old events';
    261269    $event_handling['erp_event_handling_disable_remiders']='No';
    262270    $event_handling['erp_event_handling_minus']='0';
    263     update_option('erp_event_handling',$event_handling);
     271    update_option('erp_event_handling',$event_handling);
     272    }else{
     273        update_option('erp_event_handling',$event_handling1);
     274    }
    264275   
    265276    /*Registration Handling*/
    266    
     277    $registartion_handling1=get_option('erp_event_registration_settings');
     278    if(empty($registartion_handling1)){
    267279    $registartion_handling['erp_event_registration_settings_duplicate_email_registration']='Yes';
    268280    $registartion_handling['erp_event_registration_settings_include_pending_reg']='Yes';
     
    273285   
    274286    update_option('erp_event_registration_settings',$registartion_handling);
    275    
     287    }else{
     288
     289        update_option('erp_event_registration_settings',$registartion_handling1);
     290    }
    276291    /*display setting*/
    277    
     292    $display_settings1=get_option('erp_event_display_settings');
     293    if(empty($display_settings1)){
    278294    $display_settings['erp_event_display_settings_eventlistordering'] = 'Event Title';
    279295    $display_settings['erp_event_display_settings_showhead'] = 'Yes';
     
    330346    $display_settings['erp_event_display_settings_show_viewevent'] ='Yes';
    331347    update_option('erp_event_display_settings',$display_settings);
    332    
     348    }else{
     349        update_option('erp_event_display_settings',$display_settings1);
     350    }
    333351    /*Image setting*/
    334    
     352    $image_setting1=get_option('erp_event_display_settings');
     353    if(empty($image_setting1)){
    335354    $image_setting['erp_event_image_settings_show_poster'] ='Yes';
    336355    $image_setting['erp_event_image_settings_event_thumb_width'] ='';
     
    345364    $image_setting['erp_event_image_settings_cat_height_auto'] ='Yes';
    346365    update_option('erp_event_image_settings',$image_setting);
    347      
     366     }else{
     367        update_option('erp_event_image_settings',$image_setting1);
     368     }
    348369   
    349370    /*
     
    434455}
    435456
     457
    436458}
  • event-registration-pro-calendar/trunk/includes/class-event-registration-pro-dashboard.php

    r1872808 r1879285  
    660660                            <p><strong><?php echo __( 'Event Registration Pro: Event registration software for Wordpress!', 'event-registration-pro' );?> </strong><br/>
    661661                            &copy; Copyright <?php echo date('Y');?> - All Rights Reserved. <a href='http://www.eventregistrationpro.com' target='_blank'>www.eventregistrationpro.com</a> <br/>   
    662                             Installed Version: 1.0.3 <br/>
     662                            Installed Version: 1.0.4 <br/>
    663663                            Minimum Required PHP Version: (5.5 +) (Your PHP Version # is:  <?php echo phpversion();?>)  </p>
    664664
  • event-registration-pro-calendar/trunk/public/css/event-registration-pro-public.css

    r1861137 r1879285  
    403403    display: inline-block;
    404404    margin-bottom: 20px;
    405     width: 100%;
     405    width: 90%;
    406406}
    407407.single_event_left_div .event-title{
     
    598598#event_wrapper {
    599599    padding-right: 250px;
    600     display: inline-block;
     600    /*display: inline-block;*/
    601601}
    602602#event_wrapper.toggled #event-sidebar-wrapper{
Note: See TracChangeset for help on using the changeset viewer.