Jump to content

Kianzo

Member
  • Posts

    6
  • Joined

  • Last visited

About Kianzo

Recent Profile Visitors

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

Kianzo's Achievements

Junior Member

Junior Member (1/3)

0

Reputation

  1. Let's say the client took a one hosting plan and he installed the 5 WP from the cPanel. one click install. btw how to make a unique product for each WP install within WHMCS? is there a module to do it or what? sounds amazing because I want to serve WP packages only. sorry for asking alot, I'm learning. Thank you again.
  2. I'm sorry I'm just a newbie who's trying to find his way. is there anyway to add custom cPanel links to the menu? Thank you the most.
  3. I want to add a menu item for Product Details. so if the client id is: 3 the link should be: https://example.com/clientarea.php?action=productdetails&id=3 also https://example.com/clientarea.php?action=productdetails&id=3&dosinglesignon=1&app=Email_Accounts I tried id={$serviceid} id={$product.pid} id={$item['relid']} id={$service_id} id={$tblproducts.id} id={$vars['params']['serviceid']} Nothing worked with me my code: {if $loggedin} <li data-username="dashboard" class="nav-item coodiv-hasmenu"> <a class="nav-link"><span class="coodiv-micon"><i class="feather icon-sliders"></i></span><span class="coodiv-mtext">Control Panel</span></a> <ul class="coodiv-submenu"> <li><a href="{$WEB_ROOT}/clientarea.php?action=productdetails&amp;id={$product.pid}">Dashboard</a></li> <li><a href="clientarea.php?action=productdetails&amp;id={$serviceid}&amp;dosinglesignon=1&amp;app=Email_Accounts">Email Accounts</a></li> <li><a href="clientarea.php?action=productdetails&amp;id={$serviceid}&amp;dosinglesignon=1&amp;app=FileManager_Home">File Manager</a></li> </ul> </li> {/if} I'm editing menu.tpl in a theme I bought. Thanks
  4. I found this topic https://whmcs.community/topic/283057-adding-links-to-shortcut-area/ which is so awesome and allows to create a link to the wp-admin of the client domain <?php use WHMCS\View\Menu\Item as MenuItem; add_hook('ClientAreaPrimarySidebar', 1, function(MenuItem $primarySidebar) { $service = Menu::context('service'); $domain = $service->domain; $servertype = $service->product->servertype; # Not cPanel, no links added if ($servertype!="cpanel"){ return; } if (!is_null($primarySidebar->getChild('Service Details Actions'))) { $primarySidebar->getChild('Service Details Actions') ->addChild('wplink', array( 'label' => 'Link To WordPress', 'uri' => 'https://'.$domain.'/wp-admin', 'order' => 200, )); } }); BUT how to do it if the client has more than one domain? let's say that my client has 5 domains and each domain has it's own WordPress install so how to add all of them to the navbar menu as a sub menu? PS: all customers have domains registered with GoDaddy. I host WordPress websites for them only. Thank you ♥
  5. The shortcuts you made are working amazingly I wanted to add more shortcuts to cPanel like: Error pages, MultiPHPManager, MultiPHPINI, Domains, FTP Accounts, SSH Access, and Virus Scanner. so I edited the code like this: <div class="col-sm-3 col-xs-6" id="cPanelDomains"> <a href="clientarea.php?action=productdetails&amp;id={$serviceid}&amp;dosinglesignon=1&amp;app=Domains_Home" target="_blank"> <img src="modules/servers/cpanel/img/domains.png" /> Domains </a> </div> but it takes me to cPanel main page instead of the Domains page, and the same with Error pages, MultiPHPManager, MultiPHPINI, FTP Accounts, SSH Access, and Virus Scanner. any Idea how to make this works? Thank you so much
×
×
  • 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