THT Community (TCom)

Full Version: [split] Forced Ads Support
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5
(01-21-2010 12:45 AM)mghq2 Wrote: [ -> ]
(01-19-2010 07:36 AM)Nick Wrote: [ -> ]this might be because of another conflicting apache plugin. There are a couple that this will not work on your server with.

Do you happen to know which ones?

mod_pony. Tongue On a more serious note, that's a good question.
Hi guys is this right

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


OR THIS


<?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.
),
);
?>

please help
What is this script ment to place in the httpd.conf?

i have installed everything as it should be but no ads are showing and the httpd config shows no change from paid services and free

Many thanks
Has anyone gotten this working?
I dont think mod_layout works properly with most of the recent versions of apache/php.
I tested this plugin extensively and it Did Not work. In latest standard cpanel/whm configuration on centos.

If Anyone gets this working please inform the forum. But anyone who asks why it is not working... mod_layout apparently fails.
(12-22-2009 06:21 PM)Kevin Wrote: [ -> ]
(12-22-2009 12:55 PM)mghq2 Wrote: [ -> ]What ftp client do you recommend

Personally, FileZIlla and FileZilla Portable.
There's also a FireFTP Addon for Firefox.

Personaly i prefer CoreFTP

Thanks
When I originally ported this from the old CPCreator script, It was working. From what I have seen and read elsewhere, mod_layout has been depreciated for a long time now.
Pages: 1 2 3 4 5
Reference URL's