SMS Module
🌐 Translated from Türkçe
cafer123
Kayıtlı Üye
09.06.2013 12:06
1
I recommend you to write SMS WHMCS Compatible module
🌐 Translated from Türkçe
novasunucu
Kayıtlı Üye
10.06.2013 11:28
2
Hello, it would be good to write, I don't think it can be written alone.
🌐 Translated from Türkçe
Rıdvan.D.
Süper Admin
11.06.2013 01:16
3
We can write an SMS module, but we do not know the SMS module structure in the WHMCS system. If you have an open source SMS module written for WHMCS, if you send it to us, we can review it and write the Yoncu SMS module in 1-2 hours.
🌐 Translated from Türkçe
novasunucu
Kayıtlı Üye
11.06.2013 11:01
4
hello
I forwarded it to technical support, I hope you can sort it out.
I forwarded it to technical support, I hope you can sort it out.
🌐 Translated from Türkçe
Rıdvan.D.
Süper Admin
12.06.2013 02:12
5
The plugin has been written.
Upload the YoncuSMS folder in the compressed file to modules/addons/ in the WHMCS main directory. Then activate it from the plugins in the admin panel. You can use yoncu.com by typing your username and password.
There are currently English fields in the plugin. The 2nd version will be updated and published soon.
Download Link: http://www.yoncu.com/dosyalar/WHMCS_YoncuSMS.zip
Upload the YoncuSMS folder in the compressed file to modules/addons/ in the WHMCS main directory. Then activate it from the plugins in the admin panel. You can use yoncu.com by typing your username and password.
There are currently English fields in the plugin. The 2nd version will be updated and published soon.
Download Link: http://www.yoncu.com/dosyalar/WHMCS_YoncuSMS.zip
🌐 Translated from Türkçe
drcold
Kayıtlı Üye
18.06.2013 12:45
6
We want it in vizray 😊
🌐 Translated from Türkçe
06ozan06
Kayıtlı Üye
20.06.2013 18:19
7
I couldn't get it to work, the settings are correct, but it doesn't send SMS.
🌐 Translated from Türkçe
Rıdvan.D.
Süper Admin
20.06.2013 23:35
8
Could you please test the code below for Vizra? For those who cannot run it, make sure that json is installed on the server and write the error logs you receive here, we can help.
<?php
class mod_YoncuSMS extends SystemModule{
function send($text,$to){
if($this->get('status') != 'active') return false;
$ret = $this->YoncuSMS_Send($text,$to);
return $reject;
}
function YoncuSMS_Send($message,$gsm){
$gsm = ltrim($gsm,'+90');
$url = "http://www.yoncu.com/apiler/sms/gonder.php?ka=".urlencode($this->get('username'))."&sf=".urlencode($this->get('password'))."&sb=".$this->get('originator')."&sm=".urlencode($message);
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$content = curl_exec ($ch);
curl_close ($ch);
if ($this->debug){
vzrlog(str_replace($this->get('password'),'*******',$url),'info','YoncuSMS(request)');
vzrlog($content,'info','YoncuSMS(response)');
}
$result = explode(':',trim(strip_tags($content)));
if($result[0] == 1){
return true;
}else{
vzrlog('SMS Sending Error, No:<'.$gsm.'> Message:<'.$messaj.'> Error: <'.$content.'>','error','YoncuSMS');
return false;
}
}
}
<?php
class mod_YoncuSMS extends SystemModule{
function send($text,$to){
if($this->get('status') != 'active') return false;
$ret = $this->YoncuSMS_Send($text,$to);
return $reject;
}
function YoncuSMS_Send($message,$gsm){
$gsm = ltrim($gsm,'+90');
$url = "http://www.yoncu.com/apiler/sms/gonder.php?ka=".urlencode($this->get('username'))."&sf=".urlencode($this->get('password'))."&sb=".$this->get('originator')."&sm=".urlencode($message);
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$content = curl_exec ($ch);
curl_close ($ch);
if ($this->debug){
vzrlog(str_replace($this->get('password'),'*******',$url),'info','YoncuSMS(request)');
vzrlog($content,'info','YoncuSMS(response)');
}
$result = explode(':',trim(strip_tags($content)));
if($result[0] == 1){
return true;
}else{
vzrlog('SMS Sending Error, No:<'.$gsm.'> Message:<'.$messaj.'> Error: <'.$content.'>','error','YoncuSMS');
return false;
}
}
}
🌐 Translated from Türkçe
kaanmedia
Kayıtlı Üye
21.06.2013 01:43
9
I tried the module, but it only sends messages to the admin. I think there is a problem when pulling the customer's number. How can we fix it?
🌐 Translated from Türkçe
Rıdvan.D.
Süper Admin
21.06.2013 22:58
10
WHMCS Router SMS Module has been Updated.
You can download the new one from the same link.
You can download the new one from the same link.
🌐 Translated from Türkçe
sospas
Kayıtlı Üye
20.07.2013 10:28
11
Hello, how can I integrate SMS API into my own site? I don't know about the API
🌐 Translated from Türkçe
Rıdvan.D.
Süper Admin
21.07.2013 22:04
12
You should get support from a software developer on the subject, or you can get special software support by contacting the administrator support system.
🌐 Translated from Türkçe
0onur0
Kayıtlı Üye
26.08.2013 21:13
13
What is the SMS module used for?
🌐 Translated from Türkçe
Rıdvan.D.
Süper Admin
03.05.2014 02:39
14
For those who get errors in the module, apply this security update:
Located on line 267 in the functions.php file:
curl_setopt($ch, CURLOPT_REFERER, $_SERVER['HTTP_HOST']);
Replace this code with this:
curl_setopt($ch, CURLOPT_REFERER, $gurl['gatewayurl']."?apici=".$_SERVER['HTTP_HOST']);
Located on line 267 in the functions.php file:
curl_setopt($ch, CURLOPT_REFERER, $_SERVER['HTTP_HOST']);
Replace this code with this:
curl_setopt($ch, CURLOPT_REFERER, $gurl['gatewayurl']."?apici=".$_SERVER['HTTP_HOST']);
🌐 Translated from Türkçe
Rıdvan.D.
Süper Admin
29.01.2015 22:51
15
The module has been updated as of 29-01-2015. Updates must be made via FTP by downloading new files.
🌐 Translated from Türkçe
omustu3
Kayıtlı Üye
22.02.2015 12:08
16
Well, does it require SMS sending fees etc.?
🌐 Translated from Türkçe
padisah
Kayıtlı Üye
18.03.2015 12:13
17
What is New Link? the most current one?
🌐 Translated from Türkçe