IE Destroyer Drupal Module
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
- Download and install the module
- Add thie line right beneath the body tag in your phptemplate theme.
- Click below to get a google AdSense account
- Go to admin/settings/IEDestroyer to enable and configure the module












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
I agree. I had used wordpress on my site, http://www.freight-mover.com, but am now considering changing it.
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:
$path = drupal_get_path( 'module', 'iedestroyer' );
to:
$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
$path = module_get_path( 'iedestroyer' );
I don't understand you mean
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:
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.
Your snippet of code has a syntax error. You're missing a parenthesis. It should be:
<?php if( module_exist( iedestroyer ) ) {
print iedestroyer_banner();
}?>
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.
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
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.
The reason I want to use this module is because my website is broken when viewed with IE.
youtube
Joomla Tutorials and good stuff
good stuff
I'm not using drupal.. but thinking abt a migration. Is it possible to migrate from Blogger to drupal(without loosing current posts?)
I'm looking forward to Drupal platform.
The more I look the more I like. thanks
matthew faulkner
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.
I like wordpress for some reason i dont want to change
http://www.hardandsteel.info
Thank you
I have some problem with it
Joomla Tutorials and good stuff
"Add thie line right beneath the body tag in your phptemplate theme."
The line is not visable...
Too bad, Google already ended their referral links already. But still good add-on.
This module is looking good, i think any site with a good amount of incoming traffic can make a lot of money.
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!
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.
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
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!
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
Very useful information, many thanks :)
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