View Single Post
  #1  
Old 19th October 2008, 01:23
kextra1 kextra1 is offline
Senior Member
 
Join Date: Apr 2008
Posts: 116
Thanks: 6
Thanked 6 Times in 4 Posts
Default autosignup remoting framework howto detailed

I posted this in another thread earlier, however I figured it'd be better to start a new one for all those searching ISPConfig autosignup on search engines. Sometimes it's those small details that are hard to find. Thanks to all the developers of ISPConfig, the remoting framework,and the autosignup script pplz out there.

Hello all,

I've been playing with the remoting framework for some time now.

First off, I just upgraded ISPConfig from 2.2.26 to the new 2.2.27 which was just recently released this October.

If you have upgraded your ISPConfig software you MUST remove and reinstall the remoting framework (i'm using version 4.2). This can be done by removing the directory via:

rm -Rf /home/admispconfig/ispconfig/web/tools/tools/remote

Then download the remotingframework.pkg and install it through your System Update option within ISPConfig.

Now go ahead and grab the autosignup script from:

http://www.5s7.com/scripts.php


Now we have just a few modifications to do in order to make the script work with the latest version of ISPConfig Stable.

Open up autosignup.php with your favorite editor. Add your server URL and your soap server URL. Also add your remoting user's username and password.

Now open up your editors Find and Replace option....there are many editors in linux that have this functionality...if you're in windows I would suggest something like adobe dreamweaver.

Find all of the soapclient fields and replace with soap_client.

Now go back up to the top of your autosignup.php and open up your Find and Replace again...this type search for 192.168.0.2 and replace all of these fields with the internal IP address of your ISPConfig server.

Next open up soap.lib.php

Search or rather Find all of the: soapclient entries within soap.lib.php and replace them with soap_client just as you did with the autosignup.php

That's it you're done! Follow those steps and you should be fine...you'll have some fine tuning to do to customize your autosignup script however i just tested it today and it worked perfect.

The Remoting Framework I've found changes at times and these changes can be missed due to the lack of details in documentation...or rather lack of documentation in general hehe...however i have to tip my hat and thank all of the developers who put in the hardwork and time to make the remoting framework as bad ass as it is today! I love it!

I'm a SOAP tard, however one change that may confuse alot of newbies is the soap server at:

https://www.yourispconfigserver.com:81/remote/index.php

In older versions of ISPConfig the above URL would present you with a login screen...which i've found is no longer the case. It simply tells you your soap server is working.

I'd suggest downloading the Remoting Framework test scripts....check the soapclient to soap_client variables in the php files, enter your info, and if that works...well then all of the steps above are all you need to automate user signup!

Hope this helps someone out there!

Take care guys! ...and thanks and pr0pz to all the ISPConfig developers! Indeed my favorite Control Panel of all time!

kextra1/khayjake
Reply With Quote
Sponsored Links