Jump to content

Strik

Retired Forum Member
  • Posts

    16
  • Joined

  • Last visited

Everything posted by Strik

  1. Hello, I still use version 4 of WHMCS and created hook called TicetOpen. Here is my code: <?php function SendSMS_NewTicket($vars) { $userid = $vars['userid']; $message = $vars['message']; $priority = $vars['priority']; $subject = $vars['subject']; $username = ''; $lastname = $vars['lastname']; $password = ''; $destination = ''; $source = 'Transfer'; $text = "$subject"; $content = 'action=sendsms'. '&user='.rawurlencode($username). '&password='.rawurlencode($password). '&to='.rawurlencode($destination). '&from='.rawurlencode($source). '&text='.rawurlencode($text); $smsglobal_response = file_get_contents('http://www.smsglobal.com.au/http-api.php?'.$content); } add_hook("TicketOpen",1,"SendSMS_NewTicket"," "); ?> I want to receive SMS if customer created ticket, all goes good, but I can't get customer First and Last name. This should be easy to get in new versions, but I cannot do this in WHMCS 4. Can anybody suggest mysql query or any way to get Client full Name? Thanks
  2. Hello friends, Does anyone share old version of iWHMCS which can work with ios 3.1.3? Last version requires ios 4 and I can't use it. I need just .ipa file of application. thanks.
  3. I understand but it's always create invoices and send notify to customer with "-0" amount. This is not correct anyway.
  4. I tried to downgrade packages in WHMCS 5.1.2, from large package to starter, but this function not working correctly. I see created invoices for amounts like "-6.50" and it's always <0$ any way to resolve this? Customers can't pay for <0$ invoices this is major bug like 0.00$ invoices from 4.X whmcs to latest release.
  5. Hello, It is possible to auto-upgrade from old WHMCS v. 4.1.1 to the latest 5 version? I have existing a client/product database. Thanks.
  6. Hello friends, It is possible to mass change customers passwords and notify about new credentials? Any suggestions how to do this? Thank you!
  7. Yes, please re-upload module! Thank you.
  8. Hello friends, I'm trying to get values from Subscription ID field in domains section using this functtion in registrar plugin: function getDomainUserPass() { if(isset($_SESSION['data']['subscriptionid'])) { $user_pass = $GLOBALS['subscriptionid']; } else { $user_pass = $_SESSION['data']['subscriptionid']; } $auth = explode("/", $user_pass); return $auth; } And use user/password as: function rone_username() { $domainAuth = getDomainUserPass(); $username = $domainAuth[0]; return $username; } function rone_password() { $domainAuth = getDomainUserPass(); $password = $domainAuth[1]; return $password; } This works, but only on domain details page in Admin area. If I go to another page like "Manage contact details" I see (in debug mode) that username and password empty. I want to get values from Subscription ID field - username/password, like done in "opensrsexisting" registrar plugin. Any suggestions and code examples would be very appreciated.
  9. it is possible to use this if domain registred at Resellone?
  10. I has changed password/username for domain but no any changes... I can see/change only domain contact information from WHMCS. Any ideas?
  11. Module from 3th post is not work correctly, see screenshot: http://gyazo.com/b9242b1c2cc3d90511460c6af8b78cc1.png Code from first post work great, thank you.
  12. Problem solved after I renamed supportticketview.tpl to viewticket.tpl
  13. mojowill this is do not work, it should be like this: <script language=javascript> <!-- if((navigator.userAgent.match(/iPhone/i)) || (navigator.userAgent.match(/iPod/i))) {ldelim} location.href='http://www.iphonefriendlyurl.com'; {rdelim} --> </script> Also, I can't view tickets and knowledgebase articles. I try to view ticket but see error: Warning: Smarty error: unable to read resource: "iphone/viewticket.tpl" in /home/***/includes/smarty/Smarty.class.php on line 1093 File viewticket.tpl missing... Can anybody help?
  14. elitbir, how to fix encoding problem? Screenshot - http://gyazo.com/204e9be135dee2e8e0a18422a99caadc.png My language is Russian
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated