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

Disable Email Option

Discussion in 'Plesk 9.x for Linux Issues, Fixes, How-To' started by Tubol, Aug 16, 2009.

  1. Tubol

    Tubol Guest

    0
     
    Hi,

    Can anyone help me to disable emial creation option in Clients Control Panel? We use Plesk purely for Domain and Web Hosting only. But the clients are curious so they do what they can do on the Panel. And the only way is to remove the option for Mail creation in Clients Control Panel.

    Thanks in advance.
     
  2. Nataliya Zagr

    Nataliya Zagr Regular Pleskian

    21
    87%
    Joined:
    Apr 14, 2009
    Messages:
    242
    Likes Received:
    0
  3. Tubol

    Tubol Guest

    0
     
    Hi Nataliya,

    Thanks for the reply, but i cant see any option where i can hide the "Mail" button from the "Main Menu" of the Client's Control Panel. The options that you said was only for hiding the buttons on the right panel.

    Please advice.

    Thanks again :D
     
  4. Tubol

    Tubol Guest

    0
     
    Hi, Nataliya,

    I follow your instruction but that option applies only for right-side panel. How about the Left-side panel? The mail button is still available on the left panel that make the client to access the Mail option.

    Please advice.

    Thank you.
     
  5. Tubol

    Tubol Guest

    0
     
    Hi, anyone please? Really need to disable this option. Cause this confuses the client.

    Thanks in advance.
     
  6. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    You can try following workaround:

    1. Copy NavigationContext.php from attach to /usr/local/psa/admin/plib (create backup original NavigationContext.php just in case)
    2. Execute (after that 'Mail' links will be hidden in the left menu of all users):
    mysql -uadmin -p`cat /etc/psa/.psa.shadow` -Dpsa -e "insert into misc (param, val) values ('hide_mail_link', 'true');"

    It will be implemented to the one of major Plesk update.
     

    Attached Files:

  7. Tubol

    Tubol Guest

    0
     
    You're great Igor! :D This solve the issue.

    Btw, how can i make it back in case we need it to use? Do i just copy the original file and execute the mysql script?

    Thanks a lot!
     
  8. Tubol

    Tubol Guest

    0
     
    Hi Igor,

    May i know when and where update will this be implimented?

    Thanks,
     
  9. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    Tubol,

    If you want return all back you can just replace this file with original version an delete added to misc table record.

    And unfortunately I have no any ETA when it will be implemented.
     
  10. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
Loading...