====== Google AdSense for DokuWiki ====== ===== License ===== * **Author:** [[mailto:tjgrant@tatewake.com|Terence J. Grant]] * **License:** [[http://opensource.org/licenses/GPL-2.0|GNU GPL v2]] * **Last Update:** 2009-08-30 * **Donate:** [[:donate|Your donations are appreciated!]] It's not required, but please consider linking to [[:projects:google_adsense_for_dokuwiki|this page]] or the main page from your site if you like this product. ===== Download ===== Before downloading or using this product, make sure you __**understand and accept**__ the terms of the [[#license]]. After downloading, make sure to follow the [[#install]] instructions or [[#upgrading]] instructions below. * This is the latest version, compatible with **the current DokuWiki**: * Latest Version: [[https://github.com/tatewake/dokuwiki-plugin-googleads|Version 2009-08-30 on GitHub]] ===== About ===== This plugin allows you to include [[wp>Google_AdSense|Google AdSense]] advertisings into your wiki page. It is possible to configure whether or not ads are shown to admins and/or logged-in users. The plugin also exports a function for use with your template, so you will have to insert the following code into your template (**main.php**), somewhere inside of the '''' tags. **Note**: Inserting the code above is **required**, not optional. **Template Authors Note**: You can insert the above code and make your template "Google AdSense Ready", even if your users do not use Google AdSense (or have this plugin.) ===== Install ===== As a plugin all you need to do is unpack the file into the lib/plugins/ directory (you should end up with a lib/plugins/googleads folder.) ===== Upgrading ===== To upgrade, remove the original lib/plugins/googleads folder, and install the new version as instructed above. You may wish to make a note of your google analytics code first though. ===== What's New ===== **August 30, 2009** * Terence has taken over the project from Bernd and the project will be hosted on this site from here on. **April 9, 2007** * Don't display ads on login/registration pages **Mar 14, 2007** * Initial release (Based on Google Analytics plugin.)