IE Destroyer Drupal Module

Update:

I have made a few changes to the module. Now you can specify what pages it will show up on.

***Note: I have only tested this on Drupal 4.6 and only on my site. There may be bugs that I haven't caught. Please report the bugs and I will get to them as soon as I can.

Make money with Drupal by recommending Firefox! This drupal module implements all the firefox referrer scripts provided by http://www.explorerdestroyer.com. They detect if a user is using IE, then print out a message trying to convince them to firefox (and you get $1 per referral).

Unfortunately for me I wrote this module while I was waiting for google to activate my adsense account, only then did I find out that this referral program is not available for Canadians. If you like this module and feel like contributing to a Masters Student/Drupal developer please use the button below




Installation

  1. Download and install the module
  2. Add thie line right beneath the body tag in your phptemplate theme.
  3. Click below to get a google AdSense account
  4. Go to admin/settings/IEDestroyer to enable and configure the module


Anonymous

The site looks good. I was you on the drupal site.
I am thinking of switching my site http://nickelj.com to it.

I would definitely recommend Drupal, it is an excellent platform that is very versatile and robust. There is a learning curve; gotta learn some new terms and figure out the 'drupal way', but after that it is smooth sailing.

Vince

Perhaps someday I'll have time to setup a test installation of the last couple version for development but I am trying to finish my thesis now and I am swamped!

There is nothing particularly special about the module so I am guessing that it will work. I suspect 4.7 will break it because of the new forms api.

If you have an older installation of drupal please try it out and let me know how it goes!

I looked in the 4.5 -> 4.6 module upgrade docs and module_get_path was replaced with drupal_get_path in 4.6. It looks like you may only have to change one line of code. Change:

//4.6
$path = drupal_get_path( 'module', 'iedestroyer' );

to:

//4.5
$path = module_get_path( 'iedestroyer' );

I don't currently have a 4.5 install to test on right now, but if a 4.5 user can verify that this works then I'll at a 4.5 version to the website.

Vince

This modules depends on the ability to call a php function from your template. If you can do that then you are set. The only other thing I can think of is the ability to call theme_hook functions from the template. I will look into this.

V

At the moment it is only open to us residents. I am a Canadian and didn't learn about this until after I was approved for adsense... and after I wrote this module. Can't really use it but I'll support it anyways.

Are you using a phptemplate theme? Email me a copy of the file with the parse error and I'll take a looky at it.

vfilby@gmail.com

The problem is that when I changed the module to not use the theme hook for something that I deemed was not a theme, I also forgot to update the INSTALL.txt file. In your theme insert the following code:

