Jump to content

SiteJet automatically adding itself to the Client Area without any admin interaction


Recommended Posts

On 5/5/2024 at 7:15 AM, Cornelius373 said:

I have now removed Sitejet with the following CSS elements: 

#sitejetPromoPanel{ display: none !important; }
button[data-identifier=“sitejet”],
li[data-identifier=“sitejet”]{ display:none !important; }
button[data-identifier=“sitejet”] + .btn-group > .btn[data-toggle=“dropdown”]{
  border-top-left-radius: 3.2px;
  border-bottom-left-radius: 3.2px;
}

button[data-identifier=“sitejet”] + .btn-group > .btn[data-toggle=“dropdown”],
.btn-group:has(> button[data-identifier=“sitejet”]) > .btn[data-toggle=“dropdown”] {
  display: none !important;
}

additionally with this hook: 

<?php

use WHMCS\View\Menu\Item as MenuItem;

add_hook('ClientAreaPage', 1, function($vars) {
    $primarySidebar = Menu::primarySidebar();
    if ($primarySidebar) {
        $serviceActions = $primarySidebar->getChild('Service Details Actions');
        if ($serviceActions) {
            $serviceActions->removeChild('sitejet');
        }
    }
});

And dear WHMCS team, please add an option to deactivate this change for future changes. 

Thank you for providing instructions on how to get rid of the SiteJet advertising. For some reason, even if I disable SiteJet through Feature Manager in cPanel, it finds a way to re-enable itself or show the banners even though it is disabled on the server.I really hope that cPanel & WHMCS will both have a better option to turn this off. Unfortunately, there is no way to uninstall it off a cPanel server, just disable it.
I would really like to see the ability to remove the banners in future updates.

Link to comment
Share on other sites

I've disabled SiteJet using the "disabled" list at WHM, Feature Manager, the only "official" way to do this.
Will wait for next cron to see if WHMcs detects this change, and disables this problematic and abusive spam of SiteJet.

Probably there are a few clients that could complain, will consider creating a specific package for them or just offer them a WordPress template, and keep SiteJet disabled.

Link to comment
Share on other sites

  • WHMCS Support Manager

For our part, the aim is to increase the coordination across the Webpros ecosystem; so you as admins only need to enable the SiteJet feature in one place - in cPanel or Plesk - and everything automatically falls into place across your Webpros products to get the most from the feature.

I don't have insight regarding the default status of the feature in cPanel and Plesk, but I have confirmed there was a Feature Showcase shown to admins in WHM to inform of the new SiteJet feature.

 

@Juanzo,

The status is checked hourly. To have the change to effect immediately, fresh the Server Remote Metadata via the refresh button on Configuration > System Settings > Servers, or run the --ServerRemoteMetadata cron task: https://docs.whmcs.com/system/automation/system-cron/#options

 

@Web Host Pro,

Provisioning the SiteJet Product Addon will activate the SiteJet feature on the individual cPanel account only.  Meanwhile having it switched off in the Feature Manager will mean Sitejet is not offered for other accounts: https://docs.whmcs.com/products/configuration-options/sitejet-builder/#create-a-sitejet-builder-product-addon

 

Link to comment
Share on other sites

Hi,

I have nothing against the actual SiteJet being introduced to our clients but now we're being hit with a hidden commerce feature which I can't disable and we get clients asking about it, and when we're not providing it, they arent really loving the response and why should they, we're offering premium yada yada product and then we're looking like amateurs with trials

bleh.png

What annoys us is that it we checked what the license cost is, its per client, so if we have 800 clients on the server it has to be some sort of paid addon to the client, When we check Manage2 cPanel its a license alright $8 to $37 depending on product in the shop (insane pricing btw) but also its per IP so what do they want us to do, move clients to dedicated IP to license them manually, the issue we have now is few clients are already using SiteJet for all other featuers but the commerce features, we need an option to remove this from the SiteJet, like "Disable commerce features" so that its not visible to clients, so we stop getting asked about this because we're not going to start moving clients to dedicated IP's to provide this feature and licensing our 1 IP wouldn't fix this because its PER client according to cPanel customer support.

Link to comment
Share on other sites

15 minutes ago, gei said:

I think this is what all of us expected, and why we try to avoid *any* webpros products. Ultimately they are just going to try and find a way to use it to extort more money from you.

