Jump to content
Bicrypto v3.7.0 + All Plugins ×

Search the Community

Showing results for tags 'The Shop - PWA eCommerce cms'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Categories

  • Scripts
  • Template
  • Programs
  • Shopify
  • Wordpress
    • Themes
    • Plugins
  • Flutter
  • Android
  • IOS
  • Unity
  • WHMCS
    • Templates
    • Plugins
  • Invision Community Suite
    • Applications and Plugins
    • Styles
  • XenForo
    •  Releases
    •  Add-ons
    •  Styles
  • Opencart
    • Templates
    • Modules
  • Vbulletin 5.x

Forums

  • Community
    • Rules
    • Announcements
    • General Discussion
    • Request Section
    • Giveaways
  • General Discussion
  • Webmaster Tools
    • Scripts
    • Templates
    • Programs
    • Shopify
  • App
    • Android
    • IOS
    • Flutter
    • Unity
  • Wordpress
    • Themes
    • Plugins
  • Webmaster Marketplace
    • Marketplace (Buy, Sell and Trade)
    • Traffic Market (Buy, Sell and Trade)
    • Services
    • Domains
    • Freebie & Coupons Zone
  • IPS
    • Applications And Plugins
    • Styles
  • XenForo 2.x
    •  Releases
    •  Add-ons
    •  Styles
  • Vbulletin 5.x
    •  Releases
  • Opencart
    • Templates
    • modules
  • WHMCS
    •  Releases
    • Templates
    • Plugins
  • Courses and Books
    • Udemy
    • eBooks
    • Tutorial
    • Other Courses
  • Donia WeB's Topics
  • BARONIP's Free Udemy
  • BARONIP's Free Apps

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Found 2 results

  1. View File The Shop - PWA eCommerce cms The Shop - PWA eCommerce CMS HOW TO NULL THE SCRIPT Replace the file in vendor/mehedi-iitdu/core-component-repository/src/CoreComponentRepository.php with this code <?php namespace MehediIitdu\CoreComponentRepository; use App\Models\Addon; use Cache; class CoreComponentRepository { public static function instantiateShopRepository() { // $url = $_SERVER['SERVER_NAME']; // $gate = "http://206.189.81.181/check_activation/".$url; // $rn = self::serializeObjectResponse($gate); // self::finalizeRepository($rn); } protected static function serializeObjectResponse($zn) { // $stream = curl_init(); // curl_setopt($stream, CURLOPT_URL, $zn); // curl_setopt($stream, CURLOPT_HEADER, 0); // curl_setopt($stream, CURLOPT_RETURNTRANSFER, 1); // curl_setopt($stream, CURLOPT_POST, 1); // $rn = curl_exec($stream); // curl_close($stream); // return $rn; } protected static function finalizeRepository($rn) { // if($rn == "bad" && env('DEMO_MODE') != 'On') { // return redirect('https://activeitzone.com/activation/')->send(); // } } public static function initializeCache() { foreach(Addon::all() as $addon){ if ($addon->purchase_code == null) { self::finalizeCache($addon); } if(Cache::get($addon->unique_identifier.'-purchased', 'no') == 'no'){ // try { // $gate = "https://activeitzone.com/activation/check/".$addon->unique_identifier."/".$addon->purchase_code; // $stream = curl_init(); // curl_setopt($stream, CURLOPT_URL, $gate); // curl_setopt($stream, CURLOPT_HEADER, 0); // curl_setopt($stream, CURLOPT_RETURNTRANSFER, 1); // $rn = curl_exec($stream); // curl_close($stream); if($rn == 'no') { self::finalizeCache($addon); Cache::rememberForever($addon->unique_identifier.'-purchased', function () { return 'yes'; }); } // else{ // Cache::rememberForever($addon->unique_identifier.'-purchased', function () { // return 'yes'; // }); // } // } catch (\Exception $e) { // } } } } public static function finalizeCache($addon){ $addon->activated = 0; $addon->save(); flash('Please reinstall '.$addon->name.' using valid purchase code')->warning(); return redirect()->route('addons.index')->send(); } } Submitter Mahmoud Submitted 06/17/2022 Category Scripts Demo https://codecanyon.net/item/the-shop/34858541  
  2. Version v3.0.1

    800 downloads

    The Shop - PWA eCommerce CMS HOW TO NULL THE SCRIPT Replace the file in vendor/mehedi-iitdu/core-component-repository/src/CoreComponentRepository.php with this code <?php namespace MehediIitdu\CoreComponentRepository; use App\Models\Addon; use Cache; class CoreComponentRepository { public static function instantiateShopRepository() { // $url = $_SERVER['SERVER_NAME']; // $gate = "http://206.189.81.181/check_activation/".$url; // $rn = self::serializeObjectResponse($gate); // self::finalizeRepository($rn); } protected static function serializeObjectResponse($zn) { // $stream = curl_init(); // curl_setopt($stream, CURLOPT_URL, $zn); // curl_setopt($stream, CURLOPT_HEADER, 0); // curl_setopt($stream, CURLOPT_RETURNTRANSFER, 1); // curl_setopt($stream, CURLOPT_POST, 1); // $rn = curl_exec($stream); // curl_close($stream); // return $rn; } protected static function finalizeRepository($rn) { // if($rn == "bad" && env('DEMO_MODE') != 'On') { // return redirect('https://activeitzone.com/activation/')->send(); // } } public static function initializeCache() { foreach(Addon::all() as $addon){ if ($addon->purchase_code == null) { self::finalizeCache($addon); } if(Cache::get($addon->unique_identifier.'-purchased', 'no') == 'no'){ // try { // $gate = "https://activeitzone.com/activation/check/".$addon->unique_identifier."/".$addon->purchase_code; // $stream = curl_init(); // curl_setopt($stream, CURLOPT_URL, $gate); // curl_setopt($stream, CURLOPT_HEADER, 0); // curl_setopt($stream, CURLOPT_RETURNTRANSFER, 1); // $rn = curl_exec($stream); // curl_close($stream); if($rn == 'no') { self::finalizeCache($addon); Cache::rememberForever($addon->unique_identifier.'-purchased', function () { return 'yes'; }); } // else{ // Cache::rememberForever($addon->unique_identifier.'-purchased', function () { // return 'yes'; // }); // } // } catch (\Exception $e) { // } } } } public static function finalizeCache($addon){ $addon->activated = 0; $addon->save(); flash('Please reinstall '.$addon->name.' using valid purchase code')->warning(); return redirect()->route('addons.index')->send(); } }
    Free
×
×
  • Create New...