--- adsense.module 2006-12-13 22:24:31.000000000 -0600 +++ /home/ByteEnable/www/modules/adsense/adsense.module 2007-01-01 09:32:59.000000000 -0600 @@ -466,7 +466,7 @@ return system_settings_form($form); } -function adsense_display($format = '160x600', $group = 1, $channel = 1) { +function adsense_display($format = '160x600', $group = 1, $channel = 1, $ignoreVisiblity = 'false') { static $num_adsense_on_this_page; if (!_adsense_validate_dimensions($format)) { @@ -476,7 +476,7 @@ // This ad format is not cached, generate it // Check first if disabled or if we are at adsense limit or if this page doesn't allow adsense if (_adsense_check_if_enabled()) { - if (_adsense_can_insert_another()) { + if (_adsense_can_insert_another() || !($ignoreVisiblity)) { if (_adsense_page_match()) { // Ad should be displayed // Check cache first