Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Add Google Chrome to the is_browser() function Details »
Add Google Chrome to the is_browser() function
Mod Version: 1.00, by Lea Verou (Member) Lea Verou is offline
Developer Last Online: Jul 2012 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.7.2 Rating: (3 votes - 5.00 average) Installs: 24
Released: 04 Sep 2008 Last Update: Never Downloads: 6
Not Supported Code Changes Re-usable Code Translations  

About the is_browser() function

This modification will allow you to insert into templates code specific for Google Chrome (useful for correcting CSS issues that it has with box-shadow and opacity).

It obviously needs file edits, as there is no hook in there.

Should work for vB versions from 3.7.3 and below, although in very old versions, the code to find might slightly be different.

File: includes/functions.php

1. Find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

add above:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

2. Find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Add below:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

3. Find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Change to:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
  #16  
Old 11 Sep 2008, 20:43
Lea Verou Lea Verou is offline
 
Join Date: Jul 2005
Real name: Lea Verou
Exactly. It doesn't provide the exact code to insert, just the ability to do so.
Reply With Quote
  #17  
Old 11 Sep 2008, 23:44
TimberFloorAu's Avatar
TimberFloorAu TimberFloorAu is offline
 
Join Date: May 2008
Real name: Blue
Originally Posted by Michelle View Post
Exactly. It doesn't provide the exact code to insert, just the ability to do so.
You have lost me.

We use opacity on various mods within our sites, with the google chrome fix, you have created, it doesnt in any way make any difference to image opacity.
All image reflections, have opacity set as reflective properties.

Or perhaps I have missed the ghist of your initial statement...
__________________

My Hacks [ click ] | Steve ~ Administrator for British Expats AustraliaBound.org/forum | Test our forum - user; don pass; pass123
Sports Tipping Mod - coming February 2010 ~ Show your Interest !
Reply With Quote
  #18  
Old 12 Sep 2008, 00:19
Lea Verou Lea Verou is offline
 
Join Date: Jul 2005
Real name: Lea Verou
Have you actually read the is_browser() documentation that I provided a link to at the first post? Perhaps that will help you understand what this mod does.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 20:33.

Layout Options | Width: Wide Color: