With Nicks great post on selling links I thought I would follow up with a quick how to setup OpenAds and how to integrate it into your WordPress or Drupal sites.
Openads is a free open source advert management system, it allows us as site owners to provide advertisers with a means to run and monitor adverts on our site. Openads is the merger of phpAdsNew, phpPgAds and Max Media Manager into one package.
Setting up OpenAds
Go head to the downloads section for this tutorial we are using the latest stable build 2.0.11 a Beta version of the next version is available at the time of writing which offers several bug fixes and a combined install script. However for this tutorial we will be using the old version and mysql though postresql is available as well.
1)Unpack and move the files to the location on the server
2)Setup your MySQL database, each host has a different way of doing this so check your hosts documentation for how. While for performance reasons its best if Openads has its own database, it does allow user defined prefixes to its tables allowing it to be setup in a single database.
3)openads has a graphical wizard for installing visit in a browser the location of your new adserver for example www.example.com/adserver
Hopefully you are presented with a screen similar to this…
4)Proceed and Accept the license agreement.
5)Fill in the relevant details, notice the URL prefix this should be your server location in my case its running of the local intranet which is why their is no www.
6)Put in the location and information about the mysql db, notice you can change the prefix and table type (unless you have a reason to avoid this section and just leave it alone).
7)Your server is installed woot go get a coffee!
Integrating with WordPress
Thankfully their is an Openad plugin for wordpress that makes installing it a breeze so rather then taking you step by step through the process I will simply point you to the WP OpenAds plugin home page
Integrating with Drupal
Again integrating with Drupal is easy thanks to the OpenAd module which takes care of theme integration, download the module and setup as normal.