Bandwise Posted October 26, 2010 Share Posted October 26, 2010 Hi, I am new to WHMCS and I need to write a script that will install our CMS system automatically somewhere near the end of the sign-up process. Our CMS is a typical PHP/MySQL application. We need the following to happen with each new user: 1) Copy files from a CMS master directory into the user's public_html directory. 2) "chown -R username:username public_html" the directory for proper permissions 3) Create a database (cpaneluser_db) 4) Create a database user and grant database access to that user (cpaneluser_user) 5) Populate database from a default .sql file that we supply 6) Insert the cPanel username and password into the CMS database user table so that the logins will be the same for cPanel and CMS. 7) Insert domain name into CMS database settings table Write a config file (text file) with database name, database username, database password, hostname (http://www.domain.com) I really don't know where to start. I did find this on the WHMCS website: "Automatic Script Installer - Install Joomla, OSC, WordPress, etc, automatically on purchase". I would think that our CMS is not much different to install than other PHP apps. Would it be possible for me to save time by modifying an existing script? Any help pointing me in the right direction would be greatly appreciated. Is there a hook in the WHMCS signup procedures whereby we can execute a Shell, Perl or PHP script? Thanks again for any help or tips you have to offer. WHMCS looks really nice and I look forward to using it. 0 Quote Link to comment Share on other sites More sharing options...
altomarketing Posted October 26, 2010 Share Posted October 26, 2010 you should use this API i think http://wiki.whmcs.com/API:Add_Client 0 Quote Link to comment Share on other sites More sharing options...
Bandwise Posted October 27, 2010 Author Share Posted October 27, 2010 you should use this API i think http://wiki.whmcs.com/API:Add_Client I was thinking about my CMS install script hooking into WHMCS rather than the other way around. Are you suggesting that I write all the sign-up and CMS install code myself, then use the Add_Client call to insert the new user into WHMCS? That seems like more work in the long run. Anyone else have any ideas or tips? I put in a request for a quotation from WHMCS from their webpage under Custom Coding/Priority Development/Modifications but I get no response. Can anyone recommend any other WHMCS Custom Development companies? Thanks! 0 Quote Link to comment Share on other sites More sharing options...
bear Posted October 28, 2010 Share Posted October 28, 2010 Can anyone recommend any other WHMCS Custom Development companies? Not your own, please. 0 Quote Link to comment Share on other sites More sharing options...
TNLHosting Posted November 5, 2010 Share Posted November 5, 2010 Not your own, please. Bear or any moderator who cares to respond; It’s kind of confusing in regards to Bear’s post about rules in the forum. If reading the thread correctly it was mentioned that attempts to contact the appropriate WHMCS channel was not answered. This person was requesting help from anyone companies or individuals alike; after failing to get said help thru WHMCS even if there is a fee. His or her problem needs a resolution no mater if the answer is provided by WHMCS, this forum, another forum, individual, or company. What rule was broken as Bear stated? It goes without saying that he should not post on this forum soliciting companies other then WHMCS to custom develop; however, the attempt was made unsuccessfully to go thru WHMCS. At that point the request for other companies or individuals alike should be considered valid. Just a note; take it or leave it… 0 Quote Link to comment Share on other sites More sharing options...
bear Posted November 6, 2010 Share Posted November 6, 2010 It’s kind of confusing in regards to Bear’s post about rules in the forum. As there is no advertising here, there are also no self promoting offers allowed. The OP is looking for recommendations, which is fine, as long as you're not recommending yourself, your business or that of partners and so on. What rule was broken as Bear stated? None, yet. It was a gentle reminder not to self promote here. 0 Quote Link to comment Share on other sites More sharing options...
Bandwise Posted November 15, 2010 Author Share Posted November 15, 2010 Here is a followup. I'm not trying to self-promote here, we aren't that type of development company. I just wanted to provide some feedback and response to my original question incase someone else has the same need and we did. We stumbled across Wildfire DSI and gave it a try. It perfectly solved our installation script needs. As for WHMCS, I think their product, service, and support is great and I'm not criticizing them for response time or anything for that matter. I'm really liking WHMCS and highly recommend it as well. WHMCS did eventually reply to my sales inquiry but I had already started the process with Wildfire DSI which worked out fine. Thank you everyone who responded. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.