Jump to content

Recommended Posts

16 hours ago, Magd Almuntaser said:

Fix Group Name
For (6.x.x & 7.0.0)

image.jpeg.313b4ce0dbae755f281573371299ea9d.jpeg

Reason: The developer used (preg_replace) to remove any non-English text, which is a mistake since there are people who use Arabic, Spanish, Greek, Chinese, and other languages in the group name.
Solution: Remove the (preg_replace) function to avoid removing non-English characters.

Open the file app/Http/Controllers/TagController.php at line 96 or search for:

foreach ($respon->data as $group) {
                    // insert to tags
                       $namePhoneBook = $group->subject . '( ID : ' . $group->id . ' )';
                   $validNamePhoneBook = preg_replace('/[^a-zA-Z0-9():\s@.-]+/', '', $namePhoneBook);
                      $tag = $request->user()->phonebooks()->firstOrCreate(['name' => $validNamePhoneBook]);
                    
                   foreach ($group->participants as $member) {
                      $number = str_replace('@s.whatsapp.net','',$member->id);
                      $cek = $request->user()->contacts()->where('tag_id',$tag->id)->where('number',$number)->count();
                     if($cek < 1){
                          $tag->contacts()->create(['user_id' =>$request->user()->id,'name' => $number,'number' => $number]);
                     }

                   }
                }

And replace it with:

foreach ($respon->data as $group) {
    // insert to tags
    $namePhoneBook = $group->subject . " ( ID : " . $group->id . " )";
    $tag = $request->user()->phonebooks()->firstOrCreate(['name' => $namePhoneBook]);
    
    foreach ($group->participants as $member) {
        $number = str_replace('@s.whatsapp.net','',$member->id);
        $cek = $request->user()->contacts()->where('tag_id',$tag->id)->where('number',$number)->count();
        if($cek < 1){
            $tag->contacts()->create(['user_id' =>$request->user()->id,'name' => $number,'number' => $number]);
        }
    }
}

Apakah List Message bisa buat berfungsi om?, kemudian dibuat fitur on/off auto baca pengirim, jangan langsung auto terbaca, nanti kesannya sombong sudah di baca pengirim tapi tidak di balas😁

  • Thanks 1
25 minutes ago, agus amin said:

Apakah List Message bisa buat berfungsi om?, kemudian dibuat fitur on/off auto baca pengirim, jangan langsung auto terbaca, nanti kesannya sombong sudah di baca pengirim tapi tidak di balas😁

Tapi dengan begini kita seperti sudah melihat orang yang update story paling dulu, sehingga orang orang mengira kita tidak pernah tidur 🤣

9 hours ago, Gusik Prasetyo said:

Awesome. Do you have plan to add OTP feature when login in MPWA? 

Yes, it is possible, but there are consequences to this feature. You will need to use a specific number to send the OTP, and if that number gets banned from WhatsApp, how will you log in? We would then need to create another feature for logging in without the OTP in case the OTP fails to send. This will lead to an expansion of features.

3 hours ago, The Billionaire said:

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

Yes, I am not the original developer of this script; it is just an effort I am making for all of you. There is no problem in developing the script or adding features to it, but remember there is a process I follow, as you may have noticed in my previous posts.

The first process involves the essential developments of the script. You will find them in a single compressed file, which is over 80 MB, containing all the basic fixes and developments only.

The second process includes the add-ons requested by members, which I publish in separate posts. These add-ons will not be included in the main compressed file in the first process. So, do not worry; these add-ons are for those who want to use them only. The essential additions are in the main compressed file and do not include any member-requested add-ons.

In short: The add-ons requested by members are not included in the main compressed file of the script. The main compressed file contains only the essential fixes and additions, such as the location message, create user, and some fixes in connectivity and module updates.

2 hours ago, agus amin said:

Apakah List Message bisa buat berfungsi om?, kemudian dibuat fitur on/off auto baca pengirim, jangan langsung auto terbaca, nanti kesannya sombong sudah di baca pengirim tapi tidak di balas😁

1 hour ago, pak kacung said:

Tapi dengan begini kita seperti sudah melihat orang yang update story paling dulu, sehingga orang orang mengira kita tidak pernah tidur 🤣

