Foxiz - Newspaper News and Magazine For WordPress

Foxiz - Newspaper News and Magazine For WordPress v2.6.1

No permission to download

Solace

Well-known member
Babiato Lover
Trusted Uploader
Dec 18, 2018
423
415
63
Root
Version 1.2.4 – 13 May 2022

  • Add copy post link button and icon
  • Add multiple authors microdata markup
  • Improve article microdata markup
  • Improve minor CSS styling
  • And other improvements and minor bug fixes

Untouched

 

Huzaifa368

Well-known member
Null Master
Trusted Uploader
Banned User
Apr 7, 2021
98
111
50
22
babiato.tech
Try this and let me know!
Capture.PNG
Path
Code:
foxiz-core/admin/core.php
Replace Complete code With the code given below.
Demo importer will not work.
Code:
<?php
/** Don't load directly */
if ( ! defined( 'ABSPATH' ) ) {
    exit;
}

/** admin core */
if ( ! class_exists( 'RB_ADMIN_CORE', false ) ) {
    class RB_ADMIN_CORE {

        protected static $instance = null;
        private $params = [];
        private $purchase_info = FOXIZ_LICENSE_ID;
        private $import_info = FOXIZ_IMPORT_ID;
        private $apiSever = RB_API_URL . '/wp-json/market/validate';

        private static $sub_pages = array(
            'Import'       => 'admin/import/import.php',
            'ThemeOptions' => 'admin/tops/tops.php',
            'Translation'  => 'admin/translation/translation.php',
            'AdobeFonts'   => 'admin/fonts/fonts.php',
            'SystemInfo'   => 'admin/system-info/system-info.php',
        );

        static function get_instance() {
            if ( null === self::$instance ) {
                self::$instance = new self();
            }

            return self::$instance;
        }

        public function __construct() {
            self::$instance = $this;

            $this->set_panel();
            $this->load_sub_pages();
            $this->get_params();

            add_action( 'admin_menu', array( $this, 'register_admin' ) );
            add_action( 'admin_init', array( 'RB_AJAX_IMPORTER', 'get_instance' ) );
            add_action( 'wp_ajax_rb_register_theme', array( $this, 'register_theme' ) );
            add_action( 'wp_ajax_rb_deregister_theme', array( $this, 'deregister_theme' ) );
            add_action( 'wp_ajax_rb_fetch_translation', array( $this, 'reload_translation' ) );
            add_action( 'wp_ajax_rb_update_translation', array( $this, 'update_translation' ) );

            add_action( 'admin_init', array( $this, 'welcome_redirect' ) );
        }

        /** set panel */
        public function set_panel() {
            $this->panel_slug      = 'admin/templates/template';
            $this->panel_name      = 'panel';
            $this->panel_title     = esc_html__( 'Foxiz Admin', 'foxiz-core' );
            $this->panel_menu_slug = 'foxiz-admin';
            $this->panel_icon      = 'dashicons-awards';
            $this->panel_template  = 'admin_template';
        }

        /** get params */
        public function get_params() {
            $this->params = wp_parse_args( $this->get_purchase_data(), array(
                'purchase_code' => '1234123412341234',
                'is_activated'  => '1234123412341234',
                'system_info'   => rbSubPageSystemInfo::system_info()
            ) );

            return false;
        }

        /** register admin */
        public function register_admin() {

            if ( ! defined( 'FOXIZ_THEME_VERSION' ) ) {
                return false;
            }

            $panel_hook_suffix = add_menu_page( $this->panel_title, $this->panel_title, 'administrator', $this->panel_menu_slug,
                array( $this, $this->panel_template ), $this->panel_icon, 3 );
            add_action( 'load-' . $panel_hook_suffix, array( $this, 'register_assets' ) );

            foreach ( self::$sub_pages as $name => $path ) {
                $sub_page_class = 'rbSubPage' . $name;
                $sub_page       = new $sub_page_class();
                if ( ! empty( $sub_page->menu_slug ) ) {
                    $page_hook_suffix = add_submenu_page( $this->panel_menu_slug, $sub_page->page_title, $sub_page->menu_title, $sub_page->capability, $sub_page->menu_slug,
                        array( $sub_page, 'render' ) );
                    add_action( 'load-' . $page_hook_suffix, array( $this, 'register_assets' ) );
                }
            }
        }

        /** load sub page */
        public function load_sub_pages() {
            self::$sub_pages = apply_filters( 'rb_register_sub_page', self::$sub_pages );

            foreach ( self::$sub_pages as $name => $path ) {
                $file_name = FOXIZ_CORE_PATH . $path;
                if ( file_exists( $file_name ) ) {
                    require_once $file_name;
                } else {
                    unset( self::$sub_pages[ $name ] );
                }
            }

            return false;
        }

        /** purchase data */
        public function get_purchase_data() {
            return 1234123412341234;
        }

        /** get purchase code */
        public function get_purchase_code() {
            return 1234123412341234;
        }

        /** get import */
        public function get_imports() {
            $data = get_option( $this->import_info, [] );

            if ( is_array( $data ) && isset( $data['listing'] ) ) {
                return $data['listing'];
            }

            return false;
        }

        /** load js and css */
        public function register_assets() {
            add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_styles' ) );
            add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_scripts' ) );
        }

        /** enqueue style */
        public function enqueue_styles() {
            wp_enqueue_style( 'rb-panel-styles', plugins_url( FOXIZ_REL_PATH . '/admin/assets/panel.css' ) );
        }

        /** enqueue script */
        public function enqueue_scripts() {

            wp_register_script( 'rb-admin-core', plugins_url( FOXIZ_REL_PATH . '/admin/assets/panel.js' ), array( 'jquery' ), FOXIZ_CORE_VERSION, true );
            wp_localize_script( 'rb-admin-core', 'foxizAdminCore', $this->localize_params() );
            wp_enqueue_script( 'rb-admin-core' );
        }

        /** admin template */
        public function admin_template() {
            echo rb_admin_get_template_part( $this->panel_slug, $this->panel_name, $this->params );
        }

        /** localize params */
        public function localize_params() {
            return apply_filters( 'rb_admin_localize_data', array( 'ajaxUrl' => admin_url( 'admin-ajax.php' ) ) );
        }

        /** register theme */
        public function register_theme() {

            if ( empty( $_POST ) || empty ( $_POST['_nonce'] ) || ! wp_verify_nonce( $_POST['_nonce'], 'rb-core' ) ) {
                wp_send_json_error( esc_html__( 'Sorry, you are not allowed to do this action.', 'foxiz-core' ), 404 );
                die();
            }

            if ( empty( $_POST['purchase_code'] ) || empty( $_POST['email'] ) ) {
                wp_send_json_error( esc_html__( 'Empty data! Please check input form.', 'foxiz-core' ), 404 );
                die();
            }

            if ( ! is_email( $_POST['email'] ) ) {
                wp_send_json_error( esc_html__( 'Wrong email format! Please check input form.', 'foxiz-core' ), 404 );
                die();
            }

            $url = add_query_arg( array(
                'purchase_code' => sanitize_text_field( $_POST['purchase_code'] ),
                'email'         => esc_html( $_POST['email'] ),
                'theme'         => wp_get_theme()->get( 'Name' ),
                'action'        => 'register'
            ), $this->apiSever );

            $response = $this->validation_api( $url );

            if ( empty( $response['code'] ) || 200 !== $response['code'] ) {
                wp_send_json_error( esc_html( $response['message'] ), 404 );
                die();
            } else {
                if ( ! empty( $response['data']['purchase_info'] ) ) {
                    update_option( $this->purchase_info, $response['data']['purchase_info'] );
                }
                if ( ! empty( $response['data']['import'] ) ) {
                    update_option( $this->import_info, $response['data']['import'] );
                }
                wp_send_json_success( esc_html( $response['message'] ), 200 );
                die();
            }
        }

        /** deregister_theme */
        public function deregister_theme() {

            if ( empty( $_POST ) || empty ( $_POST['_nonce'] ) || ! wp_verify_nonce( $_POST['_nonce'], 'rb-core' ) || ! $this->get_purchase_code() ) {
                wp_send_json_error( esc_html__( 'Sorry, you are not allowed to do this action.', 'foxiz-core' ), 404 );
                die();
            }

            $url = add_query_arg( array(
                'purchase_code' => $this->get_purchase_code(),
                'action'        => 'deregister'
            ), $this->apiSever );

            $response = $this->validation_api( $url );
            delete_option( $this->purchase_info );
            delete_option( $this->import_info );
            if ( empty( $response['code'] ) || 200 !== $response['code'] ) {
                wp_send_json_error( esc_html( $response['message'] ), 404 );
            } else {
                wp_send_json_success( esc_html( $response['message'] ), 200 );
            }

            die();
        }

        /** validate  */
        public function validation_api( $url ) {

            $params   = array(
                'user-agent' => 'WordPress/' . get_bloginfo( 'version' ) . '; ' . get_bloginfo( 'url' ),
                'timeout'    => 60
            );
            $response = wp_remote_get( $url, $params );
            if ( is_wp_error( $response ) || 200 !== wp_remote_retrieve_response_code( $response ) ) {
                wp_send_json_error( esc_html__( 'Bad Request.', 'foxiz-core' ), 404 );
                die();
            }

            $response = wp_remote_retrieve_body( $response );

            return json_decode( $response, true );
        }

        /**
         * welcome redirect
         */
        public function welcome_redirect() {

            $redirect = get_transient( '_rb_welcome_page_redirect' );
            delete_transient( '_rb_welcome_page_redirect' );
            if ( ! empty( $redirect ) ) {
                wp_safe_redirect( add_query_arg( array( 'page' => $this->panel_menu_slug ), esc_url( admin_url( 'admin.php' ) ) ) );
            }
        }

        /**
         * reload translation
         */
        function reload_translation() {

            if ( empty( $_POST ) || empty ( $_POST['_nonce'] ) || ! wp_verify_nonce( $_POST['_nonce'], 'rb-core' ) ) {
                wp_send_json_error( esc_html__( 'Sorry, you are not allowed to do this action.', 'foxiz-core' ), 404 );
                die();
            }

            delete_option( 'rb_translation_data' );
            wp_send_json_success( 'OK' );
        }

        /**
         * update translation
         */
        public function update_translation() {

            if ( empty( $_POST ) || empty ( $_POST['_nonce'] ) || ! wp_verify_nonce( $_POST['_nonce'], 'rb-core' ) ) {
                wp_send_json_error( esc_html__( 'Sorry, you are not allowed to do this action.', 'foxiz-core' ), 404 );
                die();
            }

            $data = $_POST;
            unset( $data['_nonce'] );
            unset( $data['action'] );
            $data = array_map( 'sanitize_text_field', $data );
            update_option( 'rb_translated_data', $data );
            wp_send_json_success( esc_html__( 'OK', 'foxiz-core' ) );
            die();
        }
    }
}
use this method to remove the license verification. Or you can just replace the Core plugin with this one.
Note: demo import will not work. Import Data Manually using XML File.
enjoy!
 

