Jump to content

jon-e2

Member
  • Posts

    27
  • Joined

  • Last visited

About jon-e2

jon-e2's Achievements

Junior Member

Junior Member (1/3)

0

Reputation

  1. Love it.Not sure why you haven't gotten any feedback on it. Looks great keep it up.
  2. When adding an order via the api The promo code will apply to both domain and hosting when the promo code is configured not to apply to any domains and is also set to only apply once per order.
  3. Any help would be greatly appreciated. Thanks.
  4. Any help would be greatly appreciated. Thanks.
  5. Just had a quick question if anyone who might have advise. Currently working with the Get tickets function and its returning 5 tickets and I want to use the [LASTREPLY] information for each ticket. I'm wanting to create variables for each [LASTREPLY] from the 5 tickets. Currently the code I have which seems to be in the right direction but can't figure out to assign the variables to get each Last reply in its own variable foreach($arr['WHMCSAPI']['TICKETS'] as $ticket) { echo $ticket['LASTREPLY']; } Thanks for any help!
  6. Looking for a developer to make some custom reports please contact me if you are interested and I can provide more details. Jon@eleven2.com
  7. Im trying to work up a way to have a login form off a separate page, I don't want this to just send users to the dologin.php I want it to validate it with ajax. I don't work with xml often so I'm just hoping to get some feedback or if anyone knows of examples that are currently doing this let me know. currently here is our php file we are having a form post to. <?php $femail = $_POST['femail']; $fpassword = $_POST['fpassword']; $api_endpoint = '../includes/api.php'; $api_user = '[i]user[/i]'; $api_password = [i]pass[/i]'; $user_email = $femail; $user_password = $fpassword; $data = array( 'username' => $api_user, 'password' => md5($api_password), 'action' => 'validatelogin', 'email' => urlencode($user_email), 'password2' => $user_password, ); $curl = curl_init(); curl_setopt($curl, CURLOPT_URL, $api_endpoint); curl_setopt($curl, CURLOPT_POST, 1); curl_setopt($curl, CURLOPT_TIMEOUT, 100); curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1); curl_setopt($curl, CURLOPT_POSTFIELDS, $data); $response = curl_exec($curl); curl_close($curl); echo $response; echo $femail; echo $fpassword; ?> any input or thoughts would but very much appreciated!
  8. Hello, I am trying to create an element of our dashboard that displays only invoices that are past due. Since the {$todaysdate} is a different format than {$invoices.datedue} I am using {$smarty.now|date_format:" %m/%d/%G"} which works great. The way I am going about this is with the if rule. I want it to display the notice that there is a past due invoice IF{$invoices.datedue} is past {$smarty.now|date_format:" %m/%d/%G"} First code i tried was: {if $smarty.now|date_format:" %m/%d/%G" gte $invoice.datedue} <div class="box-notice"> whoah dude you owe us some cash </div> {/if} But then I noticed that it wouldn't know what invoice it to look at So I tried {if $smarty.now|date_format:" %m/%d/%G" gte {foreach key=num item=invoice from=$invoices}$invoice.datedue{/foreach}} <div class="box-notice"> whoah dude you owe us some cash </div> {/if} Which is causing some sort of issue loading the page now. SO i was wondering if you had any insight as to what I am doing wrong or how I need to change this code for it to work correctly. Thanks.
  9. I have noticed if a customer doesn't pay for a renewal on the due date it moves the domain to expired which is correct it should do this, but if they pay for the domain the next day it doesn't renew the domain with the registrar and we have to go to the registrar and renew it manually... Please advise Thanks.
  10. So is the terminated when we close the account and the canceled when the cron job terminates them after so many days? Do both status' stop invoices from generating?
  11. What is the difference between having a product status as cancelled and terminated?
  12. I understand how it currently works. But if the client has the domain set to auto renew they don't need an email telling them that its about to expire because to their knowledge its set to automatically renew to where they will not have to worry about it. I'm just wondering if there is a way to disable the email for domains that are set to auto renew
  13. let me explain a little better: Bob a client has a domain already set to auto renew in his client area. Our WHMCS install is set to send out emails when a domain is reaching close to the renewal date. I would like the email not to be sent to bob who already has his domain set to auto renew so would not need the reminder.
  14. So does anyone know if there is a way to have the domain reminder to renew your domain not to send out to domains that are set to auto renew? Feel free to chat with me on aim eleven2jon 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