cPanel Forced Ads Plugin

Force ads upon your cPanel users when you offer free hosting!

This is a plugin that will allow you force html content or advertisements in the header or footer of hosted accounts of a cpanel / whm based server.

Install instructions


$ cd ~
$ wget https://sourceforge.net/projects/cfp/files/installForcedAdscPanel.sh/download
$ chmod 755 installForcedAdscPanel.sh
$ ./installForcedAdscPanel.sh

It should do it's magic automatically

To edit the ad:

$ nano /ads/ad.txt

To control who has ads: WHM -> Plugins -> Forced Ads

API calls:
Remove ads for user USER:
http://{user}:{pass}@{ip}:2086/cgi/addon_forcedAds.php?action=remove&u=USER

Add ads to a user:
http://{user}:{pass}@{ip}:2086/cgi/addon_forcedAds.php?action=add&u=USER

Currently, no output is given.

This script is free, under the Creative Commons BY-SA license
Creative Commons — Attribution-ShareAlike 3.0 Unported

REQUIRES PHP TO BE COMPILED AS A MODULE

--------------------------------------------------------------------
Download

Download all files: http://client.gigarank.net/dl.php?type=d&id=1


-------------------------------------------------------------------------------

Please note* Gigarank did not create this cpanel addon, we are just keeping the project alive.

Please post any reviews /comments / discussion here: http://www.gigarank.net/forum/thread-1611.html

Was this answer helpful?

 Print this Article