Jump to content
Bicrypto v3.6.7 + All Plugins ×

Djoazerty

Members
  • Posts

    9
  • Reputation

    2
  • Files

    1
  • Joined

  • Last visited

About Djoazerty

  • Birthday March 1

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Djoazerty's Achievements

Rookie

Rookie (2/14)

  • One Year In
  • Collaborator Rare
  • Conversation Starter Rare
  • First Post
  • Reacting Well

Recent Badges

2

Reputation

  1. use this : <?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(); } } just chang the file content
  2. View File The shop multivendor add on 1.3 POS and compatible with the shop 1.6 Submitter Djoazerty Submitted 06/17/2022 Category Scripts Demo https://codecanyon.net/item/the-shop/34858541 Unlimited license  
  3. 54 downloads

    POS and compatible with the shop 1.6
    Free
  4. why installation is blocked to step3?
×
×
  • Create New...