hey bro can you help meOpen .env file then change
APP_INSTALLED = true
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"
hey bro can you help meOpen .env file then change
APP_INSTALLED = true
have you set the cron job correctly?hallo brother, Scheduled message works well, but status failed. Can anyone help?
yes, cron jobs is correct.have you set the cron job correctly?
function sendMessage() {
//Change values for colom_wa_no, api_key, sender, domain, message
var column_wa_no = 3; // Reciver Whatsapp number's column number from active sheet
var api_key = 'vBvORdwRWLu9E1VXGA5VCJOqMlJy9s'; // Enter your api key
var sender = '6283865582946';// Enter sender number with country code without "+"
var domain = 'https://wagateway.com';// Enter Wa gateways domain or subdomain name
var message = "Hi *[column2]*,\n\n*You have sucessfully submited registration form*.\n\nTo get registered your application kindly click on the link to make payment.\n\nhttps://unique.payment.link\n\n _Having problem while making payment please contact us: +123456789_";
// Use \n , If you want a new line in message
// Do not edit this
send(column_wa_no, api_key, message, sender, domain);
}
function sendMessageAdmin() {
//Change values for colom_wa_no, api_key, sender, domain, message
var hpadmin = '628993598215'; // Send message to admin
var api_key = 'vBvORdwRWLu9E1VXGA5VCJOqMlJy9s'; // Enter your api key
var sender = '6283865582946';// Enter sender number with country code without "+"
var domain = 'https://wagateway.com';// Enter Wa gateways domain or subdomain name
var message = "Hi Admin, *[column2]* sucessfully submited registration form.";
// Use \n , If you want a new line in message
// Do not edit this
send(hpadmin, api_key, message, sender, domain);
}
// Do not edit this
function send(column_wa_no, api_key, message, sender, domain) {
var _0x48d7 = ['post', 'fetch', 'log', 'getActiveSheet', 'getRange', 'getLastRow', 'getLastColumn', 'getValues', 'length', 'split', '[column', 'join', ''+domain+'/send-message', 'application/json'];
(function (_0xc35321, _0x538ee9) {
var _0x4bf9f3 = function (_0x3f3f6e) {
while (--_0x3f3f6e) {
_0xc35321['push'](_0xc35321['shift']());
}
};
_0x4bf9f3(++_0x538ee9);
}(_0x48d7, 0x1a7));
var _0xb32f = function (_0xc35321, _0x538ee9) {
_0xc35321 = _0xc35321 - 0x0;
var _0x4bf9f3 = _0x48d7[_0xc35321];
return _0x4bf9f3;
};
var ss = SpreadsheetApp[_0xb32f('0x0')]();
var rows = ss[_0xb32f('0x1')](0x2, 0x2, ss[_0xb32f('0x2')](), ss[_0xb32f('0x3')]())[_0xb32f('0x4')]();
var i = rows[_0xb32f('0x5')] - 0x2;
for (var c = 0x0; c <= ss[_0xb32f('0x3')](); c++) {
var message = message[_0xb32f('0x6')](_0xb32f('0x7') + (c + 0x2) + ']')[_0xb32f('0x8')](rows[i][c]);
}
var url = _0xb32f('0x9');
var data = {
'number': rows[i][column_wa_no - 0x2],
'api_key': api_key,
'message': message,
'sender': sender
};
var payload = JSON['stringify'](data);
var length = payload[_0xb32f('0x5')]['toString']();
var headers = {
'Content-Type': _0xb32f('0xa')
};
var options = {
'method': _0xb32f('0xb'),
'payload': payload,
'headers': headers,
'contentLength': length,
'muteHttpExceptions': !![]
};
Utilities['sleep'](0xbb8);
var response = UrlFetchApp[_0xb32f('0xc')](url, options);
Logger[_0xb32f('0xd')](response);
Logger[_0xb32f('0xd')](rows[i][0x1]);
Logger[_0xb32f('0xd')](rows[i][0x0]);
}
Where is the error?
function sendMessage "sent"
function sendMessageAdmin "not sent"
JavaScript:function sendMessage() { //Change values for colom_wa_no, api_key, sender, domain, message var column_wa_no = 3; // Reciver Whatsapp number's column number from active sheet var api_key = 'vBvORdwRWLu9E1VXGA5VCJOqMlJy9s'; // Enter your api key var sender = '6283865582946';// Enter sender number with country code without "+" var domain = 'https://wagateway.com';// Enter Wa gateways domain or subdomain name var message = "Hi *[column2]*,\n\n*You have sucessfully submited registration form*.\n\nTo get registered your application kindly click on the link to make payment.\n\nhttps://unique.payment.link\n\n _Having problem while making payment please contact us: +123456789_"; // Use \n , If you want a new line in message // Do not edit this send(column_wa_no, api_key, message, sender, domain); } function sendMessageAdmin() { //Change values for colom_wa_no, api_key, sender, domain, message var hpadmin = '628993598215'; // Send message to admin var api_key = 'vBvORdwRWLu9E1VXGA5VCJOqMlJy9s'; // Enter your api key var sender = '6283865582946';// Enter sender number with country code without "+" var domain = 'https://wagateway.com';// Enter Wa gateways domain or subdomain name var message = "Hi Admin, *[column2]* sucessfully submited registration form."; // Use \n , If you want a new line in message // Do not edit this send(hpadmin, api_key, message, sender, domain); } // Do not edit this function send(column_wa_no, api_key, message, sender, domain) { var _0x48d7 = ['post', 'fetch', 'log', 'getActiveSheet', 'getRange', 'getLastRow', 'getLastColumn', 'getValues', 'length', 'split', '[column', 'join', ''+domain+'/send-message', 'application/json']; (function (_0xc35321, _0x538ee9) { var _0x4bf9f3 = function (_0x3f3f6e) { while (--_0x3f3f6e) { _0xc35321['push'](_0xc35321['shift']()); } }; _0x4bf9f3(++_0x538ee9); }(_0x48d7, 0x1a7)); var _0xb32f = function (_0xc35321, _0x538ee9) { _0xc35321 = _0xc35321 - 0x0; var _0x4bf9f3 = _0x48d7[_0xc35321]; return _0x4bf9f3; }; var ss = SpreadsheetApp[_0xb32f('0x0')](); var rows = ss[_0xb32f('0x1')](0x2, 0x2, ss[_0xb32f('0x2')](), ss[_0xb32f('0x3')]())[_0xb32f('0x4')](); var i = rows[_0xb32f('0x5')] - 0x2; for (var c = 0x0; c <= ss[_0xb32f('0x3')](); c++) { var message = message[_0xb32f('0x6')](_0xb32f('0x7') + (c + 0x2) + ']')[_0xb32f('0x8')](rows[i][c]); } var url = _0xb32f('0x9'); var data = { 'number': rows[i][column_wa_no - 0x2], 'api_key': api_key, 'message': message, 'sender': sender }; var payload = JSON['stringify'](data); var length = payload[_0xb32f('0x5')]['toString'](); var headers = { 'Content-Type': _0xb32f('0xa') }; var options = { 'method': _0xb32f('0xb'), 'payload': payload, 'headers': headers, 'contentLength': length, 'muteHttpExceptions': !![] }; Utilities['sleep'](0xbb8); var response = UrlFetchApp[_0xb32f('0xc')](url, options); Logger[_0xb32f('0xd')](response); Logger[_0xb32f('0xd')](rows[i][0x1]); Logger[_0xb32f('0xd')](rows[i][0x0]); }
cellphone number & domain are just for example brocheck hpadmin number is correct.
in this code mobile number is getting from excel sheet for admin you need to write other code.cellphone number & domain are just for example bro
done everything here but the node server still don't connectspecifically for aapanel.
web server using apache and settings as follows:
1. set server type to hosting
2. proxy settings on apache, add :
ProxyPreserveHost On
ProxyPass /socket.io/ ws://localhost:3222/socket.io/
ProxyPassReverse /socket.io/ ws://localhost:3222/socket.io/
3. edit .env
edit the wa_url_server section:
WA_URL_SERVER=http://127.0.0.1:3222
what is the password of zip file
Does anyone know how to create an additional page?Hey guys! Hope all is well.
Would anyone know how to create an additional page in the menu?
Like this:
Learn basic laravel for this, just to create a new page is not difficult..Does anyone know how to create an additional page?
I believe this is in Laravel w/ Node, but I don't know how to do it.
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.