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

Submitted by Anonymous on Sat, 2005-11-12 15:22.

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

Submitted by vfilby on Sat, 2005-11-12 15:54.

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

Submitted by Anonymous (not verified) on Sat, 2008-02-02 14:12.

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

Submitted by vfilby on Wed, 2005-11-16 03:01.

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!

Submitted by vfilby on Thu, 2005-11-17 01:44.

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

Submitted by Kız Oyunları (not verified) on Fri, 2008-02-08 07:39.

$path = module_get_path( 'iedestroyer' );

I don't understand you mean

Submitted by vfilby on Sat, 2005-11-19 04:19.

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

Submitted by vfilby on Sun, 2005-11-27 02:53.

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.

Submitted by vfilby on Tue, 2005-11-29 04:39.

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

Submitted by vfilby on Tue, 2005-11-29 23:17.

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.

Submitted by tbone@dirtyredcommie.com (not verified) on Thu, 2006-01-05 17:08.

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

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

Submitted by tbone@dirtyredcommie.com (not verified) on Thu, 2006-01-05 17:02.

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.

Submitted by rvec (not verified) on Tue, 2006-08-15 12:44.

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

Submitted by Artagnon (not verified) on Mon, 2007-06-18 20:28.

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.

Submitted by Download from youtube (not verified) on Sat, 2007-08-11 15:41.

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

youtube

Submitted by Joomla Tutorial (not verified) on Thu, 2007-10-18 02:02.

Joomla Tutorials and good stuff

Submitted by Joomla Tutorial (not verified) on Thu, 2007-10-18 02:03.

good stuff

Submitted by Beautiful Minds (not verified) on Tue, 2007-12-11 05:16.

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

Submitted by matthew faulkner (not verified) on Thu, 2007-12-13 01:49.

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

matthew faulkner

Submitted by Gagner Argent (not verified) on Sun, 2007-12-16 22:49.

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

Submitted by vfilby on Mon, 2007-12-17 21:16.

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.

Submitted by HardandSteel (not verified) on Wed, 2007-12-19 17:43.

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

Submitted by Los angeles (not verified) on Wed, 2007-12-26 16:48.

Thank you

Submitted by ipodtech (not verified) on Wed, 2008-01-02 18:15.

I have some problem with it

Submitted by dainu zodziai (not verified) on Sat, 2008-01-05 14:31.

Joomla Tutorials and good stuff

Submitted by MD (not verified) on Fri, 2008-02-01 20:28.

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

The line is not visable...

Submitted by SEOContest2008 (not verified) on Tue, 2008-02-05 10:25.

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

Submitted by basement flooring (not verified) on Mon, 2008-09-01 01:34.

This module is looking good, i think any site with a good amount of incoming traffic can make a lot of money.

Submitted by bill (not verified) on Thu, 2008-11-06 13:49.

Wow...that's crappy. You put all the work into the module, and then find that Canadians aren't eligible. Sorry to hear that.
Save Money!

Submitted by Anonymous (not verified) on Sat, 2009-08-22 00:05.

Do you know the Archlord gold, in the game you need the Archlord money. It can help you increase your level. My friends always asked me how to buy Archlord gold, and I do not know he spend how much money to buy the archlord online Gold, when I see him in order to play the game and search which the place can buy the cheap Archlord gold. I am happy with him.

Submitted by cheap holic gold (not verified) on Sat, 2009-08-22 01:08.

My friends share many websites of holic gold with me, form them, we also can get holic money and holic online gold. although they are cheap holic gold, but it can replace holic online moneyeassily

Submitted by future protector (not verified) on Sat, 2009-08-22 04:09.

lolx, ie is dying or dead. IE has many plenty of issues regarding CSS and make more harder for web developer to perfect. Go firefox!

Submitted by Anis Maharjan (not verified) on Mon, 2009-08-24 11:47.

I really like this module, encouraging people to use Firefox. Since IE have got many problems regarding the viewing of layout of website, its much slower and lagging behind in much more aspects than Firefox..

web designing

Submitted by Web Hosting (not verified) on Mon, 2009-08-24 21:08.

Very useful information, many thanks :)

Submitted by LMS (not verified) on Fri, 2009-08-28 17:19.

IEDestroyer is warning users of IE, regardless of the version, and asking them to switch to Firefox. It also sets up referral links to Google program of promoting Firefox. Which is all good, but...

IE6_warning only phases out users with IE6 (not all IE versions). It suggests different browsers to download, and not only Firefox. It is in this sense less aggressive than IEDestroyer. We use it on large Drupal websites, to invite users to upgrade IE6, nothing more.

Post new comment

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