Results 1 to 4 of 4
-
05-31-2005, 03:12 PM #1Web Hosting Master
- Join Date
- Apr 2003
- Location
- New Jersey USA
- Posts
- 897
Advertise on your clients websites
Anyone aware of any type of coding or script that you can add or change in a cPanel server so any website on or added to that server will display either text advertisements at the top of the website or a banner?
-
05-31-2005, 03:49 PM #2Web Hosting Master
- Join Date
- Jul 2004
- Posts
- 930
I think you can do this in cpanel... in the themes maybe? Im not really good at cpanel but there is a way, i cant remeber.
-
05-31-2005, 04:08 PM #3WHT Addict
- Join Date
- Dec 2002
- Location
- Egypt
- Posts
- 151
eMax,
Try to look for mod_layout.
mod_layout is an Apache module that provides both a Footer and Header directive to automagically include output from other URIs at the beginning and ending of a Web page. It can be used to wrap documents for a standard look and feel for a site (or to insert banners on any given document in a site).knowledge is Power , Spread it.
www.e-tutankhamun.com
ahmed@e-tutankhamun.com
AIM:AhmedFouad0 , yahooID:xor2004
-
05-31-2005, 07:03 PM #4Retired Moderator
- Join Date
- Sep 2004
- Location
- Flint, Michigan
- Posts
- 5,766
You might have some better luck over at http://www.freewebhostingtalk.com as well.
I have never done it via CPanel but on directadmin there is a template used for the virtual host settings on every account created. Here are the basic steps I followed:
1. Install mod_layout
2. Install PhpAdsNew (makes handling ads easier IMHO).
3. Create a html file wherever you want with the ad code in it.
4. Write the directive to add the code from the html file to the head of each website and include layoutmerge as well.
5. Add that directive to the template file for new accounts.
6. Sit back and enjoy, just know there are several work-arounds people use.█ Mike from Zoodia.com
█ Professional web design and development services.
█ In need of a fresh hosting design? See what premade designs we have in stock!
█ Web design tips, tricks, and more at MichaelPruitt.com