Wa Gateway | Multi device BETA | MPWA MD

Wa Gateway | Multi device BETA | MPWA MD v8.0.0 ( Extended License )

No permission to download

Morehere

Well-known member
Null Master
Trusted Uploader
Jan 13, 2020
965
959
93
- app/http/BlastController.php I didn't find it either
If you know how Laravel framework works then you will understand the file hierarchy of the script.

You noticed this "app/http/BlastController.php" and found that file doesn't exists but actual patch is "app/Http/Controllers/BlastController.php".

The author of the script wrote wrong patch of the file in the documentations.
 
  • Like
Reactions: douglassouza2022
May 4, 2022
93
18
8
Brasil
If you know how Laravel framework works then you will understand the file hierarchy of the script.

You noticed this "app/http/BlastController.php" and found that file doesn't exists but actual patch is "app/Http/Controllers/BlastController.php".

The author of the script wrote wrong file patch in the documentations.
Thanks for the information
 

Gemes

Member
May 2, 2022
96
18
8
just begin to compare with the latest release , think this the fix for campaign that sent to sender problem
cant test yet... dont have device to test

1662013628442.png
 
  • Like
Reactions: Disco82

Morehere

Well-known member
Null Master
Trusted Uploader
Jan 13, 2020
965
959
93
just begin to compare with the latest release , think this the fix for campaign that sent to sender problem
cant test yet... dont have device to test

1662013628442.png
Yes this is the changes in the v4.2.1.
 

tpetualang

Active member
Mar 30, 2019
448
209
43
Wakanda
temanpetualang.com
Some are looking for Google Form Integration.
Here I will share the working script.

Please follow the steps:
1. Create a google form with Name and Whatsapp number as input fields
2. Open Response sheet from the "Responses" tab of form editor
3. After opening a response sheet open Extensions->Apps Script
4. Copy paste below script and edit necessary values according to your server settings and save it.
*** Hidden text: cannot be quoted. ***
5. In Apps Script go to "Triggers" tab and click on "Add Trigger"
6. Choose settings as shown in the screenshot
*** Hidden text: cannot be quoted. ***
7. Allow permissions
8. Try testing by submitting new response by form.
Enjoy.

If you find any great ideas please share.
it works, I wanna ask if we create form on our website, the result form integrated to google sheet, my question.. Is this script can be used ?
 

Morehere

Well-known member
Null Master
Trusted Uploader
Jan 13, 2020
965
959
93
it works, I wanna ask if we create form on our website, the result form integrated to google sheet, my question.. Is this script can be used ?
Please elaborate your requirement with an example.
 

tpetualang

Active member
Mar 30, 2019
448
209
43
Wakanda
temanpetualang.com
Please elaborate your requirement with an example.
before I see this, I use webhook on my website I use wpforms, + wpforms webhook + wpsyncsheet ( wpforms to google sheet)
I use webhook for sending notification to receivers, although the data was transfered to google sheet
If I use it, maybe I don't use wpforms webhook but, I use this script for data from google sheet for whatsapp notification.
how about your opinion about my flow ?
 

Morehere

Well-known member
Null Master
Trusted Uploader
Jan 13, 2020
965
959
93
before I see this, I use webhook on my website I use wpforms, + wpforms webhook + wpsyncsheet ( wpforms to google sheet)
I use webhook for sending notification to receivers, although the data was transfered to google sheet
If I use it, maybe I don't use wpforms webhook but, I use this script for data from google sheet for whatsapp notification.
how about your opinion about my flow ?
It depends on your decision. But both works as expected.
If you have any issues with wa gateway script then ask for the solutions.
 
  • Like
Reactions: tpetualang

hmc

Member
Banned User
Jul 23, 2022
98
50
18
Server Room
localhost
hello,

i am trying to add audio and video and zip files in the autoreply. i am stuck only at one point that i am unable to upload the audio/zip file i.e. mp3/zip file through the upload option in the file manager.

i am able to receive autoreply for mp3 file but i have to manually paste the mp3 file in files in public\storage\files\1
which resulted problem that audio file has no sound.

whereas, i am able to receive autoreply of MP4 absolutely perfectly.

my lfm.php

see if anyone has suggestions and i am missing anything

Code:
<?php

/*
|--------------------------------------------------------------------------
| Documentation for this config :
|--------------------------------------------------------------------------
| online  => http://unisharp.github.io/laravel-filemanager/config
| offline => vendor/unisharp/laravel-filemanager/docs/config.md
 */

