Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 5th January 2009, 10:58
thomas.jensen thomas.jensen is offline
Junior Member
 
Join Date: Aug 2008
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default Add new user - CP - remove field username

Hi ALL,

Is there a way to remove one of the fields email or username from the Control panel "add user" under the ISP User, so that the user only has to enter something in one of the fields, and make that entry be copied from email to username.

Witch files need to be modified and where?
Reply With Quote
Sponsored Links
  #2  
Old 5th January 2009, 15:47
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,704
Thanks: 819
Thanked 5,321 Times in 4,174 Posts
Default

It can not be removed without coding a lot and it is not recommended to remove it as this will limit the functionality of the controlpanel to e.g. have only one user account info@ for the whole server instead of one account per website.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 5th January 2009, 20:44
thomas.jensen thomas.jensen is offline
Junior Member
 
Join Date: Aug 2008
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

No. Maybe I did'nt make it clear what I ment.


Under the domain / site - User & Email - you click "New"


Where you have to enter both username and email. But we would like to make only one of the fields visible an copy the data to the other field

So if I entered Thomas in Emailadress, the same would be copied to Username
Reply With Quote
  #4  
Old 6th January 2009, 09:33
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,704
Thanks: 819
Thanked 5,321 Times in 4,174 Posts
Default

Take a look at the file /home/admispconfig/ispconfig/lib/plugins/isp_username.plugin.php
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 6th January 2009, 10:09
thomas.jensen thomas.jensen is offline
Junior Member
 
Join Date: Aug 2008
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks a lot Till. Worked like a charm.

New task.

I would like to enter the text "-1 = unlimited" besides every place where the users / admins can change web space / web_speicher

Where would I find that ?
Reply With Quote
  #6  
Old 6th January 2009, 11:31
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,704
Thanks: 819
Thanked 5,321 Times in 4,174 Posts
Default

This is an integral part of the framwork iteself as the forms are rendered automatically. You will have to change the whole framework for that. the interface framework is in /home/admispconfig/ispconfig/lib/classes/* and in /home/admispconfig/ispconfig/web/multidoc/*
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 6th January 2009, 12:00
thomas.jensen thomas.jensen is offline
Junior Member
 
Join Date: Aug 2008
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

I did the nextbest thing.

I added a more detailed help to the following files:

/home/admispconfig/ispconfig/lib/help/
en_1014.hlp

--- ORIGINAL ---
$hlp["user_speicher"] = "Please enter the storage space for the user.";

--- changed ---
$hlp["user_speicher"] = "Please enter the storage space for the user.<BR>eg. 20 = 20MB <BR>-1 = unlimited";

Thanks again till.


New task. Is there a way to make only the admin enable og disable administrators for the individual domains/websites...

Or is this also a part of the framework ?
Reply With Quote
Reply

Bookmarks

Tags
controlpanel, email, remove, user, username

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Statistic not working mzo Installation/Configuration 49 20th April 2011 12:19
freebsd 7, samba 3, domain controller alexdimarco Suggest HOWTO 6 5th November 2010 16:54
Advice on how to setup Lintrack As A LAN Gateway And An OpenVPN Bridge eddiequek HOWTO-Related Questions 0 12th July 2007 10:38
Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota, SpamAs pontifex HOWTO-Related Questions 2 26th October 2005 17:54
How can I add same user name but different domain lexcomputer Installation/Configuration 3 6th October 2005 14:18


All times are GMT +2. The time now is 22:46.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.