Log of /contributions/modules/ad/adserve.php
Parent Directory
|
Revision Log
|
Revision Graph
Revision
1.2.2.15.2.23
Thu Oct 18 22:05:08 2007 UTC
(2 years, 1 month ago)
by
jeremy
Branch:
DRUPAL-5
Changes since
1.2.2.15.2.22: +1 -1 lines
FILE REMOVED
Renamed "adserve.php" to "serve.php" to bypass the more obvious ad blockers.
Revision
1.2.2.15.2.15 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed May 23 14:54:20 2007 UTC
(2 years, 6 months ago)
by
jeremy
Branch:
DRUPAL-5
Changes since
1.2.2.15.2.14: +20 -15 lines
Diff to
previous 1.2.2.15.2.14
, to
branch point 1.2.2.15
- adserve.php
o bug #144436: replace hard coded <br /> between ads with <div>
o add support for displaying ads without any taxonomy term
- adserve.php
o bug #144436: replace hard coded <br /> between ads with <div>
Revision
1.2.2.30 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed May 23 14:51:00 2007 UTC
(2 years, 6 months ago)
by
jeremy
Branch:
DRUPAL-4-7
Changes since
1.2.2.29: +20 -15 lines
Diff to
previous 1.2.2.29
, to
branch point 1.2
- adserve.php
o bug #144436: replace hard coded <br /> between ads with <div>
o add support for displaying ads without any taxonomy term
- adserve.php
o bug #144436: replace hard coded <br /> between ads with <div>
Revision
1.2.2.15.2.14 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue May 8 14:53:58 2007 UTC
(2 years, 6 months ago)
by
jeremy
Branch:
DRUPAL-5
Changes since
1.2.2.15.2.13: +4 -8 lines
Diff to
previous 1.2.2.15.2.13
, to
branch point 1.2.2.15
- adserve.php
o removed groups (replaced by taxonomy tids)
- ad_cache_file.module
o remove groups cache
o include in cache ads that aren't assigned to a taxonomy
- ad_cache_file.inc
o remove references to group cache
o check for ads that are not assigned to a taxonomy
- ad.module
o replace custom groups code with taxonomy functions
- ad_embed.module
o use tids instead of group name
- ad_notify.module
o remove references to group
- ad_remote.module
o use taxonomy tids rather than group name when building remote snippet
- ad.install
o convert ad_group table entries to taxonomy
o remove ad_group table
o remove gid calumn from ads table
- ad_views.inc
o remove most groups logic
o update group blocks to use taxonomy
Revision
1.2.2.29 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon May 7 22:21:07 2007 UTC
(2 years, 6 months ago)
by
jeremy
Branch:
DRUPAL-4-7
Changes since
1.2.2.28: +4 -8 lines
Diff to
previous 1.2.2.28
, to
branch point 1.2
- adserve.php
o removed groups (replaced by taxonomy tids)
- ad_cache_file.module
o remove groups cache
o include in cache ads that aren't assigned to a taxonomy
- ad_cache_file.inc
o remove references to group cache
o check for ads that are not assigned to a taxonomy
- ad.module
o replace custom groups code with taxonomy functions
- ad_embed.module
o use tids instead of group name
- ad_notify.module
o remove references to group
- ad_remote.module
o use taxonomy tids rather than group name when building remote snippet
- ad.install
o convert ad_group table entries to taxonomy
o remove ad_group table
o remove gid calumn from ads table
- ad_views.inc
o remove most groups logic
o update group blocks to use taxonomy
Revision
1.2.2.15.2.11 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun May 6 10:13:47 2007 UTC
(2 years, 6 months ago)
by
jeremy
Branch:
DRUPAL-5
Changes since
1.2.2.15.2.10: +0 -0 lines
Diff to
previous 1.2.2.15.2.10
, to
branch point 1.2.2.15
- adserve.php
o make 'error' variable accessible to cache plugins
- ad_cache_file.module
o added support for hostid
o redesigned cache struct to support additional lookups
- ad_cache_file.inc
o added support for hostid
o utilize new cache struct
o improved debug output
Revision
1.2.2.27 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun May 6 09:41:54 2007 UTC
(2 years, 6 months ago)
by
jeremy
Branch:
DRUPAL-4-7
Changes since
1.2.2.26: +3 -3 lines
Diff to
previous 1.2.2.26
, to
branch point 1.2
- adserve.php
o make 'error' variable accessible to cache plugins
- ad_cache_file.module
o added support for hostid
o redesigned cache struct to support additional lookups
- ad_cache_file.inc
o added support for hostid
o utilize new cache struct
o improved debug output
Revision
1.2.2.15.2.9 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat May 5 17:13:01 2007 UTC
(2 years, 6 months ago)
by
jeremy
Branch:
DRUPAL-5
Changes since
1.2.2.15.2.8: +3 -2 lines
Diff to
previous 1.2.2.15.2.8
, to
branch point 1.2.2.15
- ad.module
o make hostid accessible
o set absolute path in the redirect url
- ad.install
o convert redirect urls to absolute paths
- ad_remote.module
o simple proof-of-concept for hosting ads on remote websites
- adserve.php
o add hostid to redirect URL
- ad_image.module
o use @HOSTID___ token so hostid can be set in cached content
- ad_text.module
o use @HOSTID___ token so hostid can be set in cached content
Revision
1.2.2.25 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat May 5 16:30:29 2007 UTC
(2 years, 6 months ago)
by
jeremy
Branch:
DRUPAL-4-7
Changes since
1.2.2.24: +3 -2 lines
Diff to
previous 1.2.2.24
, to
branch point 1.2
- adserve.php
o add hostid to redirect URL
- ad_image.module
o use @HOSTID___ token so hostid can be set in cached content
- ad_text.module
o use @HOSTID___ token so hostid can be set in cached content
Revision
1.2.2.15.2.8 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu May 3 16:11:26 2007 UTC
(2 years, 6 months ago)
by
jeremy
Branch:
DRUPAL-5
CVS Tags:
DRUPAL-5--1-0,
DRUPAL-5--1-0-1,
DRUPAL-5--1-0-beta9
Changes since
1.2.2.15.2.7: +142 -334 lines
Diff to
previous 1.2.2.15.2.7
, to
branch point 1.2.2.15
- ad.module
o remove all file cache logic
o implement hooks for externally defining ad caches
o cleanup ad() to only display url variables that are actually used
- adserve.php
o remove all file cache logic
o implement hooks for externally defining ad caches
- ad_cache_file.module
o implement file cache as plug-in module
- ad_cache_file.inc
o implement file cache as plug-in module
- ad_cache_file.info
o implement file cache as plug-in module
Revision
1.2.2.15.2.7 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed May 2 20:01:45 2007 UTC
(2 years, 6 months ago)
by
jeremy
Branch:
DRUPAL-5
Changes since
1.2.2.15.2.6: +29 -5 lines
Diff to
previous 1.2.2.15.2.6
, to
branch point 1.2.2.15
- ad.module
o bug #134889: don't display statistics and click history in teaser
o when no ads are displayed due to permissions display a helpful html
comment noting the need to grant 'show advertisements' permissions.
- ad_text.module
o bug #132525: validate destination URL
o bug #129749: encode with UTF-8 charset
- ad_image.module
o bug #132525: validate destination URL
o encode with UTF-8 charset
- adserve.php
o don't test $nids if isn't set (for E_ALL compat)
Revision
1.2.2.22 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed May 2 19:23:59 2007 UTC
(2 years, 6 months ago)
by
jeremy
Branch:
DRUPAL-4-7
Changes since
1.2.2.21: +31 -7 lines
Diff to
previous 1.2.2.21
, to
branch point 1.2
- ad_text.module
o bug #132525: validate destination URL
- ad_image.module
o bug #132525: validate destination URL
- adserve.php
o offer more helpful error when no ads are found to be displayed
- ad.module
o when no ads are displayed due to permissions display a helpful html
comment noting the need to grant 'show advertisements' permissions.
o encode with UTF-8 charset
o bug #129749: encode with UTF-8 charset
- adserve.php
o don't test $nids if isn't set (for E_ALL compat)
Revision
1.2.2.15.2.3 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Apr 25 14:31:59 2007 UTC
(2 years, 7 months ago)
by
jeremy
Branch:
DRUPAL-5
Changes since
1.2.2.15.2.2: +330 -275 lines
Diff to
previous 1.2.2.15.2.2
, to
branch point 1.2.2.15
- adserve.php
o bug #131035: move path variables from global to local statics, move
adserve logic into function out of global space.
o include extra debug information showing version of all ad files
- ad_image.info
o add dependency on upload module
- ad_notify.module
o don't show 'my notifications' tab unless viewing an ad you own
Revision
1.2.2.18 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Apr 25 14:20:49 2007 UTC
(2 years, 7 months ago)
by
jeremy
Branch:
DRUPAL-4-7
Changes since
1.2.2.17: +324 -274 lines
Diff to
previous 1.2.2.17
, to
branch point 1.2
- adserve.php
o bug #131035: move path variables from global to local statics, move
adserve logic into function out of global space.
o include extra debug information showing version of all ad files
- ad_notify.module
o don't show 'my notifications' tab unless viewing an ad you own
Revision
1.2.2.15.2.1 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Apr 14 11:30:14 2007 UTC
(2 years, 7 months ago)
by
jeremy
Branch:
DRUPAL-5
Changes since
1.2.2.15: +9 -15 lines
Diff to
previous 1.2.2.15
- ad.module
o bug #135144: don't translate ad status when storing in database, only
when displaying to screen
- adserve.php
o be sure variables are set before accessing them to allow running PHP in
E_ALL mode
Revision
1.2.2.16 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Apr 14 10:58:56 2007 UTC
(2 years, 7 months ago)
by
jeremy
Branch:
DRUPAL-4-7
Changes since
1.2.2.15: +9 -15 lines
Diff to
previous 1.2.2.15
, to
branch point 1.2
- ad.module
o bug #135144: don't translate ad status when storing in database, only
when displaying to screen
- adserve.php
o be sure variables are set before accessing them to allow running PHP in
E_ALL mode
Revision
1.2.2.14 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Jan 28 20:08:34 2007 UTC
(2 years, 9 months ago)
by
jeremy
Branch:
DRUPAL-4-7
CVS Tags:
DRUPAL-4-7--1-0-beta4
Changes since
1.2.2.13: +8 -3 lines
Diff to
previous 1.2.2.13
, to
branch point 1.2
- ad.module
o support for displaying ads based on taxonomy and role with views (and
much more)
- ad_views.inc
o add quantity field for specifying how many ads to display in view
o add filter for ad type
- adserve.php
o fix to support multiple ads when displaying by nid
Revision
1.2.2.12 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Jan 28 05:28:42 2007 UTC
(2 years, 9 months ago)
by
jeremy
Branch:
DRUPAL-4-7
Changes since
1.2.2.11: +46 -6 lines
Diff to
previous 1.2.2.11
, to
branch point 1.2
- ad_views.inc
o add advertisement view type.
- ad.module
o update ad() to allow specifying list of nids to display ads from
- adserve.php
o support displaying ads from list of nids instead of from group.
Revision
1.2.2.9 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Jan 26 21:02:51 2007 UTC
(2 years, 9 months ago)
by
jeremy
Branch:
DRUPAL-4-7
CVS Tags:
DRUPAL-4-7--1-0-beta3
Changes since
1.2.2.8: +23 -4 lines
Diff to
previous 1.2.2.8
, to
branch point 1.2
- ad.install
o updated_1: introduce new fields in {ads} table for tracking when ads were
activated and expired, and for limiting the maximum number of views or
clicks.
- ad.module
o feature #109688: support for scheduling based on views or clicks.
o track when ad was last activated or expired.
o improve status messages when viewing advertisement.
- adserver.php
o feature #109688: support for scheduling based on views or clicks
Revision
1.2.2.8 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Jan 24 05:10:50 2007 UTC
(2 years, 10 months ago)
by
jeremy
Branch:
DRUPAL-4-7
Changes since
1.2.2.7: +64 -49 lines
Diff to
previous 1.2.2.7
, to
branch point 1.2
- ad.module
o add support for displaying multiple unqiue ads. The automatically
created ad blocks include a configuration option supporting this new
feature.
- adserve.php
o add support for displaying multiple unique ads.
- ad_image.module
o fix paths to work when hosting Drupal from a subdirectory.
Revision
1.2.2.7 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Jan 16 05:16:12 2007 UTC
(2 years, 10 months ago)
by
jeremy
Branch:
DRUPAL-4-7
Changes since
1.2.2.6: +3 -2 lines
Diff to
previous 1.2.2.6
, to
branch point 1.2
- ad.module
o add support for filter types with ads
o manually invoke ad_ modules to support pre-PHP5 installations
o move 'my ads' to main menu, not under user name
o only display 'ad owners' tab for ad content
- adserve.php
o allow periods (.) in ad path
- ad_image.php
o update adapi to support pre-PHP5 installations
- ad_text.php
o update adapi to support pre-PHP5 installations
Revision
1.2.2.3 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Dec 31 05:57:00 2006 UTC
(2 years, 10 months ago)
by
jeremy
Branch:
DRUPAL-4-7
Changes since
1.2.2.2: +1 -0 lines
Diff to
previous 1.2.2.2
, to
branch point 1.2
- ad.module
o fix logic that locates adserve.php, cleanup associated error
messages
o replace 'edit own advertisements' with 'manage advertisements'
o add page for displaying all advertisements owned by specific user
o add interface for removing ad owners from an ad
o don't allow user to be added as ad owner unless is has 'manage
advertisements' or 'administer advertisements' premissision
o by default only add 'access statistics' and 'access click history'
to new ad owners.
o when using filecache, default to using 3 files for better
performance
o pass number of files to use for filecache to adserve.php
- adserve.php
o retrieve number of files to use for filecache from $_GET variable
- ad_image.module
o display actual ad in node teaser
- ad_text.module
o display actual ad in node teaser
Revision
1.2.2.2 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Dec 31 02:28:03 2006 UTC
(2 years, 10 months ago)
by
jeremy
Branch:
DRUPAL-4-7
CVS Tags:
DRUPAL-4-7--0-6
Changes since
1.2.2.1: +1 -1 lines
Diff to
previous 1.2.2.1
, to
branch point 1.2
- ad.module
o implement granular advertisement permission system with the
following default permissions: access statistics, access click
history, modify group, modify status
VS: ----------------------------------------------------------------------
Revision
1.2.2.1 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Dec 31 00:33:21 2006 UTC
(2 years, 10 months ago)
by
jeremy
Branch:
DRUPAL-4-7
Changes since
1.2: +30 -7 lines
Diff to
previous 1.2
- ad.module
o search for adserve.php from top level directory to support
multi-site installations (module may not live in /modules)
o no longer try specifying how many dirs above adserve.php index.php
is
- adserve.php
o improve debugging output
o search for bootstrap.inc
- ad_image.module
o specify absolute path to ad image so can display from non-front
pages
- ad_text.module
o define 'redirect' adapi hook so clicking text ads takes you to
proper url
Revision
1.2 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Dec 26 08:10:19 2006 UTC
(2 years, 10 months ago)
by
jeremy
Branch:
MAIN
CVS Tags:
DRUPAL-4-7--0-5,
HEAD
Branch point for:
DRUPAL-4-7
Changes since
1.1: +56 -49 lines
Diff to
previous 1.1
Implement schema for owners, permissions, notifications, and remote
hosts. Move from Alpha to Beta status, meaning going forward an upgrade
path will be provided for schema changes.
- ad.install
o define ad_permissions table
o define ad_owners table
o define ad_notifications table
o define ad_hosts table
- ad.module
o fix ad statistics to display even if none for current hour
o implement statistics for current week
o register unique hostid for each add owner for displaying ads
remotely
o enforce matching ad status and node status
o only display clicks and statistics for ads, not all ad types
o stub in support for ad owners, ad owner permissions and add owner
notifications
o display group name instead of just group id when listing ads
o add regex in search for adserve.php to not match ie .swp files
- adserve.php
o implement cache types in switch statement
o track hostid when viewing ads for displaying on remote sites
- ad_text.module
o use htmlentities() to encode ad text
Revision
1.1 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Dec 11 23:52:57 2006 UTC
(2 years, 11 months ago)
by
jeremy
Branch:
MAIN
New advertising module and api. Currently for Drupal 4.7, in alpha
state. The code is functional, but the underlying schema is still
likely to be changed with no upgrade path provided. For more
information as to what's planned in the near future for this module
refer to the included documentation/TODO.txt file.
* Written in PHP specifically for Drupal.
* Highly configurable.
* Simple installation.
* Modular design allows easy addition of additional advertising
formats.
* Any number of configurable banner groups.
* Comprehensive statistics allowing time-based reporting and
analysis.
* Tracks when ads are clicked, by which user, which IP, and where.
* ad_image module supports banner and image-block ads.
* ad_text module supports text ads.
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
select a symbolic revision name using the selection box, or choose
'Use Text Field' and enter a numeric revision.