THT Community (TCom)

Full Version: Forced ads not working
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi ive installed everything correct

even the right version of mod_layout for my apache

ive placed my ads in

/home/*******/public_html/billing/includes/adsh.html

i see it runs the file when i create accounts

Running post creation scripts (, /scripts/postwwwacct, /)......Done

i see this in httpd.conf

LoadModule layout_module modules/mod_layout.so

is my mod_layout.php file correct

<?php
/**
* /scripts/postwwwacct configuaration for mod-layout ...
*/
$config = array(
'support@3hosts.co.uk' => 'support@3hosts.co.uk', # Administration email address, MAKE SURE YOU CAN READ THESE EMAILS, THEY ARE VERY IMPORTANT
'DATE_RFC822' => DATE_RFC822, # Date format, for most people default is good
'/usr/local/apache/conf/httpd.conf' => '/usr/local/apache/conf/httpd.conf', # Location of httpd.conf to edit
'******_free' => array( # Array of plans you want to apply ads on
'******_free' # This is the WHM name of the plan(s) you want to put ads on
),
'ads' => array(
'header' => '/home/*******/public_html/billing/includes/adsh.html', # HTML file containing the code for header ads - edit these so that they point to your THT directory.
'footer' => '/home/********/public_html/billing/includes/adsf.html' # HTML file containing the code for footer ads - edit these so that they point to your THT directory.
),
);
?>

I think everthing setup correct ??

let me know ive been here for 13hrs trying to get it working Huh

Cheers........
had a look at that post and it tells me nothing i need to know

Its a pretty simple answer if you know how to fill out the php file

is my mod_layout.php file correct

<?php
/**
* /scripts/postwwwacct configuaration for mod-layout ...
*/
$config = array(
'support@3hosts.co.uk' => 'support@3hosts.co.uk', # Administration email address, MAKE SURE YOU CAN READ THESE EMAILS, THEY ARE VERY IMPORTANT
'DATE_RFC822' => DATE_RFC822, # Date format, for most people default is good
'/usr/local/apache/conf/httpd.conf' => '/usr/local/apache/conf/httpd.conf', # Location of httpd.conf to edit
'******_free' => array( # Array of plans you want to apply ads on
'******_free' # This is the WHM name of the plan(s) you want to put ads on
),
'ads' => array(
'header' => '/home/*******/public_html/billing/includes/adsh.html', # HTML file containing the code for header ads - edit these so that they point to your THT directory.
'footer' => '/home/********/public_html/billing/includes/adsf.html' # HTML file containing the code for footer ads - edit these so that they point to your THT directory.
),
);
?>
Really nice solution of that problem. This is really good forum which has many solution of this kind of problems. A good free hosting like IFS will naturally get know, don't need to force ads.
Reference URL's