Jump to content

dbbrito

Member
  • Content Count

    7
  • Joined

  • Last visited

Community Reputation

0 Neutral

About dbbrito

  • Rank
    Junior Member
  1. Brian, taking the example below, how can only the "Servers" Menu appear for everyone without logging in, and the "Show in" and "Show out" items appear only for logged in customers? Thanks <?php use WHMCS\View\Menu\Item as MenuItem; add_hook('ClientAreaPrimaryNavbar', 1, function (MenuItem $primarynavbar) { $client = Menu::context('client'); if (!is_null($client) && is_null($primarynavbar->getChild('Servers'))) { $primarynavbar->addChild('Servers')->setOrder(1); } if (!is_null($client) && !is_null($primarynavbar->getChild('Servers'))) { $primarynavbar->getChild('Servers')->addChild('Show in')->setUri('*****.html')->setOrder(1); } if (!is_null($client) && !is_null($primarynavbar->getChild('VoIP Enterprise'))) { $primarynavbar->getChild('VoIP Enterprise')->addChild('Show out')->setUri('******.html')->setOrder(2); } });
  2. How to use this same menu in primaryNavbar? What do I need to change? Thanks
  3. Friends, I made the code below to add a menu on whmcs, but I would like it to be available only to logged in customers, and the way it is configured it is also shown to non-logged customers. <?php use WHMCS\View\Menu\Item as MenuItem; add_hook('ClientAreaSecondarySidebar', 1, function (MenuItem $secondarySidebar) { $secondarySidebar->addChild('Servers') ->setOrder(1); $secondarySidebar->getChild('Servers') ->addChild('Show in') ->setUri('*****.html') ->setOrder(1); $secondarySidebar->getChild('VoIP Enterprise') ->addChild('Show out') ->setUri('******.html') ->setOrder(2); }); Thank you all
  4. dbbrito

    zone DNS

    I will use DirectAdmin
  5. Hello friends, how do I enable in WHMCS the client's own option to configure the domains he already has, like change the dns zones, I don't want to sell domain, I just want to give him the option to manage his DNS zones himself, I believe that for this I will have to have my nameservers for him to configure them in the respective registrar, but what would be the best option for the client to do this in the WHMCS itself, and of course this will only be released in the purchase of any of our services !? Thank you all.
  6. I opened a ticket and was already answered by the WHMCS team and confirmed the issue in version 7.8 of whmcs "Case # CORE-13738", but I needed the fix as soon as possible.
  7. Friends, are we having a problem where addons are no longer shown in the client area, any changes in the new version? At the link: https://docs.whmcs.com/Product_Addons iten2: Tick Show on Order if you want the addon to be displayed during the initial order process. Leaving it unchecked means clients can choose to order it later from the client area only. I'm leaving unchecked! If I check it yes it appears in the client area but also appears in the initial order, and we need the addons to appear only in the client area!
  8. Welcome to WHMCS.Community dbbrito! We're glad you're here please take some time to familiarise yourself with the Community Rules & Guidelines and take a moment to introduce yourself to other WHMCS.Community members in the Introduce Yourself Board.

×
×
  • 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