Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


HostingMe last won the day on September 17 2021

HostingMe had the most liked content!

Community Reputation

2 Neutral

About HostingMe

  • Rank

Recent Profile Visitors

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

  1. The issue you are having is due to your custom theme/orderform. If I switch your orderform theme back to standard_cart by appending "?carttpl=standard_cart" the order process works as expected. https://clientportal.uxmediahouse.com/store/hosting-packages?carttpl=standard_cart As you're using a custom theme, I'd recommend contacting the developer for further help on resolving the issue.
  2. Assuming you're talking about changing the 'Network Status' link in the nav bar then the hook below will do the job. add_hook('ClientAreaPrimaryNavbar', 1, function (MenuItem $primaryNavbar) { if (!is_null($primaryNavbar->getChild('Network Status'))) { $primaryNavbar->getChild('Network Status') ->setURI('https://example.com'); } });
  3. If you use the developer tools in your browser you can find the 'menuitemname' of the element you're trying to remove. With the hook you posted just change 'Website & Security' to say 'Website Security' that'll do it. <?php # Remove MarketConnect Navbar Hook # Written by brian! use WHMCS\View\Menu\Item as MenuItem; add_hook('ClientAreaPrimaryNavbar', 1, function (MenuItem $primaryNavbar) { if (!is_null($primaryNavbar->getChild('Website Security'))) { $primaryNavbar->removeChild('Website Security'); } });
  4. It sounds like the database didn't update with the script. I had an issue similar to this and the fix was the following: - Go to: yourWHMCS.com/install - Follow the on screen prompts which should update the database - Once you get the success message, delete the 'install' directory on your web server Here's WHMCS support doc for what helped in our case: https://help.whmcs.com/m/updating/l/1136003-resolving-a-down-for-maintenance-message
  5. I think your best option here is to wait for the developer to get back to you as the docs have no information on what to do. From what I can see their website does have live chat so maybe try reaching out there to see if they can offer support or get the your ticket looked at.
  6. You would need to create a file in the hooks folder located: ~/includes/hooks
  7. Yes this can be done. WHMCS have documentation on how to do this: https://docs.whmcs.com/Linking_to_WHMCS What you would need to do is use your browsers developer tools to see the raw html so you can get the config number and the option value. Once you have these you can append &configoption[1]=100 to the end of your products URL. For example: If the HTML looked liked what is below and you wanted CentOS 7 to be pre-selected when added to cart, the config number would be 75 and the option value would be 881. The code you would add to the URL would look like: &configoption[75]=881 Full URL: https://yourdomain/cart.php?a=add&pid=70&configoption[75]=881 <select name="configoption[75]" id="inputConfigOption75" class="form-control"> <option value="879" selected="selected"> CentOS 6 x64 </option> <option value="880"> CentOS 6 i386 </option> <option value="881"> CentOS 7 x64 </option> </select>
  8. You should be able to do this via CSS. If you create a custom.css file at ~/templates/six/css/ (replace 'six' with the name of your theme) then add the below that should do it. @font-face {font-family: "Prometo"; src: url("//db.onlinewebfonts.com/t/22b227f39427a4be79eff76ad0abdeb4.eot"); src: url("//db.onlinewebfonts.com/t/22b227f39427a4be79eff76ad0abdeb4.eot?#iefix") format("embedded-opentype"), url("//db.onlinewebfonts.com/t/22b227f39427a4be79eff76ad0abdeb4.woff2") format("woff2"), url("//db.onlinewebfonts.com/t/22b227f39427a4be79eff76ad0abdeb4.woff") format("woff"), url("//db.onlinewebfonts.com/t/22b227f39427a4be79eff76ad0abdeb4.ttf") format("truetype"), url("//db.onlinewebfonts.com/t/22b227f39427a4be79eff76ad0abdeb4.svg#Prometo") format("svg");} h1{font-family:Prometo!important;}
  9. Older versions of the Six theme use different CSS classes for the cart body. You could try changing the <style> part in the hook to the code below which worked in WHMCS v.7.10 <style>#order-standard_cart .pull-md-right { width:100%; } .sidebar {display: none;}</style> If that still does not work, you'll need to find out what class the theme is using and changing the hook to match.
  10. Try clearing your browser cache and template cache within WHMCS (Utilities > System > System Cleanup > Empty Template Cache). Try disabling any custom themes or hooks to rule out a conflict. If you're still having issues it might be worth reaching out to WHMCS support for additional support.
  11. That hook would remove the sidebar everywhere in the cart and stretch the content to full width, see image attached.
  12. Only add the pages you want a sidebar to show into the array. So in the hook that was supplied, the sidebar would be hidden on all pages except the domain register page. Which version of WHCMS are you using? I've tested this hook in WHCMS 8.2 and is working as expected.
  13. If you wanted to remove the sidebars and then stretch the content out to be full width on cart pages, you can use the hook below written by brian! To show the sidebar on any of the cart pages, you would need edit the $validtemplates array <?php # Cart Sidebar Removal / Resizing v8.1 Hook # Written by brian! function cart_remove_sidebars_hook($vars) { $validtemplates = array("domainregister"); if ($vars['inShoppingCart'] && !in_array($vars['templatefile'],$validtemplates)) { $head_return = "<style>#order-standard_cart .cart-body { width:100% !important; } .cart-sidebar {display: none;}</style>"; return $head_return; } } add_hook("ClientAreaHeaderOutput",1,"cart_remove_sidebars_hook"); Original post can be found here:
  14. This can be done using hooks. As an example, to remove the 'Categories' sidebar create a file in ~/includes/hooks then add the code below <?php use WHMCS\View\Menu\Item as MenuItem; add_hook('ClientAreaSecondarySidebar', 1, function(MenuItem $SecondarySidebar) { if(!is_null($SecondarySidebar->getChild('Categories'))){ $SecondarySidebar->removeChild('Categories'); } }); You can find more information on hooks here: https://developers.whmcs.com/hooks/getting-started/
  • 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