Message list is not a problem, I'll tell you why.. It works on iOS and WEB but not on Android. There is one reason, this script and other scripts use whatsapp-web.js which is JavaScript originally found in web.whatsapp.com. Therefore, any feature not available on this official WhatsApp site will not be found in this script.. So, it depends on WhatsApp. If they add this feature to WhatsApp Web, then everyone will be able to send a message list to Android.. Currently, the feature only works on iOS and WEB.

As for adding an on/off button for reading messages, yes, it needs to be done 😅
=====================

Pesan list bukanlah masalah, saya akan memberi tahu Anda mengapa.. Pesan list bekerja di iOS dan WEB tetapi tidak berfungsi di Android. Ada satu alasan, script ini dan script lainnya menggunakan whatsapp-web.js yang merupakan JavaScript yang ada di web.whatsapp.com. Oleh karena itu, fitur apa pun yang tidak ada di situs resmi WhatsApp tidak akan ada di script ini.. Jadi, hal ini bergantung pada WhatsApp, jika mereka menambahkan fitur ini ke WhatsApp Web, maka semua orang akan dapat mengirim pesan list ke Android.. Saat ini, fitur ini hanya berfungsi di iOS dan WEB.

Sedangkan untuk menambahkan tombol on/off untuk membaca pesan, ya itu harus dilakukan 😅

1 hour ago, Serpul Cloud said:

Ini lama2 Master Kita @Magd Almuntaser jadi bisa  Bahasa Indonesia. Wkwkwkwk 😂😂😂

29 minutes ago, agus amin said:

Orang Jakarta itu Coy 🤣🤣

😂😂
Ya, saya di sini di Indonesia sudah selama satu tahun dan tiga bulan di Puncak-Cianjur. Anda memiliki negara yang hebat dan sangat indah, dan saya tidak akan meninggalkan negara ini sampai saya menjadi orang Indonesia 👍. Saya orang Arab dari Yaman dan masih belum lancar berbahasa Indonesia dengan benar, tetapi saya menggunakan Google Translate untuk memperbaiki kesalahan bahasa saya 😅

  • Love 3
  • Haha 1
30 minutes ago, Magd Almuntaser said:

 

😂😂
Ya, saya di sini di Indonesia sudah selama satu tahun dan tiga bulan di Puncak-Cianjur. Anda memiliki negara yang hebat dan sangat indah, dan saya tidak akan meninggalkan negara ini sampai saya menjadi orang Indonesia 👍. Saya orang Arab dari Yaman dan masih belum lancar berbahasa Indonesia dengan benar, tetapi saya menggunakan Google Translate untuk memperbaiki kesalahan bahasa saya 😅

Wahh, orang puncak ternyata 😁

7 hours ago, The Billionaire said:

@Gusik Prasetyo this feature is not needed, you can add that when working with the API, that is what I did from my end

Hello, how to make otp using api bro? I am interested to learn it.

 

4 hours ago, Magd Almuntaser said:

Yes, it is possible, but there are consequences to this feature. You will need to use a specific number to send the OTP, and if that number gets banned from WhatsApp, how will you log in? We would then need to create another feature for logging in without the OTP in case the OTP fails to send. This will lead to an expansion of features.

May be OTP only used for request lost or forgot password. So it can minimize our number got banned.

 

5 hours ago, agus amin said:

Ajak ngopi bro, saya di medan, kalau ke medan saya ajak ngopi😁😁

Hello mas bro, i come from binjai. Not far from medan. 

  • Like 1
On 7/16/2024 at 7:16 PM, Magd Almuntaser said:

I have now tested it on another website and the script works without issues. Do not modify 127.0.0.1 unless you are using the script on a local machine (localhost) and not a website.
You can modify 127.0.0.1 from the .env file
=======
Saya telah mencobanya di situs web lain dan skrip berfungsi tanpa masalah. Jangan mengubah 127.0.0.1 kecuali jika Anda menggunakan skrip di mesin lokal (localhost) dan bukan di situs web.
Anda dapat mengubah 127.0.0.1 dari file .env

