I need to remove links from the Control Panel

jschoaf

Verified User
Joined
Jan 5, 2005
Messages
5
I would like to change the userpanel to
remove the links for “DNS Management”, “Support Center”, “MX Records”, “Webmail: UebiMiau”, and “System Information”.

I know you can disable DNS through the package but what any clues on teh rest?

Is it even possable?

We use our own support center and only want to support 1 webmail.
 
You can do this by editing the skin. Search the forum there is info on this. The only problem with this is that you will need to make sure the skin works with every update.
 
The ones that you listed are hardcoded into DirectAdmin and can't be changed. I could be wrong though, its been awhile sinve I've looked at the skin files. Take a look for yourself in /usr/local/directadmin/data/skins/
 
please

i can not find those values in the enchanced skin at all, can someone tell me a file for just 1 of them... I fear they are also hardcoded and can not be changed
 
To get rid of UebiMail, for example:

In /usr/local/directadmin/data/skins/enhanced/user/show_domain.html there is a line:

Code:
<a href="|HTTP|://|HOSTNAME|/webmail" target="_blank">|LANG_WEBMAIL_UEBI|</a><br>

Try commenting it out or deleting it.
 
Just remeber if you edit the skin directly, it will be overwritten with DA updates.
 
Hello,

The safe/correct way would be to create your own skin from ours.
Code:
cd /usr/local/directadmin/data/skins
cp -R enhanced [b]yourskin[/b]
cd [b]yourskin[/b]
Then make the changes as mentioned above (edit whatever you want in the new files).

As for where the links are.. they're spread out over quite a few files. The big "webmail" button is stored in 2 files (different variations):

header_bar.html
header_wide.html

The plain link for webmail is in user/show_domain.html. That file also contains links to dns management..

Basically, you'll need to figure out out skins system to be able find the links. http://www.directadmin.com/skins.html

John
 
Glad to see DA being more active lately in the forum.

John,
How about a way to change some of these values in admin/reseller guis. Specifically

Support Center Link
Webmail Button
Webmail Links
Help Button

While it is easy enough to edit the skins. It can quickly become a daunting task to maintain the skins with updates for these very basic items. Now if someone had say 10 -40 DA servers, this becomes a real headache.
 
Last edited:
Hello,

1) support center link:
DA needs to be able to send system messages still. There is a place to add your own link to your ticket system in the Reseller Panel, Ticket System link.

2) webmail/links:
If you don't want to use webmail, then you can also change things down the line instead of in the skin. Ie: change /squirrelmail to redirect somewhere else via the apache configs or by changing the data in /var/www/html/webmail and squirrelmail. Thus you only need to change it in one place, once, without worry of the updates overwriting skins. Alternatively, I could add a token and a setting in the directadmin.conf.

3) Help Button: http://www.directadmin.com/features.php?id=404
Just set the links in the directadmin.conf

John
 
"1) support center link:
DA needs to be able to send system messages still. There is a place to add your own link to your ticket system in the Reseller Panel, Ticket System link."

Yes I see it but it does not work for me. It still says support center and goes to your ticket system.

2) webmail/links:
If you don't want to use webmail, then you can also change things down the line instead of in the skin. Ie: change /squirrelmail to redirect somewhere else via the apache configs or by changing the data in /var/www/html/webmail and squirrelmail. Thus you only need to change it in one place, once, without worry of the updates overwriting skins. Alternatively, I could add a token and a setting in the directadmin.conf.

I understand but I may only want to display one webmail link, in which case I would have to edit the skin. A token for webmail links sounds good, although I am not certain how that will work with language packs.


"3) Help Button: http://www.directadmin.com/features.php?id=404
Just set the links in the directadmin.conf"

Can the same be done for the Webmail button?
 
1. The DirectAdmin messaging system always remains intact so that users can see old messages and the admin can recieve vital information. However, when the ticket system is disabled and an alternative text is substituted, it is displayed only when a user attempts to create a new tickt, at which time what you chose to substitue will be displayed.

3. Not that I know of.
 
I know it is rather tricky, but the ticket system leaves muc to be desired, especially with multiple setups. Unfortunately it is so tied into the system, I don't know what else can be done other then what is their. Perhpas there should be a token for resellers to be able to display their own support center link while theirs remains intact(w/admin).
 
Back
Top