Plugin Directory

Changeset 3288092


Ignore:
Timestamp:
05/05/2025 10:27:07 PM (10 months ago)
Author:
ashanjay
Message:

2.4.3 (2025-5-5)

ADDED: OpenAI support for AI features
FIXED: Custom repeat adding not working
FIXED: Language switching no longer working in settings

Location:
eventon-lite
Files:
302 added
10 edited

Legend:

Unmodified
Added
Removed
  • eventon-lite/trunk/assets/css/admin/wp_admin.css

    r3281337 r3288092  
    821821        line-height: 1.4em;
    822822        border-bottom: 1px solid #e1e1e1;
    823         font-weight: 400;
     823        font-weight: 700;
    824824        text-align: left;
    825825        font-size: 14px;
    826826    }
    827     table.evo_admin_table tbody tr{
    828         background-color: #f9f9f9
    829     }
    830     table.evo_admin_table tbody tr:nth-child(odd){background-color: #f3f3f3;    }
    831827    table.evo_admin_table tbody tr.colspan-row{background-color: #ffebd1;   }
    832828    table.evo_admin_table td,
     
    835831        color: #555;
    836832    }
     833    table.evo_admin_table tbody tr:last-child td{border-bottom: none;}
    837834    table.evo_admin_table td{
    838835        font-size: 13px;
  • eventon-lite/trunk/assets/js/admin/wp_admin.js

    r3269686 r3288092  
    11/*
    22 * EventON Back end scripts for general backend of wordpress
    3  * @version 2.3.3
     3 * @version 2.4.3
    44 */
    55jQuery(document).ready(function($){
     
    967967            var val = $(this).val();
    968968            var url = $(this).data('url');
    969             window.location.replace(url+'?page=eventon&tab=evcal_2&lang='+val);
     969            window.location.replace(url+'?page=eventon-lang&tab=evcal_2&lang='+val);
    970970        });
    971971
  • eventon-lite/trunk/eventon.php

    r3286398 r3288092  
    44 * Plugin URI: http://www.myeventon.com/lite
    55 * Description: A beautifully crafted minimal calendar experience - Lite Version
    6  * Version: 2.4.2
     6 * Version: 2.4.3
    77 * Author: Ashan Jay
    88 * Author URI: http://www.ashanjay.com
    99 * Requires at least: 6.0
    10  * Tested up to: 6.8
     10 * Tested up to: 6.8.1
    1111 *
    1212 * Text Domain: eventon
  • eventon-lite/trunk/includes/admin/class-admin-ajax.php

    r3286398 r3288092  
    22/**
    33 * Function ajax for backend
    4  * @version   2.4.1
     4 * @version   2.4.3
    55 */
    66class EVO_admin_ajax{
    77    public $helper;
     8    public $post_data;
    89   
    910    public function __construct(){
     
    4748
    4849        $this->helper = EVO()->helper;
    49     }
     50        $this->post_data = $this->helper->sanitize_array( $_POST );
     51    }   
    5052
    5153    // shortcode generator
     
    7678
    7779            $PD = $this->post_data;
     80
     81            EVO_Debug($PD);
    7882
    7983
  • eventon-lite/trunk/includes/admin/class-evo-admin.php

    r3281337 r3288092  
    66 * @category    Admin
    77 * @package     eventon/Admin
    8  * @version     L 2.2.3
     8 * @version     2.4.3
    99 */
    1010
     
    8484                wp_enqueue_script('evo_wyg_editor');
    8585            }
     86
     87            do_action('evo_admin_event_only_page', $page, $post, $postType);
     88
    8689        }else{
    8790            $this->eventon_shortcode_button_init();
  • eventon-lite/trunk/includes/admin/post_types/class-meta_boxes-timedate.php

    r3269686 r3288092  
    485485
    486486                    $DD = new DateTime( 'now', EVO()->calendar->timezone0);
    487 
    488                     $repeat_times = (unserialize($ev_vals['repeat_intervals'][0]));
     487                    $repeat_times = (unserialize($ev_vals['repeat_intervals'][0]));                                     
     488                    $date_format_string = $wp_date_format.' '.( $hr24? 'G:i':'h:ia');// datre format sting to display for repeats
    489489                   
    490                     // datre format sting to display for repeats
    491                     $date_format_string = $wp_date_format.' '.( $hr24? 'G:i':'h:ia');
    492                    
    493                     foreach($repeat_times as $rt){
     490                    foreach($repeat_times as $__key => $rt){
     491
     492                        if( $__key === 'rgi'|| !isset( $rt[0] )) continue;
    494493                       
    495494                        $DD->setTimestamp((int)$rt[0]);
     
    502501
    503502
    504                         echo '<li data-cnt="'.esc_attr($count).'" style="display:'.(( $count>3)?'none':'flex').'" class="'.($count==0?'initial':'').($count>3?' over':'').'">'. ($count==0? '<dd>'.esc_html__('Initial','eventon').'</dd>':'').'<span>'.esc_html__('from','eventon').'</span> '. esc_attr($start_dt) .' <span class="e">End</span> '. esc_attr($end_dt) .'<em alt="Delete">x</em>
     503                        echo '<li data-cnt="'.esc_attr($count).'" style="display:'.(( $count>3)?'none':'flex').'" class="'.($count==0?'initial':'').($count>3?' over':'').'">'. ($count==0? '<dd>'.esc_html__('Initial','eventon').'</dd>':'') . '<i>'.$count.'</i><span>'.esc_html__('from','eventon').'</span> '. esc_attr($start_dt) .' <span class="e">End</span> '. esc_attr($end_dt) .'<em alt="Delete">x</em>
    505504                        <input type="hidden" name="repeat_intervals['.esc_attr($count).'][0]" value="'.esc_attr($start_unix).'"/><input type="hidden" name="repeat_intervals['.esc_attr($count).'][1]" value="'.esc_attr($end_unix).'"/></li>';
    506505                        $count++;
     
    533532                            'unix'=> $EVENT->get_prop('evcal_srow'),
    534533                            'type'=>'new_repeat_start',
     534                            'subtype'=>'start',
    535535                            'rand'=> $rand,
    536536                            'time_opacity'=> ($EVENT->is_all_day() ? '0.5':1),
     
    551551                            'unix'=> $EVENT->get_prop('evcal_erow'),
    552552                            'type'=>'new_repeat_end',
     553                            'subtype'=>'end',
    553554                            'rand'=> $rand,
    554555                            'time_opacity'=> ($EVENT->is_all_day() ? '0.5':1),
  • eventon-lite/trunk/includes/admin/settings/class-settings-designer.php

    r3269686 r3288092  
    22/**
    33 * EventON Various admin settings view designer
    4  * @version 2.4
     4 * @version 2.4.3
    55 */
    66
     
    634634                            $rightside.= "<div class='backender_yn_sec' id='".$field['id']."' style='display:".(($yesno_val=='yes')?'block':'none')."'><div class='evosettings_field_child'>";
    635635                        break;
    636                         case 'end_afterstatement': $rightside.= "</div><em class='hr_line evosettings_end_field w1'></em><em class='hr_line evosettings_end_field w2'></em></div>"; break;
     636                        case 'end_afterstatement':
     637                            $rightside.= "</div></div><em class='hr_line evosettings_end_field w1'></em>";
     638                            break;
    637639                       
    638640                        // hidden section open
     
    663665                        break;
    664666                    }
    665                     if(!empty($field['type']) && !in_array($field['type'], $__no_hr_types) ){
    666                         $rightside.= "<em class='hr_line'></em>";}
     667                    if(!empty($field['type']) && !in_array($field['type'], $__no_hr_types) && !isset($field['afterstatement']) ){
     668                        $rightside.= "<em class='hr_line'></em>";
     669                    }
    667670                   
    668671                }       
  • eventon-lite/trunk/includes/class-eventon.php

    r3286398 r3288092  
    22/**
    33 * EventON Lite Setup
    4  * @version 2.4.2
     4 * @version 2.4.3
    55 *
    66 */
     
    1212
    1313    // defines
    14         public $version = '2.4.2';
     14        public $version = '2.4.3';
    1515               
    1616        public $template_url;
     
    120120        include_once( EVO_ABSPATH.'includes/integration/class-intergration-visualcomposer.php' );   
    121121        include_once( EVO_ABSPATH.'includes/integration/elementor/class-elementor-init.php' );
     122        include_once( EVO_ABSPATH.'includes/integration/openai/class-ai.php' );
    122123       
    123124        include_once( EVO_ABSPATH.'includes/class-evo-shortcodes.php' );
  • eventon-lite/trunk/includes/elements/class-elements-main.php

    r3269686 r3288092  
    835835            'unix'=> '',               
    836836            'type'=>'start',
     837            'subtype'=>'',
    837838            'assoc'=>'reg',
    838839            'names'=>true,
     
    864865        $ampm = $DD->format( 'a');
    865866
    866         echo "<span class='evo_date_time_select ". esc_attr( $type )."' data-id='". esc_attr( $rand )."' data-unix='". esc_attr( $unix )."'> ";
     867        echo "<span class='evo_date_time_select ". esc_attr( $type )." ". esc_attr( $subtype )."' data-id='". esc_attr( $rand )."' data-unix='". esc_attr( $unix )."'> ";
     868
    867869           
    868870        if($selector != 'time' ):
     871
     872            $__class = ($disable_date_editing?'':"datepicker". esc_attr( $type ). "date");
     873            $__class .= ($assoc != 'rp'? 'req':'')." ". esc_attr( $type ). " evo_dpicker ";
     874            $__class .= ' '. esc_attr( $subtype );
     875
    869876            echo " <span class='evo_date_edit'>
    870                 <input id='evo_". esc_attr( $type ). "_date_". esc_attr( $rand ). "' class='". ($disable_date_editing?'':"datepicker". esc_attr( $type ). "date")." ". ($assoc != 'rp'? 'req':'')." ". esc_attr( $type ). " evo_dpicker ' readonly='true' type='text' data-role='none' name='event_". esc_attr( $type ). "_date' value='". esc_attr( $date_val ) ."' data-assoc='". esc_attr( $assoc ). "' />   
     877                <input id='evo_". esc_attr( $type ). "_date_". esc_attr( $rand ). "' class='". esc_attr($__class) ."' readonly='true' type='text' data-role='none' name='event_". esc_attr( $type ). "_date' value='". esc_attr( $date_val ) ."' data-assoc='". esc_attr( $assoc ). "' /> 
    871878                <input type='hidden' name='event_". esc_attr( $type )."_dateformat' value='". esc_attr( $date_format )."'/>
    872879
  • eventon-lite/trunk/readme.txt

    r3286398 r3288092  
    66Requires at least: 6.0
    77Tested up to: 6.8.1
    8 Stable tag: 2.4.2
     8Stable tag: 2.4.3
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    5959* Event Schema and JSON-LD for event SEO
    6060* Basic paypal payments support
     61* OpenAI Integration for Event title, subtitle, description and X post
    6162
    6263
     
    154155
    155156
    156 Most recently crafted addons for EventON!
    157 
    158 * **[Filters Plus Addon](https://www.myeventon.com/addons/filters-plus/)** - Extends your EventON Calendar filter capabilities to the next level and allow your visitors to interactively filter and find events easily.
     157Our Newest Addon!
     158
     159* **[Check-ins](https://www.myeventon.com/addons/check-ins/)** - Boost your events with Check-Ins: a fast, user-friendly addon delivering seamless guest check-ins and real-time attendance insights.
    159160
    160161Check out **[all EventON Addons](https://www.myeventon.com/addons/)**.
     
    237238
    238239== Changelog ==
     240= 2.4.3 (2025-5-5) =
     241ADDED: OpenAI support for AI features
     242FIXED: Custom repeat adding not working
     243FIXED: Language switching no longer working in settings
     244
    239245= 2.4.2 (2025-5-2) =
    240246FIXED: Repeats events showing when hide past events set
Note: See TracChangeset for help on using the changeset viewer.