Attachments

  • foxiz-core.zip
    1.5 MB · Views: 89
Last edited:

cristiano_s

Active member
Jan 23, 2020
136
172
43
Foxiz 1.2.4 (Nulled With Elementor Pro 3.7.0)

theme-preview.__large_preview.jpg


View hidden content is available for registered users!
Changelog 1.2.4

- Add copy post link button and icon
- Add multiple authors microdata markup
- Improve article microdata markup
- Improve minor CSS styling
- And other improvements and minor bug fixes
Thanks to @EhsanGraph @songohan for the source

Note: You can't import demo directly because they have server side security so you can't import it without license key.
 
Last edited:

maihungdev

New member
Aug 6, 2018
2
1
3
Foxiz 1.2.4 (Nulled With Elementor Pro 3.7.0)

theme-preview.__large_preview.jpg


*** Hidden text: cannot be quoted. ***

Changelog 1.2.4

- Add copy post link button and icon
- Add multiple authors microdata markup
- Improve article microdata markup
- Improve minor CSS styling
- And other improvements and minor bug fixes
Thanks to @EhsanGraph @songohan for the source

Note: You can't import demo directly because they have server side security so you can't import it without license key.
Thanks, It 's work!

After you import demo manually, you can customize same as 1-click demo!
 
Last edited:

songohan

Well-known member
Babiato Lover
GiveAway Master
Trusted Uploader
Jun 1, 2018
380
918
93
⭐⭐⭐⭐⭐

jazzvibe

New member
Oct 7, 2020
10
9
3

Changelogs​

Version 1.4 – 18 May 2022

  • Add rounded corner setting for block grid 1,2
  • Add rounded corner setting for block small grid
  • Add rounded corner setting for block list 1,2
  • Add rounded corner setting for block boxed grid 1,2
  • Add rounded corner setting for block boxed list 1,2
  • Add rounded corner setting for block overlay 1,2
  • Add responsive column settings for the social counter block
  • Add footer slide up section to display any ads, templates or shortcodes
  • Add header builder setting for the blog page
  • Add header builder setting for individual category page
  • Add header builder setting for individual single page
  • Add header builder setting for the search page
  • Add global blog template builder (the latest blog listing) for the blog page
  • Add global blog template builder for the category pages
  • Add global blog template builder for the author page
  • Add global blog template builder for the search page
  • Add global blog template builder for the tags and archive pages
  • Add query mode and pagination settings in Ruby template for block grid 1,2
  • Add query mode and pagination settings in Ruby template for block boxed grid 1,2
  • Add query mode and pagination settings in Ruby template for block list 1,2
  • Add query mode and pagination settings in Ruby template for block boxed list 1,2
  • Add query mode and pagination settings in Ruby template for block overlay 1,2
  • Add slider next/prev position settings for the block overlay 1
  • Add navigation bar style settings for the category pages
  • Add navigation bar style settings for the search page
  • Add mobile cart in the mobile header
  • Add show/hide language bar in the login screen
  • Add login form position settings for the login screen
  • Add logout redirect for the header user menu dropdown
  • Add font size setting for the copyright text
  • Add top border setting for the footer
  • Add new mobile header style
  • Add on/off search icon setting for the AMP header
  • Add more dynamic tags for the block heading: {author}, {tag}, {search}
  • Add more them demos
  • Improve text-decoration hover effect on Firefox
  • Improve header alert bar spacing when enable header sticky
  • Improve header category style 2 spacing on the mobile device
  • Improve update google fonts
  • Improve automatically heading sub color in the category page
  • Improve shop cart table layout in the mobile devices
  • Improve reduce the theme package file size, optimize performance
  • Fix login redirect in the login screen issue
  • Fix logout redirect in the login screen issue
  • Fix default header style setting issue
  • And other improvements and minor bug fixes
 

