Jump to content
Bicrypto v4.4.2 + All Plugins ×

Whatsapp Gateway | Multi Device v8.5.1


Magd Almuntaser

Recommended Posts

29 minutes ago, cancer apik said:

sudah saya refresh tetep sama pak @Magd Almuntaser  jika pakai tema lama lancar berjalan normal jika pakai tema baru tidak bisa masih memuat

Di tema yang lama saya juga mendapati kadang not responding. Mungkin karena terlalu banyak kontak.

terasa lambat 

Link to comment
Share on other sites

2 minutes ago, Magd Almuntaser said:

Does it work for you in the new theme?

Not yet trying after not responding yesterday.

but today i found a bug.

(click to close cant clicked on ios browser)

so i cant edit contactIMG_9973.thumb.jpeg.fcd6369879df7fab98acf30b7a44efeb.jpeg

Link to comment
Share on other sites

  • DW Members
4 minutes ago, Unicode said:

Not yet trying after not responding yesterday.

but today i found a bug.

(click to close cant clicked on ios browser)

so i cant edit contact

i don't know what you mean : Not yet trying after not responding yesterday.
Have you tried the problem that our friend mentioned above now? Because it works for me without any problems

ok i will see about close tab and this white color on dark mode

Link to comment
Share on other sites

1 minute ago, Magd Almuntaser said:

i don't know what you mean : Not yet trying after not responding yesterday.
Have you tried the problem that our friend mentioned above now? Because it works for me without any problems

Kemarin saya mengalami hal yang sama namun di tema yg lama. Ketika meload banyak grup dan kontak di browser pc langsung lambat dan tidak respon.

namun untuk hari ini belum mencoba dengan tema yang baru, tapi saya menemukan bugs yaitu: tombol click tabs tidak berfungsi di versi mobile.

jadi saya tidak bisa mengedit kontak.

Link to comment
Share on other sites

  • DW Members
4 minutes ago, Gusik Prasetyo said:

My mpwa always go to:

https://mpwa.website/public

How to solve to make https://mpwa.website ?

 

@Magd Almuntaser

It seems that your hosting company has replaced some commands in the .htaccess file. Try to fix the problem from the .htaccess file. I can't help you because I don't know what your hosting company has done inside the .htaccess file.

2 minutes ago, Unicode said:

Kemarin saya mengalami hal yang sama namun di tema yg lama. Ketika meload banyak grup dan kontak di browser pc langsung lambat dan tidak respon.

namun untuk hari ini belum mencoba dengan tema yang baru, tapi saya menemukan bugs yaitu: tombol click tabs tidak berfungsi di versi mobile.

jadi saya tidak bisa mengedit kontak.

Ok I will try to change the previous system because I really did not like it.. It uses ajax unnecessarily.. I will fix it in the next version..

Link to comment
Share on other sites

4 minutes ago, Gusik Prasetyo said:

Screenshot_20240825-202837.png.3965cd59aef5afb6008d8ee084596476.png

That a part of my .htaccess that always go to https:// mpwa.website / public 

I try remove the word:  public, its make message not send 😂

Sir @Magd Almuntaser mas @Unicode

 

Coba pakai ini:

ini htaccess untuk directadmin sih, karena mengalami hal tsb jika hosting dengan directadmin.

Tapi coba aja siapa tau cocok,setelah dirubah restart node js. Clear cache browser:

<IfModule mod_rewrite.c>
    RewriteEngine On
 RewriteCond %{REQUEST_URI} ^/$
    RewriteRule ^$ /login [L,R=302]
 RewriteCond %{REQUEST_URI} !^/socket.io/
 RewriteCond %{REQUEST_URI} !^/backend-*
    RewriteCond %{REQUEST_URI} !^/public/
    RewriteRule ^(.*)$ /public/$1 [L,QSA]
</IfModule>
<IfModule mod_security.c>
  SecFilterEngine Off
  SecFilterScanPOST Off
</IfModule>

Credit to mas @Puja Widya 

 

  • Love 1
Link to comment
Share on other sites

22 minutes ago, cancer apik said:

@Gusik Prasetyo saya menggunakan cloudhostinya ttmhost sangat lancar pak harga murah..

@Unicode saya mengalami hal yang sama apakah sudah teratasi pak..jika sudah mohon beritahu caranya

 

22 minutes ago, cancer apik said:

@Gusik Prasetyo saya menggunakan cloudhostinya ttmhost sangat lancar pak harga murah..

@Unicode saya mengalami hal yang sama apakah sudah teratasi pak..jika sudah mohon beritahu caranya

Sejauh ini saya pakai di aapanel jalan normal, tinggal menunggu apakah node ja tertidur not respon lagi atau tetep berjalan. Karna saya hanya butuh untuk api nya saja

Jadi sejauh saya coba aman 😁

Link to comment
Share on other sites

7 hours ago, Gusik Prasetyo said:

this tutorial to make MPWA autoreply using google sheet plus apps script.

1. make new sheet file using this format (1st row) Keyword, Type, Message, File

you can visit:

https://docs.google.com/spreadsheets/d/1svHPPF3hFyaPfkRxzN1wscR5A5bS21MzcjrH3NO51us/edit?usp=sharing

wsheet.jpg.b1a25516ac39374325eba53c0b89909e.jpg

 

2. then go to Extensions - Apps Script

appsscript.jpg.6ed7295ddac47fc78a363f1d113e9957.jpg

 

