diff documentation/README.txt @ 3:416ea999ed76 ad

maj ad version rc1
author sly
date Mon, 20 Apr 2009 09:49:37 +0000
parents 948362c2a207
children 6aeff3329e01
line wrap: on
line diff
--- a/documentation/README.txt	Wed Apr 15 07:58:32 2009 +0000
+++ b/documentation/README.txt	Mon Apr 20 09:49:37 2009 +0000
@@ -191,9 +191,11 @@
       <?php print ad('24,56,98', 2); ?>
 
   You can also specify how to display a given ad.  Current display methods are
-  'javascript' and 'raw'.  When using the 'javascript' method, ads will
-  randomly change even when the Drupal pagecache is enabled.  When using the
-  'raw' method, ads will only change when the Drupal pagecache is flushed.
+  'javascript', 'jquery', 'iframe', and 'raw'.  When using the 'javascript',
+  'jquery', and 'iframe' methods, ads will randomly change even when the Drupal
+  pagecache is enabled.  When using the 'raw' method, ads will only change when
+  the Drupal pagecache is flushed.
+
   To force one ad with a tid of 76 to display using JavaScript you would pass
   in the following parameters:
       <?php print ad(76, 1, array('method' => 'javascript'));
@@ -315,3 +317,21 @@
 'Last seven days', 'This month', 'This year' and 'All time' will all be the
 same.  When available, statistics will also include 'Last hour', 'Yesterday',
 'Last month', and 'Last year'.
+
+When displaying advertisements using the JavaScript, jQuery, and IFrame methods
+impressions are tracked each time the script is loaded.  When displaying
+advertisements using the Raw method, impressions are tracked through the use
+of a hidden 1x1 pixel image that is displayed along with each advertisement.
+
+The click_filter module can be enabled to filter out the following invalid
+clicks:
+    * Duplicate clicks from the same IP address
+    * Clicks from the owner of the advertisement
+    * Clicks from any user with 'filter clicks' permissions.
+    * Clicks from any users in which the word "bot" is contained in their
+      HTTP_USER_AGENT
+
+This means that when the click_filter module is enabled, all clicks by UID 1
+will be filtered because Drupal will automatically assign all permissions to
+this user, including the 'filter clicks' permisison.  The click_filter module
+currently has no configuration options beyond the 'filter clicks' permission.