King Media - Viral Video, News, Image Upload and Share

King Media - Viral Video, News, Image Upload and Share v9.1 Untouched

No permission to download

Ruthless

Well-known member
Trusted Uploader
May 4, 2022
487
534
120
The administration panel does not open without entering the purchase code. How can I bypass this?
Just Go To \king-include\king-pages\admin\admin-king.php
Open admin-king.php
remove all codes and paste this Below code
Thanks for tomz

PHP:
<?php
/*

    File: king-include/king-page-admin-categories.php
    Description: Controller for admin page for editing categories


    This program is free software; you can redistribute it and/or
    modify it under the terms of the GNU General Public License
    as published by the Free Software Foundation; either version 2
    of the License, or (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    More about this license: LICENCE.html
*/

    if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
    header('Location: ../');
    exit;
}

require_once QA_INCLUDE_DIR.'king-app/admin.php';
require_once QA_INCLUDE_DIR.'king-db/selects.php';
require_once QA_INCLUDE_DIR.'king-db/admin.php';

ini_set('user_agent', 'Mozilla/5.0');

//    Check admin privileges (do late to allow one DB query)

if (!qa_admin_check_privileges2($qa_content))
    return $qa_content;

//    Process saving options

$savedoptions=false;
$securityexpired=false;
$bundle_id = '19106207';

$king_key = qa_opt('king_key');

$enavato_itemid =  '7877877';
$label = '';
    $code = qa_post_text('king_key');
    $personalToken = "R5QWDaq9cwBv5BtwYFDzVLzaCZEeQzUS";
    $userAgent = "Purchase code verification on http://localhost/env/";
        $label='DONE !';
        qa_set_option('king_key', 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx');

if (qa_clicked('dosaveoptions')) {
    if (!qa_check_form_security_code('admin/categories', qa_post_text('code')))
        $securityexpired=true;

    else {
        $savedoptions=false;
    }
}



//    Prepare content for theme

$qa_content=qa_content_prepare();

$qa_content['title']=qa_lang_html('admin/admin_title').' - '.qa_lang_html('admin/categories_title');
$qa_content['error']=$securityexpired ? qa_lang_html('admin/form_security_expired') : qa_admin_page_error();

$qa_content['form']=array(
    'tags' => 'method="post" action="'.qa_path_html(qa_request()).'"',

    'ok' => $savedoptions ? qa_lang_html('admin/options_saved') : null,

    'style' => 'tall',

    'fields' => array(
        'intro' => array(
            'label' => $label,
            'type' => 'static',
        ),
        'name' => array(
            'id' => 'king_key',
            'tags' => 'name="king_key" id="king_key" placeholder="xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"',
            'label' => 'King Media Purchase Code',
            'value' => qa_html(isset($code) ? $code : @$king_key),
            'error' => qa_html(@$errors['king_key']),
        ),             
    ),

    'buttons' => array(
        'save' => array(
            'tags' => 'name="dosaveoptions" id="dosaveoptions"',
            'label' => qa_lang_html('main/save_button'),
        ),

    ),

    'hidden' => array(
        'code' => qa_get_form_security_code('admin/categories'),
    ),
);

$qa_content['navigation']['sub']=qa_admin_sub_navigation();


return $qa_content;


/*
    Omit PHP closing tag to help avoid accidental output
*/
 

fernanvevo412

Member
May 2, 2022
142
23
18
Just Go To \king-include\king-pages\admin\admin-king.php
Open admin-king.php
remove all codes and paste this Below code
Thanks for tomz

PHP:
<?php
/*

    File: king-include/king-page-admin-categories.php
    Description: Controller for admin page for editing categories


    This program is free software; you can redistribute it and/or
    modify it under the terms of the GNU General Public License
    as published by the Free Software Foundation; either version 2
    of the License, or (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    More about this license: LICENCE.html
*/

    if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
    header('Location: ../');
    exit;
}

require_once QA_INCLUDE_DIR.'king-app/admin.php';
require_once QA_INCLUDE_DIR.'king-db/selects.php';
require_once QA_INCLUDE_DIR.'king-db/admin.php';

ini_set('user_agent', 'Mozilla/5.0');

//    Check admin privileges (do late to allow one DB query)

if (!qa_admin_check_privileges2($qa_content))
    return $qa_content;

//    Process saving options

$savedoptions=false;
$securityexpired=false;
$bundle_id = '19106207';

$king_key = qa_opt('king_key');

