Може ли някой да ми каже как да направя ббкод за вбох7 на системата за Ббкодове на Soul Stealler
Follow along with the video below to see how to install our site as a web app on your home screen.
Бележка: This feature may not be available in some browsers.
$text = preg_replace('/(?:ht{2}p:\/{2}(?:w{3}\.)?|w{3}\.)(?:vbox7\.com|zazz\.bg)[\/]+play:([a-f0-9]+)/si', '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="450" height="403"><param name="movie" value="http://i47.vbox7.com/player/ext.swf?vid=$1"><param name="quality" value="high"><embed src="http://i47.vbox7.com/player/ext.swf?vid=$1" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="450" height="403"></embed></object>', $text);
//Variables for controlling opening and closing tags (function tag)
var b = 2;
var i = 2;
var u = 2;
var q = 2;
var c = 2;
var url = 2;
var img = 2;
//Function for creating non-font tags
function tag(v, tagadd, newbut, tagclose, oldbut, name) {
if (eval(v)%2 == 0) {
eval("window.document.editform."+name+".value = newbut;");
var post = window.document.editform.post.value;
window.document.editform.post.value = post + tagadd;
window.document.editform.post.focus();
} else {
eval("window.document.editform."+name+".value = oldbut;");
var post = window.document.editform.post.value;
window.document.editform.post.value = post + tagclose;
window.document.editform.post.focus();
}
eval(v+"++;");
}
//Function for adding font color and size tags
function font(bbopen, bbclose) {
var post = document.editform.post;
post.value += bbopen + bbclose;
post.focus();
return;
}
//Function for adding smilies
function smilie (smilie) {
var post = document.editform.post;
post.value += smilie;
post.focus();
return;
}
//Helpbox messages
bold_help = "Bold text: [b]text[/b]";
italic_help = "Italic text: [i]text[/i]";
underline_help = "Underline text: [u]text[/u]";
quote_help = "Quote text: [quote]text[/quote] or [quote="name"]text[/quote]";
code_help = "Code display: [code]code
//яка песнаhttp://vbox7.com/play:c14ff334
$text = preg_replace('/\[vbox\](?:ht{2}p:\/{2})?(?:w{3}\.)?(?:vbox7\.com|zazz\.bg)[\/]+play:([a-f0-9]+).[^<>\[\]]*?\[\/vbox7\]/si',
'<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="450" height="403"><param name="movie" value="http://i47.vbox7.com/player/ext.swf?vid=$1"><param name="quality" value="high"><embed src="http://i47.vbox7.com/player/ext.swf?vid=$1" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="450" height="403"></embed></object>', $text);
в js-to не съм го гледал
след
italic_help = "Italic text: [i]text[/i]";
добави
vbox_help = "Video from vbox7.com, zazz.bg"
+"[vbox]http://vbox7.com/play:c14ff334[/vbox]";
и един бутон за добавяне на [vbox][/vbox]