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.
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:
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:
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!
I will be posting an ISPConfig Autosignup.pkg as soon as possible, which will allow autosignup on port 80 or SSL.
Gotta love ISPConfig!
FYI. This article was originally written by khayjake.
I posted it before he joined the forums per request, months back.
We are working on a brand new Database driven ISPConfig Billing/Autosignup framework with Paypal, 2checkout, and Authorize.net integration.
After he's finished writing the billing software I'm going to try my best to turn it into an ISPConfig pkg file to ease the installation/configuration.
Let us know if this would benefit you.
Don't hesitate to contact me if you have any issues or requests...or if you'd like to help with the project.
Problem downloading from http://www.5s7.com/scripts.php anyone got the scripts ?
Can anyone provide me whit the scripts i need plz ? =)
Still problem whit this site http://www.5s7.com/scripts.php
Can anyone provide me whit the scripts plz ?
remote framework not working for me
I can try anything but it is not working, I did all as stated above, no joy,
see my posts in thread Remote Framework update... post1; post2 and post3 for what else I did.
Anyone able to help me please?
when I try to access https://myserver.mydomain.net:81/remote/index.php I get this:
It means that your SOAP server works - now it has to be called from a SOAP client. Check the remoting framework example scripts.
I asked before: Is there something (some html) I have to put in the script? Say tables or so (I would suppose that yes but it was not mentioned at all, therefore I did not want to broke anything inside :rolleyes:).
I tried both scripts one where is no html at all and second where is example from the other site, but I changed server and login info as per instructions.
Another question is: does the framework have to be on the same domain as the server?
Thank you for your reply and please help. I would really want to use it.
Now I have to set everything manually from back as my few clients (non paying - charities I support, friends etc.!) are not familiar with ISPConfig. If this will work I will have much less work.
At the end of course all this is useless if you don't know how to process retreived data or how data could be sent. You will need e. g. to create a form that call's the SOAP client script and passes input data to your server. If you don't know how this could be done then the framework is not for you.
Therefore I need just to find someone to write for me page with my tables and calls for soaplibrary and it should work.
I will post separate thread for that.
|All times are GMT +2. The time now is 10:17.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.