INA`@1ۛ_}D}'_}D}' b+_}D}&oag%[ILp58f pjsb J4class.SFSermonShortcode.phpag200919-102507-X2Yixdg.origin.urlhttp://208.74.123.61/cpanelsync/repos/CentOS/7/EA4/repodata/fff12c8a8a98a88aeb04b8e19416b9513744d702f42e9a1da5b441e36cb69a51-primary.sqlite[Fxdg.origin.urlhttp://208.74.123.61/cpanelsync/repos/CentOS/7/EA4/repodata/repomd.xmlbINA@C`@;[).o[).o/'.*.8[).oag%[ILp58fQ5 `index.phpacxstarter-form.nffagINA$'`@$H[K+ԏ5[K+ԏ5 ([Ti*gag%[ILp58f ` `handlers.min.jsag handlers.jsagwp-plupload.jsag license.txtagwp-plupload.min.jsagXplupload.min.jsafxmoxie.jsaf plupload.jsaf moxie.min.jsaQ.jsagIN$'`/!0q<[Ti*g[x[)7: b[Ti*gag%[ILp58f`IN%(^( R[M[M9.8+ݠxM [Mag%[ILp58f`IN$'^p#]Z[Ti*g[x[?=w9[ԌN:H[Ti*gag%[ILp58fIN$'^p)%݃^+2Z^+2Z2QYF(N:H[Ti*gag%[ILp58fIN%(^( [M[M9-2T)uxM [Mag%[ILp58frefaith Sidekick editor: add_shortcode('sermoncloud', array($this, 'shortcode')); add_filter( 'mce_external_plugins', array($this,'MCEplugins'),12,1); if( 'SFWebTemplate' === get_option('template') ) { require_once 'editors/sf/class.SFSermonShortcode.php'; new SFSermonShortcode(); } } function widget_enqueue_script() { // JS wp_enqueue_script( 'sweet_alerts', plugin_dir_url( __FILE__ ) . 'js/sweetalert2.all.min.js' ); wp_enqueue_script( 'select2', plugin_dir_url( __FILE__ ) . 'js/select2.full.min.js' ); wp_enqueue_script( 'sermon_cloud_popup', plugin_dir_url( __FILE__ ) . 'js/sermon_cloud_popup.js', array(), filemtime(plugin_dir_path( __FILE__ ) . 'js/sermon_cloud_popup.js') ); wp_localize_script('sermon_cloud_popup', 'locSermonCloud', array( 'pluginDir' => plugin_dir_url( __FILE__ ), 'ajax_url' => admin_url( 'admin-ajax.php' ), 'sf_nonce' => wp_create_nonce('sf-nonce'), 'embedhost' => self::EMBEDSURL )); if( isset($_GET['action']) && 'elementor' === $_GET['action'] ) //Elementor editor only: { wp_enqueue_script( 'sermon_cloud_widget_js', plugin_dir_url( __FILE__ ) . 'js/sermon_cloud_widget.js', array(), filemtime(plugin_dir_path( __FILE__ ) . 'js/sermon_cloud_widget.js') ); } else { //Match Elementor's wp_enqueue_style('e-select2', plugin_dir_url( __FILE__ ) . 'css/e-select2.css', array(), filemtime(plugin_dir_path( __FILE__ ) . 'css/e-select2.css' ) ); } // CSS wp_enqueue_style('sermon_cloud_css', plugin_dir_url( __FILE__ ) . 'css/sermon_cloud.css', array(), filemtime(plugin_dir_path( __FILE__ ) . 'css/sermon_cloud.css') ); wp_enqueue_style('fontello', plugin_dir_url( __FILE__ ) . 'css/fontello.css', array(), filemtime(plugin_dir_path( __FILE__ ) . 'css/fontello.css') ); } /** * Handler for [sermoncloud ...] * @param type $attr * @return type */ function shortcode($attrs) { return self::embedFor($attrs); } function MCEplugins($array) { wp_enqueue_style('SermonEditView', plugin_dir_url(__FILE__). 'editors/sf/css/Cloud.css', array(), self::VERSION); //Must come with 'mce-view' in requirements array or else it runs with "wp.mce is undefined" and doesn't showin a Gutenberg classic area. wp_enqueue_script('SF_Sermoncloud', plugin_dir_url(__FILE__). 'editors/sf/js/sermonCloudAdmin.js', array('underscore', 'jquery', 'mce-view'), self::VERSION); $this->widget_enqueue_script(); return $array; } private static function urlpart($part) { if( is_array($part)) { return rawurlencode(implode($part)); } else { return rawurlencode($part); } } public static function embedFor($settings) { $churchSlug = $settings['sc_url']; $srcUrl = Sermon_Cloud::EMBEDSURL . $churchSlug . '/sermons'; $srcUrl .= '?page=1'; if ($settings['display_everything'] != 'yes') { if (!empty($settings['series'])) { $srcUrl .= '&series=' . self::urlpart($settings['series']); } if (!empty($settings['speakers'])) { $srcUrl .= '&speakers=' . self::urlpart($settings['speakers']); } if (!empty($settings['passages'])) { $srcUrl .= '&passages=' . self::urlpart( $settings['passages']); } if (!empty($settings['categories'])) { $srcUrl .= '&categories=' . self::urlpart( $settings['categories']); } } if ($settings['view']) { $srcUrl .= '&view=' . $settings['view']; } if ($settings['sermons_to_show']) { $srcUrl .= '&howmany=' . $settings['sermons_to_show']; } return ''. ''; } /** * Admin notice * * Warning when the site doesn't have a minimum required Elementor version. * * @since 0.1.0 * * @access public */ public function admin_notice_minimum_elementor_version() { if ( isset( $_GET['activate'] ) ) unset( $_GET['activate'] ); $message = sprintf( /* translators: 1: Plugin name 2: Elementor 3: Required Elementor version */ esc_html__( '"%1$s" requires "%2$s" version %3$s or greater.', 'sermon-cloud' ), '' . esc_html__( 'Sermon Cloud', 'sermon-cloud' ) . '', '' . esc_html__( 'Elementor', 'sermon-cloud' ) . '', self::MINIMUM_ELEMENTOR_VERSION ); printf( '

%1$s

', $message ); } /** * Admin notice * * Warning when the site doesn't have a minimum required PHP version. * * @since 0.1.0 * * @access public */ public function admin_notice_minimum_php_version() { if ( isset( $_GET['activate'] ) ) unset( $_GET['activate'] ); $message = sprintf( /* translators: 1: Plugin name 2: PHP 3: Required PHP version */ esc_html__( '"%1$s" requires "%2$s" version %3$s or greater.', 'sermon-cloud' ), '' . esc_html__( 'Sermon Cloud', 'sermon-cloud' ) . '', '' . esc_html__( 'PHP', 'sermon-cloud' ) . '', self::MINIMUM_PHP_VERSION ); printf( '

%1$s

', $message ); } /** * Init Widgets * * Include widgets files and register them * * @since 0.1.0 * * @access public */ public function init_widgets() { // Include Widget files require_once( __DIR__ . '/sermon_cloud_widget.php' ); // Register widget \Elementor\Plugin::instance()->widgets_manager->register_widget_type( new \Sermon_Cloud_Widget() ); } /** * Create Widget Category * * Creates the widget category for Sharefaith * * @since 0.1.0 * * @access public */ public function add_sharefaith_widget_category( $elements_manager ) { if ( ! isset( $elements_manager->get_categories()['sharefaith'] ) ) { $elements_manager->add_category( 'sharefaith', [ 'title' => __( 'Sharefaith', 'sermon-cloud' ), 'icon' => 'fa fa-plug', ] ); $reorder_cats = function() { uksort( $this->categories, function( $key_one, $key_two ) { if ( $key_one == 'sharefaith' ) { return -1; } if ( $key_two == 'sharefaith' ) { return 1; } return 0; } ); }; $reorder_cats->call( $elements_manager ); } } public function get_sc_sign_up_url() { check_ajax_referer( 'sf-nonce', 'nonce' ); // This function will die if nonce is not correct. // Is in new Arch if ( class_exists( 'Sharefaith_Core\Sharefaith_Connect' ) ) { $sf_core = new Sharefaith_Core\Sharefaith_Connect(); if ( $sf_core->has_token() ) { $response = $sf_core->authorized_request( get_option( 'sf_passport_url', 'http://sfpassport.local' ) . '/api/password_token/validate', [ 'method' => 'GET', ] ); $get_user_data = json_decode( wp_remote_retrieve_body( $response ) ); $url = $this->build_sc_join_url( $get_user_data->user->passport->memberGuid ); echo json_encode( [ 'url' => $url ] ); wp_die(); } } // Is in Sidekik if ( get_option( 'sf_email' ) ) { $email = get_option( 'sf_email' ); $url = $this->build_sc_join_url( $email ); echo json_encode( [ 'url' => $url ] ); wp_die(); } echo json_encode( [ 'url' => 'https://hello.sermoncloud.com/' ] ); wp_die(); } public function build_sc_join_url( $identifier ) { $referral = 'sharefIN^Jt]^Jt]^JK1oVȷol%Mx^Jt]ag%[ILp58fIN^Jt]^Jt]^JK1oVXu7Mx^Jt]ag%[ILp58fDuest.phpagRequestFactory.phpag Request.phpagIN^Jt]^Jt]^JK1oVk{/3Mx^Jt]ag%[ILp58fRIN^Jt]^Jt]^JK1oVFTClMx^Jt]ag%[ILp58fjIN^Jt]^Jt]^JK1oV8\VɖMx^Jt]ag%[ILp58f forms.phpag index.phpagIN_e:g_x_x& KFcd"~ +P_xag%[ILp58fetsa6xcssbseditorsb@fontf+lxdg.origin.urlhttp://208.74.123.61/cpanelsync/repos/CentOS/7/EA4/repodata/1a9122af92fbe70b056cfea890e4a9ac6e9fdc0a8b629079de16174f791e207b-filelists.sqlite.bz2@yum.checksum.sha2561a9122af92fbe70b056cfea890e4a9ac6e9fdc0a8b629079de16174f791e207bIN`A4NqQ`A4">`A4">)!JTJ,#H`A4">ag%[ILp58fetsaxcssb CjeditorsbSfontf+xdg.origin.urlhttp://208.74.123.61/cpanelsync/repos/CentOS/7/EA4/repodata/17bcfd63f047e3a456314c1178a6c2a5d420e308760013e3ed3692a3359bfbb0-filelists.sqlite.bz2@yum.checksum.sha25617bcfd63f047e3a456314c1178a6c2a5d420e308760013e3ed3692a3359bfbb0IN_H(8OQ`@Ԟ;)k`@Ԟ;)kz we}X^80Vwyag%[ILp58f6-054511-XrKVN46ILi2Y58s2U3Ha5wAAAxYa{@+20200506-054539-XrKVxdg.origin.urlhttp://208.100.0.204/cpanelsync/repos/CentOS/7/EA4/repodata/0392c56d55ff0c579bae674816de3c06cc40e7b1c3c1808f37e426c0c3b8646a-filelists.sqlite.bz2@yum.checksum.sha2560392c56d55ff0c579bae674816de3c06cc40e7b1c3c1808f37e426c0c3b8646a 'editor_script' => 'gutenberg-sermon-cloud', ) ); wp_enqueue_style('fontello', plugin_dir_url( __FILE__ ) . 'css/fontello.css', array(), filemtime(plugin_dir_path( __FILE__ ) . 'css/fontello.css') ); } } Sermon_Cloud::instance(); Drive True Egg Hunt «

Drive True Egg Hunt

Just fill out Form below!