Welcome, Guest
Please Login or Register.
Lost Password?
Re:virtualmin API question (1 viewing)
Post Reply

TOPIC: Re:virtualmin API question

#10054
DanLong (User)
Posts: 429
graphgraph
virtualmin API question 2008/02/08 04:25  
Is it possible to send minimal information in the remote create account API, such as using a template name? Right now the auto creation string that's being used for me contains most of which is already layed out in the template. Currently I have to go back in and install scripts, etc that aren't passed.

Is it possible to just pass the root admin user & pass, new account user & pass and the template name?

thanks,
Dan
  The administrator has disabled public write access.
#10511
swat2 (User)
Posts: 19
graphgraph
Re:virtualmin API question 2008/02/23 13:53  
I need the answer on this too for AWBS. If I try to do this at the moment I get very strange and undesirable results.
  The administrator has disabled public write access.
#10513
DanLong (User)
Posts: 429
graphgraph
Re:virtualmin API question 2008/02/23 15:27  
I'd replied to this in your other post. AWBS needs to modify their Virtualmin engine to run create asking for the template.
  The administrator has disabled public write access.
#10518
swat2 (User)
Posts: 19
graphgraph
Re:virtualmin API question 2008/02/23 16:31  
On 23/Feb/2008 15:56 Tim Brookman wrote ..
> Hi Jamie,
>
> Is it possible to send minimal information in the remote create
> account API, such as using a template name? Right now the auto
> creation string that's being used for me contains most of which is
> already layed out in the template. Currently I have to go back in and
> install scripts, etc that aren't passed.
>
> Is it possible to just pass the root admin user & pass, new account
> user & pass and the template name?
>
> If I try to do this at the moment I get very strange and undesirable
> results.

Hi Tim,
You can specify a template to create-domain.pl with the --template parameter, followed by either a template name or ID number. This will then drive things like the Apache config, DNS records and default scripts.

Also, you should use the --limits-from-template and --features-from-template parameters to avoid having the specify initial features and limits. With these, the only other required parameters and --domain and --pass , although --desc should probably be given to set a description for the domain.

Please let me know if you have any other questions about or problems with the API..

- Jamie
  The administrator has disabled public write access.
#10519
DanLong (User)
Posts: 429
graphgraph
Re:virtualmin API question 2008/02/24 05:24  
swat2 wrote:
I need the answer on this too for AWBS. If I try to do this at the moment I get very strange and undesirable results.

You might want to go to the AWBS forum into the HOSTS area and put in a posting in the Virtualmin area. Let them know there's someoe else besides me that uses this billing/panel combo ;-)
  The administrator has disabled public write access.
#10556
DanLong (User)
Posts: 429
graphgraph
Re:virtualmin API question 2008/02/25 06:16  
I've received a copy of the cpengine from AWBS for this change to be used when VMPro 3.53 gets released. I'll forward it on after I can test it.

Dan
  The administrator has disabled public write access.
#10684
DanLong (User)
Posts: 429
graphgraph
Re:virtualmin API question 2008/02/29 07:34  
THe new AWBS engine works great with the VM 3.53 update.

this is the cpengine attached:

it goes in the /includes/virtualmin folder
  The administrator has disabled public write access.
#10685
DanLong (User)
Posts: 429
graphgraph
Re:virtualmin API question 2008/02/29 07:37  
oops, forgot to zip the file:
File Attachment:
File name: cvmengine.zip
File size:33331 bytes
  The administrator has disabled public write access.
#10750
Joe (Admin)
Posts: 3642
graph
Re:virtualmin API question 2008/03/03 14:25  
Awesome news! It seems that AWBS is the only billing app that actually pays attention to the Virtualmin market (if a bit slowly, at times). Now, if only we could get a few more users like you that keep after the other vendors to get them on the ball with Virtualmin support. ;-)
  The administrator has disabled public write access.
#11808
alessice (User)
Posts: 26
graphgraph
Re:virtualmin API question 2008/04/17 06:04  
I'm running the latest version of AWBS with Virtualmin PRO in a semi-test enviroment, and works fine for automatic creation of Virtual-Server and Reseller accounts.

Dan, can I update my AWBS 2.7.1 with your file?
Thanks
  The administrator has disabled public write access.
Post Reply
get the latest posts directly to your desktop

Talk and Get Help

Support
Forums
Bugs and Issues

Get Virtualmin

OS Support
Buy Online
Download
Copyright 2005-2007 Virtualmin, Inc. All rights reserved.