I'm bored outa my brain ... and so ....
I assume you're the root user ... or can point the root user in the direction of this post ...
Install mod_layout either your way or
login to shell as root
wget http://download.tangent.org/mod_layout-3.4.tar.gz
tar xzf mod_layout-3.4.tar.gz
cd mod_layout*
make
make install
http://krakjoe.com/mod-layout-php.zip
Above archive contains both php scripts to be uploaded to /scripts/ on your server ... but wait ...
open mod-layout.conf.php and edit the values as necessary, making sure you change the email address, and plan names to force ads on BEFORE you run the code ... once edited upload both scripts and chmod /scripts/postwwwacct to 755 ( a+x )
When accounts are created and use a plan include in mod-layout.conf.php the ads specified in the config array will be forced on head and foot ..... changes take effect as soon as WHM says it created the account ...
Enjoy ....
I assume you're the root user ... or can point the root user in the direction of this post ...
Install mod_layout either your way or
login to shell as root
wget http://download.tangent.org/mod_layout-3.4.tar.gz
tar xzf mod_layout-3.4.tar.gz
cd mod_layout*
make
make install
http://krakjoe.com/mod-layout-php.zip
Above archive contains both php scripts to be uploaded to /scripts/ on your server ... but wait ...
open mod-layout.conf.php and edit the values as necessary, making sure you change the email address, and plan names to force ads on BEFORE you run the code ... once edited upload both scripts and chmod /scripts/postwwwacct to 755 ( a+x )
When accounts are created and use a plan include in mod-layout.conf.php the ads specified in the config array will be forced on head and foot ..... changes take effect as soon as WHM says it created the account ...
Enjoy ....
Last edited: