Jump to content

alaali

Retired Forum Member
  • Posts

    104
  • Joined

  • Last visited

Everything posted by alaali

  1. Hi, If you still need this I can do it for you. Please let me know.
  2. I am in the same boat! There should be a better way of managing next due date. Actually if I changed anything I just go to the DB to check that the due date is set correctly!
  3. Hi, I have done something similar but it is related to devices stocks. I will keep a list of the available devices and then assign one of these devices to an order. It will show to me which customer has which device and part of which order. However I am still managing everything on a side spreadsheet just to be sure. If you are interested on something similar maybe you can share your specification here or on the marketplace to get estimation about the price/time of creating an addon to handle this for you. Thanks, Sayed
  4. Hi, I tried today to add order for one of my customers, I used capital letters to add the domain name in the field. The order price is not updated. I tried using small letters and it worked. Is there any issue regarding using capital letters? I am using WHMCS 5.3.8 and Blend template for admin. Thanks, Sayed
  5. You can visit: http://docs.whmcs.com/Licensing_Addon To use a license you should create a product which use the license addon. Everything is written on the link above. You can use the sample code also which is provided with the addon.
  6. Hi, Did you try "Invoice selected items" button which is on the summary client page (admin area). Just select the domains or the services you want to make invoices early for. and press the button. It will create invoices which can be paid by your customer.
  7. Thanks intelweb. Just for who want to use the same thing, this is the code: {php} $userid = $this->_tpl_vars['clientsdetails']['userid']; $result = mysql_query("SELECT value FROM tblcustomfieldsvalues WHERE relid=$userid AND fieldid=###"); $data = mysql_fetch_array($result); $value = $data['value']; $this->assign('fieldlink',$value); {/php} Then just use {$fieldlink} as a normal smarty variable.
  8. I will need to have a closer look at the installation to find the cause of error. It could be that you are checking the original file now which don't have the code I gave your. Add the code again and check the error and find on that line what is the code. I suspect that there is a PHP code at that line. now it is just smarty syntax.
  9. Hi, Please check http://docs.whmcs.com/Blank_Pages add this line one your configuration.php file $display_errors = true; just add it at the end of the file before ?> then try to access the page and please check what is the error. After that remove that line from configuration.php file.
  10. {php} $userid = $this->_tpl_vars['clientsdetails']['userid']; $result = mysql_query("SELECT value FROM tblcustomfieldsvalues WHERE relid=$userid AND fieldid=###"); $data = mysql_fetch_array($result); $value = $data[“value"]; echo $value; {/php} Just change ### with the field id. and put that on the template which you want to show the link on. It should work however I did not test it. If you need more help please contact us on https://gh.bh/cp/submitticket.php?step=2&deptid=2
  11. {php} $userid = $this->_tpl_vars['clientsdetails']['userid']; $result = mysql_query("SELECT value FROM tblcustomfieldsvalues WHERE relid=$userid AND fieldid=###"); $data = mysql_fetch_array($result); $value = $data[“value"]; echo $value; {/php} Just change ### with the field id. and put that on the template which you want to show the link on. It should work however I did not test it. If you want a paid help please post on Marketplace forum and you will get a quotes for a lot of WHMCS professionals to help you on this.
  12. I write an addon to do this for me. So it will take the actual dates on invoice lines and set it to a one month back. Just to make it clear that I make the period to start from 1st of the month and end at the last day of month, so if you need to make the days as same as the ones which are on the invoice item lines then the code need to be changed a little bit. Just activate the addon and at the setting set the productid if you have more than one service or product you need to apply this to, please separate them by a comma. if the period is (01/12/2013 - 31/12/2013) it will be changed to (01/11/2013 - 30/11/2013). if it is (05/12/2013-04/01/2014) it will be changed to (01/11/2013 - 30/11/2013). This update will be reflected on the invoice lines and it will not changed any other things on the products due date or any other thing. changeperiod.zip
  13. Hi, InvoiceCreated action hook just have invoiceid. You will need to look for the userid using a query. The same for PreCalculateCartTotals action hook. Try to use InvoiceCreated action hook and look for userid, try this code: $table = "tblinvoices"; $fields = "userid"; $where = array("id"=>$vars['invoiceid']); $result = select_query($table,$fields,$where); $data = mysql_fetch_array($result); $userid = $data[''userid];
  14. Hi, I am providing a service where the customer pay after each month. so the payment is after actually using the service for one month and not paying before using the service. Is there a way to do that using WHMCS? because now if the invoice is generated on 01/12/2013 the period in invoice is shown as (1/12/2013-31/12/2013). What I want is to show the period of last month (1/11/2013-30/11/2013).
  15. Hi, Can you please send more details using this form https://gh.bh/cp/contact.php I will get back to you as soon as I got more information. Thanks, Sayed
  16. Hi, Please contact us through this form: https://gh.bh/cp/submitticket.php?step=2&deptid=2 Send all the details related to this gateway, API documents and other things and I will give you a quote. Thanks, Sayed
  17. Hi, If you still need someone to do this payment gateway integration, please send the details using contact us form at https://gh.bh/cp/submitticket.php?step=2&deptid=2 Thanks
  18. Hi, If you still need someone to create a payment gateway module for you, please send the details using contact us form at https://gh.bh/cp/submitticket.php?step=2&deptid=2 Thanks
  19. Hi, If you still need someone to work on this please send the details using contact us form at https://gh.bh/cp/submitticket.php?step=2&deptid=2 Thanks
  20. Hi, I already sent the code to Chris from WHMCS. I gave my permission to share code with licensing addon customers. If they don't want to share it for some reason I hope that can give me the permission to share it here.
  21. If some people are interested we will build it and we can share the cost?
  22. Hi, We are giving some of our customers a contract where we are giving them an amount of hours per month. each month an invoice should be generated with the same amount. We need to record the usage of those hours so the customer know how many hours are remaning for him. Is there a way to do that using WHMCS or do I have to code an addon for this feature? This can help the companies which provide maintenance contracts with a certain amount of hours per period. After finishing that amount the customer should pay an extra amount for each additional hour. Thanks
×
×
  • 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