PDA

View Full Version : How To Remove/Eliminate (http://) To "Insert Image" And "Insert Link" Tag!


princeedward
11 Feb 2008, 21:08
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:

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

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

UNDER:

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

FIND: 2

* Insert Link

THEN:

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

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

UNDER:

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

FIND: 3

* Insert Link

THEN:

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

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 (http://www.vbulletin.org/forum/member.php?u=234364)