Go Back   vBulletin Setup > General Forums > General Discussion


Please Register to get full access to the forums.
Post New Thread  Reply



#1   03-25-2007, 05:29 PM
Send a message via Yahoo to marketprofits marketprofits will become famous soon enough Join Date: Dec 2006 Posts: 37 Location: LA
Conditional to show "Get Firefox.." to IE users only


,

I need some assistance in writing the conditionals to show the Google "Get Firefox..." adverts to users that are on IE, or any other web browser.


Can someone assist me? Thank you.
Quote   |  



#2   03-25-2007, 11:01 PM
G_Man has a spectacular aura about Join Date: Oct 2006 Posts: 194 Location: Spokane, Washington
Re: Conditional to show "Get Firefox.." to IE users only


I am running that on After Seppuku - What will you do now?

PHP Code:
<!--[If IE]>
    
<
table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<
tr>
        <
td class="alt1" width="100%" align="center"> <span>

<
script type="text/javascript"><!--
google_ad_client "pub-4635489561087125";
google_ad_width 468;
google_ad_height 60;
google_ad_format "468x60_as_rimg";
google_cpa_choice "CAAQj6eVzgEaCIxA5niBniDSKOm293M";
google_ad_channel "";
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

</span></td>
    </tr>
    </table>
    <br />
<![endif]--> 
You can look at my site and this is the code I have in my Navbar Template.

Last edited by G_Man; 03-25-2007 at 11:06 PM. Reason: Automerged Doublepost
Quote   |  



#3   03-31-2007, 12:11 AM
G_Man has a spectacular aura about Join Date: Oct 2006 Posts: 194 Location: Spokane, Washington
Re: Conditional to show "Get Firefox.." to IE users only


Quote:
Originally Posted by Dark_Mercy29 View Post
Ahhh , so you meaning if the person is on Firefox already you don't want it to show that ad?
That is what the code does.

You can view my forum index with IE and with any other browser to see the difference.

After Seppuku - What will you do now?
Quote   |  



#4   04-09-2007, 05:09 AM
Send a message via AIM to Caddyman Send a message via MSN to Caddyman Send a message via Yahoo to Caddyman Send a message via Skype™ to Caddyman Caddyman is a jewel in the rough Join Date: Dec 2006 Posts: 1,378 Location: Delaware
Re: Conditional to show "Get Firefox.." to IE users only


i never really thought about this, but i do have a google referral for FF and it wouldn't be much use to FF users huh?

ill give it a shot!
Quote   |  
Post New Thread  Reply
vBulletin Setup > General Forums > General Discussion


Thread Tools
Display Modes

 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Reset "most users online" from the AdminCP News Released vBulletin Hack 0 06-02-2007 01:27 AM
Justin.TV - " like the Truman Show " Brandon General Discussion 9 04-09-2007 08:59 AM
"users online in the past 24 hrs" is missing from my forum aj8690 vBulletin Questions 2 12-22-2006 08:44 PM


All times are GMT -6. The time now is 01:00 PM.

vBulletin Setup, vBulletin Setup Forums, vBulletin Services, vBulletin Blogs, vBulletin SEO, vBulletin Questions, vBulletin Skins, Styles, Templates
vBulletin Hacks / Modifications, vBulletin Monetization, Blogs, vBulletin Link Directory,Quality Link Directory