$enavato_itemid =  '7877877';
$label = '';
    $code = qa_post_text('king_key');
    $personalToken = "R5QWDaq9cwBv5BtwYFDzVLzaCZEeQzUS";
    $userAgent = "Purchase code verification on http://localhost/env/";
        $label='DONE !';
        qa_set_option('king_key', 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx');

if (qa_clicked('dosaveoptions')) {
    if (!qa_check_form_security_code('admin/categories', qa_post_text('code')))
        $securityexpired=true;

    else {
        $savedoptions=false;
    }
}



//    Prepare content for theme

$qa_content=qa_content_prepare();

$qa_content['title']=qa_lang_html('admin/admin_title').' - '.qa_lang_html('admin/categories_title');
$qa_content['error']=$securityexpired ? qa_lang_html('admin/form_security_expired') : qa_admin_page_error();

$qa_content['form']=array(
    'tags' => 'method="post" action="'.qa_path_html(qa_request()).'"',

    'ok' => $savedoptions ? qa_lang_html('admin/options_saved') : null,

    'style' => 'tall',

    'fields' => array(
        'intro' => array(
            'label' => $label,
            'type' => 'static',
        ),
        'name' => array(
            'id' => 'king_key',
            'tags' => 'name="king_key" id="king_key" placeholder="xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"',
            'label' => 'King Media Purchase Code',
            'value' => qa_html(isset($code) ? $code : @$king_key),
            'error' => qa_html(@$errors['king_key']),
        ),            
    ),

    'buttons' => array(
        'save' => array(
            'tags' => 'name="dosaveoptions" id="dosaveoptions"',
            'label' => qa_lang_html('main/save_button'),
        ),

    ),

    'hidden' => array(
        'code' => qa_get_form_security_code('admin/categories'),
    ),
);

$qa_content['navigation']['sub']=qa_admin_sub_navigation();


return $qa_content;


/*
    Omit PHP closing tag to help avoid accidental output
*/
Hello @Tomz you are the best 😺


If indeed it is my new account after what happened

Greetings ✌️
 

lukas.flexyyy

Active member
May 2, 2022
753
120
43
Thank you guys for sharing the update :)

I have two question

1) How to find out which version I am currently using?

2) How to update my old version?


Thank you so much
 

BlackBlue

New member
May 4, 2022
21
4
3
@patrocle do you have a null version?
@Tomz
can you give a hand here tomz? now i realized while navigating i think there should be one member test all the themes installed voluntarily this can be me. :)
Since I have a lot of websites, I use the ones that will work for me.
 

BlackBlue

New member
May 4, 2022
21
4
3
@lukas.flexyyy
First of all, I have to tell you this. I don't think you can update null version. but it wouldn't hurt to try.
Don't forget to backup before trying.
2)
-------------- How To Update to KING Media 7 ? ------------
1. Before upgrading, it is recommended to make a backup of your website.
2. Download latest version of KingMEDIA from Codecanyon and Unzip The files,
3. Turn on maintenance mode in your page admin > general.
4. Replace all the modified files on your web server with the new ones,
5. Then go to : http://YOURPAGEURL/install and click "Repair Database" Button.
6. Turn off mainenance mode . You’ve now successfully upgraded - congratulations!
----------------------------------------------------------------------
1)I do not know this. but I suggest you to check the database. or you can tamper with the theme files.
 

lukas.flexyyy

Active member
May 2, 2022
753
120
43
@lukas.flexyyy
First of all, I have to tell you this. I don't think you can update null version. but it wouldn't hurt to try.
Don't forget to backup before trying.
2)
-------------- How To Update to KING Media 7 ? ------------
1. Before upgrading, it is recommended to make a backup of your website.
2. Download latest version of KingMEDIA from Codecanyon and Unzip The files,
3. Turn on maintenance mode in your page admin > general.
4. Replace all the modified files on your web server with the new ones,
5. Then go to : http://YOURPAGEURL/install and click "Repair Database" Button.
6. Turn off mainenance mode . You’ve now successfully upgraded - congratulations!
----------------------------------------------------------------------
1)I do not know this. but I suggest you to check the database. or you can tamper with the theme files.
Thank you 😊
 
  • Like
Reactions: BlackBlue

RoyalC

Active member
Aug 16, 2019
245
38
28
7.3 archive ask for password ?? where can i find it,no mention on post that it's password protected.
 

hakimmastour

Active member
Apr 27, 2019
215
193
43
The package could not be installed. The theme is missing the style.css stylesheet.

Theme installation failed.
 
  • Haha
Reactions: lunga

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