Got a feeling the answer is right in front of me but I'm not seeing it. For some reason, each block of image ads shows the text "view counter" right below the image. Any idea why? I seem to vaguely remember turning on a counter somewhere but can't for the life of me remember where or find it.

Comments

Architeck’s picture

Its a cheap, quick fix,

but open up the ad.module in your text editor

using a find or search feature locate "view counter" around line 2716 if your using dreamweaver.

alt="view counter"

change to

alt=""

This worked for me without any issues

jeremy’s picture

Status: Active » Postponed (maintainer needs more info)

What web browser and Operating System are you using?

aharown07’s picture

Browser & OS:
Right now I'm in Firefox 3.1 and Vista homprem x64. But the problem was occurring as well in FF 2.x and XP Pro.
The "view counter" text is not appearing in IE.

aharown07’s picture

GeoffPalin - July 29, 2008 - 18:55

Its a cheap, quick fix,

but open up the ad.module in your text editor

using a find or search feature locate "view counter" around line 2716 if your using dreamweaver.

alt="view counter"

change to

alt=""

I am using this solution for now. Thanks GeoffPalin!

jeremy’s picture

If you restore the 'alt ="view counter"', then change the height and width on the same line from 0 to 1, does the problem also go away?

aharown07’s picture

No, it doesn't. Also, in the ver 1.6 I'm up to now the line number is 2859

jeremy’s picture

Version: 5.x-1.4 » 6.x-1.x-dev
Status: Postponed (maintainer needs more info) » Fixed

I duplicated this in the 6.x-dev tree when using the ad_cache_memcache module to display advertisements. It is now fixed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

chrism2671’s picture

Doesn't the fix detailed above not fix the problem? In order to get the view counter to work, doesn't it have to load an invisible image? If that image is not being loaded, are views being counted?

srsbl’s picture

Version: 6.x-1.x-dev » 6.x-2.2
Component: ad_image module » ad_html module
Status: Closed (fixed) » Active

I'm still getting "view counter" below the ads in Firefox. I've made the change from alt="view counter" to alt="" to fix it for now.

isidoromendez’s picture

the solution alt="view counter" -> alt="" is ok for a while. But the problem is not solved.

If you load image in a browser...

"http: ... /sites/all/modules/ad/serve.php?o=image&a=891&c=memcache"

you get the message:

"Fatal error: Call to undefined function module_load_include() in /.... ..../sites/all/modules/ad_memcache/ad_cache_memcache.inc on line 320".

So, for some reazon the function module_load_include() is not visible in the context.

I'm looking the final solution, someone know how to fix it?

TKS in advance!

lrwebks’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

Drupal 6 is EOL and no longer supported. Closing this as outdated for that reason. Thanks for your contribution!