PDA

View Full Version : vBulletin 3.7x - Fix for IE7 prompt replacement


djbaxter
24 Jul 2008, 13:47
vBulletin 3.7x - Fix for IE7 prompt replacement

Beginning with vBulletin 3.65, following (ill-informed) reports of issues with Internet Explorer 7's prompts for links or images, the vBulletin team replaced these with a new uglified and clumsified built-in vBulletin prompt.

If you, like me, hate the new prompts and wish to revert to the Internet Explorer prompts, here's how:

Find in clientscript/vbulletin_textedit.js at lines 1177-1182:

this.show_prompt = function(dialogtxt, defaultval, forceltr)
{
var returnvalue;
if (is_ie7)
{


Replace line 1180 as follows:

if (is_ie7 && false)



Then find at lines 2829-2834:

else
{
this.insert_text(opentag + closetag, opentag.length, closetag.length);

if (is_ie7)
{

Replace line 2833 as follows:

if (is_ie7 && false)


References:

vBulletin Community Forum - View Single Post - vBulletin 3.6.5 Release Discussion (http://www.vbulletin.com/forum/showpost.php?p=1317530&postcount=270)

vBulletin 3.6x - Fix for IE7 prompt replacement - Psychlinks Psychology Self-Help & Mental Health Support Forum (http://forum.psychlinks.ca/showthread.php?t=7914)

Playa82
24 Jul 2008, 15:02
hehe, i'm first. ;-)

Thank you very much. i was lookin for this

George_46
25 Jul 2008, 04:10
:up: Thank....