Jump to content
Sign in to follow this  
Kianzo

Adding Links to menu

Recommended Posts

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 ♥

Share this post


Link to post
Share on other sites
On 09/02/2021 at 10:34, Kianzo said:

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?

does each WP install have it's own unique product service within WHMCS ? e.g if the client has 5 WP installs, has he ordered 5 services from you and each separately listed in product/services area ?

Share this post


Link to post
Share on other sites
22 minutes ago, brian! said:

does each WP install have it's own unique product service within WHMCS ? e.g if the client has 5 WP installs, has he ordered 5 services from you and each separately listed in product/services area ?

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.

Share this post


Link to post
Share on other sites
21 hours ago, Kianzo said:

Let's say the client took a one hosting plan and he installed the 5 WP from the cPanel. one click install.

are the 5 domains listed in the WHMCS database somewhere ?

23 hours ago, Kianzo said:

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.

i'm not sure you can... well you could make a dummy product I suppose, but there's little point in that.

I know you could use the softaculous addon to add WP automatically when the account is created, but i'm not sure you want to do that.

https://www.softaculous.com/docs/developers/whmcs-auto-install-module/

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Similar Content

    • By ModulesGarden
      TOP NEWS: ModulesGarden to launch a brand-new WordPress automation platform!

      We revel in finally being able to spill the beans about our spanking-new project that now is officially under development. If you find our WordPress Manager For WHMCS module to be helpful, just wait until we show you the vast potential of PanelAlpha!

      Based on a similar premise, but taken to a much advanced level, PanelAlpha is a completely standalone system designed to equip the providers of web hosting and managed services with tools ensuring the most intelligent, yet effortless way of delivering and managing WordPress instances.

      Today we are inviting you to peek under the surface of this revolutionary application to gain a deeper insight into its new-fashioned design as well as an impressive scope of functionalities. If any ideas come to your mind, maybe some useful features that we might be missing, do not think twice and share them all with us! Each participant of our 2-minute survey will receive a personal 10% discount that can be applied to the entire product base of our Marketplace!

      Set PanelAlpha on the path to success!



      2. DirectAdmin Extended For WHMCS 3.6.0

      Let’s face it: every day, millions of Internet users, including you and your customers, are exposed to a continuous threat of stealing your digital valuables. Come to think of it, it is quite terrifying.

      Fortunately, there is our DirectAdmin Extended For WHMCS available in a whole new quality, making the management of your clients’ details not only easier but, above all, one hundred percent secure.

      Upon changing the status to the 3.6.0 version, the module has been packed with a neat array of new features and improvements - check out what your clients are now empowered to do:
      Prevent the stealing of files and website bandwidth via Manage the folders protected with passwords Add credentials through "File Manager" to prevent directories from being accessed by unauthorized users Paste their own authorized SSH keys Uncover all new safety layers of DirectAdmin Extended For WHMCS 3.6.0!



      3. Polish Language Translation For WHMCS 2.1.0

      The final touches have also been made in recent weeks to our official Polish Language Translation For WHMCS for the sake of its total consistency with the new WHMCS V8.2.1!

      Developed through joint forces of the most experienced language and software specialists, our freshened-up translation covers almost 600 new and modernized expressions, making itself not only top-quality, but also most comprehensive one ever created!

      Choose Polish for your WHMCS and make yourself feel at home!



      4. You wouldn't want to miss the entire range of our brand-new releases, would you?
      EURid Registrar For WHMCS - v1.3.5 Multibrand For WHMCS - v2.8.2 OpenStack VPS & Cloud For WHMCS - v2.0.3 Plesk Key Administrator For WHMCS - v1.3.10 Recurring Billing Extended For WHMCS - v1.3.5 SMS Center For WHMCS - v3.9.1 SolusVM Extended Cloud For WHMCS - v1.10.1 SolusVM Extended VPS For WHMCS - v1.10.1 Stripe SEPA Payments For WHMCS - v1.0.5 Virtuozzo VPS For WHMCS - v1.6.5 Zimbra Email For WHMCS - v2.1.6

      Need Custom Software Development For Your Business?
      Get Your Free Quote Now! Specially for you we will adapt an application and its design to your own needs, create a new module or even a completely new system built from scratch!
    • By ModulesGarden
      To fuel the unabated thrill around the major Proxmox V7.0 release, we went the extra mile to arrange a huge pack of Proxmox-related software goodies (and more) for you. Ready to check them all out?


      1. Proxmox modules for WHMCS 3.2.0

      A collective 3.2.0 update of both Proxmox VPS For WHMCS and Proxmox Cloud For WHMCS has been officially launched to satisfy a popular demand for an impeccable Proxmox VE 7.0 compatibility!

      While tracing the progress freshly achieved in the modules' functionality, be sure to pay special attention to the all-new possibility of using Load Balancer to deploy servers within any of your freely configured group of nodes. The 3.2.0 version has far more to offer so remember to take a careful look at the complete changelogs!

      Get to know all the Proxmox family members better!



      2. cPanel Extended For WHMCS 3.13.0

      Curious to find out what exactly makes our recently updated cPanel Extended For WHMCS so exciting? The 3.13.0 version brings at least a couple of new features to spark your interest with, but one stands out in particular – the integration with WordPress Manager For WHMCS.

      Your clients will be empowered to manage WordPress instances without having to leave the management panel of their cPanel account available in your client area. On top of that, the cPanel-WordPress modules integration has been enhanced to cover a handful of such brand-new tools as "Staging", "Instance Image", "Plugins Packages", "SSL", or "Update".

      Fall in love with the new cPanel Extended For WHMCS 3.13.0!



      3. If you want to know what we were up to recently, check the list below for the latest updates:
      Client Area Popup For WHMCS - v1.3.1 Emoji Picker For WHMCS - v1.1.6 Hosting Renewals For WHMCS - v3.3.0 IBM Cloud Bare Metal Servers For WHMCS - v2.0.1 IP Manager For WHMCS - v2.5.10 Kayako For WHMCS - v1.1.2 Password Manager For WHMCS - v2.2.13 Product Cross-Selling For WHMCS - v1.1.6

      Need Custom Software Development For Your Business?
      Get Your Free Quote Now! Specially for you we will adapt an application and its design to your own needs, create a new module or even a completely new system built from scratch!
    • By ModulesGarden
      1. Summer Sale - Last call for 25% OFF!

      We'd have wanted our Summer Sale to live long and happily ever after, but - unfortunately - that cannot happen. That is why we leave it in your capable hands to squeeze as much as possible from the markdowns before June ends!

      A whopping 25% discount for whatever your hearts longs for: an annual module, open source or license upgrade - that is a a great deal, and no one can deny it. But the best part is - you can save even more!

      Master all the saving tricks behind our Summer Sale!



      2. WordPress Manager For WHMCS 1.6.0

      Whenever you visit the official page of WordPress Manager For WHMCS, you can be sure that some thrilling novelties are there, waiting for you. This time things are no different as we have just released the jaw-dropping 1.6.0 version that makes this piece of software twice as much noteworthy, and all because of:
      WHMCS V8.2 support that now includes full-scale integration with "Twenty-One" system theme The possibility to choose whether the automatically installed WordPress installations can be deleted by your clients or not The newly added "Default Theme" option which will let you pick the WordPress templates that shall be enabled after installation Shortcuts that allow single sign-on into WordPress admin panel from a couple of client area locations The permission for your clients to decide if the "Auto Upgrade" feature should be applicable to both "Major" and "Minor" versions of WordPress, or just the latter Useful notes that your clients can freely add during the process of instance backup If you seek more information about this or any of the remaining utilities, the tour begins at the changelog!

      Claim all the new powers of WordPress Manager For WHMCS 1.6.0!



      3. MetricsCube MRR Breakdown - A whole new dimension of income insight!

      Our friends at MetricsCube have brought a new king of income calculation - MRR Breakdown! It is a premium reporting section giving you a thorough understanding of your Monthly Recurring Revenue that comes in particularly handy if you have a subscription-based business.

      While you look into this quality-packed update, be sure not to forget to tap into the extra potential lying in the just introduced Annual Recurring Revenue and Paying Customer Lifetime Value reports.

      Enter the level of MRR insight you wouldn't think is possible!



      4. Study the list of other modules that also received some fine-tuning during the course of last week:
      Cancellation Center For WHMCS - v1.4.12 DigitalOcean Droplets For WHMCS - v1.6.5 Discount Center For WHMCS - v1.4.12 Freshdesk For WHMCS - v1.3.6 GoDaddy Domain Registrar For WHMCS - v3.3.9 G Suite For WHMCS - v1.3.6 QuickBooks Desktop For WHMCS - v1.4.1

      Need Custom Software Development For Your Business?
       
      Get Your Free Quote Now! Specially for you we will adapt an application and its design to your own needs, create a new module or even a completely new system built from scratch!
    • By fbarajas
      Hi!  I run a VERY small (only me!) webhosting business in Mexico (so I need everything in spanish, and I use "MXN" as my main currency).  You can see it on: https://www.nuestroweb.com/wp/
      For now, I'm selling "shared" hosting, "reseller" hosting and domains, but on the future I plan to sell VPSs, dedicated servers, landing page building, and maybe Wordpress sites.
      Since some years ago, I've been using Wordpress as my "main" page, and the WHMPress plugin to connect Wordpress with WHM.
      I know that it depends on each case but... what would you recommend: use WP+WHMCS, or use WHMCS directly as the "main" page, without wordpress?  Advantages or disadvantage of each option?
       
      Thanks!
       
    • By reloadmediahub
      Please help. I have a wordpress site where I would like to put in a form where people can enter a domain to be transferred but when they entered the keyword or the domain name, I want the keyword(data) to be put into a form(whmcs domain transfer page) on another page where I installed WHMCS.  I have attached images on how I want it to be done. Thank you in advance

  • Recently Browsing   0 members

    No registered users viewing this page.

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