Under My Server you can give a specific pattern to specify the hostname on behalf of the user, my question he how to Disallow the user to enter a hsotname either in WHMCS or Possibly SCP ??…
At the moment it is not possible to disallow a user to enter a hostname inside SolidCP.
We can look at adding this to the hosting plan if its something people are interested in?
So how to get SCP to auto generate the hostname on its own !?!…
At this moment you can disallow to user change autogenerated hostname only if by hardcode hide in the VdcCreateServer.ascx the checkbox which gives a user to change the hostname.
Am not sure I quite got that, do you mean this line is hardcoded and needs special software to view it ?..
I opened vdccreateserver.ascx in notepad++ but i was only able to find this:
<div runat=”server” ID=”EmptyExternalAddressesMessage” style=”padding: 5px;” visible=”false”>
<asp:Localize ID=”locNotEnoughExternalAddresses” runat=”server” Text=”Not enough…”
The: Visible=”false” Line doesnt refer to the hostname !…
I think you are refering to this line…
<asp:CheckBox ID=”chkAutoHostName” runat=”server” Checked=”true”
AutoPostBack=true Text=”Hostname will be generated automatically” meta:resourcekey=”chkAutoHostName” />
But unfortunately when i try to add Visible=”false” it will mess up the whole code and an error will display, so i went ahead an removed: AutoPostBack=true
And changed the test a bit, the check box is visible but clicking it wont change nothing, i hope there is a better solution otherwise ill have to stick to my solution…
Thanks a lot !… Not exactly a user friendly solution though, hope if someone can share a better solution to hide the check box and disable the user changing host name instead of just making this option nonfunctional !…
- Views184 times
- Answers8 answers