cristiano_s

Active member
Jan 23, 2020
136
172
43

Changelogs​

Version 1.4 – 18 May 2022

  • Add rounded corner setting for block grid 1,2
  • Add rounded corner setting for block small grid
  • Add rounded corner setting for block list 1,2
  • Add rounded corner setting for block boxed grid 1,2
  • Add rounded corner setting for block boxed list 1,2
  • Add rounded corner setting for block overlay 1,2
  • Add responsive column settings for the social counter block
  • Add footer slide up section to display any ads, templates or shortcodes
  • Add header builder setting for the blog page
  • Add header builder setting for individual category page
  • Add header builder setting for individual single page
  • Add header builder setting for the search page
  • Add global blog template builder (the latest blog listing) for the blog page
  • Add global blog template builder for the category pages
  • Add global blog template builder for the author page
  • Add global blog template builder for the search page
  • Add global blog template builder for the tags and archive pages
  • Add query mode and pagination settings in Ruby template for block grid 1,2
  • Add query mode and pagination settings in Ruby template for block boxed grid 1,2
  • Add query mode and pagination settings in Ruby template for block list 1,2
  • Add query mode and pagination settings in Ruby template for block boxed list 1,2
  • Add query mode and pagination settings in Ruby template for block overlay 1,2
  • Add slider next/prev position settings for the block overlay 1
  • Add navigation bar style settings for the category pages
  • Add navigation bar style settings for the search page
  • Add mobile cart in the mobile header
  • Add show/hide language bar in the login screen
  • Add login form position settings for the login screen
  • Add logout redirect for the header user menu dropdown
  • Add font size setting for the copyright text
  • Add top border setting for the footer
  • Add new mobile header style
  • Add on/off search icon setting for the AMP header
  • Add more dynamic tags for the block heading: {author}, {tag}, {search}
  • Add more them demos
  • Improve text-decoration hover effect on Firefox
  • Improve header alert bar spacing when enable header sticky
  • Improve header category style 2 spacing on the mobile device
  • Improve update google fonts
  • Improve automatically heading sub color in the category page
  • Improve shop cart table layout in the mobile devices
  • Improve reduce the theme package file size, optimize performance
  • Fix login redirect in the login screen issue
  • Fix logout redirect in the login screen issue
  • Fix default header style setting issue
  • And other improvements and minor bug fixes
@songohan
 

Forum statistics

Threads
69,206
Messages
908,351
Members
236,895
Latest member
jeremcastdlp

About us

  • Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu