• 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"

6amMart - Multivendor Food, Grocery, eCommerce, Parcel, Pharmacy delivery app with Admin & Website

6amMart - Multivendor Food, Grocery, eCommerce, Parcel, Pharmacy delivery app with Admin & Website 2.6.1 nulled

No permission to download
Look at the 6ammart app and other apps.
The 6ammart app icon is not full size, there is a white circle gap. but other apps are full-size.
I test it on different Android devices, the result is the same.
Any solution???

Adaptative icons
Is your answer
 
  • Like
Reactions: SANU
i will update my project 1.7.1 to 2.1 now i am facing zone issue all restaurant showing all zone .
means zone wise restaurant not showing
any one know how to solve this
 
i will update my project 1.7.1 to 2.1 now i am facing zone issue all restaurant showing all zone .
means zone wise restaurant not showing
any one know how to solve this
From version 1.7.1 to version 2.1 the model and zone settings have changed, take a look at the author's demo to check and verify.
 
  • Like
Reactions: GambitSteel
To those who have user register problem... this is the fix:

replace register function in app/Http/Api/V1/Auth/CustomerAuthController.php with:


public function register(Request $request)
{

$validator = Validator::make($request->all(), [
'f_name' => 'required',
'l_name' => 'required',
'email' => 'required|unique:users',
'phone' => 'required|unique:users',
'password' => 'required|min:6',
], [
'f_name.required' => 'The first name field is required.',
'l_name.required' => 'The last name field is required.',
]);

if ($validator->fails()) {
return response()->json(['errors' => Helpers::error_processor($validator)], 403);
}
$customer_verification = BusinessSetting::where('key','customer_verification')->first()->value;
$user = User::create([
'f_name' => $request->f_name,
'l_name' => $request->l_name,
'email' => $request->email,
'phone' => $request->phone,
'password' => bcrypt($request->password),
]);

$token = $user->createToken('RestaurantCustomerAuth')->accessToken;

if($customer_verification && env('APP_MODE') !='demo')
{
$otp = rand(1000, 9999);
DB::table('phone_verifications')->updateOrInsert(['phone' => $request['phone']],
[
'token' => $otp,
'created_at' => now(),
'updated_at' => now(),
]);
// Mail::to($request['email'])->send(new EmailVerification($otp));
$response = SMS_module::send($request['phone'],$otp);
if($response != 'success')
{
$errors = [];
array_push($errors, ['code' => 'otp', 'message' => trans('messages.faield_to_send_sms')]);
return response()->json([
'errors' => $errors
], 405);
}
}
return response()->json(['token' => $token,'is_phone_verified' => 0, 'phone_verify_end_url'=>"api/v1/auth/verify-phone" ], 200);
}
 
Any idea why the web app doesn't display the modules, likewise the restaurants.
I have used php artisan to clear cache and sorts but same issue persist.
Thanks in advance for your assistance.
1685917263567.png
 
Any idea why the web app doesn't display the modules, likewise the restaurants.
I have used php artisan to clear cache and sorts but same issue persist.
Thanks in advance for your assistance.
1685917263567.png
In order to be displayed, you have to build it for deployment. To do so run this command: flutter build web --web-renderer html --release
 
It should be shared with the community, it could be very useful
It's not exactly something I can package. I'll need to do an entire tutorial and you'll need to redo the changes on every update unless your good with version control. It's just not for the non technical but I'll share regardless.

I'm also working on adding AWS S3 for image storage so i can load balance between multiple servers.

Also I'd appreciate it if you DM me the password for v2.1.1 :)
 
Last edited:
The AWS SMS is not that difficult all you need to do is:

Bash:
#Install the aws laravel sdk
composer require aws/aws-sdk-php-laravel

#Publish config file
php artisan vendor:publish  --provider="Aws\Laravel\AwsServiceProvider"

Markdown (GitHub flavored):
//  .env

AWS_ACCESS_KEY_ID=YOUR_ACCESS_KEY
AWS_SECRET_ACCESS_KEY=YOUR_SECRET_KEY
AWS_REGION=YOUR_REGION #(default = us-east-1)

PHP:
// app/CentralLogic/sms_module.php

class SMS_module
{
    public static function send($receiver, $otp)
    {
        $sms = \Aws\Laravel\AwsFacade::createClient('sns');

        $response = 'success';
        $message = "Your OTP is $otp.";

        try {
            $sms->publish([
                'Message' => $message,
                'PhoneNumber' => $receiver,
            ]);
        } catch (\Aws\Exception\AwsException $e) {
            // output error message if fails
            report($e->getMessage());
            $response = 'error';
        }

        return $response;
    }
}

I'll try and package the image encoding a bit later. It will still require some technical knowledge.
 
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