Jump to content

Remitur

Member
  • Content Count

    480
  • Joined

  • Last visited

  • Days Won

    5

Remitur last won the day on November 15 2020

Remitur had the most liked content!

Community Reputation

41 Excellent

2 Followers

About Remitur

  • Rank
    Level 2 Member

Recent Profile Visitors

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

  1. Hello. I was evaluating Adyen ( adyen.com ) as payment processor to integrate into WHMCS. Any experience about? opinions? Anyone did ever used it previously with WHMCS?
  2. This operation is called "trade", and it's not done by a hook: it's a matter of the Registrar Module you're using, not of WHMCS itself. Even more: for some TLDs, this kind of operation may be unlawful, or require further steps from Registrant to approve (i.e. .com), or may be billed by the Registry (i.e. .au), or even be simply impossible (i.e. for .ru the trade is done on the site of the Registry, and has to be done by the Registrant himself)
  3. Googling around, I found this post about WHMCS's db optimization: https://support.reliablesite.net/kb/a280/optimizing-the-whmcs-database-for-performance.aspx that suggests following changes to improve performance: ALTER TABLE tblproductconfigoptionssub DROP INDEX configid, ADD INDEX configid (configid ASC, hidden ASC, sortorder ASC, id ASC); ALTER TABLE tblpricing ADD INDEX relid (relid ASC, type ASC, currency ASC); ALTER TABLE tblproductconfiglinks ADD UNIQUE INDEX pid_gid (pid ASC, gid ASC); ALTER TABLE tblproductconfigoptions DROP INDEX productid, ADD INDEX productid (gid ASC, hidden ASC); I'm always quite skeptikal about "simple and universal recipes for performance improvment" (would it be so simple and without any collateral effect, why hasn't it been implemented directly by the WHMCS development team?), and also a test done in my dev and test environment would have very little meaning ... so here I'm to ask your opinion and experience about this proposed "tricks", or other db optimizations that may be useful...
  4. Slightly OT: what about a post on "how to remove MOSS support for UK tomorrow night" ? 😉
  5. Problem: I have a registrar module few configuration variables are defined in _getConfigArray (not only username and password, but also other variables required by the Registrar) If I'm using the standard WHMCS functions (RegisterDomain, TransferDomain etc.) I can easily recovere these values as $params But what if I'm going to define into my module a custom function, as i.e. myregistrarmodule_GetCredit() ? How can I recover inside this custom function the values of the array $params? Other "standard" functions are called by WHMCS's functions, and are these function that recover $params and pass it to the functions... but in a custom function, or in a hook? NOTE: it's not possible to recover required values from db, as it's possible for other kind of modules, because there values are stored in the db in an encrypted form...
  6. I never used any Siteground service, and never felt the need to use it... so I don't worry about the announcement tha Siteground just sent to all his users that are using WHMCS: I'm just finding it a proof that staying far away from cPanel (and Siteground) is a very good policy...
  7. A number of TLDs manage the selling also of their second- and thirdl-level subdomains... i.e: .name You can register whateveryouwant.name, but also john.smith.name ... and the TLD will be .smith.name (and so for thousands of different surnames) .cn You can register whateveryouwant.cn, but also whateveryouwant.hi.cn (if your activity is related to the Hainan region... and so for thirty or so different second-level extensions .it For every state and every municipality in Italy, it's available the registration of corresponding 3th or even 4th level... So you can register, i.e.: whateveryouwant.roma.it whateveryouwant.vinci. fi.it and so of, with THOUSANDS of different extensions, all of them managed by the Registry. I found no way to manage this kind of extensions in WHMCS, because for each different extension you would be requested to: specificy it in "domain pricing" (so not only .it, but thousands of different rows, one for each different available sub-extendion ) duplicate custom fields (if any) for each different available sub-extension (thousand of them...) duplicate whois setting for each different available sub-extension (thousand of them...) It would be nice if WHMCS could manage a "wildcard extension", so specifying .*.it it would manage all the third- or fourth-level sub-extension, but found absolutely no way to do it. Any trick or idea or walkaround to do it? Or starting a feature request, hoping that maybe in year 2035 ... ? (note: whois request are managed by Registry in the right way, so it's not an issue that WHMCS is required to manage... )
  8. @brian! Sorry: as result of a query mysql, I mean a bunch of records (even hundredsof them) to show in a custom page, but did not explained it... My desiderd goal is something like the /clientarea.php?action=services , where the user may have hundreds of record, and an interface to navigate into them (filtres, search, pagination for 10, 35 or 50 records, and so on...) In https://developers.whmcs.com/themes/customising/ I found the reference to "tablelist.tpl - Controls the output of all filterable data list tables throughout the client area", but found no other documentation about, and neither any example code... so I guess the only way is going to analyze the Smarty variables that are passed to the existing pages in client area that use tablelist.tpl (such as /clientarea.php?action=services or /clientarea.php?action=invoices ), and try to discover how to use it...
  9. Hello. I need to make available to the user, in client area, the results of a certain mysql query... In admin area there's a comprehensive "report engine", and so the job would be easy... but what about client area? Before going on reinventing the wheel: does exist any bootstrap tool, or any customizable ready template to do this?
  10. You're right! (I have the habit to name module variables as $ModulenameModulevariable , so it's almost impossible going wrong ... 😉 )
  11. Problem: I'm writing a widget for admin area this widget need to call a function, defined in a registrar module (i.e. MyCustomRegistrarModule_myfunction() ) If I call it directly inside the widget, I'm obviously getting a "nice "Oops!" message ("Error: Call to undefined function WHMCS\Module\Widget\MyCustomRegistrarModule_myfunction()") I could replicate the function inside the widget, redefining it, but I guess that there's some kind of better and smarter way to do it...
  12. You can't. It's crazy, but you can't do it directly and easily. The only way: recover the parameter value from the db, using something like this: $mymoduleparameter = Capsule::table('tbladdonmodules')->where('setting','mymoduleparameter')->value('value');
  13. It's a quite simple PHP script, but what it does may be rather dangerous,and you need to be ready to a rollback... So, if you need a "step by step how to", I guess it's much better and safer for you find an expert developer to help you... 😉
  14. There's also this other topic, about retrieving domain extension and related prices:
  15. If you use "to do" instead of tickets, you can use this cron hook:
×
×
  • 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