• You MUST read the Babiato Rules before making your first post otherwise you may get permanent warning points or a permanent Ban.

    Our resources on Babiato Forum are CLEAN and SAFE. So you can use them for development and testing purposes. If your are on Windows and have an antivirus that alerts you about a possible infection: Know it's a false positive because all scripts are double checked by our experts. We advise you to add Babiato to trusted sites/sources or disable your antivirus momentarily while downloading a resource. "Enjoy your presence on Babiato"

MagicAI - OpenAI Content, Text, Image, Chat, Code Generator as SaaS

MagicAI - OpenAI Content, Text, Image, Chat, Code Generator as SaaS v5.4 Untouched

No permission to download
I tried that and it doesn't work. Can you test on the latest version 5.4.0?

The codebase has changed. The addons are handled by the MarketPlaceController.php file in app/http/controllers/market now
I'm tested on v5.4
Upload file to your hosting
Unzip and install
Go to phpmyadmin
Change info license
Go your admin website
Install extensions
Setting your Payment etc...

But have some small problem from auth dev need them fix

dashboard/user/openai/generator/ai_image_generator
dashboard/user/openai/generator/ai_code_generator/workbook
/dashboard/user/openai/generator/ai_speech_to_text
404 Not found
dashboard/user/settings
/dashboard/user/openai/generator/ai_rss/workbook
500 Critical Server Error
Upload SVG logo not works


If you got problem when install extensions
Go to phpmyadmin and
fix it 0 to 1 see attachment
 

Attachments

  • Screenshot 2024-03-14 at 11-51-10 MagicAI Payment Gateways.png
    Screenshot 2024-03-14 at 11-51-10 MagicAI Payment Gateways.png
    159.1 KB · Views: 106
  • Screenshot 2024-03-14 at 11-53-28 103.173.227.63 _ localhost _ magic _ extensions phpMyAdmin 5...png
    Screenshot 2024-03-14 at 11-53-28 103.173.227.63 _ localhost _ magic _ extensions phpMyAdmin 5...png
    106.4 KB · Views: 105
  • Screenshot 2024-03-14 at 11-59-39 MagicAI Marketplace.png
    Screenshot 2024-03-14 at 11-59-39 MagicAI Marketplace.png
    111 KB · Views: 100
  • Screenshot 2024-03-14 at 11-55-16 MagicAI Marketplace.png
    Screenshot 2024-03-14 at 11-55-16 MagicAI Marketplace.png
    115.4 KB · Views: 101
Last edited:
  • Like
Reactions: Strakovski
I'm tested on v5.4
Upload file to your hosting
Unzip and install
Go to phpmyadmin
Change info license
Go your admin website
Install extensions
Setting your Payment etc...

But have some small problem from auth dev need them fix

dashboard/user/openai/generator/ai_image_generator
dashboard/user/openai/generator/ai_code_generator/workbook
/dashboard/user/openai/generator/ai_speech_to_text
404 Not found
dashboard/user/settings
/dashboard/user/openai/generator/ai_rss/workbook
500 Critical Server Error
Upload SVG logo not works


If you got problem when install extensions
Go to phpmyadmin and
fix it 0 to 1 see attachment
but still not working
 
Babak updated MagicAI - OpenAI Content, Text, Image, Chat, Code Generator as SaaS with a new update entry:

MagicAI v5.4 Untouched

Download MagicAI v5.4 - OpenAI Content, Text, Image, Chat, Code Generator as SaaS Nulled Free
v5.4 – MAR 13, 2024

NEW: Ability to Create and Customize Chatbots for End Users
NEW: Chatbot Training for End Users (Free Extension)
NEW: Wordpress Integration (Paid Extension)
NEW: Cloudflare R2 Storage (Paid Extension)
NEW: Paddle Gateway Added
NEW: Razorpay Gateway Added
TWEAK: Huge Performance Update
TWEAK: Refactored Structure
TWEAK: Improved Webchat (Free Extension)
TWEAK: Chatbot...

Read the rest of this update entry...
 
Hello sir, i followed all the steps but the ai webchat addon refused to install. I have a connected working openai api. Pls what else can i do?
for the ai web chat what you need to do is to go to database add 1 instead of 0 to in installed value then go back to the app and the refresh, uninstall it and install it again refresh and the ai web chat will be installed, make sure that openai api is connected thats the only way it will work
 
The latest version Update to day 03/15/2024
Untouch
Small problem Fix
Cannot install Addons via Market because theme check license
But you can install and config Payment when you change data to Extended License
Error when create Subscriptions
$config must be a string or an array
Code:
https://workupload.com/file/LqfQApJKFz8
 
The latest version Update to day 03/16/2024
Untouch

Code:
https://workupload.com/file/pyP288ktJvz
 
Now i'm nulled it and share extension
Try install your self
Have fun


Note
Nulled to install and download extension

P/S
Change license for extension 0 to 1
Change data price 29 and 39 to 0
for 2 extension

Cloudflare R2​

and

Wordpress integration​


/app/Services/Extension/Traits/InstallExtension.php

Code:
<?php

namespace App\Services\Extension\Traits;

use App\Helpers\Classes\Helper;
use App\Models\Extension;
use Exception;
use Illuminate\Filesystem\Filesystem;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\File;
use Illuminate\Support\Facades\Http;
use Illuminate\Support\Facades\Log;
use Illuminate\Support\Facades\Schema;
use Illuminate\Support\Facades\Storage;

trait InstallExtension
{
    public function install(string $extensionSlug): bool|array
    {
        $dbExtension = Extension::query()->where('slug', $extensionSlug)->first();

        if ($dbExtension->licensed != 1) {
            return [
                'status' => false,
                'message' => trans('Invalid license key, please buy the extension first.')
            ];
        }

        $this->extensionSlug = $extensionSlug;

        //$licenseKey = Helper::settingTwo('liquid_license_domain_key');

        $email = '[email protected]';

        if (! $email) {
            return [
                'status' => false,
                'message' => trans('Invalid license key')
            ];
        }

        $response = Http::get('https://portal.liquid-themes.com/api/extensions/download', [
            //'email' => $email,
            'slug' => $extensionSlug,
            //'license' => $licenseKey,
            'mode' => 'test',
            'version' => $dbExtension?->getAttribute('version') ?: 'v2'
        ]);

        if ($response->failed()) {
            return [
                'status' => false,
                'message' => trans('Failed to download extension')
            ];
        }

        $zipContent = $response->body();

        Storage::disk('local')->put('file.zip', $zipContent);

        $checkZip = $this->zipArchive->open(
            Storage::disk('local')->path('file.zip')
        );

        if ($checkZip) {

            $this->zipExtractPath = storage_path('app/zip-extract');

            $this->zipArchive->extractTo($this->zipExtractPath);

            $this->zipArchive->close();

            Storage::disk('local')->delete('file.zip');

            try {
                # index json
                $this->getIndexJson();

                if (empty($this->indexJsonArray)) {
                    return [
                        'status' => false,
                        'message' => trans('index.json not found')
                    ];
                }

                $this->deleteOldVersionFiles();

                # make dir
                $this->makeDir($extensionSlug);

                # run install query
                $this->runInstallQuery();

                # copy resource
                $this->copyResource();

                # copy view
                $this->copyRoute();

                # copy controllers
                $this->copyControllers();

                # copy files
                $this->copyFiles();

                # delete zip extract dir
                (new Filesystem)->deleteDirectory($this->zipExtractPath);

                Extension::query()->where('slug', $extensionSlug)
                    ->update([
                        'installed' => 1
                    ]);

                return [
                    'success' => true,
                    'status' => true,
                    'message' => trans('Extension installed successfully')
                ];

            }catch (Exception $e) {
                return [
                    'status' => false,
                    'message' => $e->getMessage()
                ];
            }
        }
    }

    /**
     * Install query for extension
     *
     * @return void
     */
    public function runInstallQuery(): void
    {
        $data = data_get($this->indexJsonArray, 'migrations.install');

        if (empty($data)) {
            return;
        }

        foreach ($data as $value) {
            $table = data_get($value, 'condition.table');

            $column = data_get($value, 'condition.column', null);

            $sqlPath = $this->zipExtractPath . DIRECTORY_SEPARATOR . 'migrations'. DIRECTORY_SEPARATOR . data_get($value, 'path');

            if (
                Schema::hasTable($table)
                && File::exists($sqlPath)
                && is_null($column)
            ) {
                $installQuery = $this->installQuery(
                    $sqlPath
                );

                DB::unprepared($installQuery);
            } else if (
                Schema::hasTable($table)
                && File::exists($sqlPath)
                && $column
            ) {
                $installQuery = $this->installQuery(
                    $sqlPath
                );

                $column = data_get($value, 'condition.column');

                if (! Schema::hasColumn($table, $column)) {
                    DB::unprepared($installQuery);
                }
            }
        }
    }

    private function installQuery(string $sqlPath): bool|string
    {
        return file_get_contents($sqlPath);
    }