3. delete all data on there. copy and paste code bellow. and edit with your own data.

 

function doPost(e) {
    var data =  e.postData.contents;
    var json = JSON.parse(data);
    var number = json['from'];
    var senderMessage = json['message'];
    var file = json['bufferImage'];
    var pesan = senderMessage.toLowerCase();
    var newMessage = pesan.split(" ");
    var searchreply = autoreply(newMessage[0]);
    var type = searchreply[1];
    var messagetosend = searchreply[2];
    var file = searchreply[3];
    if(type == "file"){
        sendWaFile(number, messagetosend, file);
    } else if(type == "button") {
        sendWaButton(number, messagetosend, file);
    } else if(type == "list") {
        sendWaList(number, messagetosend, file);        
    } else {
        sendWaText(number, messagetosend);
    }
}
 
function autoreply(message){
  var sheetUrl = "https://docs.google.com/spreadsheets/d/1svHPPF3hFyaPfkRxzN1wscR5A5bS2jsdhjsdhuheheh/edit?usp=sharing"; //ganti dengan URL sheet kamu
  var sheetfile = SpreadsheetApp.openByUrl(sheetUrl);
  var sheet = sheetfile.getSheetByName("autoreply"); //sesuaikan dengan nama sheet yg d buat
  var data = sheet.getDataRange().getValues()
  var filterData = data.filter(function(keyword){
    if(keyword[0] == message){
      return keyword
      }        
    })
    if(filterData.length>0){
        return filterData[0]
    }
}
 
function sendWaText(number, messagetosend) {
  var APIKey = "Hcu8aDaGnxI6Utf9kWjQsjlpX5taFy" //ganti dengan API
  var sender = "628xxxxxxxxxx"  // ganti nomer HP
  var url = "https://websitekamu/send-message"; //ganti website
  var msgtext = {
    'api_key': APIKey,
    'sender': sender,
    "number": number,
    'message': messagetosend,
    };
  var response = UrlFetchApp.fetch(url, {
    "method": "POST",
    "contentType": "application/json",
    "payload" : JSON.stringify(msgtext),
      });
    Logger.log(response.getContentText());
}
 
//untuk kirim file
function sendWaFile(number, messagetosend, file){
  var APIKey = "Hcu8aDaGnxI6Utf9kWjQsjlpX5taFy" //ganti api
  var sender = "628000000000" // ganti nomer HP
  var url = "https://websitekamu/send-media"; //ganti website
  var msggmbr = {
    "api_key": APIKey,
    "sender": sender,
    "number": number,
    "media_type" : "image",
    "caption": messagetosend,
    "url": file
    }
  var response = UrlFetchApp.fetch(url, {
    "method": "POST",
    "contentType": "application/json",
    "payload" : JSON.stringify(msggmbr),
      });
    Logger.log(response.getContentText());
}
 
//fungsi button tidak bisa
//http://yourhost.com/send-button?sender=nomersender&api_key=yourapikey&number=nomertujuan&url=&footer=optional&message=Halo,ini pesan button&button=button 1,button 2,button 3
function sendWaButton(number, messagetosend, file){
  //var APIKey = "blablabla"
  //var sender = "blablabla"
  var url = "https://alamatwebsite/send-button";
  var msgbut = {
    "sender" : sender,
    "api_key" : APIKey,
    "number" : number,
    "url" : null,
    "footer" : "optional",
    "message" : messagetosend,
    "button" : file
    }
  var response = UrlFetchApp.fetch(url, {
    "method": "POST",
    "contentType": "application/json",
    "payload" : JSON.stringify(msgbut),
    });
    Logger.log(response.getContentText());
}

 

4. in left menus, choose Triggers

triggers.jpg.cf553ed27faf0ebcc6e40f9dffd666e5.jpg

 

5.  Click Add Trigger button in right bottom corner.

6.  make setting like picture bellow. click SAVE.

addtriger.jpg.053a6e898130aefe117adc67f4b4b4e7.jpg

 

7. Click DEPLOY in right top corner.

8. Select type: WEB APP. and make setting like picture. Click DEPLOY to finish it.

autowebhook.jpg.e2e67fa05cab4a05cba124d11bf07979.jpg

 

9. copy url and paste in your MPWA webhook. 

copyurl.jpg.581873383fcb7afc4a375c106be29699.jpg

 

 

@Enno The Explorer @JangE  thanks to @bloserda who teach me about this script.

TOP Markotop..saya coba berhasil mas gusik, Thank u so much....😀🙏

tp kolom file disebelahnya kenapa ga terkirim ya? , hny autoreplay pesan saja

@Gusik Prasetyo @bloserda

Edited by Enno The Explorer
  • Like 1
  • Thanks 1
Link to comment
Share on other sites

9 hours ago, Magd Almuntaser said:

Update Whatsapp Gateway Multi Device (Magd Version) v7.0.0.9
Only for those who use my previous version 7.0.0.2 & later

You can install the update from your control panel by clicking on Admin->Update or from the notifications in the website interface.

 

What's New on v7.0.0.9:
- Added Multi-Themes.
-
Added delay for autoreply & webhook.
-
Added new theme, the previous theme is still there.
-
Added remote themes installation page.
-
Fixed socket idle.
-
Rebuild previous design.

 

For those looking for the "new installation" you can download the full version from the next post.

WH Read, WH Typing, WH Reject CAll dan delay untuk webhook tidak berfungsi tuanku @Magd Almuntaser

Edited by Enno The Explorer
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...