rlhenson Posted January 11, 2008 Share Posted January 11, 2008 I have several packages that are kind of like templates. Each package requires different files,pictures and directories to be preloaded. I can use the cPanel-skeleton feature but there is only one and I need multiple skeletons, one for each package, is this possible? 0 Quote Link to comment Share on other sites More sharing options...
brianoz Posted January 13, 2008 Share Posted January 13, 2008 Not as a skeleton, but if you write code in /scripts/postwwwacct you can install stuff conditionally based on package. Here's an example of how I did it. Make sure you chown and chmod any files you put in the account appropriately (and don't change the ownership or mode on public_html). The skeleton is only good for very simple default index pages - you can however make the default page a PHP page which makes things more interesting. You could probably also make the first visit do the necessary code installation. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS CEO Matt Posted January 13, 2008 WHMCS CEO Share Posted January 13, 2008 The only way to have multiple different skeleton directories for accounts that get created by WHMCS is to setup a seperate reseller account for each one. And then you would add each one as a server to WHMCS and set the product corresponding to that skeleton dir files to be setup on the corresponding server/reseller entry in WHMCS. Matt 0 Quote Link to comment Share on other sites More sharing options...
jozeph Posted July 3, 2013 Share Posted July 3, 2013 Example scripts is not available anymore. Can you publish it again please? Not as a skeleton, but if you write code in /scripts/postwwwacct you can install stuff conditionally based on package. Here's an example of how I did it. Make sure you chown and chmod any files you put in the account appropriately (and don't change the ownership or mode on public_html). The skeleton is only good for very simple default index pages - you can however make the default page a PHP page which makes things more interesting. You could probably also make the first visit do the necessary code installation. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Chris Posted July 3, 2013 Share Posted July 3, 2013 Hello, There's a blog post that references this here: http://blog.whmcs.com/insights.php?t=66227 0 Quote Link to comment Share on other sites More sharing options...
brianoz Posted July 3, 2013 Share Posted July 3, 2013 Example scripts is not available anymore. Can you publish it again please? Very old post. The scripts are now available at http://www.whmscripts.net. 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.