The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
On our forum we have a set of rotating header images, but the PHP that is used to rotate them doesn't perform well on old versions of IE. I'd like to add a single checkbox in the UserCP that enables a "optimize for IE" setting, and wrap the IE-specific header code in an <if>...<else> tag that would check for the status of that option for each individual user and display the header accordingly. How would I do this?
|
|
#2
|
|||
|
|||
|
Why don't you just add the browser check in your coding for everyone?
|
|
#3
|
|||
|
|||
|
Because in some instances it performs fine on IE 7, while in others it performs horribly. It is isolated to IE, but I don't want to force IE users to use a simple, static header if they feel no need for it.
|
|
#4
|
|||
|
|||
|
You can look for specific IE versions within the script.. Something like:
PHP Code:
|
|
#5
|
|||
|
|||
|
Quote:
Unofficial mods and addons manage to add options to the User CP. Is it not possible to do this manually? |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|