Jump to content

artaweb

Senior Member
  • Content count

    33
  • Joined

  • Last visited

Community Reputation

0 Neutral

About artaweb

  • Rank
    Newbie

Recent Profile Visitors

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

  1. Thank you for your reply. Someone already contacted me and sorted it out.
  2. Hello, I believe this question must've been asked already but I haven't found any right answer to get it working. In Domains and Products pages, by default all items regardless of its status is shown to the clients. Statuses like: Active, Canceled, Terminated, Fraud, etc. Now we know that for productivity it makes more sense to only display the active products and well, add an option (which already is there) to filter other items based on their status. We have many customers who has more than 20 services but perhaps just a few are active. For a users like them, its hard to have quick peek at their items. So they have to either search, change the status manually or use the pagination. Archiving non-active items can be a great feature for whmcs, user can archive what is not active in their account but I believe such features takes work and effort to be built. ___ I think something like showing the active item by default would be more reasonable than creating a feature for archiving. This is the piece of code in clientareaproducts.tpl for products: <ul class="dropdown-menu" role="menu"> <li><a href="#"><span data-value="all">{$rslang->trans('generals.all_entries')}</span></a></li> {foreach key=num item=status from=$RSHookServicesStatuses} <li><a href="#"><span data-value="{$status.statustext}">{$status.statustext}</span></a></li> {/foreach} </ul> Pretty much the same code would apply for clientareadomains.tpl I would appreciate if you could give hint on what to do to make it possible to only show Active products by default. Regards
  3. Hello, Can anyone help me build a hook to prevent Billing Cycle Change Upon Product Upgrade? Please send your hourly or fixed charges for creating something like this. More info in this topic: https://whmcs.community/topic/299005-disable-billing-cycle-change-upon-product-upgrade
  4. Tried a few ways using the documentation to make a hook. I think I am going in the wrong direction. Can please guide me where to begin for creating a hook like this? I need to show the current billing cycle without any other options for changing the cycle upon upgrade or downgrade.
  5. is it standard to remove the codes from upgrade.tpl ? -=-=-=- NOPE -=-=-=- It just messed things up. I guess it has to be a hook to work correctly.
  6. Hello, Is it possible to disable the Billing Cycle Selecting in upgrade page? For example, if a customer wishes to upgrade/downgrade their product/service, they can only upgrade/downgrade it with the same billing cycle it currently is. Without the option of choosing other cycles. Is this possible?
  7. artaweb

    Error: Language code is required

    Thank you for your reply Brian. I am using the latest version of WHMCS v 7.9 Either way I get the same error. Whether it's our template or six + standard_cart Note: when I go to cart.php?a=view and click on checkout, the error is not pushing. Is there any way to debug this?
  8. Hello, I am sure you know that some domain registrars register domain name with conversion of chinese, persian, hebrew, arabic, etc characters. Example: سلام.com converts to xn--mgbx5cf.com I believe, currently .com and .net registers such domains. Now, the problem is not how WHMCS process this kind of registrations. (I will open another topic for it for not mixing things up) When user searches for such domains, the system says it's available for registration, but in addons and nameserver step, it shows an error which I can't figure out how to debug. Step: cart.php?a=confdomains At first I thought the string is missing. Generally the default behaviour of whmcs is to show english strings when other language strings are missing. But in this case, there is nothing so the system shows the error: Language code is required Screenshot is attached I would appreciate your feedback on this. Thank you
  9. artaweb

    Adding Cookie Control to Client Pages

    Thank you Brian.
  10. artaweb

    Adding Cookie Control to Client Pages

    Hi Brian How can I add a code right before </head> tag closing? I change the FooterOutput to HeaderOutput, it worked but the code is right after </head> closing (inside opening of body, first line).
  11. Hello, I've been using WHMCS php version 5.6 for the past 6 years so yesterday decided to upgrade to 7.3 version. I ran into lots of trouble of modules that were encrypted with ioncube php version 5.6, some vendors helped and provided compatible. So far so good now, however, I am getting the following error in error_log [02-Feb-2020 09:46:21 Asia/Muscat] [WHMCS Application] ERROR: Error: Call to a member function format() on bool in /home/mausername/public_html/crm/templates_c/5f54ac6673eee73372bf5561d11b5a9cb6ae8102_0.file.announcements.tpl.php:82 Stack trace: #0 /home/mausername/public_html/crm/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_5e35bc3cad0cf1_52160416(Object(Smarty_Internal_Template)) #1 /home/mausername/public_html/crm/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(Smarty_Internal_Template)) #2 /home/mausername/public_html/crm/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(216): Smarty_Template_Compiled->render(Object(Smarty_Internal_Template)) #3 /home/mausername/public_html/crm/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(232): Smarty_Internal_Template->render(false, 0) #4 /home/mausername/public_html/crm/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(116): Smarty_Internal_TemplateBase->_execute(Object(Smarty_Internal_Template), NULL, NULL, NULL, 0) #5 /home/mausername/public_html/crm/vendor/whmcs/whmcs-foundation/lib/Smarty.php(0): Smarty_Internal_TemplateBase->fetch('/home/sevenhost...', NULL, NULL, NULL, false, true, false) #6 /home/mausername/public_html/crm/vendor/whmcs/whmcs-foundation/lib/ClientArea.php(0): WHMCS\Smarty->fetch('/home/sevenhost...') #7 /home/mausername/public_html/crm/vendor/whmcs/whmcs-foundation/lib/ClientArea.php(0): WHMCS\ClientArea->outputWithoutExit() #8 /home/mausername/public_html/crm/vendor/whmcs/whmcs-foundation/lib/Http/Message/AbstractViewableResponse.php(0): WHMCS\ClientArea->getOutputContent() #9 /home/mausername/public_html/crm/vendor/middlewares/utils/src/CallableHandler.php(39): WHMCS\Http\Message\AbstractViewableResponse->getBody() #10 /home/mausername/public_html/crm/vendor/middlewares/fast-route/src/FastRoute.php(96): Middlewares\Utils\CallableHandler::execute(Array, Array) #11 /home/mausername/public_html/crm/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/HandleProcessor.php(0): Middlewares\FastRoute->process(Object(WHMCS\Http\Message\ServerRequest), Object(Middlewares\Utils\Delegate)) #12 /home/mausername/public_html/crm/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/Strategy/AssumingMiddlewareTrait.php(0): WHMCS\Route\Middleware\HandleProcessor->_process(Object(WHMCS\Http\Message\ServerRequest), Object(Middlewares\Utils\Delegate)) #13 /home/mausername/public_html/crm/vendor/middlewares/utils/src/Dispatcher.php(76): WHMCS\Route\Middleware\HandleProcessor->process(Object(WHMCS\Http\Message\ServerRequest), Object(Middlewares\Utils\Delegate)) #14 [internal function]: Middlewares\Utils\Dispatcher->Middlewares\Utils\{closure}(Object(WHMCS\Http\Message\ServerRequest)) #15 /home/mausername/public_html/crm/vendor/middlewares/utils/src/Delegate.php(31): call_user_func(Object(Closure), Object(WHMCS\Http\Message\ServerRequest)) #16 /home/mausername/public_html/crm/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/AbstractProxyMiddleware.php(0): Middlewares\Utils\Delegate->process(Object(WHMCS\Http\Message\ServerRequest)) #17 /home/mausername/public_html/crm/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/Strategy/AssumingMiddlewareTrait.php(0): WHMCS\Route\Middleware\AbstractProxyMiddleware->_process(Object(WHMCS\Http\Message\ServerRequest), Object(Middlewares\Utils\Delegate)) #18 /home/mausername/public_html/crm/vendor/middlewares/utils/src/Dispatcher.php(76): WHMCS\Route\Middleware\AbstractProxyMiddleware->process(Object(WHMCS\Http\Message\ServerRequest), Object(Middlewares\Utils\Delegate)) #19 [internal function]: Middlewares\Utils\Dispatcher->Middlewares\Utils\{closure}(Object(WHMCS\Http\Message\ServerRequest)) #20 /home/mausername/public_html/crm/vendor/middlewares/utils/src/Delegate.php(31): call_user_func(Object(Closure), Object(WHMCS\Http\Message\ServerRequest)) #21 /home/mausername/public_html/crm/vendor/middlewares/utils/src/Dispatcher.php(56): Middlewares\Utils\Delegate->process(Object(WHMCS\Http\Message\ServerRequest)) #22 /home/mausername/public_html/crm/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/BackendDispatch.php(0): Middlewares\Utils\Dispatcher->dispatch(Object(WHMCS\Http\Message\ServerRequest)) #23 /home/mausername/public_html/crm/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/Strategy/AssumingMiddlewareTrait.php(0): WHMCS\Route\Middleware\BackendDispatch->_process(Object(WHMCS\Http\Message\ServerRequest), Object(Middlewares\Utils\Delegate)) #24 /home/mausername/public_html/crm/vendor/middlewares/utils/src/Dispatcher.php(76): WHMCS\Route\Middleware\BackendDispatch->process(Object(WHMCS\Http\Message\ServerRequest), Object(Middlewares\Utils\Delegate)) #25 [internal function]: Middlewares\Utils\Dispatcher->Middlewares\Utils\{closure}(Object(WHMCS\Http\Message\ServerRequest)) #26 /home/mausername/public_html/crm/vendor/middlewares/utils/src/Delegate.php(31): call_user_func(Object(Closure), Object(WHMCS\Http\Message\ServerRequest)) #27 /home/mausername/public_html/crm/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/RoutePathMatch.php(0): Middlewares\Utils\Delegate->process(Object(WHMCS\Http\Message\ServerRequest)) #28 /home/mausername/public_html/crm/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/Strategy/AssumingMiddlewareTrait.php(0): WHMCS\Route\Middleware\RoutePathMatch->_process(Object(WHMCS\Http\Message\ServerRequest), Object(Middlewares\Utils\Delegate)) #29 /home/mausername/public_html/crm/vendor/middlewares/utils/src/Dispatcher.php(76): WHMCS\Route\Middleware\RoutePathMatch->process(Object(WHMCS\Http\Message\ServerRequest), Object(Middlewares\Utils\Delegate)) #30 [internal function]: Middlewares\Utils\Dispatcher->Middlewares\Utils\{closure}(Object(WHMCS\Http\Message\ServerRequest)) #31 /home/mausername/public_html/crm/vendor/middlewares/utils/src/Delegate.php(31): call_user_func(Object(Closure), Object(WHMCS\Http\Message\ServerRequest)) #32 /home/mausername/public_html/crm/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/WhitelistFilter.php(0): Middlewares\Utils\Delegate->process(Object(WHMCS\Http\Message\ServerRequest)) #33 /home/mausername/public_html/crm/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/Strategy/DelegatingMiddlewareTrait.php(0): WHMCS\Route\Middleware\WhitelistFilter->_process(Object(WHMCS\Http\Message\ServerRequest), Object(Middlewares\Utils\Delegate)) #34 /home/mausername/public_html/crm/vendor/middlewares/utils/src/Dispatcher.php(76): WHMCS\Route\Middleware\WhitelistFilter->process(Object(WHMCS\Http\Message\ServerRequest), Object(Middlewares\Utils\Delegate)) #35 [internal function]: Middlewares\Utils\Dispatcher->Middlewares\Utils\{closure}(Object(WHMCS\Http\Message\ServerRequest)) #36 /home/mausername/public_html/crm/vendor/middlewares/utils/src/Delegate.php(31): call_user_func(Object(Closure), Object(WHMCS\Http\Message\ServerRequest)) #37 /home/mausername/public_html/crm/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/RoutableClientModuleRequest.php(0): Middlewares\Utils\Delegate->process(Object(WHMCS\Http\Message\ServerRequest)) #38 /home/mausername/public_html/crm/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/Strategy/AssumingMiddlewareTrait.php(0): WHMCS\Route\Middleware\RoutableClientModuleRequest->_process(Object(WHMCS\Http\Message\ServerRequest), Object(Middlewares\Utils\Delegate)) #39 /home/mausername/public_html/crm/vendor/middlewares/utils/src/Dispatcher.php(76): WHMCS\Route\Middleware\RoutableClientModuleRequest->process(Object(WHMCS\Http\Message\ServerRequest), Object(Middlewares\Utils\Delegate)) #40 [internal function]: Middlewares\Utils\Dispatcher->Middlewares\Utils\{closure}(Object(WHMCS\Http\Message\ServerRequest)) #41 /home/mausername/public_html/crm/vendor/middlewares/utils/src/Delegate.php(31): call_user_func(Object(Closure), Object(WHMCS\Http\Message\ServerRequest)) #42 /home/mausername/public_html/crm/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/RoutableAdminRequestUri.php(0): Middlewares\Utils\Delegate->process(Object(WHMCS\Http\Message\ServerRequest)) #43 /home/mausername/public_html/crm/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/Strategy/AssumingMiddlewareTrait.php(0): WHMCS\Route\Middleware\RoutableAdminRequestUri->_process(Object(WHMCS\Http\Message\ServerRequest), Object(Middlewares\Utils\Delegate)) #44 /home/mausername/public_html/crm/vendor/middlewares/utils/src/Dispatcher.php(76): WHMCS\Route\Middleware\RoutableAdminRequestUri->process(Object(WHMCS\Http\Message\ServerRequest), Object(Middlewares\Utils\Delegate)) #45 [internal function]: Middlewares\Utils\Dispatcher->Middlewares\Utils\{closure}(Object(WHMCS\Http\Message\ServerRequest)) #46 /home/mausername/public_html/crm/vendor/middlewares/utils/src/Delegate.php(31): call_user_func(Object(Closure), Object(WHMCS\Http\Message\ServerRequest)) #47 /home/mausername/public_html/crm/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/RoutableRequestUri.php(0): Middlewares\Utils\Delegate->process(Object(WHMCS\Http\Message\ServerRequest)) #48 /home/mausername/public_html/crm/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/Strategy/AssumingMiddlewareTrait.php(0): WHMCS\Route\Middleware\RoutableRequestUri->_process(Object(WHMCS\Http\Message\ServerRequest), Object(Middlewares\Utils\Delegate)) #49 /home/mausername/public_html/crm/vendor/middlewares/utils/src/Dispatcher.php(76): WHMCS\Route\Middleware\RoutableRequestUri->process(Object(WHMCS\Http\Message\ServerRequest), Object(Middlewares\Utils\Delegate)) #50 [internal function]: Middlewares\Utils\Dispatcher->Middlewares\Utils\{closure}(Object(WHMCS\Http\Message\ServerRequest)) #51 /home/mausername/public_html/crm/vendor/middlewares/utils/src/Delegate.php(31): call_user_func(Object(Closure), Object(WHMCS\Http\Message\ServerRequest)) #52 /home/mausername/public_html/crm/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/RoutableRequestQueryUri.php(0): Middlewares\Utils\Delegate->process(Object(WHMCS\Http\Message\ServerRequest)) #53 /home/mausername/public_html/crm/vendor/whmcs/whmcs-foundation/lib/Route/Middleware/Strategy/AssumingMiddlewareTrait.php(0): WHMCS\Route\Middleware\RoutableRequestQueryUri->_process(Object(WHMCS\Http\Message\ServerRequest), Object(Middlewares\Utils\Delegate)) #54 /home/mausername/public_html/crm/vendor/middlewares/utils/src/Dispatcher.php(76): WHMCS\Route\Middleware\RoutableRequestQueryUri->process(Object(WHMCS\Http\Message\ServerRequest), Object(Middlewares\Utils\Delegate)) #55 [internal function]: Middlewares\Utils\Dispatcher->Middlewares\Utils\{closure}(Object(WHMCS\Http\Message\ServerRequest)) #56 /home/mausername/public_html/crm/vendor/middlewares/utils/src/Delegate.php(31): call_user_func(Object(Closure), Object(WHMCS\Http\Message\ServerRequest)) #57 /home/mausername/public_html/crm/vendor/middlewares/utils/src/Dispatcher.php(56): Middlewares\Utils\Delegate->process(Object(WHMCS\Http\Message\ServerRequest)) #58 /home/mausername/public_html/crm/index.php(0): Middlewares\Utils\Dispatcher->dispatch(Object(WHMCS\Http\Message\ServerRequest)) #59 {main} {"exception":"[object] (Error(code: 0): Call to a member function format() on bool at /home/mausername/public_html/crm/templates_c/5f54ac6673eee73372bf5561d11b5a9cb6ae8102_0.file.announcements.tpl.php:82)"} [] Anyone had the same problem? I wanted to open a ticket but thought maybe someone have had the same problem here.
  12. artaweb

    Accounting Software for WHMCS

    Hilarious 😂
  13. artaweb

    Accounting Software for WHMCS

    If I could go back to 13 years ago, instead of hosting business, I would buy a farm and plant potatoes and breed hens.
  14. artaweb

    Accounting Software for WHMCS

    Hey Jack, Thank you, will check it out. Kashflow only accepts from GB. It does not support my region. Bummer! Thank you
  15. Hello, Is there any accounting software for whmcs as a module or an accounting software that supports whmcs via a hook or api? Its so hard to keep up with tiny tiny transactions. There are between 900 to 1400 transactions day.
×

Important Information

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