
Posts posted by The Billionaire
-
-
9 minutes ago, Dammah Sifla said:
Saya telah menambahi fungsi tolak panggilan pada script whatsapp.js, jika anda ingin mencobanya, tolong jangan replace filenya, perhatikan scriptnya, ambil potongan script yang saya tambahi, agar bisa sama-sama belajar membaca fungsi script. Jika ingin mereplace file silahkan Anda backup terlebih dulu file whatsapp.js anda.
kemudian pada phpmyadmin di tabel number tambahi column noCall dan textNoCall, noCall berisi yes atau no sedangkan textNoCall berisi pesan untuk dikirimkan setelah menolak panggilan.Restart nodejs, lihat apakah ada error atau tidak..
Selamat mencoba...
if so create a migration file, so we will not get confused
-
8 minutes ago, Dammah Sifla said:
Saya telah menambahi fungsi tolak panggilan pada script whatsapp.js, jika anda ingin mencobanya, tolong jangan replace filenya, perhatikan scriptnya, ambil potongan script yang saya tambahi, agar bisa sama-sama belajar membaca fungsi script. Jika ingin mereplace file silahkan Anda backup terlebih dulu file whatsapp.js anda.
kemudian pada phpmyadmin di tabel number tambahi column noCall dan textNoCall, noCall berisi yes atau no sedangkan textNoCall berisi pesan untuk dikirimkan setelah menolak panggilan.Restart nodejs, lihat apakah ada error atau tidak..
Selamat mencoba...
@Dammah Sifla must we add those columns in DB???
-
@Magd Almuntaser from what I can see is only when they set auto replay meaning they can enable the read for the auto-reply, I want it to work everywhere because I am using the webhook to interact
-
On 8/2/2024 at 12:20 PM, Magd Almuntaser said:
Whatsapp Gateway Multi Device (Magd Version) v7.0.0.1
This version is separate from the original version. It contains many additions and fixes.
You can update your existing version on your site or do a fresh install, but I prefer a fresh install and re-linking your phone to ensure the new session works without conflict and to avoid losing connection.
Installation Instructions:
Extract the compressed file to your site and open your site.You will be redirected to the installation page. Complete the installation, and after finishing, you need to run the following command:
http://yourwebsite/storage-link And you will see white page with (0) number that mean works
Add these two links to the cronjob (Every 3 min):Every 1 or 2 minutes as you like: curl "http://yourwebsite/schedule-run" >/dev/null 2>&1 And Every 1 or 2 minutes: curl "http://yourwebsite/blast-start" >/dev/null 2>&1
You can now start Node.js using aaPanel, cPanel, or SSH for this path:
/yoursitepath/whatsapp/server.js
My advice for (VPS & aaPanel) users:
Install PM2.js on your server and run the WhatsApp server through it. This will make your version stable without disconnections. PM2.js automatically reconnects when the script stops and provides a link to monitor all issues, restart, and other information such as CPU status and bandwidth used by the script remotely.
npm install pm2@latest -g # OR yarn global add pm2 Start your whatsapp server: pm2 start server.js
You can check if the WhatsApp server is running by going to your site and navigating to Admin -> Settings Server. There, you will find a new feature that displays the port status. If it is green, it is running; if it is red, it is not running.Installation is complete, and you can use the site...
Here is the list of additions and fixes in this version:
- Adding ChatGPT Bot
- Adding the 2FA (two-factor authentication) feature.
- Adding Rcovery Codes (Login)
- Adding VCard message
- Adding VCard message API and api-docs
- Adding the location message feature.
- Adding location message API and api-docs
- Adding the feature to create a new user via API.
- Adding the (message read) feature, which can be enabled or disabled from the control panel.
- Adding 3 Themes (semi-dark | light-theme | dark-theme)
- Adding check whatsapp server port
- Fixing Connect Via Code
- Fixing the connection issue.
- Fixing the timeout issue.
- Fixing the logout issue.
- Fixing the list message issue.
- Fixing the poll message issue.
- Fixing template message API (input correct format)
- Fixing the issue with (Waiting for this message. Check your phone).
- Fixing the fetching of non-English group names.
- Fixing the fetching of groups from the phone.
- Fixing the autorply issue.
And more...@Magd Almuntaser how can I see - Adding the (message read) feature, which can be enabled or disabled from the control panel.
-
-
13 hours ago, Magd Almuntaser said:
English:
I want to inform you that I have fixed most of the issues mentioned in your posts. However, unfortunately, the modifications and additions I made will be in a separate version under release (7.0.0.1) instead of (7.0.0). This means that the fourth digit in the version number will be added to indicate these modifications and additions are specific to my version, and there will be no fixes for the original version by the original programmer.I made this decision because the original version contains many bugs and issues from the original programmer, so I was forced to separate it. For those who want to use my version, which is free of errors and issues, you can download it from my posts. If you want to download the original version without any fixes or developments, it will be in the first post by Brother Mahmoud.
In summary:
My version will be separate from the original version because my version contains additions, developments, and fixes for the original version's issues. I will not make any fixes for the original version found in Brother Mahmoud's post as it conflicts with my files. If the original programmer releases a new version, for example, 8.0.0, I will transfer these fixes to my version 8.0.0.1.Indonesian:
Saya ingin memberi tahu Anda bahwa saya telah memperbaiki sebagian besar masalah yang disebutkan di postingan Anda. Namun, sayangnya, modifikasi dan tambahan yang saya buat akan berada dalam versi terpisah di bawah rilis (7.0.0.1) alih-alih (7.0.0). Ini berarti bahwa digit keempat dalam nomor versi akan ditambahkan untuk menunjukkan bahwa modifikasi dan tambahan ini khusus untuk versi saya, dan tidak akan ada perbaikan untuk versi asli oleh programmer asli.Saya membuat keputusan ini karena versi asli mengandung banyak bug dan masalah dari programmer asli, jadi saya terpaksa memisahkannya. Bagi mereka yang ingin menggunakan versi saya yang bebas dari kesalahan dan masalah, Anda dapat mengunduhnya dari postingan saya. Jika Anda ingin mengunduh versi asli tanpa perbaikan atau pengembangan apa pun, itu akan ada di postingan pertama oleh Saudara Mahmoud.
Singkatnya:
Versi saya akan terpisah dari versi asli karena versi saya mengandung tambahan, pengembangan, dan perbaikan masalah versi asli. Saya tidak akan membuat perbaikan untuk versi asli yang ada di postingan Saudara Mahmoud karena bertentangan dengan file saya. Jika programmer asli merilis versi baru, misalnya 8.0.0, saya akan mentransfer perbaikan ini ke versi saya 8.0.0.1Stay tuned for my release 7.0.0.1 coming soon
Tunggu rilis versi 7.0.0.1 saya yang akan segera hadirEnglish:
The upcoming version includes:
- Fixing the connection issue.
- Fixing the list message issue.
- Fixing the poll message issue.
- Fixing template message (input correct format)
- Fixing the issue with (Waiting for this message. Check your phone).
- Fixing the fetching of non-English group names.
- Fixing the fetching of groups from the phone.
- Fixing the autorply issue.
- Adding the location message feature.
- Adding the 2FA (two-factor authentication) feature.
- Adding the (message read) feature, which can be enabled or disabled from the control panel.
- Adding the feature to create a new user via API.
And more...Indonesian:
Versi yang akan datang mencakup:
- Memperbaiki masalah koneksi.
- Memperbaiki masalah list message.
- Memperbaiki masalah poll message.
- Memperbaiki masalah template message (input correct format)
- Memperbaiki masalah dengan (Menunggu pesan ini. Periksa ponsel Anda).
- Memperbaiki pengambilan nama grup non-Inggris.
- Memperbaiki pengambilan grup dari ponsel.
- Memperbaiki masalah balasan otomatis.
- Menambahkan fitur location message.
- Menambahkan fitur 2FA (otentikasi dua faktor).
- Menambahkan fitur (message read), yang dapat diaktifkan atau dinonaktifkan dari panel kontrol.
- Menambahkan fitur untuk membuat pengguna baru melalui API.
Dan masih banyak lagi...@Magd Almuntaser tag me when you release the update so i can merge it to my own, thanks
-
-
-
17 hours ago, Magd Almuntaser said:
He means this post 👆
@Magd Almuntaser @agus amin i have added this one long time ago
-
4 hours ago, agus amin said:
Cek postingan saya sebelumnya
@agus amin please can you add the link to the post i cant find it
-
5 hours ago, Gusik Prasetyo said:
access: yourweb.com/schedule-run if the page load to blank page with some number inside (show 0 in top left corner), the cron should work, but if the result blank maybe any problem with your server so the cronjob not working properly
@Gusik Prasetyo
this is what am seeing
-
-
@Magd Almuntaser I said it earlier, because I have been brainstorming how you want to implement it because I know that is what I did from my end, I use the script to send OTP to users to verify their account
-
-
Please let all reduce our requests concerning the features we want meanwhile @Magd Almuntaser is not the original developer of the project, we all love what he is doing doesn't mean we will abuse that right, please I stand to be corrected.
One Love and peace -
6 hours ago, Gusik Prasetyo said:
Awesome. Do you have plan to add OTP feature when login in MPWA?
@Gusik Prasetyo this feature is not needed, you can add that when working with the API, that is what I did from my end
-
@Magd Almuntaser From how you have advance this script i see we will not be needing any update from the original developer anymore well we will be giving you feedback on any error we encouter, once again thanks for all you do
-
5 hours ago, Magd Almuntaser said:
The create user feature is important for those who want to sell accounts for WhatsApp messages.
With this api, for example anyone can create a website interface and sell an account for $50 per month.
There are sites that offer these services, you can search for them, and as it seems to me that you use WhatsApp personally, but there are people who want to use it for business, Now everyone can design a website interface, connect it to a payment gateway and offer WhatsApp messaging service for a monthly fee
In terms of size, the plugins are 100KB when unzipped, and the more features, the more users will be able to use the script as they wish.
Also, if you do not want to use the create user feature, you can download the location message from the previous page on the latest version@Magd Almuntaser now i understand you, thanks for explaining
-
1 hour ago, Magd Almuntaser said:
Create User API (v1.0.0)
I have programmed the create user API plugin so you can use it to create a user via payment gateways or website interfaces, etc.The zip file below contains two plugins: the first is the create user API (v1.0.0) and the second is the location message (v1.5.1), as I cannot separate them since they use the same files.
The installation method is easy: extract the files into the root directory of the script.
There is a guide on how to use the API available on the api-docs page.
Note: Only (admin) can create a new user.====================
Saya telah memprogram plugin create user API sehingga Anda dapat menggunakannya untuk membuat pengguna melalui gerbang pembayaran atau antarmuka situs web, dll.File zip di bawah ini berisi dua plugin: yang pertama adalah create user API dan yang kedua adalah location message, karena saya tidak dapat memisahkan mereka karena mereka menggunakan file yang sama.
Metode pemasangannya mudah: ekstrak file ke direktori root script.
Ada panduan tentang cara menggunakan API yang tersedia di halaman api-docs.
Catatan: Hanya admin dapat membuat pengguna baru.=====================
@Magd Almuntaser I stand to be corrected, you are making the script now bulky, i see no reason to create an API to create users ohh
-
-
7 hours ago, Magd Almuntaser said:
Location Message Updated (v1.5.0)
Now you can simply click on the map without needing to enter the coordinates.
You can download the file from the post mentioned above and follow the installation instructions.
=====================
Sekarang Anda hanya perlu mengklik pada peta tanpa perlu memasukkan koordinat.
Anda dapat mengunduh file dari postingan yang disebutkan di atas dan mengikuti petunjuk pemasangannya.@pak kacung nice one I have seen it, can you make it use the current location by default, meaning it will ask the browser for permission of your current location
-
@agus amin from what you pasted, you make it to connect even when you logout
wa.connectToWhatsApp(device, io);6 hours ago, agus amin said:Replace Server.js and Restart Node.js
"use strict"; // Copyright By Ilman Sunanuddin, M pedia // Email : Ilmansunannudin2@gmail.com // website : https://m-pedia.co.id // Whatsap : 6282298859671 // ------------------------------------------------------------------ // You are not allowed to share or sell this source code without permission. const wa = require("./server/whatsapp"); const fs = require("fs"); const dbs = require('./server/database/index'); require("dotenv").config(); const lib = require("./server/lib"); global.log = lib.log; /** * EXPRESS FOR ROUTING */ const express = require("express"); const app = express(); const http = require("http"); const server = http.createServer(app); /** * SOCKET.IO */ const { Server } = require("socket.io"); const io = new Server(server); const port = process.env.PORT_NODE; app.use((req, res, next) => { res.set("Cache-Control", "no-store"); req.io = io; // res.set('Cache-Control', 'no-store') next(); }); const bodyParser = require("body-parser"); // parse application/x-www-form-urlencoded app.use( bodyParser.urlencoded({ extended: false, limit: "50mb", parameterLimit: 100000, }) ); // parse application/json app.use(bodyParser.json()); app.use(express.static("src/public")); app.use(require("./server/router")); // console.log(process.argv) io.on("connection", (socket) => { socket.on("StartConnection", (data) => { wa.connectToWhatsApp(data, io); }); socket.on("ConnectViaCode", (data) => { wa.connectToWhatsApp(data, io, true); }); socket.on("LogoutDevice", (device) => { wa.deleteCredentials(device, io); wa.connectToWhatsApp(device, io); }); }); server.listen(port, console.log(`Server run and listening port: ${port}`)); dbs.db.query("SELECT * FROM devices WHERE status = 'Connected'", (err, results) => { if (err) { console.error('Error executing query:', err); } results.forEach(row => { const number = row.body; if (/^\d+$/.test(number)) { wa.connectToWhatsApp(number); } }); });
-
-
3 minutes ago, Magd Almuntaser said:
Oh, I understand your question now,😅 sorry for the delay in understanding.
Indeed, there is no class or controller named ScheduleMessageController.
I think the developer might have added it but didn't finish it because the schedule uses cronjob, so there's no need for a separate controller or class.@Magd Almuntaser Nice one
Whatsapp Gateway | Multi Device v9.6.1
in Scripts
@Magd Almuntaser I will need you on this build, I would have loved to do it, but since you are good at it let me leave it for you