I wrote a small piece here https://support.cpanel.net/hc/en-us/community/posts/26580931552279-SiteJet-Ecommerce-License-Absurd basically after conversing with cPanel, even they arent 100% how this was all suppose to go down so what I did was just write a notice in the tool using the template and exclude, rolled it out on all our servers and told cPanel

Quote

Dear Donna,

I just don't see how this can work, it's way to pricy, per shop $8.90 no one is going to purchase a specific license for that and possible dedicated IP, when you can setup Wordpress a free theme and install Woocoomerce. Since we got 8 nodes now and about few hundred users are already SITEJET_API_TOKEN line added to their /var/cpanel/users/ data we see no other course but to inject into the index.html.tt file in the /frontend/

01J8HZXRQMYPTEXCR7RE95S090.png

Add a warning above to indicate we're not allowing this, and guide potential clients to utilize the free Wordpress via Softaculous and Woocoommerce for eCommerce features.

This is just not a viable solution, it's insanely greedy for one, and another it looks really bad for the hosting company to offer a builder solution that doesn't offer just a flat rate for the entire server, something reasonable like SitePad which is basically few dollars per IP or Premium version of Softaculous, again few dollars per license. 

To ask one shop to pay $9 to be able to drop a shop items and not even over 100 items, its just incredibly greedy step for cPanel. We're going to just add this to the template and tell cpanelsync.exclude to ignore this file. 

Since we can't just STOP offering the feature all together as too many clients per node are already creating their websites about kittens and rainbows.

I think SiteJet commerce team did not think this one through, not even a little bit.

This is enough for us, we've seen that we're suppose to charge clients per site, that is absurd, this wont be entertained. So since we already have 200-300 clients already messing with SiteJet we can't turn it off, but we're adding this notification so clients stop asking us as we're not going to even offer this as a possible paid addon, we're advising our clients to simply use "Softaculous" and install Wordpress and Woocoomerce to use ecommerce features.

Link to comment
Share on other sites

Seriously WHMCS, fix this issue.  There is no reason "edit my site with SiteJet" should be shown to a customer when they are not using "SiteJet", or when no options to use SiteJet have been specified in WHMCS.  It's stupid and an intrusion into our customer relationships, not to mention a problem that someone could mistakenly overlay their non-sitejet site with this option displayed.

Customers using WordPress are NOT going to switch to SiteJet because this is in their face!!!!  All it does is cause confusion.  F'n Fix it!

 

DUMB, DUMB, DUMB, DUMB

Edited by nmdpa3
Link to comment
Share on other sites

  • 2 weeks later...

Here's the English translation:

Hello and good day to everyone. Does anyone know how to fix this error that appears? Do we need to change the PHP configuration? Because every time I click publish in Sitejet, when it's publishing, it shows this error. In the end, it does publish the website correctly, but it doesn't show that it published successfully and displays this error instead. This creates a poor user experience. Has anyone experienced this? How did you fix it?

Would you like me to help troubleshoot this issue or provide any additional information about website publishing errors?

sitejet.jpg

Link to comment
Share on other sites

  • 3 weeks later...

For anyone wanting to hide SiteJet from WHMCS here is the code I use, its a combination of a code earlier here provided by a user and addition to hide it inside the package

<?php

use WHMCS\View\Menu\Item as MenuItem;

// Hide in Client Area Sidebar
add_hook('ClientAreaPage', 1, function($vars) {
    $primarySidebar = Menu::primarySidebar();
    if ($primarySidebar) {
        $serviceActions = $primarySidebar->getChild('Service Details Actions');
        if ($serviceActions) {
            $serviceActions->removeChild('sitejet');
        }
    }
}); 

// Hide from Client area
add_hook('ClientAreaFooterOutput', 1, function($vars) {
    return <<<STYLE
    <style>
        #sitejetPromoPanel{ display: none !important; }
        button[data-identifier="sitejet"],
        li[data-identifier="sitejet"]{ display:none !important; }
        button[data-identifier="sitejet"] + .btn-group > .btn[data-toggle="dropdown"]{
        border-top-left-radius: 3.2px;
        border-bottom-left-radius: 3.2px;
        }
        button[data-identifier=“sitejet”] + .btn-group > .btn[data-toggle=“dropdown”],
        .btn-group:has(> button[data-identifier=“sitejet”]) > .btn[data-toggle=“dropdown”] {
        display: none !important;
        }
    </style>
    STYLE;
});

// Adjust the Client Area display for Sitejet panel
add_hook('ClientAreaFooterOutput', 1, function($vars) {
    return <<<SCRIPT
    <script>
    jQuery(document).ready(function($) {
        // Change the title text inside h3
        $('#cPanelPackagePanel h3.panel-title.card-title').text("Package/Domain");
        
        // Change col-sm-6 to col-md-3 for the image column
        $('#cPanelPackagePanel .col-sm-6').first().removeClass('col-sm-6').addClass('col-md-3');
        
        // Remove the image with class card-img-top
        $('#cPanelPackagePanel img.card-img-top').remove();
    });
    </script>
    SCRIPT;
});


This hook will do as stated earlier where the Promosplash on the frontpage of the SIX theme is showing the SiteJet, then the last code is inside the client area, it adjusts the "Package/Domain" which was always there and they changed to "SiteJet Panel" by adjusting that text back, then removing the half page, into a full 3 row page, and remove the image display so it looks like this

image.png.e6ec571625b4bd083e311f1475a48558.png

 

See, I pay for the license, I don't see why there isn't a toggle switch to turn off your promotional advertisement but since that is not possible this HOOK legitimately does that, thanks to whomever wrote the first part for the splash on the main client page, but this one also edits the in client product page removing the webpros advertisement and makes it look like it did before. You can always edit that code to remove the image and or replace with yours but this will be enough for me, it keeps it clean. (The image above, Ive redacted any sensitive information but obviously it says the domain name above the Manage Domain).

Thank you.

 

 

Link to comment
Share on other sites

You can further add this

// Adjust Admin Area to remove "Log in to Sitejet Builder" button add_hook('AdminAreaFooterOutput', 10000, function($vars) { return <<<SCRIPT <script> jQuery(document).ready(function($) { // Remove the "Log in to Sitejet Builder" button by targeting its onclick attribute $('button.btn-primary').filter(function() { return $(this).attr('onclick') && $(this).attr('onclick').includes("SitejetSingleSignOn"); }).remove(); }); </script> SCRIPT; });

// Adjust Admin Area to remove "Log in to Sitejet Builder" button
add_hook('AdminAreaFooterOutput', 10000, function($vars) {
    return <<<SCRIPT
    <script>
    jQuery(document).ready(function($) {
        // Remove the "Log in to Sitejet Builder" button by targeting its onclick attribute
        $('button.btn-primary').filter(function() {
            return $(this).attr('onclick') && $(this).attr('onclick').includes("SitejetSingleSignOn");
        }).remove();
    });
    </script>
    SCRIPT;
});

To remove the button that is annoyingly close to "Log in to cPanel" so basically remove this button

image.png.0bf68ea57347957892fec80b49b88000.png

Link to comment
Share on other sites

  • 2 weeks later...

I'm greatly "amused" by recent events:

  • WHMCS adds feature nobody wants and brags about how great it is
  • Their customers rightly complain about their terrible implementation of this new feature
  • Their customers provide the patch to fix their wrongdoing
  • WHMCS increases their prices dramatically, presumably to cover the cost of developing  features none of their users want, when in fact they should be reducing pricing because their customers had to write the software that fixes their code.

We've never had more incentive to change billing companies than this sequence of events.

Link to comment
Share on other sites

23 minutes ago, websavers said:

I'm greatly "amused" by recent events:

  • WHMCS adds feature nobody wants and brags about how great it is
  • Their customers rightly complain about their terrible implementation of this new feature
  • Their customers provide the patch to fix their wrongdoing
  • WHMCS increases their prices dramatically, presumably to cover the cost of developing  features none of their users want, when in fact they should be reducing pricing because their customers had to write the software that fixes their code.

We've never had more incentive to change billing companies than this sequence of events.

I think Webpros has given up on improving the products they own - they'll just keep increasing prices until everyone moves and the products eventually die off.

Link to comment
Share on other sites

SAAS for a billing system is a no-go for many, myself included. 
I hold no hope this trend of ever increasing cost along with "what's good for the profit of the owners" attitude will ever change. Never seen anything VC related that had. 
A shame, but a fact of recent times. 

Link to comment
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.

  • 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