@Magd Almuntaser@Gusik Prasetyo Penulisan File .env sy seperti dibawah ini, mohon dikoreksi klo ada yang keliru tuan, krn sampai sekarang sy tetap tidak bisa mengirim file maupun gambar

2024-07-21_205557.png

On 7/19/2024 at 3:26 AM, 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.

image.png.6d2270ae351a3442a23fc9b0b56bee1d.png

=====================

image.png.6b707994e634ebe01bcb595a4605c753.png

plugins.zip 24.77 kB · 14 downloads

Tuan, sy butuh plugin pengiriman pesan dengan Footer dibawahnya, krn pengiriman pesan yg sekarang tidak bisa dimasukkan footer, terima kasih

7 minutes ago, Enno Askrindo said:

@Magd Almuntaser@Gusik Prasetyo Penulisan File .env sy seperti dibawah ini, mohon dikoreksi klo ada yang keliru tuan, krn sampai sekarang sy tetap tidak bisa mengirim file maupun gambar

2024-07-21_205557.png

English:
If you are using a VPS, you can execute the following command via SSH:

php artisan storage

If you are using regular hosting, you can try running the following link, which sometimes works:

yoursite.com/storage-link

If a page with the number (0) appears, it means it is working and you can send images and files.

If the link does not work and you do not have SSH, you can bypass the system by adding the following command to cronjob and setting the runtime to 1 minute. After 3 minutes, you can remove the command:

ln -s /home/username/public_html/whatsapp/storage/app/public /home/username/public_html/whatsapp/public/storage

Don't forget to change (username) and (whatsapp) in the command.

==============================================

Indonesian:

Jika Anda menggunakan VPS, Anda dapat menjalankan perintah berikut melalui SSH:

php artisan storage

Jika Anda menggunakan hosting biasa, Anda dapat mencoba menjalankan tautan berikut, yang terkadang berfungsi:

yoursite.com/storage-link

Jika muncul halaman dengan angka (0), itu berarti sudah berfungsi dan Anda dapat mengirim gambar dan file.

Jika tautan tidak berfungsi dan Anda tidak memiliki SSH, Anda dapat mengelabui sistem dengan menambahkan perintah berikut ke cronjob dan mengatur waktu menjalankannya menjadi 1 menit. Setelah 3 menit, Anda dapat menghapus perintah:

ln -s /home/username/public_html/whatsapp/storage/app/public /home/username/public_html/whatsapp/public/storage

Jangan lupa untuk mengganti username dan whatsapp dalam perintah tersebut.

3 minutes ago, Magd Almuntaser said:

English:
If you are using a VPS, you can execute the following command via SSH:

php artisan storage

If you are using regular hosting, you can try running the following link, which sometimes works:

yoursite.com/storage-link

If a page with the number (0) appears, it means it is working and you can send images and files.

If the link does not work and you do not have SSH, you can bypass the system by adding the following command to cronjob and setting the runtime to 1 minute. After 3 minutes, you can remove the command:

ln -s /home/username/public_html/whatsapp/storage/app/public /home/username/public_html/whatsapp/public/storage

Don't forget to change (username) and (whatsapp) in the command.

==============================================

Indonesian:

Jika Anda menggunakan VPS, Anda dapat menjalankan perintah berikut melalui SSH:

php artisan storage

Jika Anda menggunakan hosting biasa, Anda dapat mencoba menjalankan tautan berikut, yang terkadang berfungsi:

yoursite.com/storage-link

Jika muncul halaman dengan angka (0), itu berarti sudah berfungsi dan Anda dapat mengirim gambar dan file.

Jika tautan tidak berfungsi dan Anda tidak memiliki SSH, Anda dapat mengelabui sistem dengan menambahkan perintah berikut ke cronjob dan mengatur waktu menjalankannya menjadi 1 menit. Setelah 3 menit, Anda dapat menghapus perintah:

ln -s /home/username/public_html/whatsapp/storage/app/public /home/username/public_html/whatsapp/public/storage

Jangan lupa untuk mengganti username dan whatsapp dalam perintah tersebut.

saya sdh mencobanya dan terdapat angka 0 , dan sudah berhasil mengirimkan gambar dan file..trima kasih atas bantuannya tuan sungguh baik hati.

 

2024-07-21_213455.png

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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...