Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Forced ads not working
#1
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(
'[email protected]' => '[email protected]', # 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........
Reply
#2
See http://thehostingtool.com/forum/thread-611.html
Nelson - Retired TheHostingTool Developer
[Image: sleek.png]
Reply
#3
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(
'[email protected]' => '[email protected]', # 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.
),
);
?>
Reply
#4
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.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)