View Full Version : Is it possible to change starting page?
aljosa
20th April 2007, 11:47
Is it possible to change starting page when Reseller logs in from ISP Manager to DNS Manager?
Thanks.
falko
21st April 2007, 13:32
No, that's not possible.
aljosa
23rd April 2007, 13:33
Falko this is possible.
I found a way to use it just for giving Resellers DNS management for their domains without other hosting options.
1. First backup /home/admispconfig/ispconfig/lib/classes/ispconfig_isp_reseller.lib.php
2. Change: $modules_str = "isp,dns,isp_file,tools,help"; to $modules_str = "dns";
3. When you create new Reseller in tab limits you have to check out everything except DNS Manager and give all zeros except for Master Zones (DNS): 1 and if you want Slave Zones (DNS): 1.
4. When Reseller logs in he 'll just have option for DNS Manager.
falko
24th April 2007, 19:32
Falko this is possible.
I know, but I thought it'd be too difficult to explain. :D
aljosa
25th April 2007, 09:15
No problem If you need help just ask. :D
till
25th April 2007, 11:06
Falko this is possible.
I found a way to use it just for giving Resellers DNS management for their domains without other hosting options.
1. First backup /home/admispconfig/ispconfig/lib/classes/ispconfig_isp_reseller.lib.php
2. Change: $modules_str = "isp,dns,isp_file,tools,help"; to $modules_str = "dns";
3. When you create new Reseller in tab limits you have to check out everything except DNS Manager and give all zeros except for Master Zones (DNS): 1 and if you want Slave Zones (DNS): 1.
4. When Reseller logs in he 'll just have option for DNS Manager.
What you did is to restrict the reseller so that he is only able to use the "DNS-Manager". The values are stored in the sys_user table, you can see that if you compare the modules of the different users. Thats a bit different from your original question as it not only chnages the starting page, it also disables several modules, if you only want to change the field modul to "dns" for this user in the sys_user table and leave the modules list untouched.
aljosa
25th April 2007, 11:23
Yes It saves me time for doing manual changes to mysql because my Resellers will only use it for DNS Management.
If we already talking Till. Where can I set so when adding new Resseler all Limits modules are unchecked except DNS Manager and limits Master Zones (DNS): is set to 1. All others to 0.
till
25th April 2007, 11:25
You can change the defaults of the coluns in the database.
aljosa
25th April 2007, 11:29
Please be a little more specific if it is not to much trouble for you. I am sure this will help alot of people.
till
25th April 2007, 11:38
Please be a little more specific if it is not to much trouble for you. I am sure this will help alot of people.
Sure :)
1) Open phpmyadmin, go to the ISPConfig database
2) Open the isp_isp_reseller table
3) Set the desired defaults
aljosa
25th April 2007, 11:48
Thank you very much for your answer. :)
But if I'm not mistaken this only sets per single already added Reseller?
I was thinking if it is possible for setting it as default when I as admin add new Reseller.
till
25th April 2007, 11:58
Thank you very much for your answer. :)
But if I'm not mistaken this only sets per single already added Reseller?
No. Thats why I said you shall edit the defaults for the columns.
http://dev.mysql.com/doc/refman/5.0/en/data-type-defaults.html
aljosa
25th April 2007, 12:47
Thank you, thank you. You are to kind. I have missed that one :D
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.