Back to vBulletin 3 Articles

vBulletin 3.7x - Fix for IE7 prompt replacement
by djbaxter 24 Jul 2008
Rating: (1 vote - 5.00 average)

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:

Code:
	this.show_prompt = function(dialogtxt, defaultval, forceltr)
	{
		var returnvalue;
		if (is_ie7)
		{
Replace line 1180 as follows:

Code:
if (is_ie7 && false)


Then find at lines 2829-2834:

Code:
			else
			{
				this.insert_text(opentag + closetag, opentag.length, closetag.length);
				if (is_ie7)
				{
Replace line 2833 as follows:

Code:
if (is_ie7 && false)

References:
  • http://www.vbulletin.com/forum/showpost.php?p=1317530&postcount=270
  • http://forum.psychlinks.ca/index.php?t=7914

vblts.ru supports vBulletin®, 2022-2024