Back to vBulletin 3.0 Template Modifications

Pimp Firefox
Mod Version: 1.00, by The Coldwood

This modification is in the archives.
vB Version: Rating: (0 vote - 0 average) Installs: 0
Released: 24 Dec 2004 Last Update: Never Downloads:
Not Supported  

THIS HACK IS BEING RE-TOOLED SO PLEASE - I KNOW THE PROBLEM!

This is my first hack so please be kind

First, open up FORUMHOME
Take this code
Code:
   <!-- guest welcome message -->
   <if condition="$show['guest']">
 <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>
   	<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>
   </thead>
   </table>
 <div style="padding:0px 0px 8px 0px;"></div>
   </if>
   <!-- / guest welcome message -->
Then replace it with this
Code:
<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&amp;id=0&amp;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!

Download

No files for download.


vblts.ru supports vBulletin®, 2022-2024