Current time: 02-08-2012, 09:24 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Forced ads not working
01-21-2010, 09:50 PM
Post: #1
Forced ads not working
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........
Find all posts by this user
Quote this message in a reply
01-22-2010, 11:27 PM
Post: #2
RE: Forced ads not working
See http://thehostingtool.com/forum/thread-611.html

Nelson - Retired TheHostingTool Developer
[Image: sleek.png]
Find all posts by this user
Quote this message in a reply
01-23-2010, 12:15 AM
Post: #3
RE: Forced ads not working
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.
),
);
?>
Find all posts by this user
Quote this message in a reply
05-23-2011, 06:04 AM
Post: #4
RE: Forced ads not working
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.

article submission services
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)