1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Remove extra buttons in Plesk 7.x Reloaded in several seconds

Discussion in 'Plesk for Linux - 8.x and Older' started by hardweb, Jan 12, 2005.

  1. hardweb

    hardweb Guest

    Although I am no longer a very active poster, I do monitor these forums and listen to your wishes.

    A lot of people requested that the grayed buttons to be removed from Plesk because they create a lot of problems for support. The SWSoft decision to don’t remove them it’s correct, because technical solutions exist.

    Some solutions were suggested that involved the editing of the css files or using transparent images.
    Well, there is no need to do this; the extra buttons can be removed in several seconds without any trace or harm.

    One of our engineers wrote a script that can remove the following buttons from Plesk 7.x Reloaded:

    - Spamassassin buttons
    - DrWeb antivirus buttons
    - Tomcat buttons
    - Application Vault buttons
    - SSH Terminal buttons
    - Site Preview buttons
    - Crontab buttons
    - Mambo CMS buttons
    - Plesk Backup buttons

    You can download it from:

    And execute it with:

    sh hide_buttons.sh

    The script will prompt you for what you wish to remove. The script will remove the button no matter if the feature is installed or not.

    If you want later to restore Plesk to the previous state, when all buttons were available in the interface, just execute:

    sh hide_buttons.sh --restore

    WARNING: The script is compatible only with Plesk 7.1 Reloaded and Plesk 7.5 Reloaded, all versions.

    You can suggest other buttons that you want removed, we can implement them in next versions.
  2. ncc@sgcom.com.s

    ncc@sgcom.com.s Basic Pleskian

    Mar 25, 2004
    Likes Received:
    Well done. I think this is really helpful as the unnecessary things that appear often give too much confusion. Removing it will thus make things less congested in the control panel and provide just the right things for the customer.
  3. arwed

    arwed Guest

    But it would be even nicer, if all buttons could be turned on/off for each customer and domain. :D
  4. hardweb

    hardweb Guest

    This is technically not possible.
  5. arwed

    arwed Guest

    What a statement ... sorry, but you must be joking. What are the barriers?
  6. Redah

    Redah Guest

    Although I love and have some of your products, this script doesn't really work well, from what I've seen (correct me if I'm wrong).

    This file edits template files. And Plesk will happily overwrite those during upgrades and/or updates. If you use the technique as mentioned here:


    then the changes are in the Skin files. And as long as your skin file is called different from any of the default Plesk ones, this will not be overwritten during upgrades and continue to work.

    Let me know if I'm wrong, though :)
  7. Redah

    Redah Guest

    Oh and also, if you use the skin-method mentioned above, you really can remove ANY icon you want. No barriers, no nothing :)
  8. hardweb

    hardweb Guest

    ALL admin server files are overwritten on major upgrades, you have to re-execute the script after an upgrade. But this is quite fast and easier than editing all the skins as it doesn't depend on skins.
  9. Redah

    Redah Guest

    How about a script that simply goes through the Skin files and replaces whatever people want to have removed? Then this could be made to work for all the Plesk skins but also custom skins people have made. It would then also be able to remove -any- icon in the controlpanel.

    I personally think this is a better approach, but I could be wrong.
  10. NVarra

    NVarra Guest

    Thanks for taking the time to wrtie this script. I like the approach you guys took with editing the template files and will be using this in conjunction with editing the style sheets. :)

    If I may make a suggestion... It may be handy to have the ability for some to remove the following as well:

    FP Webadmin
    FP-SSL Webadmin
    Mailing Lists
    Anonymous FTP
  11. Cranky

    Cranky Guest

    The only technically possible way to do this would be for every client to have their own unique skin.
  12. arwed

    arwed Guest

    So it's just another dead end due to the historicaly grown architecture of Plesk? :mad:
  13. zboyblue

    zboyblue Guest

    I suppose this is closely related enough to post here ... What is the easiest way to either remove or change the hyperlink for the "Extras" and "Register" buttons in the domain owner screen?

    If I am going to offer my customers domain registration through the Plesk interface I would rather they buy the registration from me so I can make more money from it. As far as extras I am not even sure how that is even useful so I would either want to remove it or link it to somewhere on my site where hosting customers could add "extras" like more space or something like that.

    Let me know your thoughts.


  14. zboyblue

    zboyblue Guest

    Well I discovered that in the Admin under "add services" you can turn off those buttons so I answered at least half of my own question. I just wonder now what would be required to change the link associated with the buttons if I wanted.

  15. hardweb

    hardweb Guest

    In the new version you can remove more (if you want, of course):

    Spamassassin buttons
    DrWeb antivirus buttons
    Tomcat buttons
    Application Vault buttons
    SSH Terminal buttons
    Site Preview buttons
    Crontab buttons
    Mambo CMS buttons
    Plesk Backup buttons
    Certificates buttons
    Subdomains buttons
    DNS buttons
    FP Webadmin buttons
    FP-SSL Webadmin buttons
    Anonymous FTP buttons

    Let's don't wipe it all :)
  16. zboyblue

    zboyblue Guest

    Which "new version" are you talking about? Your hide_buttons.sh script? If so is it already on your website? I downloaded from there maybe not even a week ago.

    If you are saying the new version of Plesk allows this, how?

  17. Cranky

    Cranky Guest

    He'll mean the new version of their shell script.

    Bogdan - add a few more disable options and maybe we can go back to plesk1.3.1 style 6/7 buttons with a pretty skin. :p
  18. NVarra

    NVarra Guest

    Oh the fun I could have on April 1st. :D
  19. hardweb

    hardweb Guest

    I don't think that many people on this forum know Plesk 1.3, but with a little effort we can bring Plesk 7.5 to that stage, we have to delete about 40-50 buttons :)
  20. ZeroSixty

    ZeroSixty Guest

    Thanks, I used this to remove several buttons including Dr.Web :) Is it possible to remove the Dr.Web icons from the mail list page? (under the A / V column) I'm guessing not as it would need the entire column removing.