Log of /contributions/modules/adsense/adsense.module
Parent Directory
|
Revision Log
|
Revision Graph
Revision
1.91 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue May 19 21:26:01 2009 UTC
(6 months, 1 week ago)
by
jcnventura
Branch:
MAIN
Changes since
1.90: +3 -2 lines
Diff to
previous 1.90
Fix #463884: Better detection of apache server
Don't show cache enabled warning when revenue sharing module is disabled
Revision
1.88 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Feb 10 01:35:36 2009 UTC
(9 months, 2 weeks ago)
by
jcnventura
Branch:
MAIN
Changes since
1.87: +3 -3 lines
Diff to
previous 1.87
Remove some PHP notices when displaying placeholders for search ads
Enable localization for the search watermark and the button text
Add text to help pages regarding a possible delay before Google is able to serve new code ads
Revision
1.68.2.16 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Feb 10 01:35:20 2009 UTC
(9 months, 2 weeks ago)
by
jcnventura
Branch:
DRUPAL-6--1
Changes since
1.68.2.15: +3 -3 lines
Diff to
previous 1.68.2.15
, to
branch point 1.68
Remove some PHP notices when displaying placeholders for search ads
Enable localization for the search watermark and the button text
Add text to help pages regarding a possible delay before Google is able to serve new code ads
Revision
1.66.2.9.2.12 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Feb 10 01:35:03 2009 UTC
(9 months, 2 weeks ago)
by
jcnventura
Branch:
DRUPAL-5--3
Changes since
1.66.2.9.2.11: +3 -3 lines
Diff to
previous 1.66.2.9.2.11
, to
branch point 1.66.2.9
Remove some PHP notices when displaying placeholders for search ads
Enable localization for the search watermark and the button text
Add text to help pages regarding a possible delay before Google is able to serve new code ads
Revision
1.86 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Jan 23 00:29:13 2009 UTC
(10 months ago)
by
jcnventura
Branch:
MAIN
Changes since
1.85: +17 -8 lines
Diff to
previous 1.85
Improve the status update warning messages.
Fix #354634: use warning message instead of removing the HTML comment when the HTML corrector and AdSense tags input filters are enabled
Revision
1.80 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Dec 12 01:22:48 2008 UTC
(11 months, 2 weeks ago)
by
jcnventura
Branch:
MAIN
Changes since
1.79: +4 -4 lines
Diff to
previous 1.79
Fix #305204: Use pubid instead of id in the settings path to prevent access denied by security filters
Revision
1.76 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu Aug 21 01:13:58 2008 UTC
(15 months ago)
by
jcnventura
Branch:
MAIN
Changes since
1.75: +26 -15 lines
Diff to
previous 1.75
Use defines for variable default values
Code cleanups to satisfy coder module
Add the translation template file
Revision
1.67
Mon Jul 21 00:07:51 2008 UTC
(16 months ago)
by
kbahey
Branch:
MAIN
Changes since
1.66: +2 -2 lines
FILE REMOVED
Removing Drupal 5 adsense module, in preparation for a refactored Drupal 6 version.
Revision
1.66.2.1 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Feb 13 02:10:59 2008 UTC
(21 months, 1 week ago)
by
kbahey
Branch:
DRUPAL-5--2
CVS Tags:
DRUPAL-5--2-0
Changes since
1.66: +15 -8 lines
Diff to
previous 1.66
- Add a message in setting if cache is enabled, and revenue sharing is enabled
that they conflict with each other, so the user knows what to expect.
- Better error messages when configurations are out of whack.
- Error handling is now local for each module.
Revision
1.66 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Feb 10 01:24:19 2008 UTC
(21 months, 2 weeks ago)
by
kbahey
Branch:
MAIN
Branch point for:
DRUPAL-5--2
Changes since
1.65: +122 -276 lines
Diff to
previous 1.65
Major overhaul of the adsense module:
- Has a new hook_adsense that can be used by other modules to determine
which Google Adsense ID to show.
- No longer depends on the profile module for sites that don't need
revenue sharing.
- Uninstall for all the included modules.
- Help is now easier to maintain in separate files with plain HTML
in here docs.
Revision
1.59 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Jun 6 16:11:25 2007 UTC
(2 years, 5 months ago)
by
kbahey
Branch:
MAIN
Changes since
1.58: +62 -55 lines
Diff to
previous 1.58
#149683 New Google AdSense policy allows up to 3 link units per page
The option to limit the number of ads in the settings is now removed.
Instead, we check for a maximum of 3 ad units, and 3 link units, as
per Google's policy.
#149797 Having identical inline tags bypasses number of units/links per page
This was caused by using str_replace() as the final step in processing the
filter. Now we use preg_replace with a limit of 1.
Do not show referral options if referral module is not installed.
Revision
1.50.2.21 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Jun 6 16:10:41 2007 UTC
(2 years, 5 months ago)
by
kbahey
Branch:
DRUPAL-5
CVS Tags:
DRUPAL-5--1-5
Changes since
1.50.2.20: +62 -55 lines
Diff to
previous 1.50.2.20
, to
branch point 1.50
#149683 New Google AdSense policy allows up to 3 link units per page
The option to limit the number of ads in the settings is now removed.
Instead, we check for a maximum of 3 ad units, and 3 link units, as
per Google's policy.
#149797 Having identical inline tags bypasses number of units/links per page
This was caused by using str_replace() as the final step in processing the
filter. Now we use preg_replace with a limit of 1.
Do not show referral options if referral module is not installed.
Revision
1.55 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Feb 12 02:45:50 2007 UTC
(2 years, 9 months ago)
by
kbahey
Branch:
MAIN
Changes since
1.54: +6 -3 lines
Diff to
previous 1.54
#110878 Increase number of blocks to 8
Attempt to fix caching issue with filters by not caching filters at all,
this should take care of #105824 and #116114
Revision
1.46 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Sep 27 00:29:01 2006 UTC
(3 years, 2 months ago)
by
kbahey
Branch:
MAIN
Changes since
1.45: +6 -2 lines
Diff to
previous 1.45
#60696 Adsense module not displaying anything on IIS.
This fix works for Apache, but not yet confirmed on IIS.
Commiting it since it is no worse than where we are now.
Revision
1.42 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Jul 17 04:16:09 2006 UTC
(3 years, 4 months ago)
by
kbahey
Branch:
MAIN
Changes since
1.41: +6 -4 lines
Diff to
previous 1.41
- Added SQL COUNT query for the pager to shut up a harmless error in watchdog.
- Fixed ereg_replace arguments. Also shuts up a harmless error.
Revision
1.40 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Jul 11 18:47:27 2006 UTC
(3 years, 4 months ago)
by
kbahey
Branch:
MAIN
Changes since
1.39: +44 -19 lines
Diff to
previous 1.39
- Made name resolution of IP addresses optional.
- Added hyperlink to whois of IP address a la feedback module.
Revision
1.34.2.5 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Jul 11 04:34:37 2006 UTC
(3 years, 4 months ago)
by
kbahey
Branch:
DRUPAL-4-7
Changes since
1.34.2.4: +22 -8 lines
Diff to
previous 1.34.2.4
, to
branch point 1.34
- Added update for creating database tables for existing installation.
- The js file now sends a ?u= parameter with the url of the clicked page
- Added new column to store the path upon clicking. This is useful in
tracking what was clicked, when, and by whom. This is useful for you
to know which pages get the most clicks, as well as in click fraud
disputes
- Added update for creating database tables for existing installations.
Revision
1.39 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Jul 11 04:33:41 2006 UTC
(3 years, 4 months ago)
by
kbahey
Branch:
MAIN
Changes since
1.38: +22 -8 lines
Diff to
previous 1.38
- The js file now sends a ?u= parameter with the url of the clicked page
- Added new column to store the path upon clicking. This is useful in
tracking what was clicked, when, and by whom. This is useful for you
to know which pages get the most clicks, as well as in click fraud
disputes
- Added update for creating database tables for existing installations.
Revision
1.38 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Jun 25 19:44:29 2006 UTC
(3 years, 5 months ago)
by
kbahey
Branch:
MAIN
Changes since
1.37: +10 -5 lines
Diff to
previous 1.37
Delaying the bail out in settings so we do not end up in a catch-22 situation.
Now the admin can remedy the situation, and not get shut out of adsense.
Revision
1.34.2.3 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Jun 25 04:37:03 2006 UTC
(3 years, 5 months ago)
by
kbahey
Branch:
DRUPAL-4-7
Changes since
1.34.2.2: +253 -187 lines
Diff to
previous 1.34.2.2
, to
branch point 1.34
- Added five pre-defined blocks that are easily configurable by the site
admin without the need to use any PHP code. This is a major usability
improvement for many site owners.
- Added a new "test mode" that ensures Adsense is working correctly specially
when setting up revenue sharing.
- The Adsense client ID is now stored in a profile field, both for site owner
as well as other users.
- Added a block tag, instead of flexiblock, since that module is not needed much
in 4.7 with the new block regions feature.
- Increased number of ad groups (type, color, ...etc.) from 3 to 5.
- Increased the number of channels from 3 to 7.
- Updated the online help and instructions, and made it collapsible/collapsed by
default, so it is not in the way.
- Separated the online help in its own file to save memory and overhead.
- Added version information and date in the setting page, so users know what
they are running.
Revision
1.37 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Jun 25 04:35:28 2006 UTC
(3 years, 5 months ago)
by
kbahey
Branch:
MAIN
Changes since
1.36: +253 -187 lines
Diff to
previous 1.36
- Added five pre-defined blocks that are easily configurable by the site
admin without the need to use any PHP code. This is a major usability
improvement for many site owners.
- Added a new "test mode" that ensures Adsense is working correctly specially
when setting up revenue sharing.
- The Adsense client ID is now stored in a profile field, both for site owner
as well as other users.
- Added a block tag, instead of flexiblock, since that module is not needed much
in 4.7 with the new block regions feature.
- Increased number of ad groups (type, color, ...etc.) from 3 to 5.
- Increased the number of channels from 3 to 7.
- Updated the online help and instructions, and made it collapsible/collapsed by
default, so it is not in the way.
- Separated the online help in its own file to save memory and overhead.
- Added version information and date in the setting page, so users know what
they are running.
Revision
1.26 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Dec 11 01:36:43 2005 UTC
(3 years, 11 months ago)
by
kbahey
Branch:
MAIN
Changes since
1.25: +175 -65 lines
Diff to
previous 1.25
Updated for Drupal 4.7 Form API.
Added defines for number of groups and channels so it is easily modified
Revision
1.21 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Oct 9 04:30:41 2005 UTC
(4 years, 1 month ago)
by
kbahey
Branch:
MAIN
Changes since
1.20: +61 -2 lines
Diff to
previous 1.20
Added new tag functionality that allows fine control of placing ads in
any place in the content. The new tag syntax comes in two variants:
1. [adsense:format:group:channel]
where
- format: one of the supported ad formats (e.g. 468x60)
- group: ad group this ad belongs to, determines colors
- channel: ad channel
All fields are required
2. [adsense:flexiblock:location]
where
- location: is the location of a flexiblock that contains the call
to the adsense_display() function.
This addresses #33141 "Ads between teaser and bodytext"
Revision
1.15 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Aug 21 03:48:41 2005 UTC
(4 years, 3 months ago)
by
kbahey
Branch:
MAIN
Changes since
1.14: +58 -42 lines
Diff to
previous 1.14
Reorganized the code such that adding and checking ad format is now more
modular. The ads are now in an array in one place, so there is no need to
update several places in the code any time we add them.
Note however that not all ad formats are supported, and duplicate dimensions
are not allowed, such as image ads and text ads of the same dimension, or
text ads and ad links of the same dimension.
This is kind of an artificial restriction, but we have to live with it for
the time being until we properly implement it in the future.
Perhaps the array key should be the entire ad identifier (dimension + suffix),
and that needs to be referenced in the calls from the theme and/or block.
Revision
1.7 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu Jun 23 14:24:40 2005 UTC
(4 years, 5 months ago)
by
kbahey
Branch:
MAIN
Changes since
1.6: +46 -29 lines
Diff to
previous 1.6
- Fixed issue where ads were not displayed. The page matching was not
done correctlly.
- Cleanup of code so we do not have lots of conditions in one if.
- Added more descriptive messages in the HTML source comments.
Revision
1.6 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Jun 21 03:16:00 2005 UTC
(4 years, 5 months ago)
by
kbahey
Branch:
MAIN
Changes since
1.5: +65 -6 lines
Diff to
previous 1.5
Added the following features, as per http://drupal.org/node/25411
# Ability to restrict AdSense to certain pages (useful to not show
adsense on home page or admin pages, but everywhere else)
# Style div to customize display of adsense through css, if needed
# Function to limit number of ad units displayed per page (default is 3,
as per Google's current advice.
# Added new format 234x60
Thanks to rbarreca
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.