The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
MySpace/YouTube/Google Video Addon (best yet) Details »» | |||||||||||||||||||||||||||
MySpace/YouTube/Google Video Addon (best yet)
Developer Last Online: Apr 2009
...
Show Your Support
|
Comments |
#272
|
||||
|
||||
Name of your site or link too it
|
#273
|
|||
|
|||
worked like a charm, thanks.
|
#274
|
||||
|
||||
Hmm never mind i didnt need it more now
i havent try metacafe and the others |
#275
|
||||
|
||||
Once i saved the bb code's i got this at the top of screen...
Quote:
|
#276
|
||||
|
||||
Can it post mp3, streaming video, rm, flash,... ?
|
#277
|
|||
|
|||
Quote:
Anyone got a good video icon? |
#278
|
||||
|
||||
I can't find this code in my editor_clientscript. How can I add if it not there? Thank!
/** * Insert Image * * @param event Event object * @param string (Optional) Image URL * * @return boolean */ Here what I have: <!-- EDITOR SCRIPTS --> <script type="text/javascript" src="clientscript/vbulletin_textedit.js"></script> <script type="text/javascript"> <!-- var fontoptions = new Array($vBeditJs[font_options_array]); var sizeoptions = new Array($vBeditJs[size_options_array]); var smilieoptions = new Array(); smilieoptions = { $vBeditJs[smilie_options_array] }; var istyles = new Array(); istyles = { $vBeditJs[istyle_array] }; var smiliewindow_x = 240; var smiliewindow_y = 280; var ignorequotechars = $vboptions[ignorequotechars]; // vB Phrases vbphrase["wysiwyg_please_wait"] = "$vbphrase[wysiwyg_please_wait]"; vbphrase["wysiwyg_initialized"] = "$vbphrase[wysiwyg_initialized]"; vbphrase["wysiwyg_command_invalid"] = "$vbphrase[wysiwyg_command_invalid]"; vbphrase["moz_must_select_text"] = "$vbphrase[moz_must_select_text]"; vbphrase["moz_edit_config_file"] = "$vbphrase[moz_edit_config_file]"; vbphrase["enter_tag_option"] = "$vbphrase[enter_tag_option]"; vbphrase["must_select_text_to_use"] = "$vbphrase[must_select_text_to_use]"; vbphrase["browser_is_safari_no_wysiwyg"] = "$vbphrase[browser_is_safari_no_wysiwyg]"; vbphrase["enter_option_x_tag"] = "$vbphrase[enter_option_x_tag]"; vbphrase["enter_text_to_be_formatted"] = "$vbphrase[enter_text_to_be_formatted]"; vbphrase["enter_link_text"] = "$vbphrase[enter_link_text]"; vbphrase["enter_list_type"] = "$vbphrase[enter_list_type]"; vbphrase["enter_list_item"] = "$vbphrase[enter_list_item]"; vbphrase["must_enter_subject"] = "$vbphrase[must_enter_subject]"; vbphrase["message_too_short"] = "$vbphrase[message_too_short]"; vbphrase["enter_link_url"] = "$vbphrase[enter_link_url]"; vbphrase["enter_image_url"] = "$vbphrase[enter_image_url]"; vbphrase["enter_email_link"] = "$vbphrase[enter_email_link]"; vbphrase["iespell_not_installed"] = "$vbphrase[iespell_not_installed]"; vbphrase["click_quick_reply_icon"] = "$vbphrase[click_quick_reply_icon]"; vbphrase["insert_all"] = "$vbphrase[insert_all]"; //--> </script> <!-- END EDITOR SCRIPTS --> <!-- EDITOR STYLES --> <link rel="stylesheet" type="text/css" href="clientscript/vbulletin_editor.css" /> <style type="text/css"> <!-- .vBulletin_editor { background: {$istyles[pi_button_normal][0]}; padding: $stylevar[cellpadding]px; } .imagebutton { background: {$istyles[pi_button_normal][0]}; color: {$istyles[pi_button_normal][1]}; padding: {$istyles[pi_button_normal][2]}; border: {$istyles[pi_button_normal][3]}; } .ocolor, .ofont, .osize, .osmilie, .osyscoloar, .smilietitle { background: {$istyles[pi_menu_normal][0]}; color: {$istyles[pi_menu_normal][1]}; border: {$istyles[pi_menu_normal][3]}; } .popup_pickbutton { border: {$istyles[pi_menu_normal][3]}; } .popup_feedback { background: {$istyles[pi_menu_normal][0]}; color: {$istyles[pi_menu_normal][1]}; border-right: {$istyles[pi_menu_normal][3]}; } .popupwindow { background: {$istyles[pi_menu_normal][0]}; } #fontOut, #sizeOut, .popup_feedback div { background: {$istyles[pi_menu_normal][0]}; color: {$istyles[pi_menu_normal][1]}; } .alt_pickbutton { border-left: 1px solid {$istyles[pi_button_normal][0]}; } .popup_feedback input, .popup_feedback div { border: 0px solid; padding: 0px 2px 0px 2px; cursor: default; font: 11px tahoma; overflow: hidden; } --> </style> <!-- END EDITOR STYLES --> |
#279
|
||||
|
||||
I think you are trying to edit the wrong file. It is not editor_clientscript it is vbulletin_textedit.js
it should be vbulletin_textedit.js found in yoursite.com/forums/clientscript/vbulletin_textedit.js when you search for it just do a Insert Image search then add the code were it go's as explained up top example don't use Code:
/** * Insert Video Link */ this.createvideolink = function(e, url) { var my_colors=prompt("MySpace, YouTube, Google video, eBaum's World of Metacafe URL",""); if ((my_colors=="") || (my_colors==null)) { alert("Please Enter The Full URL!"); } else { if (my_colors.match("youtube.com")) { var col_array=my_colors.split("?v="); var part_num=1; return this.insert_text("[youtube]" + col_array[part_num] + "[/youtube]"); } else if (my_colors.match("myspace.com")) { if (my_colors.match("videoID=")) { var col_array=my_colors.split("videoID="); } else { var col_array=my_colors.split("videoid="); } var part_num=1; return this.insert_text("[myspace]" + col_array[part_num] + "[/myspace]"); } else if (my_colors.match("video.google.")) { var col_array=my_colors.split("docid="); var part_num=1; return this.insert_text("[googlevideo]" + col_array[part_num] + "[/googlevideo]"); } else if (my_colors.match("ebaumsworld.com")) { var my_colors = my_colors.replace(".html",""); var col_array = my_colors.split("ebaumsworld.com/"); return this.insert_text("[ebaumsvideo]" + col_array[1] + "[/ebaumsvideo]"); } else if (my_colors.match("metacafe.com")) { var my_colors = my_colors.replace(new RegExp(/\/$/),""); var col_array = my_colors.split(new RegExp(/\/watch\//g)); return this.insert_text("[metacafe]" + col_array[1] + "[/metacafe]"); } else { alert("Please Enter The Full URL!"); } } }; /** * Insert Image * * @param event Event object * @param string (Optional) Image URL * * @return boolean */ |
#280
|
|||
|
|||
Before i install, i want to know if this addon affects my forums bandwidth?? Will i have any problems? If it is, how bad is it?
Can you add photobucket? |
#281
|
|||
|
|||
simple install.. thanks Mr Chad
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|