To me -rc3 and -dev are neither "official" release designations. Both sound unstable. Which should I try. I need to put specific ads on specific pages and that's all.

Comments

jeremy’s picture

Status: Active » Fixed

"To me -rc3 and -dev are neither "official" release designations. Both sound unstable. Which should I try."

The last "official" release is 1.0-1 which you can find by clicking "view all releases" on the ad project page. The "-rc" releases are what I hope to become the next official release, assuming no further regressions are found. I believe -rc3 is quite stable and will very likely become the official 1.1 release. Of course, when I tagged -rc1 I thought it was going to be 1.1, then we had -rc2, and now -rc3. The more people that test the "-rc" releases, the better the quality of the next official release.

"I need to put specific ads on specific pages and that's all."

If it's just one ad per page, probably the easiest way to do this would be to create custom blocks, each configured to only display on one specific page. Put PHP code in the blocks that calls ad() as described in the README.txt file distributed with the ad module. For example, if in one block you want to display the ad that has an nid of 17 in that block you would call:

    ad(NULL, 1, array('nids' => 17));

If instead you have multiple ads for each page and want to randomly display one of them, you could assign the ads to groups. You'd create one group for every page. You could then use the automatically generated blocks, configuring each block to only display on a specific page. (You can use this same method to display one specific ad on each page -- just add on ad to each group, then you don't have to write any PHP code.)

nancydru’s picture

Well, here's goes nothing...

nancydru’s picture

Status: Fixed » Active

Well, nothing is what I have so far. I enabled Text ads and that doesn't do me any good. My ads are text with links in them. They displayed as only text with the links displayed as text rather than links. And there is not a header link.

I turned off Text ads and when I try to create content it says there are no ad types defined. This leaves me without any scheduling capability.

So I went to look at ad blocks, and I'm totally lost so far. There is an "ad group: default" block. I found where to create a group, so I created one. But how do I create an ad, and how do I assign it to the group? And how do I get it to expire in the specified tme?

jeremy’s picture

From reading through your problem report, it sounds like you should first read through INSTALL.txt and README.txt to get a better understanding of how the ad module works. Please review the project's documentation before asking questions here.

nancydru’s picture

Not only have I read it (BTW, INSTALL says 4.7 even though I downloaded 5.x), but I have a printed copy right here. It isn't helping with this problem. I suspect the answer is that this module does not support the kind of ads I have.

jeremy’s picture

The ad module supports two types of ads via plugins: 1) locally hosted text ads with the ad_text module, and 2) locally hosted image ads with the ad_image module.

You must enable one of these two plugins to use the ad module. You can then create that ad type using Drupal's "Create content" interface.

jeremy’s picture

BTW: Thanks, I've updated INSTALL.txt.

nancydru’s picture

My ads look something like this:

<p>Do you love <a href="http://www.macadamiakingdom.com">macadamia nuts</a>?  Do you wake up in the middle of the night craving <a href="http://www.macadamiakingdom.com/brittle">macadamia nut brittle</a>?  We are the <a href="http://www.macadamiakingdom.com/about_us">world's largest supplier</a> of top quality macadamia nuts. Visit us today.</p>

This does not fit your definition of a text ad, so how do I enter it? I want it in a block, not embedded.

jeremy’s picture

It sounds like you are asking to include html in your text ads, a duplicate of this feature request.

nancydru’s picture

Partially a duplicate, yes. But there is no header URL or title to include, just the text as I showed it. This is what the advertisers want and paid for.

I guess I'll just go with a simple, manually-entered block.

jeremy’s picture

Title: Which release? » freeform text ads
Component: ad.module » ad_text.module
Category: support » feature

Yes, unfortunately what you describe is not supported, and is not a planned feature. One problem being that it would be difficult to track clickthroughs.

I will leave this feature request open, perhaps someone else will come along and need this and contribute the code.

nancydru’s picture

In my case, tracking click throughs is not needed. So I guess this module won't work for me. :(

jeremy’s picture

What do you want the module to do for you? If you're just putting a specific ad in a block on a specific page, and don't need to track anything, it is much easier to just do that with the block module.

nancydru’s picture

In addition to the click-throughs (which I wouldn't get), I wanted the automatic expiration for one thing, but that's not a big deal. I've already deleted the module and started creating blocks.

jeremy’s picture

Status: Active » Fixed

You can now use the ad_html module included with the current development version of the ad module to do what you need.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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