vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=229)
-   -   Miscellaneous Hacks - Emulate IE7 on IE8 (https://vborg.vbsupport.ru/showthread.php?t=172332)

PitchouneN64ngc 03-06-2008 10:00 PM

Emulate IE7 on IE8
 
As Internet Explorer 8 Beta 1 is public beta, using the standard mode breaks the layout and functionnalities of vBulletin.

To avoid this and to force your users to use the "Emulate IE7" button without to click on it, you can do this:

In the 'headinclude' template, at the top, add this:
HTML Code:

<if condition="is_browser('ie', '8')"><meta http-equiv="X-UA-Compatible" content="IE=7" /></if>
And save ;)

You can have more information in this page at the "Versioning and Cross-document Interaction" section.

Edit : this modification isn't more necessary since vBulletin 3.7.0 Release Candidate 1, an option have been added to vBulletin Options by default.

SwollenCranium 03-07-2008 11:49 AM

Umm ?

There's an "Emaulte IE7" button in vbulletin ?

Wayne Luke 03-07-2008 12:53 PM

The Emulate IE7 buttone is in the toolbar of IE8 because it forces developers to comply to the latest standards (HTML 5 and CSS 2.1) whereas as IE7 does not.

Please post this in the Quick Tips and Customizations on vBulletin.com and I will approve it for public viewing.

PitchouneN64ngc 03-07-2008 02:50 PM

Ok Wayne ;)

Edit: sent: http://www.vbulletin.com/forum/showthread.php?t=262618

Discussions 03-07-2008 11:00 PM

It doesn't work.

At least not for vBulletin. IE8 seems to be breaking every website that I go to.

echo2kk5 03-08-2008 04:39 AM

It works for me, all my styles are fine when viewing with IE8 after applying this, Thanks.

aj8690 03-08-2008 07:03 PM

Quote:

Originally Posted by Discussions (Post 1459693)
It doesn't work.

At least not for vBulletin. IE8 seems to be breaking every website that I go to.

Didn't work for me at first, either, but it works now. Make sure you add it to the very top.

smooth-c 03-11-2008 12:08 PM

Thank you soo much! marked as installed.

Andyucs 03-11-2008 06:12 PM

works a treat ta

Barakat 03-16-2008 03:27 PM

Works ... In s t a ll

NeuroLancer 03-17-2008 03:49 AM

Thanks works good. :D

On my site I was getting a display problem with some css and ie 8, this has helped fix it. Looks like ie 8 is going to have its own unique css issues :mad:

Installed. :up:

Jase2 03-25-2008 02:09 PM

Thanks!

Regards Jason :)

Boofo 03-25-2008 02:54 PM

This is now a default setting in 3.7 RC1. ;)

Jase2 03-25-2008 03:04 PM

I never knew that, Boofo. So, it's included in the 'headinclude' template by default?

Regards Jason :)

Boofo 03-25-2008 03:13 PM

Nope, it is a setting in the vbulletin settings. ;)

Jase2 03-25-2008 03:22 PM

Oh yes, thanks Boofo!

Regards Jason :)

ddwgoose 08-18-2008 06:00 AM

this fixed the errors i was having on the forum page but how can i get it to fix the errors on the cmps page.


All times are GMT. The time now is 06:34 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01033 seconds
  • Memory Usage 1,743KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (17)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete