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

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[split] Forced Ads Support
01-22-2010, 04:37 PM
Post: #41
RE: [split] Forced Ads Support
(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.

Kevin Mark - TheHostingTool Lead Developer
Visit this user's website Find all posts by this user
Quote this message in a reply
01-23-2010, 12:20 AM
Post: #42
RE: [split] Forced Ads Support
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
Find all posts by this user
Quote this message in a reply
11-16-2010, 02:48 PM
Post: #43
RE: [split] Forced Ads Support
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
Find all posts by this user
Quote this message in a reply
12-08-2010, 08:56 AM
Post: #44
RE: [split] Forced Ads Support
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.

[Image: admin.png]
[Image: sig.png]
Visit this user's website Find all posts by this user
Quote this message in a reply
12-21-2010, 06:04 AM
Post: #45
RE: Forced Ads - Force Header and Footer Ads on Your Users
(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

Thanks for reading my post guys!
please visit my site and irc network for support or information. thanks
TheBingsta - Expertec Founder, CEO
WEB: http://expertec.co.uk/ - THT: http://thtsupport.expertec.co.uk/
IRC: irc.expertec-irc.co.uk - WEBIRC: http://services.expertec-irc.co.uk/webchat/
Supporting TheHostingTool Community!

Need help, i don't mind pms but please post support questions in the general support board.
Visit this user's website Find all posts by this user
Quote this message in a reply
01-01-2011, 10:53 PM
Post: #46
RE: [split] Forced Ads Support
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.

Nick - TheHostingTool Staff Coordinator

[Image: standard.png]

Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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