Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About justaserverguy

  • Rank
    Junior Member
  1. I am trying to remove the option for my clients to log in to the Plesk server. I have looked at the ClientAreaProductDetails file but do not see it there. Where would this be located?
  2. Hello all, I am having an issue when customers go to checkout they enter the credit card info (Stripe Gateway) and upon submitting the order it is redirect to an unpaid invoice page where they need to reenter the CC info. Is there any logs I can check to see what is going on? Thanks for any help!!
  3. That helps thanks. Since you have no issues and my dev site had no issues my guess is it has to do with some changes I may have done to the template. Thanks @brian!
  4. Here is what I came up with. What is also strange is that it works when in the downloads, announcement, knowledge base and server status pages. But when in the Support Tickets or Open Tickets page it pulls the default sidebar. 🤔 <?php use WHMCS\View\Menu\Item as MenuItem; add_hook('ClientAreaSecondarySidebar', 1, function (MenuItem $secondarySidebar) { if (is_null($secondarySidebar->getChild('Support'))) { return; } if (!is_null($secondarySidebar->getChild('Support')->getChild('Announcements'))) { $secondarySidebar->getChild('Support') ->getChild('Announcements') ->setUri('https://www.blog.example.com'); } if (!is_null($secondarySidebar->getChild('Support')->getChild('Knowledgebase'))) { $secondarySidebar->getChild('Support') ->getChild('Knowledgebase') ->setUri('https://www.help.example.com'); } if (!is_null($secondarySidebar->getChild('Support'))) { $secondarySidebar->getChild('Support')->removeChild('Downloads'); } if (!is_null($secondarySidebar->getChild('Support')->getChild('Network Status'))) { $secondarySidebar->getChild('Support') ->getChild('Network Status') ->setUri('https://www.example.statuspage.io/'); } }); function change_homeshortcuts_support_link_hook($vars) { return "<script>document.getElementById('btnGetSupport').href = 'https://www.help.example.com';</script>"; }; add_hook("ClientAreaFooterOutput",1,"change_homeshortcuts_support_link_hook");
  5. Update: I was able to get the hooks to work on my dev site but for some reason it does not work on the live site. 🤦‍♂️ guess it's going to be a late night. Thanks for the help @brian!
  6. Follow up - I created a new file and used a hook you mentioned in another post to get rid of the recent news in the client area. When I try to follow the same steps to edit the sidebar it doesn't seem to work. I must be doing something wrong.
  7. Sorry if this is a dumb question, I am going to Includes/Hooks but there is nothing in there. Am i going to the wrong spot or do I need to create files for these inside of includes/hooks?
  8. Hello! I am trying to see how I can edit and remove certain sidebar items. I have gone over the guides on editing the sidebar using hooks but have not found how I can hide certain items. I am using an external service for knowledge base, network status and announcements. Is it possible to change the url these go to when clicked from within the client area sidebar? I do not use the downloads feature so I would like to be able to hide that.
  • 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