Support Forums - Classified Ads Script Osclass
Osclass plugin support => SMS Notification and Verification Plugin => Topic started by: moohmd on November 03, 2019, 05:53:08 PM
-
Hello, I would like to use the local SMS gateway in my country because all other gateways are delayed in sending messages
The portal link I want to use is https://smsgw.net
Is there a way to use it?
-
@moohmd
First you must integrate it. Check functions.php for details about integration of other gateways.
-
This means it is possible to add another sms gateway in the functions.php file
-
Correct.
-
Hello, I would like to use the local SMS gateway in my country because all other gateways are delayed in sending messages
The portal link I want to use is https://smsgw.net
Is there a way to use it?
Please, I also want to integrate this SMS gateway: https://www.mnotify.com/ . Is that possible please?
-
Yes it is possible.
-
Ues it is possible.
Please, any assistance with that?
-
@support
No, development is needed, either you are able to modify some of existing gateways to new one or you hire developer to implement new one.
-
For instance, this is the implementation for RING CAPTCHA
// RING CAPTCHA
} else if ($provider == 'ringcaptcha') {
$data = array('api_key' => sms_param('ringcaptcha_api_key'), 'phone' => $phone_number, 'message' => $message);
$string = http_build_query($data, '', '&');
$url = 'https://api.ringcaptcha.com/' . sms_param('ringcaptcha_app_key') . '/sms';
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, $string);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, array('application/x-www-url-encoded; charset=utf-8'));
$response = curl_exec($ch);
$error = (curl_errno($ch) ? curl_error($ch) : false);
curl_close($ch);
Please, how can we edit this with the documentation provided here? https://readthedocs.mnotify.com/