Jump to content

Erik

Member
  • Posts

    25
  • Joined

  • Last visited

About Erik

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Erik's Achievements

Junior Member

Junior Member (1/3)

0

Reputation

  1. Not surprised. I asked for a way to do this via API and then someone questions it and instead gives me a way to do it through WHMCS? We use a call center and it's far easier for them to use our custom app with a few WHMCS API access points so that they are not toggling back and forth. It works great, but we need this one feature. I didn't explain this before because I didn't think it was relevant or necessary, but yes.. we need an API solution.
  2. I'm looking at sending an email to a single customer using a custom email template, which uses our HTML format. I wouldn't want to recreate that in a hard coded email in php.
  3. This is probably very simple. I've tried looking and can't seem to figure it out. I'd like to create a new email template and deploy it *specific to a customer* from our API. So that the customer name variable (and others) can be used. So I could send the email id and customer id via the API code and it just sends that email with that customers variables filling in all the blanks.
  4. I'm so disappointed by this. - You can no longer MOVE widgets you don't need - Colorful header I don't need is now in the way and can't be collapsed - Bringing an old widget from 701 gets cut off due to the new column structure - No setting area to adjust widgets The invoice widget that OP mentioned was CRAZY important to us. We relied on in heavily and now the only way to get it back is to go into FTP, drag the module from a 701 download and hope an auto-update doesn't rewrite it? And when it's added, it gets cut off by another widget since its so wide. MOVING a widget is sadly still mentioned in the "docs.whmcs.com/Widgets" site which still states "To move a widget, simply click and drag the title bar where the widget name is displayed to the desired location..." (sigh) We were able to move widgets out of the way, and now I have to get to it by scrolling past a bunch of collapsed headers and a colorful header. Sorry to be a downer, but isn't this a step backwards?
  5. All I want is to have our company logo on the top left of the site where clients visit instead of the WHMCS logo. Of course I could A) Manually change out the logo in FTP (or) B) Create an entirely new template (or) C) Login to WHMCS Admin and just upload a new logo (or) D) ... (unknown... i could be missing an obvious option?) .... Problem with (A) Yes, of course, I can just change out the logo manually. BUT, each time I update WHMCS, the logo will get overwritten back to the WHMCS logo. I have to remember, amongst other things, to replace this file again and again and again with each WHMCS update. Problem with (B) My main gripe with a template is the security risk. With every WHMCS update, there's a chance there was a bug fix with the 3 default templates (default, classic, portal) and a bug fix was applied. My template would never see the update. With customer information in the balance, I can't afford to have anything outdated. Problem with © Option C is not presently supported by WHMCS. It would be ideal, wouldn't it? Going a step further, it would be nice to customize the header and footer within the admin portal directly (a configuration setting), so that future bug fixes could be applied to templates without changing the theme. Problem with (D) I don't know it and could be missing something entirely. Feel free to chime in.
  6. I just tested this simple PHP code and it worked.. <?php require_once "Mail.php"; $from = "<google apps email address>"; $to = "<to email address>"; $subject = "Hi!"; $body = "Hi,\n\nHow are you?"; $host = "ssl://smtp.gmail.com"; $port = "465"; $username = "<google apps email address>"; $password = "<google apps password>"; $headers = array ('From' => $from, 'To' => $to, 'Subject' => $subject); $smtp = Mail::factory('smtp', array ('host' => $host, 'port' => $port, 'auth' => true, 'username' => $username, 'password' => $password)); $mail = $smtp->send($to, $headers, $body); if (PEAR::isError($mail)) { echo("<p>" . $mail->getMessage() . "</p>"); } else { echo("<p>Message successfully sent!</p>"); } ?> <!-- end of php tag--> Now to figure out how to implement this..
  7. Seems to be broken with WHMCS version 5.1.2. I upgraded from version 4 where our Google Apps was configured in the SMTP and now we have clients saying that our emails are being marked as spam. I followed all six pages here along with an hour of creativity in changing things up, but still no luck. Just when things are working right, it breaks. Seems pretty coincidental if this is a Google thing when I just upgraded WHMCS. Regardless of whatever happened.. we can't have emails being marked as spam. Need to figure a workaround.
  8. I reposted this in a more appropriate category. Mods, you can delete this from here.
  9. How can I manually add an automatic email each time an AVS mismatch occurs on recurring billing? We are privileged to have all of our hosting clients in one city. Every other month, it seems, one or two falls into this mismatched AVS scenario. It turns out someone moved and updated their card, or whatever.. but I have to manually notify them without having an automatic email. Thoughts?
  10. How can I manually add an automatic email each time an AVS mismatch occurs on recurring billing? We are privileged to have all of our hosting clients in one city. Every other month, it seems, one or two falls into this mismatched AVS scenario. It turns out someone moved and updated their card, or whatever.. but I have to manually notify them without having an automatic email. Thoughts?
  11. Wow, ok.. sorry for the million posts.. last one as I figured out how to use the API to retrieve custom fields. Phew! Even though you have to specify the exact customfield ID (see my post above) to INSERT values, getting them out is not the same. Apparently, it uses the customfield display order (?) (and you don't have to decode them!) For instance, if I have custom fields like so: Custom Field Name - Display Order Test1 - Display Order 0 Test6 - Display Order 10 Test3 - Display Order 20 Then the exact values for the API to retrieve is: customfields1 - Test1 customfields2 - Test6 customfields3 - Test3 They are in order of display order.. not the display order values (10,20,etc..) but the exact order they line up starting with 1,2,3 Go figure.. just thought I'd share
  12. Been trying to crack this all morning. I'm beginning to think I found one of the API's limits (retrieving custom field values), considering the data for the custom fields is stored in another MySQL table altogether. This may indeed be over-reaching to think its possible and will have to resort to just using a MySQL query to get it.
  13. This is how to insert Custom Fields using ADD CLIENT (API) 36, 37, 38 - This is the actual "ID" of each custom field I want to add values to. I have a lot of custom fields. Didn't know I had to use these, but alas, it was the only way I got them to work. $value1, $value2, $value3 - The actual values I want to insert into the custom fields. $postfields["customfields"] = base64_encode(serialize(array( "36" => $value1, "37" => $value2, "38" => $value3))); :arrow: Now.. I just need to figure out how to RETRIEVE this information during a GET CLIENT DETAILS.. anyone?
  14. Can someone come to the rescue here? I have been able to successfully ADD a client and GET a client's details with the API, but I have NOT been able to pass or view the custom fields of a client. The API docs mention it needs to be "a base64 encoded serialized array of custom field values" but I haven't been able to wrap my mind around it. :arrow: Suppose I have three custom fields "test1, test2, test3", how would the line of code be to be included in the 1) Add a client (to insert the fields) and 2) Get a Client's details (to retrieve the fields). I am willing to pay at this point. Thanks in advance!
  15. If funds are holding you back, please let us know and I know I will chip in!
×
×
  • 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