Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

2 Neutral

About gbotica

  • Rank
    Level 2 Member

Recent Profile Visitors

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

  1. You can also just disable each email marketer rule individually, in the set up page for the Rule.
  2. Seems to be other with this issue also: However, I've just discovered that the email template selection (last field on the Email Marketer form) is broken, no matter what I select, when I save and go back in, it resets to the first option. Are you getting this issue too?
  3. Hi there, Hopefully this will help you, here's how I do it in /includes/hooks/menu.php: use WHMCS\View\Menu\Item as MenuItem; /*---------- Navigation Menus ----------*/ add_hook('ClientAreaNavbars', 1, function () { // Get the current navigation bars. $primaryNavbar = Menu::primaryNavbar(); $secondaryNavbar = Menu::secondaryNavbar(); // Is client logged in? $client = Menu::context('client'); /*---------- logged in menu customisations ----------*/ if (!is_null($client)) { // your code here } })
  4. This is what you will need to add to your code: $command = 'GetClientsDetails'; $postData = array( 'clientid' => '1', 'stats' => true, ); $adminUsername = 'ADMIN_USERNAME'; // Optional for WHMCS 7.2 and later $results = localAPI($command, $postData, $adminUsername); Then $results will contain a JSON object with $stats[dueinvoicesbalance]
  5. Maybe check whether $stats[dueinvoicesbalance] is available? Otherwise, you need to use https://developers.whmcs.com/api-reference/getclientsdetails/ to get the $client array, which includes everything you need.
  6. I have only recently discovered that WHMCS has the ability to strip out content from ticket replies made by email, as explained here: https://requests.whmcs.com/topic/remove-extraneous-code-from-ticket-replies and here: https://whmcs.community/topic/79397-piping-reply-above-the-line/ However, I can't get it to work. Some questions: Does this work when getting support email via POP import, or only when you pipe to PHP? Do breaklines work in HTML emails? All the suggestions say to put the breakline in the Ticket Reply template, but it seems to me it should be at the top of the html email template header, otherwise all the HTML and content preceding the actual content would be left in place? I assume the breakline "<!-- Break Line -->" can be used in the HTML source? Myh tblticketbreaklines contains the defaults, as shown here: https://gist.github.com/kelchm/7047907 Also, many email replies come through with ">" lines, but they don't get stripped out either. Any suggestions on getting this working? Thanks!
  7. I think the notification feature was introduced in WHMCS 7.4.
  8. Hi there, I've been using the WHMCS built-in ticket system for many months, and I import tickets from email, using the POP import method with a cron job. The import process works fine, however the email messages remain on the email server after import. I'm sure that when I first set this up and tested that the email messages were removed once they've been imported, but that no longer seems to be the case. (Can't see anything spefically about it in the docs https://docs.whmcs.com/Email_Piping#POP3_Import_Method) Is this a bug, or has there been a change to this behaviour? I never check the email account by any other means, so this seems like a problem to me as the messages will build up on the server and require manually clearing out. Any input or help appreciated -- thanks!
  9. It looks like this is still not fixed in v7.2.3? Any ETA on a fix -- c'mon this is a serious bug and is confusing customers a lot.
  10. Hi, Since I upgraded to WHMC 7.2.2 I've noticed that my email -> support ticket import (which has worked OK for long time..) is broken. When a message arrives, it is imported by WHMCS but the message is left behind (no removed after import) and then imported again at the next cron run. This results in many duplicate replies. Anyone else come across this issue? Any advice on how somehow reset POP import and tidy up, so it works correctly? Thanks.
  11. Hi, I find the WHMCS Admin TinyMCE editor text to be much too small and have had no luck finding the relevant CSS to modify it. I tried the file suggested in an earlier post (https://forums.whmcs.com/showthread.php?107035-Backend-text-editor) /assets/js/tiny_mce/themes/advanced/skins/default/content.css -- but it had no effect. (The suggestion was referring to WHMCS 6) I'm using WHMCS 7.1, so maybe it's changed. Does anyone know how to change the font-size for the TinyMCE editor? Thanks.
  12. I'm just using the standard client area homepage, so yes - the homepage panel. I like to keep my modifications to minimum, where ever possible, so will just leave this as-is for now. It's a shame there isn't a setting or config variable to be able to just change the number of items displayed. Thanks again for your help.
  13. Hi, Thanks for your response. To confirm, I'm referring in this case to 'clientareahome.tpl'.
  14. Hi, The Announcements panel on the client area homepage shows the last 3 announcements - is there anyway (preferably, without completely rewriting the clientareahome.tpl) to increase this? Thanks.
  15. ScottN, I'm surprised (and sorry) to hear that your credit card transactions are failing, my understanding was that this was a display issue only, and that actual credit card expiry date was stored correctly. At least, that is the case with my experience ... I haven't had any transactions fail as a result of this, just confused customers!
  • 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