|
إنضمامك إلي منتديات استراحات زايد يحقق لك معرفة كل ماهو جديد في عالم الانترنت ...
انضم الينا
#1
| ||
| ||
Hello in this post u will see some members like me want to disable this option "Retrieve remote file and reference locally" in wysiwyg editor without disable attachments at all http://www.vbulletin.com/forum/proje...?issueid=34204 the good way to do that in page 2 from Mr. Michael Henretty and this is the solution Quote: Originally Posted by Michael Henretty If I understand you correctly, you want only the "From URL" option. Is that correct? Ok, here is a fix for you: [forum-path]/clientscripts/vbulletin_textedit.js around line 1720, look for Code: /** * Insert Image * * @param event Event object * * @return boolean */ vB_Text_Editor.prototype.insertimage = function(e, forceoldway) { if (this.wysiwyg_mode && typeof(vBulletin.attachinfo) != "undefined" && typeof(vBulletin.attachinfo.contenttypeid) != "undefined" && vBulletin.attachinfo.contenttypeid != 0 && typeof(forceoldway) == "undefined") { add to the "if" false &&, so that it looks like this: Code: if (false && this.wysiwyg_mode && typeof(vBulletin.attachinfo) != "undefined" && typeof(vBulletin.attachinfo.contenttypeid) != "undefined" && vBulletin.attachinfo.contenttypeid != 0 && typeof(forceoldway) == "undefined") That should get rid of both the "From Computer" option, as well as the "Retrieve remote file and reference locally" option, but still allow you to upload attachments using the attachment manager. just after edit the file mak sure u refresh ur forum page and try to insert image using wysiwyg editor __DEFINE_LIKE_SHARE__ |
مواقع النشر (المفضلة) |
| |