<?php if( module_exist( iedestroyer ) {
  print iedestroyer_banner();
}?>

Now that I think of this, I may add the theme hook back in for use in theme engines that do not support calling php functions. The module will be updated shortly.

tbone@dirtyredcommie.com (not verified)

When I try to use the functionality that lets me dictate which pages it shows up on, any page that doesn't display the iedestroyer has a javascript error:

Line: 9
Object Expected

It appears to be happening here:
<body 0nload="java script:hasIE_hideAndShow();">

Note: I had to add a zero to "onload" and put a space in "javascript" so that I could get past the suspicious content filter.

tbone@dirtyredcommie.com (not verified)

Your snippet of code has a syntax error. You're missing a parenthesis. It should be:

<?php if( module_exist( iedestroyer ) ) {
print iedestroyer_banner();
}?>

rvec (not verified)

I also use drupal 4.7 and I tryed that link. But I get this when I open the page with IE
Fatal error: Call to undefined function drupal_get_path() in /var/www/drupal/modules/iedestroyer.module on line 38
http://83.116.92.157/drupal

Artagnon (not verified)

The reason I want to use this module is because my website is broken when viewed with IE. I'm unable to get this thing to work under Drupal 5.1. I've downloaded and enabled the module. When I visit the page with IE, it just shows me the broken page- that's seen without the module anyway.

Download from youtube (not verified)

The reason I want to use this module is because my website is broken when viewed with IE.

youtube

Joomla Tutorial (not verified)

Joomla Tutorials and good stuff

Joomla Tutorial (not verified)

good stuff

Beautiful Minds (not verified)

I'm not using drupal.. but thinking abt a migration. Is it possible to migrate from Blogger to drupal(without loosing current posts?)

matthew faulkner (not verified)

I'm looking forward to Drupal platform.
The more I look the more I like. thanks

matthew faulkner

Gagner Argent (not verified)

Bonsoir
i don'know drupal because i am happy with wordpress
i am using wordpress in my blog and it's really good !!

u can have a look at http://www.gagner-ensemble.com/actualites/ u will see it s really customizable

I have a number of friends who use WordPress and Drupal, they each work well. I prefer Drupal because it is a very extensible and robust framework that is capable of just about anything.

If all you want is a few static pages and a blog, WordPress is probably fine for you. If you are setting up a community site or want to customize it in bizarre ways I suggest looking into Drupal.

HardandSteel (not verified)

I like wordpress for some reason i dont want to change
http://www.hardandsteel.info

Los angeles (not verified)

Thank you

ipodtech (not verified)

I have some problem with it

dainu zodziai (not verified)

Joomla Tutorials and good stuff

runescape gold (not verified)

i really appreciate you let me log in.an i want to know how you did that.if you like i hope you can email me .i like online games very much and i want to tell you a good news :
i bought runescape gold from a site named runescape gold yesterday.the service is excellent.so i stronly introduce it to you.there you can get cheapest runescape gold .besides the delivering speed is very fast. if you like you may take a try.

adsasdsad (not verified)

dose your site powered by drupal?i am not satisfied with my site runescape gold
.hoping you can give me some advises.thank you.

Charity cds (not verified)

Great info - anything to help release the Gates grip on everything PC, and a smart way to finance your site hosting at the same time. Thanks.

Drupal seems to be a great solution. Looking forward to further development.

Justin

runescape items (not verified)

i really appreciate you let me log in rsloads, i want to know how you did that.if you like i hope you can email me .i like online games like runescape very much and i want to tell you a good news:
i bought runescape gold from a site named runescap itmes yesterday.the service is excellent.so i strongly introduce it to you.you can give it a try.

seocontest2008 (not verified)

Hello,
Thanks for this article.
Can i put this article in my site?
Thanks again.

MD (not verified)

"Add thie line right beneath the body tag in your phptemplate theme."

The line is not visable...

Anonymous (not verified)

I agree. I had used wordpress on my site, http://www.freight-mover.com, but am now considering changing it.

Louise G (not verified)

I love this blog and will be visiting regularly from now on. I found this site which is great for Sales Jobs at every level and it has jobs in every country imaginable click on this to visit it Sales Jobs

SEOContest2008 (not verified)

Too bad, Google already ended their referral links already. But still good add-on.

Steven's (not verified)

Drupal really works so good considering the popularity rate and the demand of the tool is vast increasing faster.

Steven's J.
- Panama Real Estate

Adonis (not verified)

Thanks for the guidelines on IE destroyer module.. Really helps.

Kız Oyunları (not verified)

$path = module_get_path( 'iedestroyer' );

I don't understand you mean

Kral Oyun (not verified)

Kız Oyunları code true

Araba Oyunları

seocontest2008 (not verified)

Hello,
Thanks for this article and can I put this article to my site?
Thanks again.

Great module thanks Vince

Save YouTube (not verified)

Great site!

Digi (not verified)

Nice idea to show this only to IE users. Unfortunately I don't use Drupal ..

Anonymous (not verified)

Nice addition.

yicrosoft (not verified)

can this be implemented on joomla?

Ekrem (not verified)

Thank you for the nice article

I am also a Drupal fan - I know no better CMS. And I can't imagine my life on the Internet without the great features of the Firefox.

I encourage all Drupal webmasters to use the IE Destroyer and help visitors learn how good Firefox is.

Meanwhile I see several Seocontest2008 contestants' posts here.

Let me take the liberty to congratulate all participants of the international contest organized by UK Webmasters Forum "SEOCONTEST2008". It's mot just the $1000 prize that makes it attractivem, but the winner will gain a very high reputation and a lot of business afterwards.

I'd like to mention that there are free spots available, until the number of contestants to seocontest2008 will reach 300 persons.

Home based business (not verified)

This is such an awesome module. thanks for this update.

best penny stocks (not verified)

thank you for sharing this info
it was very helpful

çelik kapı (not verified)

Great Site.

Post new comment

The content of this field is kept private and will not be shown publicly.