Knowledge Base Article

Remove default http:// from the Insert Link option in vBulletin

In order to remove the predefined http://  string from the Insert Link functionality in the vBulletin text editor open the clientscript/vbulletin_textedit.js file and change the following code excerpts:



{url=this.show_prompt(vbphrase.enter_link_url,"http://",true)} (appears twice)



and



{this.prompt_link("url",url,vbphrase.enter_link_url,"http://")}



to



{url=this.show_prompt(vbphrase.enter_link_url,"",true)} (appears twice)



and



{this.prompt_link("url",url,vbphrase.enter_link_url,"")}



Also, navigate to your vBulletin admin panel->Languages & Phrases->Search in Phrases. Search for the enter_link_url phrase in Phrase Text and Phrase Variable Name. Edit it and make sure that http:// is not present in the default text window.



Rating

Please indicate if this article was helpful for you.

rating :  5.0 from 5
views :  776
votes :  2

Haven't found what you are looking for? Suggest an article HERE.

powered by

Valid XHTML 1.0 Strict Valid CSS!