return [
    /*
    |--------------------------------------------------------------------------
    | Routing
    |--------------------------------------------------------------------------
     */

    'use_package_routes'       => true,

    /*
    |--------------------------------------------------------------------------
    | Shared folder / Private folder
    |--------------------------------------------------------------------------
    |
    | If both options are set to false, then shared folder will be activated.
    |
     */

    'allow_private_folder'     => true,

    // Flexible way to customize client folders accessibility
    // If you want to customize client folders, publish tag="lfm_handler"
    // Then you can rewrite userField function in App\Handler\ConfigHandler class
    // And set 'user_field' to App\Handler\ConfigHandler::class
    // Ex: The private folder of user will be named as the user id.
    'private_folder_name'      => UniSharp\LaravelFilemanager\Handlers\ConfigHandler::class,

    'allow_shared_folder'      => false,

    'shared_folder_name'       => 'shares',

    /*
    |--------------------------------------------------------------------------
    | Folder Names
    |--------------------------------------------------------------------------
     */

    'folder_categories'        => [
        'file'  => [
            'folder_name'  => 'files',
            'startup_view' => 'list',
            'max_size'     => 50000, // size in KB
            'thumb' => true,
            'thumb_width' => 80,
            'thumb_height' => 80,
            'valid_mime'   => [
                'image/jpeg',
                'image/pjpeg',
                'image/png',
                'video/mp4',
                'audio/mp3',
               // 'image/gif',
                'application/pdf',
                'text/plain',
                'application/zip',
            ],
        ],
        'image' => [
            'folder_name'  => 'photos',
            'startup_view' => 'grid',
            'max_size'     => 50000, // size in KB
            'thumb' => true,
            'thumb_width' => 80,
            'thumb_height' => 80,
            'valid_mime'   => [
                'image/jpeg',
                'image/pjpeg',
                'image/png',
                'image/gif',
                'video/mp4',
                'audio/mp3',
                'application/zip',
            ],
        ],
    ],

    /*
    |--------------------------------------------------------------------------
    | Pagination
    |--------------------------------------------------------------------------
     */

    'paginator' => [
        'perPage' => 30,
    ],

    /*
    |--------------------------------------------------------------------------
    | Upload / Validation
    |--------------------------------------------------------------------------
     */

    'disk'                     => 'public',

    'rename_file'              => true,

    'rename_duplicates'        => false,

    'alphanumeric_filename'    => false,

    'alphanumeric_directory'   => false,

    'should_validate_size'     => false,

    'should_validate_mime'     => true,

    // behavior on files with identical name
    // setting it to true cause old file replace with new one
    // setting it to false show `error-file-exist` error and stop upload
    'over_write_on_duplicate'  => false,

    // Item Columns
    'item_columns' => ['name', 'url', 'time', 'icon', 'is_file', 'is_image', 'thumb_url'],

    /*
    |--------------------------------------------------------------------------
    | Thumbnail
    |--------------------------------------------------------------------------
     */

    // If true, image thumbnails would be created during upload
    'should_create_thumbnails' => true,

    'thumb_folder_name'        => 'thumbs',

    // Create thumbnails automatically only for listed types.
    'raster_mimetypes'         => [
        'image/jpeg',
        'image/pjpeg',
        'image/png',
    ],

    'thumb_img_width'          => 200, // px

    'thumb_img_height'         => 200, // px

    /*
    |--------------------------------------------------------------------------
    | File Extension Information
    |--------------------------------------------------------------------------
     */

    'file_type_array'          => [
        'pdf'  => 'Adobe Acrobat',
        'doc'  => 'Microsoft Word',
        'docx' => 'Microsoft Word',
        'xls'  => 'Microsoft Excel',
        'xlsx' => 'Microsoft Excel',
     
        //'gif'  => 'GIF Image',
        'jpg'  => 'JPEG Image',
        'jpeg' => 'JPEG Image',
        'png'  => 'PNG Image',
        //'ppt'  => 'Microsoft PowerPoint',
        //'pptx' => 'Microsoft PowerPoint',
        'mp4'  => 'Video',
        'mp3'  => 'Audio',
        'zip'  => 'Archive',

    ],

    /*
    |--------------------------------------------------------------------------
    | php.ini override
    |--------------------------------------------------------------------------
    |
    | These values override your php.ini settings before uploading files
    | Set these to false to ingnore and apply your php.ini settings
    |
    | Please note that the 'upload_max_filesize' & 'post_max_size'
    | directives are not supported.
     */
    'php_ini_overrides'        => [
        'memory_limit' => '256M',
    ],
];


Screenshot_20220901-164810.jpg
 
Last edited:

Argentino

Active member
May 1, 2020
127
66
28
hello,

i am trying to add audio and video and zip files in the autoreply. i am stuck only at one point that i am unable to upload the audio/zip file i.e. mp3/zip file through the upload option in the file manager.

i am able to receive autoreply for mp3 file but i have to manually paste the mp3 file in files in public\storage\files\1
which resulted problem that audio file has no sound.

whereas, i am able to receive autoreply of MP4 absolutely perfectly.

my lfm.php

see if anyone has suggestions and i am missing anything

Code:
<?php

/*
|--------------------------------------------------------------------------
| Documentation for this config :
|--------------------------------------------------------------------------
| online  => http://unisharp.github.io/laravel-filemanager/config
| offline => vendor/unisharp/laravel-filemanager/docs/config.md
 */

return [
    /*
    |--------------------------------------------------------------------------
    | Routing
    |--------------------------------------------------------------------------
     */

    'use_package_routes'       => true,

    /*
    |--------------------------------------------------------------------------
    | Shared folder / Private folder
    |--------------------------------------------------------------------------
    |
    | If both options are set to false, then shared folder will be activated.
    |
     */

    'allow_private_folder'     => true,

    // Flexible way to customize client folders accessibility
    // If you want to customize client folders, publish tag="lfm_handler"
    // Then you can rewrite userField function in App\Handler\ConfigHandler class
    // And set 'user_field' to App\Handler\ConfigHandler::class
    // Ex: The private folder of user will be named as the user id.
    'private_folder_name'      => UniSharp\LaravelFilemanager\Handlers\ConfigHandler::class,

    'allow_shared_folder'      => false,

    'shared_folder_name'       => 'shares',

    /*
    |--------------------------------------------------------------------------
    | Folder Names
    |--------------------------------------------------------------------------
     */

    'folder_categories'        => [
        'file'  => [
            'folder_name'  => 'files',
            'startup_view' => 'list',
            'max_size'     => 50000, // size in KB
            'thumb' => true,
            'thumb_width' => 80,
            'thumb_height' => 80,
            'valid_mime'   => [
                'image/jpeg',
                'image/pjpeg',
                'image/png',
                'video/mp4',
                'audio/mp3',
               // 'image/gif',
                'application/pdf',
                'text/plain',
                'application/zip',
            ],
        ],
        'image' => [
            'folder_name'  => 'photos',
            'startup_view' => 'grid',
            'max_size'     => 50000, // size in KB
            'thumb' => true,
            'thumb_width' => 80,
            'thumb_height' => 80,
            'valid_mime'   => [
                'image/jpeg',
                'image/pjpeg',
                'image/png',
                'image/gif',
                'video/mp4',
                'audio/mp3',
                'application/zip',
            ],
        ],
    ],

    /*
    |--------------------------------------------------------------------------
    | Pagination
    |--------------------------------------------------------------------------
     */

    'paginator' => [
        'perPage' => 30,
    ],

    /*
    |--------------------------------------------------------------------------
    | Upload / Validation
    |--------------------------------------------------------------------------
     */

    'disk'                     => 'public',

    'rename_file'              => true,

    'rename_duplicates'        => false,

    'alphanumeric_filename'    => false,

    'alphanumeric_directory'   => false,

    'should_validate_size'     => false,

    'should_validate_mime'     => true,

    // behavior on files with identical name
    // setting it to true cause old file replace with new one
    // setting it to false show `error-file-exist` error and stop upload
    'over_write_on_duplicate'  => false,

    // Item Columns
    'item_columns' => ['name', 'url', 'time', 'icon', 'is_file', 'is_image', 'thumb_url'],

    /*
    |--------------------------------------------------------------------------
    | Thumbnail
    |--------------------------------------------------------------------------
     */

    // If true, image thumbnails would be created during upload
    'should_create_thumbnails' => true,

    'thumb_folder_name'        => 'thumbs',

    // Create thumbnails automatically only for listed types.
    'raster_mimetypes'         => [
        'image/jpeg',
        'image/pjpeg',
        'image/png',
    ],

    'thumb_img_width'          => 200, // px

    'thumb_img_height'         => 200, // px

    /*
    |--------------------------------------------------------------------------
    | File Extension Information
    |--------------------------------------------------------------------------
     */

    'file_type_array'          => [
        'pdf'  => 'Adobe Acrobat',
        'doc'  => 'Microsoft Word',
        'docx' => 'Microsoft Word',
        'xls'  => 'Microsoft Excel',
        'xlsx' => 'Microsoft Excel',
    
        //'gif'  => 'GIF Image',
        'jpg'  => 'JPEG Image',
        'jpeg' => 'JPEG Image',
        'png'  => 'PNG Image',
        //'ppt'  => 'Microsoft PowerPoint',
        //'pptx' => 'Microsoft PowerPoint',
        'mp4'  => 'Video',
        'mp3'  => 'Audio',
        'zip'  => 'Archive',

    ],

    /*
    |--------------------------------------------------------------------------
    | php.ini override
    |--------------------------------------------------------------------------
    |
    | These values override your php.ini settings before uploading files
    | Set these to false to ingnore and apply your php.ini settings
    |
    | Please note that the 'upload_max_filesize' & 'post_max_size'
    | directives are not supported.
     */
    'php_ini_overrides'        => [
        'memory_limit' => '256M',
    ],
];


Screenshot_20220901-164810.jpg

Hi bro, please check what error throws laravel storage/logs/laravel.log

On the other hand, many of you who have problems with cronjobs check your php.ini check not to have disabled the functions proc_open proc_exit

Laravel also shows those errors in its logs
 

About us

  • Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu