Jump to content

mrTodd

Newbie
  • Content count

    6
  • Joined

  • Last visited

Community Reputation

0 Neutral

About mrTodd

  • Rank
    Junior Member
  1. Please disregard, finally found an answer in another post. Apologies, didn't find it initially.
  2. Can you direct me on how to turn off invoice reminder emails when the customer has an active PayPal subscription? My customers are complaining getting email reminders when they are on a subscription. They don't want the extra emails, only need an email IF the subscription payment fails. Thanks!!! Todd
  3. Adding Links to Shortcut Area

    Wow...that is perfect! Thank you so much, I knew there had to be a way to get that domain name variable, just could not find it. I really appreciate you taking the time to help.
  4. Adding Links to Shortcut Area

    I'd like it to show up in the client area basically in the same spot/area and at same times as the login info for cPanel is visible. No, each customer has only one domain name, never more than the one.
  5. Did you happen to ever get this figured out? I'd like to do very similar thing. Thanks
  6. Can anyone direct me how to modify this code to add the customers domain name into a link? For example, ALL my customers have some sort of hosting plan. NOT all have domains with me. Additionally, ALL have a Wordpress website with me that we help maintain for them. I want to add a link into this shortcut area that will take them directly to their wp-admin page, so https://theirdomainname.com/wp-admin I found this Social Media code and it works perfectly for what I want, I just need it to only show up if they are logged in AND a way to get their domain name from whmcs. Is there a {$domain-name} variable or some such? How would I format that to achieve {$domain-name}/wp-admin ?? THANK YOU very much for any help or direction you can provide. Here is the code I found on whmcs to add the links in the shortcuts area: <?php use WHMCS\View\Menu\Item as MenuItem; // Add social media links to the end of all secondary sidebars. add_hook('ClientAreaSecondarySidebar', 1, function (MenuItem $secondarySidebar) { // Add a panel to the end of the secondary sidebar for social media links. // Declare it with the name "social-media" so we can easily retrieve it // later. $secondarySidebar->addChild('social-media', array( 'label' => 'Social Media', 'uri' => '#', 'icon' => 'fa-thumbs-up', )); // Retrieve the panel we just created. $socialMediaPanel = $secondarySidebar->getChild('social-media'); // Move the panel to the end of the sorting order so it's always displayed // as the last panel in the sidebar. $socialMediaPanel->moveToBack(); // Add a Facebook link to the panel. $socialMediaPanel->addChild('facebook-link', array( 'uri' => 'https://facebook.com/our-great-company', 'label' => 'Like us on Facebook!', 'order' => 1, 'icon' => 'fa-facebook', )); // Add a Twitter link to the panel after the Facebook link. $socialMediaPanel->addChild('twitter-link', array( 'uri' => 'https://twitter.com/ourgreatcompany', 'label' => 'Follow us on Twitter!', 'order' => 2, 'icon' => 'fa-twitter', )); // Add a Google+ link to the panel after the Twitter link. $socialMediaPanel->addChild('google-plus-link', array( 'uri' => 'https://plus.google.com/1234567890123456', 'label' => 'Add us to your circles!', 'order' => 3, 'icon' => 'fa-google-plus', )); });
  7. Welcome to WHMCS.Community mrTodd! 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.

×

Important Information

By using this site, you agree to our Terms of Use & Guidelines