Hi,

I have a view in a panels 2. The view displayes nodes.
I have a problem with my ad_image nodes. While I have set some of them to offline, unpublished, expired, denied, they are still shown to the public!
How is this possible? Is it a caching issue? I have no caching set up in /admin/content/ad/configure
Please assist! Thanks further for a great module!

greetings,
Martijn

CommentFileSizeAuthor
#1 ad_still_shown.jpg81.8 KBsummit
#1 ad_shown.jpg74.57 KBsummit

Comments

summit’s picture

Priority: Normal » Critical
StatusFileSize
new74.57 KB
new81.8 KB

Hi,

My ads keep staying shown. How can I solve this?
Picture 1 Ad still shown...
See picture 2 with the correct status-message ad should not be shown.

Please assist.
Thanks in advance for getting into this!

greetings,
Martijn

hd’s picture

I can confirm this erroneous behavior after updating from version 5.x-1.3-2 to 5.x-1.4-1 (and running update.php). Even changing the status of ads back and forward did not allow to disable them from being displayed.

summit’s picture

Hi,

Any progress in this field please? I have now a couple of as which I don't want to show, but also do not want to delete.
Anyone a suggestion how to proceed?

Thanks in advance!
greetings,
Martijn

jeremy’s picture

This is most likely due to the ad module's unimpressive support for the views module in Drupal 5. There are many known bugs which I've not had time to look into. Patches are welcome.

summit’s picture

Hi,
Anyone out there who may be knows what is going on?
Thanks!

greetings,
Martijn

inforeto’s picture

If a view is used to display nodes, be sure to add a filter to skip the unpublished nodes.

summit’s picture

Hi Inforeto,

I will look into this. Thanks for pointing me to views!
Greetings,
Martijn

summit’s picture

Priority: Critical » Normal
Status: Active » Closed (works as designed)

Hi Jeremy,

I investigated my view again. And I saw there is a filter to show the ad-status. I have set the ad-status to only show the active ad's. And it worked!
But I think this should be documented better. That the status is only a setting, and with views you still need to set the ad-status to the settings you want to have.
Thanks a lot for this great module!

Greetings,
Martijn

hd’s picture

As reported in #2 above, I do have this problem (that status offline is ignored) and I am not using the view module.

Today I tried to update to 5.x-1.x-dev from Feb 06, 2008 and still have the same problem. Deleting and adding the ad again does not help either.

Furthermore selecting status unpublished is not taken after submit, it just sticks with active.

So the only workaround seems to be using status expired to temporarily prevent an ad from being displayed.