Back to vBulletin 3 Articles

How To Remove/Eliminate (http://) To "Insert Image" And "Insert Link" Tag!
by princeedward 11 Feb 2008

Like everyone always do...before we insert/paste copied image url or any url link to "Insert Image" / "Insert Link" Tags., we have to eliminate/delete first this one "http://" then we can paste the link...i guess...this is not necessary or important to have anymore...

If You Think I'm Right...Agreed..Do This!

So Here's The Solution To That Problem:

Hostcpanel > Forumdirectory > Clientscript > Vbulletin_textedit.js > Edit:

FROM THE TOP:

FIND: 1

* Insert Image

THEN:

Code:
img = this.show_prompt(vbphrase['enter_image_url'], 'http://', true);
AND CHANGE/PASTE THIS:

Code:
img = this.show_prompt(vbphrase['enter_image_url'], '', true);
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

UNDER:

======================================
// Mozilla WYSIWYG only
//
======================================

FIND: 2

* Insert Link

THEN:

Code:
url = this.show_prompt(vbphrase['enter_link_url'], 'http://', true);
AND CHANGE/PASTE THIS:

Code:
url = this.show_prompt(vbphrase['enter_link_url'], '', true);
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

UNDER:

======================================
// Standard editor
//
======================================

FIND: 3

* Insert Link

THEN:

Code:
this.prompt_link('url', url, vbphrase['enter_link_url'], 'http://');
AND CHANGE/PASTE THIS:

Code:
this.prompt_link('url', url, vbphrase['enter_link_url'], '');
For This Thing To Work: you have to clear cache/cookies to any of your browsers...

Enjoy!

For Helping Me; Credit Goes Also To:
R-D
Attached Thumbnails
Click image for larger version
Name:	insert_link_image.gif
Views:	78
Size:	19.5 KB
ID:	76587  

Similar Mods

Administrative and Maintenance Tools Insert an "Add New User" link into the Paid Subscriptions ACP Navigation section vBulletin 3.6 Add-ons

vblts.ru supports vBulletin®, 2022-2024