#1 (permalink)  
Old 06-20-2009, 04:58 PM
Registered User
 
Join Date: Jun 2009
Posts: 1
madwayne is on a distinguished road
setting of packages etc

Hi, I am new to hosting and didnt think it be such a jump in understanding.

The basis of what I want to do is:-

1. setup a normal hosting account (relatively easy and managed this)
2.setup a hosting account with a modified os commerce shop with pre installed products.


i.e a customer comes along and selects a hosting package with a preinstalled product range on my heavily customised shopping cart.

so say you have 3 different product groups.

we would have 3 datbase files 1.sql, 2.sql and 3.sql for arguments sake.
we also have images file/folder image1, image2, image3

this would be packages OSCpack1, OSCpack2, OSCpack3.

The rest of modified shop files would be the same.

I then just need to integrate the setup of these pacakages into account labs plus.

If I understand correctly I can automatical install files on all my users accounts by placing the files in the skelton directory, however I want to keep two types of hosting seperate along with the 3 types of pre installed osc packages.

Can anyone point me in the right direction on how I seperate these out using the skeleton directory system or some other alternative if that is not the best way to go?

Thanks
MadW

Ps been using control panel as an end user for several years, been using WHM about 10 days.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 06-22-2009, 08:26 AM
cPanel Partner NOC
cPanel Partner NOC Badge
 
Join Date: Jul 2005
Location: New Jersey, USA
Posts: 387
PlatinumServerM is on a distinguished road
The skeleton directory is to automatically copy stock files into the new account. If you have databases and scripts that need to be customized on the fly when you create the account, you will need to write a script to do this in the postwwwacct process. You can't just put them in the skeleton directory because all it will do it copy the files to the new account without configuring them.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 06-22-2009, 11:22 AM
Senior Member
 
Join Date: Jun 2005
Location: Area 51
Posts: 1,648
Spiral is on a distinguished road
Exclamation

PlatinumServerM beat me to the punch line on that one ...

Anyway, yes if you write a script located and named /scripts/postwwwacct
then anything in that script will be executed upon account creation which
gives you the opportunity to perform any specific customizations from script.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
\xml-api\listpkgs only lists available packages instead of all packages?! omarsdali Developer Discussions 1 12-15-2008 10:10 AM
WHM - Rogue packages in Packages IkoIko cPanel and WHM Discussions 0 10-18-2007 11:26 AM
Root packages are showing in reseller packages. How do I stop this? Specks cPanel Newbies 2 12-20-2004 03:00 AM
Setting up packages from WHM heymichelle cPanel and WHM Discussions 1 08-28-2004 10:07 PM


All times are GMT -5. The time now is 05:33 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
© cPanel Inc