<if condition="$show['guest'] OR is_browser(ie)">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><phrase 1="$vboptions[bbtitle]">$vbphrase[welcome_to_the_x]</phrase></td>
</tr>
</if>
<!-- guest welcome message -->
<if condition="$show['guest']">
<tr>
<td class="alt1" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>">
<phrase 1="faq.php?$session[sessionurl]" 2="register.php?$session[sessionurl]">$vbphrase[first_visit_message]</phrase>
</td>
</tr>
<div style="padding:0px 0px 8px 0px;"></div>
</if>
<!-- / guest welcome message
<!-- Pimp Firefox Message -->
<if condition="is_browser(ie)">
<td class="alt1" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><a href="http://www.spreadfirefox.com/?q=affiliates&id=0&t=54"><img border="0" alt="Get Firefox!" title="Get Firefox!" src="http://sfx-images.mozilla.org/affiliates/Banners/468x60/trust.png"/></a>
<b>You are using Internet Explorer, which is a security risk.</b>
<p>We are trying to discourage people from using IE, as it contains many security flaws and other problems. This is confirmed by The Department of Homeland Security in the USA. If you want to view this page without this popup appearing, please download one of these excellent alternative browsers:</p>
<ul>
<li><a href="http://www.mozilla.com/products/firefox">Mozilla Firefox</a></li>
<li><a href="http://www.opera.com">Opera</a></li>
<li><a href="http://www.mozilla.com">Mozilla</a></li>
<li><a href="http://www.netscape.com">Netscape</a></li></ul>
<p>Click on any of the browser names to see more information about them on their websites. We apologise for any inconvenience, and hope that you return with a different browser soon.</p>
</td>
</tr>
</if>
<if condition="is_browser(ie) OR $show[guest]">
</thead>
</table>
</if>
<!-- / Pimp Firefox Message -->
Hope this helps!
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
This is just plain disgusting seeing members bash his mod, im sure he worked hard on it, and people like you guys degrading it isnt making things any better. Gj Rocket, needs a little work though, if you can get it fixed and working good, i will be sure to use it!
however i did make one alteration i decided to show it only to guests using IE so that it does its original purpose however it doesn't inconvience my members
change
Code:
<!-- Pimp Firefox Message -->
<if condition="is_browser(ie)">
<td class="alt1" colspan="6"><a href="http://www.spreadfirefox.com/?q=affiliates&id=0&t=54"><img border="0" alt="Get Firefox!" title="Get Firefox!" src="http://sfx-images.mozilla.org/affiliates/Banners/468x60/trust.png"/></a>
<b>You are using Internet Explorer, which is a security risk.</b>
<p>We are trying to discourage people from using IE, as it contains many security flaws and other problems. This is confirmed by The Department of Homeland Security in the USA.
If you want to view this page without this popup appearing, please <u>login</u> or download one of these excellent alternative browsers:</p>
<ul>
<li><a href="http://www.mozilla.com/products/firefox">Mozilla Firefox</a></li>
<li><a href="http://www.opera.com">Opera</a></li>
<li><a href="http://www.mozilla.com">Mozilla</a></li>
<li><a href="http://www.netscape.com">Netscape</a></li></ul>
<p>Click on any of the browser names to see more information about them on their websites. We apologise for any inconvenience, and hope that you return with a different browser soon.</p>
</td>
</tr>
</if>
<if condition="is_browser(ie) OR $show[guest]">
</thead>
</table>
</if>
<!-- / Pimp Firefox Message -->
to
Code:
<!-- Pimp Firefox Message -->
<if condition="is_browser(ie) AND $show['guest']">
<td class="alt1" colspan="6"><a href="http://www.spreadfirefox.com/?q=affiliates&id=0&t=54"><img border="0" alt="Get Firefox!" title="Get Firefox!" src="http://sfx-images.mozilla.org/affiliates/Banners/468x60/trust.png"/></a>
<b>You are using Internet Explorer, which is a security risk.</b>
<p>We are trying to discourage people from using IE, as it contains many security flaws and other problems. This is confirmed by The Department of Homeland Security in the USA.
If you want to view this page without this popup appearing, please <u>login</u> or download one of these excellent alternative browsers:</p>
<ul>
<li><a href="http://www.mozilla.com/products/firefox">Mozilla Firefox</a></li>
<li><a href="http://www.opera.com">Opera</a></li>
<li><a href="http://www.mozilla.com">Mozilla</a></li>
<li><a href="http://www.netscape.com">Netscape</a></li></ul>
<p>Click on any of the browser names to see more information about them on their websites. We apologise for any inconvenience, and hope that you return with a different browser soon.</p>
</td>
</tr>
</if>
<if condition="is_browser(ie) OR $show[guest]">
</thead>
</table>
</if>
<!-- / Pimp Firefox Message -->
anything trying to push Firefox has my vote dude, your spirit is in the right place.
however the FF team have always been pretty clear that they don't like any form of browser sniffing, even in the interest of promoting FF. That's my only problem with the modification.