Ads need to be able to be inserted in outgoing mail - mail generated by og2list. Other ads will be handled in the forums through regular channels (banner.module or phpAdsNew). Direct mail will be handled through their regular channels (CiviCRM, advuser.module, etc.).

Ads in email: Correct, we need ads to be inserted into each mail – based on criteria we give it (ie. One a day – rotating with other ads – etc.)
* This should be a HEADER ad, not a footer if possible. This is fairly important, as I want our ad to always be seen. The ad should go into individual and digest emails.

--To add an add as the header is no problem. The ads would appear on each message, ie if a digest has 10 mails, the reader would get an add on each of them.

* Ads should be able to be HTML (and RICH MEDIA – i.e. Video – there’s a nice new technique that drops down a video viewer when you hover over the ad.) or default to text for people who turn off HTML viewing.

--HTML is no problem. We send html mails. Usually MUAs that allow users to switch off html will automatically render a plaintext version from the html.

So, we need an administrative area that allows us to select the current ad header for all outgoing messages. The header ad could be plain text or html.

--I will provide what we call a "hook" in Drupal lingo. This hook will then be implemented in another module and its output will be prefixed to outbound mail.

--I will provide a sample module that implements the hook and ads a configurable html snippet as the prefix. More complicated implementations can be based on that.

Comments

Amazon’s picture

Frankly, I feel this should be a choice: header or footer (or both). Really, this is all about tagging on a header or footer to the messages. It could be used for any purpose. Our requirement is that it is HTML enabled. For something ad-specific, it'd be nice if it could tie into something like banner.module, or perhaps feed it with a view to auto-rotate ads.

killes@www.drop.org’s picture

more important than whether we put the ads before or after the content is the question how dynamic the ads shoudl be. Ie, should the same ad be sent to all users? Should they differ? Where do they come from?

Amazon’s picture

It sounds like we want a content type of mail advertisement. Then a view is generated and there is condition on the view whether it is random or whether it is the current outgoing ad.

I don't want to make this too complicated. Let's start with a single TextField to create the content in the ad.

Kieran

killes@www.drop.org’s picture

Status: Active » Fixed

I've implemented a call to an og2list_ad hook. there is a settingwhich decides where the advert goes (before after). You will need a module that implements the hook to make use of this.

marczak’s picture

Great - all sounds right.
--
erm

Amazon’s picture

A module to implement these adds, or that can use this hook needs to be roughed in. Once we have a link to this module in contribs we can close this issue.

Amazon’s picture

To clarify this will not support just advertisement but any kind of organization content such as daily message, registration or donations that list managers want.

We are going to integrate with the banner.module and extract text/html to put into the list. A module needs to be written to do this.

Anonymous’s picture

Status: Fixed » Closed (fixed)