Jump to content

mbit

Senior Member
  • Content count

    90
  • Joined

  • Last visited

  • Days Won

    1

mbit last won the day on November 8 2014

mbit had the most liked content!

Community Reputation

1 Neutral

1 Follower

About mbit

  • Rank
    Level 2 Member

Recent Profile Visitors

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

  1. mbit

    localAPI and hook

    At the same time, there are plenty API functions that DO NOT trigger their related hook points.
  2. Perhaps something like this... <?php use WHMCS\User\Client; // get client's custom fields $clientFields = Client::find($userID)->customFieldValues; // run through customfields foreach($clientFields AS $field){ //...do something }
  3. Here are the parameters you can use: https://developers.whmcs.com/hooks-reference/output/#clientareaheadoutput Use the filename var for you needs?
  4. mbit

    Adding hook in module

    Read this: https://developers.whmcs.com/addon-modules/hooks/
  5. orderID and invoiceID are two separate things and are not "in sync", but they are "connected" in WHMCS DB tables They may be the same in the beggining (for the first few orders) as each order creates a new invoice. As soon as you create an invoice on itself, IDs will not be the same. I don't think any API function gets you the orderID from an invoiceID but you can get it yourself. If you need to get the orderID from the original invoiceID generated by that order, try something like this: use Illuminate\Database\Capsule\Manager as DB; $orderID = DB::table('tblorders')->where('invoiceid', '1')->value('id');
  6. mbit

    Huge amount of fake accounts

    Tobias is right. Block them BEFORE they create an order.
  7. POST to /admin/search/client results in zero-length response for search string mar (searching for Mario). POST to /admin/ordersadd.php returns json data. Client profile dropdown also doesn't do the search if FF Rewrite.
  8. When set to Basic URLs and Friendly index.php, everything works. When set to Full Friendly Rewrite, we get the Add New Order page problem i described. The License page works in every mode, no errors. .htaccess changes as i change rewrite values in the admin, as it should. It's a default whmcs htaccess file, no additional values except few deny/allow lines, but we tried removing those too just to be sure. We upgraded from the 7.3 beta. I can't say if the problem was here in beta as we haven't stumbled upon it at the time.
  9. ===========DESCRIPTION=========== The "Client" input/dropdown field on the "Add new order" admin page is always empty, can't select a client. Also doesn't return any clients when you start typing into the field. ===========STEPS TO REPLICATE=========== Steps to reproduce: Go to the "Add new order" admin page Try to select a client from the "Client" field or try typing the name to search for one
  10. mbit

    dbconnect.php in V6

    That file is not needed since v5.2 Just include the init.php file and you're ready to go. More info: http://docs.whmcs.com/Version_6.0_Release_Notes#Removal_of_Dbconnect.php
  11. M-BIT Cached invoices addon module version 2.1 is out This is a maintenance release... What's new The module now automatically uses the first admin account with an API acces it can find in the DB FIXED: memory problems for some PHP versions when caching invoices with separate billing contacts Would you like to know more? » Read more about the Cached invoices module & take a look at some screenshots Do you have questions about the module? » Contact us
  12. M-BIT Fix due dates addon module version 1.3 is out What's new Module is now compatible with WHMCS v5.x and v6.x Automated admin account selection for API functions Automatically set the invoice due date to the payment date for late payment invoices Would you like to know more? » Read more about the Fix due dates module & take a look at some screenshots Do you have questions about the module? » Contact us
  13. M-BIT Cached invoices addon module version 2.0 is out What's new Module is now compatible with WHMCS v5.x and v6.x Automatically upload paid PDF invoices to your backup FTP server Would you like to know more? » Read more about the Cached invoices module & take a look at some screenshots Do you have questions about the module? » Contact us
  14. mbit

    Modules Garden Modules Concerns

    It's quite simple, you don't need to pay for another year of support, right? If some specific module hasn't been updated for a year, then don't pay the next yearly support for it and you'll have no problem. Setting a price for any product is not something you just throw out of your head and if you have any idea about running a business you should already know that having a team of programmers does not allow you to just setup any price for modules and support. If you need a custom module, order it somewhere, pay the full development price and you'll get a full support/guarantee for it - but still only for a year or so, right? I don't really care for ModulesGarden but your post is is full of incorrect reasoning. It's quite funny that people have no problem paying 50$/y for a simple shared web hosting service and yet they do have a problem with paying 40-50$/y for software extensions. And we're talking about business people here, more or less...
  15. M-BIT Cached invoices addon module version 1.4 is out What's new The invoices page in the client area now shows the correct currency and format for every cached invoice on the list [client area - invoices] If there are more cached invoices in the module database than there are invoices in the system, extra cached invoices will automatically be removed from the module database (happens when invoice gets deleted from whmcs) [module tools page] If there are more paid PDF invoice files on the disk than there are cached paid invoices, user will see a list of those pdf files in the tools page [module tools page] What's fixed Pie chart showing cached and noncached invoices displayed an error id there were more cached invoices in the module database than there were invoices in the system [tools page] Wrong user language displayed on the invoice editing page when user had the language option set to "Default" [module tools page] Find out more...
×

Important Information

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