|
#1
|
|||
|
|||
|
i already have the reseller account but i was wondering if i can put ads on customers accounts, and how exactly would i do that
|
|
#2
|
||||
|
||||
|
If you mean that you'd want to create some kind of "opening soon" page in a newly created account, then in WHM look at: Account Functions -> Skeleton Directory
__________________
quietFinn - netFinn Finland "Be who you are and say what you feel because those who mind don't matter and those who matter don't mind." - Dr. Seuss |
|
#3
|
|||
|
|||
|
no i want to give people free hosting but i want to stick a banner on there sites.
|
|
#4
|
||||
|
||||
|
You can put ads on your clients website, I'm just not sure how you would do that. May be just make the free accounts have a subdomain using your hosting website domain?
__________________
Have a great day, Evan |
|
#5
|
|||
|
|||
|
someone showed me how they do it using .htaccess file.
php_value output_buffering 4098 AddType application/x-httpd-php htm AddType application/x-httpd-php html php_value auto_append_file 'http://xplicit.godzsite.com/footer.html' problem is whenever i do it it gives me an error. but the same script works on other reseller account Quote:
open_basedir stops u from using back path to it so i try using full address http:// then i get this error Quote:
|
|
#6
|
||||
|
||||
|
it seems you have your file in /home/lnorman/xplicit/footer.html and maybe it should be in /home/xplicit/public_html/footer.html ?
Vt
__________________
Vtrain is Linux User #237333 on http://counter.li.org/ "Don't meddle in the affairs of sysadmins, for they are subtle and quick to anger." Last edited by vtrain; 05-17-2006 at 06:00 AM. |
|
#7
|
||||
|
||||
|
As the error says:
Quote:
(notice that you can use any directory below those, i.e. /home/xplicit/public_html would work).
__________________
quietFinn - netFinn Finland "Be who you are and say what you feel because those who mind don't matter and those who matter don't mind." - Dr. Seuss |
|
#8
|
|||
|
|||
|
yea but i still get the errors lol
Quote:
|
|
#9
|
||||
|
||||
|
1.st, find out what is the www root of your site, go to cPanel and there, on the left side, you see:
Quote:
2nd, put the file footer.html to the public_html directory 3rd, add this to the .htaccess Quote:
__________________
quietFinn - netFinn Finland "Be who you are and say what you feel because those who mind don't matter and those who matter don't mind." - Dr. Seuss |
|
#10
|
|||
|
|||
|
ok..
Quote:
so they could just delete it ![]() also if i stick this in the skel directory so that wen new ppl sign up they have banners, the script dosnt work cause <username> wouldnt point to there account it would point to my test account. so id have to add every account manually. also, and i know its dumb but if i do get this solved can u delete this topic off your forum. cause it seems to have a better google ranking than my actual site and i dont want any ppl knowing how to get rid of there banners by reading this topic. thanks help appreciated! |
|
#11
|
||||
|
||||
|
Quote:
![]() Just write to your TOS that they can't delete the files. Quote:
__________________
quietFinn - netFinn Finland "Be who you are and say what you feel because those who mind don't matter and those who matter don't mind." - Dr. Seuss |
|
#12
|
|||
|
|||
|
yea but they can always just edit the footer to ad there own google banner instead
i guess i could setup a cron job to check it but i dont wanna be adding these banners in manually anyway |
|
#13
|
||||
|
||||
|
Quote:
I do this all of the time, load PHP code from another site. PHP Code:
|
|
#14
|
||||
|
||||
|
Quote:
I used this and tested with more than 5000 users (free webhosting)... This insert header and footer on every page opened by apache and you can configure by directory.... OOpppsss if you are on dedicated !!!! |
|
#15
|
|||
|
|||
|
Quote:
A long time ago I was exploring the same idea... above is the link to one of the solutions I looked at... I did NOT try this out or use it, so it's not a recomendation... I found others as well, but this is the one I can remember... hope that helps |
![]() |
| Bookmarks |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
|
|
All times are GMT -5. The time now is 03:58 PM.