    public function copyResource(): void
    {
        $zipExtractPath = $this->zipExtractPath;

        $extensionSlug = $this->extensionSlug;

        File::copy(
            $zipExtractPath . DIRECTORY_SEPARATOR . 'index.json',
            resource_path("extensions/$extensionSlug/index.json")
        );

        $data = data_get($this->indexJsonArray, 'migrations.uninstall');

        if (empty($data) && ! is_array($data)) {
            return;
        }

        foreach ($data as $value) {
            $path = data_get($value, 'path');

            $sqlPath = $zipExtractPath . DIRECTORY_SEPARATOR . 'migrations'. DIRECTORY_SEPARATOR . $path;

            File::copy($sqlPath, resource_path("extensions/$extensionSlug/migrations/$path"));
        }
    }

    public function copyRoute(): void {
        $zipExtractPath = $this->zipExtractPath;

        $route = data_get($this->indexJsonArray, 'route');

        if (empty($route)) {
            return;
        }

        $routePath = $zipExtractPath. DIRECTORY_SEPARATOR . $route;

        if (File::exists($routePath)) {
            File::copy(
                $routePath,
                base_path("routes/extroutes/". basename($routePath))
            );
        }
    }

    public function copyControllers(): void
    {
        $zipExtractPath = $this->zipExtractPath;

        $controllers = data_get($this->indexJsonArray, 'controllers');

        if (! is_array($controllers)) {
            return;
        }

        foreach ($controllers as $controller) {

            $controllerPath = $zipExtractPath . DIRECTORY_SEPARATOR . $controller;

            if (! File::isDirectory(dirname(base_path($controller)))) {
                File::makeDirectory(dirname(base_path($controller)), 0777, true);
            }

            if (File::exists($controllerPath)) {
                File::copy(
                    $controllerPath,
                    base_path($controller)
                );
            }
        }
    }


    public function copyFiles(): void {

        $zipExtractPath = $zipExtractPath ?? $this->zipExtractPath;

        $files = data_get($this->indexJsonArray, 'stubs');

        if (empty($files) && ! is_array($files)) {
            return;
        }

        foreach ($files as  $key => $file) {

            $fileName = is_numeric($key) ? basename($file) : $key;

            $sourcePath = $zipExtractPath  . DIRECTORY_SEPARATOR . 'stubs' . DIRECTORY_SEPARATOR . $fileName;

            $destinationPath = base_path($file);

            Log::info("Copying $sourcePath to $destinationPath...");

            if (! File::isDirectory(dirname($destinationPath))) {
                File::makeDirectory(dirname($destinationPath), 0777, true);
            }

            File::copy($sourcePath, $destinationPath);
        }
    }

    /**
     * Check license function
     *
     * @param string|null $licenseKey
     * @return bool|string|null
     */
    public function checkLicense(?string $licenseKey = null): null|bool|string
    {
        $licenseKey = $licenseKey ?? Helper::settingTwo('liquid_license_domain_key');

        $response = Http::get('https://portal.liquid-themes.com/api/license/' . DIRECTORY_SEPARATOR . $licenseKey);

        if ($response->failed()) {
            return false;
        }

        return $response->json('owner.email');
    }
}
 

Attachments

  • r2.png
    r2.png
    102.2 KB · Views: 85
  • wp.png
    wp.png
    45.9 KB · Views: 85
  • change-data.png
    change-data.png
    110.9 KB · Views: 85
Last edited:
Hi Anyone fix the STRIPE problem ? cant go to the payment processor but the invoice is record ... normally the stripe events show "request_payment_method"
 
Hi everyone,

Could anyone assist me, please? I've purchased the extended license for this script, but I'm at a loss on how to build the homepage frontend for my website. Could you suggest any websites using the same script for inspiration?

Much appreciated!
 
Untouch
Code:
https://workupload.com/file/gs8sGCFq9xC

Last Update on Mar 18, 2024: Introducing Revolutionary MagicAI Marketplace, Ability to Create and Customize Chatbots for End-Users, Chatbot Training for End-Users, RazorPay Integration, Paddle Integration, WordPress Extension (Paid), CloudFlare R2 Storage Extension (Paid), New Frontend Structure, and more​


Last Update 18 March 2024
 
  • Like
Reactions: tharit
Hi. I get this error. "Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.2.0"."

What should I do? My PHP version is 8.1
 
V5.4.1
Not nulled
Code:
https://workupload.com/file/VcUnwq9EvJ5

Last Update 20 March 2024
 
AdBlock Detected

We get it, advertisements are annoying!

However in order to keep our huge array of resources free of charge we need to generate income from ads so to use the site you will need to turn off your adblocker.

If you'd like to have an ad free experience you can become a Babiato Lover by donating as little as $5 per month. Click on the Donate menu tab for more info.

I've Disabled AdBlock