King Media Bundle - Viral Magazine Script

Royaume Média Ensemble - Journal Viral Script 11 Aug 2024

Vous n'avez pas l'autorisation de télécharger
  • Auteur du fil de discussion Auteur du fil de discussion hargrave
  • Date de début Date de début
Lv.14
Bronze Member
Iron Member
Inscrit(e) le
Sep 11, 2021
Messages
10,284
Score de réaction
3,634
Credits
$15,541
Merci beaucoup à @hargraveenvoyéKing Media Bundle - Viral Magazine Script11 août 2024 - Ce est la version Édition de King Media.avec un nouveau ressource :
Afficher la pièce jointe 102660
Pourquoi les membres veulent-ils télécharger le Pack King Media - Script de la Revue Virale ici ? Parce que ce ressource était immédiatement disponible à partir du 28 mai 2025, il a reçu une maintenance et des mises à jour professionnelles lorsqu'il est sorti en même temps sur NullPro.

C'est le Pack King Media. Il comprend King Media, Thème Royal, Thème Yosemite, Thème Kingstagram, Plugin de Slider et Plugin d'Ad Loadings. Vous pouvez économiser plus de 40 % ...
Read more about this resource...
 
it looks like there a problem after using it asked for
King Media Purchase Code
 
This page is only for confirming purchases. But if you want to disable it, there are no restrictions. Please replace this file

king-include\king-app\admin.php
from
PHP:
if (!empty($code)) {
// Surrounding whitespace can cause a 404 error, so trim it first
    $code = trim($code);
// Make sure the code looks valid before sending it to Envato
    if (!preg_match("/^([a-f0-9]{8})-(([a-f0-9]{4})-){3}([a-f0-9]{12})$/i", $code)) {
        $label='Invalid code';
    }
// Build the request
    $ch = curl_init();
    curl_setopt_array($ch, array(
        CURLOPT_URL => "https://api.envato.com/v3/market/author/sale?code={$code}",
        CURLOPT_RETURNTRANSFER => true,
        CURLOPT_TIMEOUT => 20,
        CURLOPT_HTTPHEADER => array(
            "Authorization: Bearer {$personalToken}",
            "User-Agent: {$userAgent}"
        )
    ));
// Send the request with warnings supressed
    $response = @curl_exec($ch);
// Handle connection errors (such as an API outage)
// You should show users an appropriate message asking to try again later
    if (curl_errno($ch) > 0) {
        $label='Error connecting to API: ' . curl_error($ch);
}
// If we reach this point in the code, we have a proper response!
// Let's get the response code to check if the purchase code was found
$responseCode = curl_getinfo($ch, CURLINFO_HTTP_CODE);
// HTTP 404 indicates that the purchase code doesn't exist
if ($responseCode === 404) {
    $label='The purchase code was invalid';
}
// Anything other than HTTP 200 indicates a request or API error
// In this case, you should again ask the user to try again later
if ($responseCode !== 200) {
    $label='Failed to validate code due to an error: HTTP {'.$responseCode.'}';
}
// Parse the response into an object with warnings supressed
$body = @json_decode($response);
// Check for errors while decoding the response (PHP 5.3+)
if ($body === false && json_last_error() !== JSON_ERROR_NONE) {
    $label='Error parsing response';
}
// Now we can check the details of the purchase code
// At this point, you are guaranteed to have a code that belongs to you
// You can apply logic such as checking the item's name or ID
if ( isset($body->item->id) ) {
    if ( $body->item->id == $enavato_itemid || $body->item->id == $bundle_id ) {
        $label='DONE !';
        qa_set_option('king_key', qa_post_text('king_key'));
    } else {
        $label='Invalid Purchase code !';
    }
} else {
    $label='Missing Purchase Code !';
}
}
to

PHP:
if (!empty($code)) {
         $label='DONE !';
          qa_set_option('king_key', qa_post_text('king_key'));
}
 
Thank you for your support ...it is fast and great
 
Haut