Changeset 1879285
- Timestamp:
- 05/22/2018 03:12:41 PM (8 years ago)
- Location:
- event-registration-pro-calendar/trunk
- Files:
-
- 6 edited
-
README.txt (modified) (3 diffs)
-
admin/js/event-registration-pro-admin.js (modified) (1 diff)
-
event-registration-pro.php (modified) (4 diffs)
-
includes/class-event-registration-pro-activator.php (modified) (5 diffs)
-
includes/class-event-registration-pro-dashboard.php (modified) (1 diff)
-
public/css/event-registration-pro-public.css (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
event-registration-pro-calendar/trunk/README.txt
r1872808 r1879285 5 5 Requires at least: 4.8 6 6 Tested up to: 4.9 7 Stable tag: 1.0. 37 Stable tag: 1.0.4 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 120 120 == Changelog == 121 121 122 = 1.0.4 = 123 124 1. ENHANCEMENT- All events in the event manager are now ordered by date column by default 125 2. FIX- fixed an issue with the main setting getting reset to default when plugin is deactivated and then activated again. 126 3. FIX- fixed wordpress screen option and help button conflict issue. 122 127 123 128 = 1.0.3 = … … 125 130 1. ENHANCEMENT- In the admin side event list, added Sort the columns "Dates, Location, Category" functinality. 126 131 2. 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.132 3. 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. 128 133 4. ENHANCEMENT - Language translation issue 129 134 -
event-registration-pro-calendar/trunk/admin/js/event-registration-pro-admin.js
r1861137 r1879285 252 252 } 253 253 } 254 255 254 jQuery(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 10 10 * 11 11 * @link: http://www.eventregistrationpro.com 12 * @since 1.0. 312 * @since 1.0.4 13 13 * @package Event_Registration_Pro_Calendar 14 14 * … … 17 17 * Plugin URI: http://www.eventregistrationpro.com 18 18 * Description: Event Registration Pro Calendar is for accepting free and paid registrations to your events. 19 * Version: 1.0. 319 * Version: 1.0.4 20 20 * Author: EventRegistrationPro.com 21 21 * License: GPL-3.0+ … … 709 709 710 710 } 711 711 /*erp_event_sort default date*/ 712 add_action( 'pre_get_posts','erp_event_sort_date'); 713 function 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 } 712 729 /*For Wp table sort*/ 713 730 function cf_join($join) … … 761 778 $where .= " AND mt2.meta_key = 'erp_event_date' "; 762 779 } 780 763 781 } 764 782 -
event-registration-pro-calendar/trunk/includes/class-event-registration-pro-activator.php
r1872808 r1879285 253 253 update_option('permalink_structure','/%postname%/'); 254 254 $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 } 257 263 update_option( 'admin_popup','term_condition' ); 258 264 /*Event Handling*/ 265 $event_handling1=get_option('erp_event_handling'); 266 if(empty($event_handling1)){ 259 267 $event_handling['erp_event_handling_archiveby']='Event end date'; 260 268 $event_handling['erp_event_handling_oldevent']='Archive old events'; 261 269 $event_handling['erp_event_handling_disable_remiders']='No'; 262 270 $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 } 264 275 265 276 /*Registration Handling*/ 266 277 $registartion_handling1=get_option('erp_event_registration_settings'); 278 if(empty($registartion_handling1)){ 267 279 $registartion_handling['erp_event_registration_settings_duplicate_email_registration']='Yes'; 268 280 $registartion_handling['erp_event_registration_settings_include_pending_reg']='Yes'; … … 273 285 274 286 update_option('erp_event_registration_settings',$registartion_handling); 275 287 }else{ 288 289 update_option('erp_event_registration_settings',$registartion_handling1); 290 } 276 291 /*display setting*/ 277 292 $display_settings1=get_option('erp_event_display_settings'); 293 if(empty($display_settings1)){ 278 294 $display_settings['erp_event_display_settings_eventlistordering'] = 'Event Title'; 279 295 $display_settings['erp_event_display_settings_showhead'] = 'Yes'; … … 330 346 $display_settings['erp_event_display_settings_show_viewevent'] ='Yes'; 331 347 update_option('erp_event_display_settings',$display_settings); 332 348 }else{ 349 update_option('erp_event_display_settings',$display_settings1); 350 } 333 351 /*Image setting*/ 334 352 $image_setting1=get_option('erp_event_display_settings'); 353 if(empty($image_setting1)){ 335 354 $image_setting['erp_event_image_settings_show_poster'] ='Yes'; 336 355 $image_setting['erp_event_image_settings_event_thumb_width'] =''; … … 345 364 $image_setting['erp_event_image_settings_cat_height_auto'] ='Yes'; 346 365 update_option('erp_event_image_settings',$image_setting); 347 366 }else{ 367 update_option('erp_event_image_settings',$image_setting1); 368 } 348 369 349 370 /* … … 434 455 } 435 456 457 436 458 } -
event-registration-pro-calendar/trunk/includes/class-event-registration-pro-dashboard.php
r1872808 r1879285 660 660 <p><strong><?php echo __( 'Event Registration Pro: Event registration software for Wordpress!', 'event-registration-pro' );?> </strong><br/> 661 661 © 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/> 663 663 Minimum Required PHP Version: (5.5 +) (Your PHP Version # is: <?php echo phpversion();?>) </p> 664 664 -
event-registration-pro-calendar/trunk/public/css/event-registration-pro-public.css
r1861137 r1879285 403 403 display: inline-block; 404 404 margin-bottom: 20px; 405 width: 100%;405 width: 90%; 406 406 } 407 407 .single_event_left_div .event-title{ … … 598 598 #event_wrapper { 599 599 padding-right: 250px; 600 display: inline-block;600 /*display: inline-block;*/ 601 601 } 602 602 #event_wrapper.toggled #event-sidebar-wrapper{
Note: See TracChangeset
for help on using the changeset viewer.