podrias dejar adjuntos los archivos modificados para descargarlos? saludos :good:
Aqui hos dejo unos buenos botones bbc a ver si les gusta miren la captura:


En los cuales se les agregaran los bottnes de megaupload rapidshare y otros dos mas.
Instalacion:
-Habran el subs.php y busquen:
array(
'tag' => 'html',
'type' => 'unparsed_content',
'content' => '$1',
'block_level' => true,
'disabled_content' => '$1',
),
abajo agreguen:
//boton MegaUpload by Mr.Freack
array(
'tag' => 'megaupload',
'before' => '<div class="megaupload_bbc">',
'after' => '</div>',
),
array(
'tag' => 'megavideo',
'type' => 'unparsed_commas_content',
'content' => '<object width="$2" height="$3" ><param name="AllowScriptAccess" value="never" /><param name="movie" value="true" /><param name="allowFullScreen" value="true" /><param name="movie" value="$1" /><embed src="$1" type="application/x-shockwave-flash" allowscriptaccess="never" allowfullscreen="true" width="$2" height="$3"></embed></object>',
'validate' => create_function('&$tag, &$data, $disabled', '
if (isset($disabled[\'url\']))
$tag[\'content\'] = \'$1\';
global $context;
if (preg_match(\'~(http://(www.)?megavideo.com/v/([A-Z0-9]{8}))~i\' . ($context[\'utf8\'] ? \'u\' : \'\'), $data[0], $matches))
$data[0] = $matches[1];
else
$tag[\'content\'] = \'$1\';
'),
'block_level' => true,
'disabled_content' => '$1'
),
array(
'tag' => 'rapidshare',
'before' => '<div class="rapidshare_bbc">',
'after' => '</div>',
),
//fin de boton MegaUpload by Mr.Freack
Abran el acciones...js como lo tengan y buscan:
//Botones posts
mySettings = {
markupSet: [
{name:'Negrita', key:'B', openWith:'[b]', closeWith:'[/b]'},
{name:'Cursiva', key:'I', openWith:'[i]', closeWith:'[/i]'},
{name:'Subrayado', key:'U', openWith:'[u]', closeWith:'[/u]'},
{separator:'-' },
{name:'Alinear a la izquierda', key:'', openWith:'[left]', closeWith:'[/left]'},
{name:'Centrar', key:'', openWith:'[center]', closeWith:'[/center]'},
{name:'Alinear a la derecha', key:'', openWith:'[right]', closeWith:'[/right]'},
{separator:'-' },
{name:'Color', dropMenu: [
{name:'Rojo oscuro', openWith:'[color=darkred]', closeWith:'[/color]' },
{name:'Rojo', openWith:'[color=red]', closeWith:'[/color]' },
{name:'Naranja', openWith:'[color=orange]', closeWith:'[/color]' },
{name:'Marrón', openWith:'[color=brown]', closeWith:'[/color]' },
{name:'Amarillo', openWith:'[color=yellow]', closeWith:'[/color]' },
{name:'Verde', openWith:'[color=green]', closeWith:'[/color]' },
{name:'Oliva', openWith:'[color=olive]', closeWith:'[/color]' },
{name:'Cyan', openWith:'[color=cyan]', closeWith:'[/color]' },
{name:'Azul', openWith:'[color=blue]', closeWith:'[/color]' },
{name:'Azul oscuro', openWith:'[color=darkblue]', closeWith:'[/color]' },
{name:'Indigo', openWith:'[color=indigo]', closeWith:'[/color]' },
{name:'Violeta', openWith:'[color=violet]', closeWith:'[/color]' },
{name:'Negro', openWith:'[color=black]', closeWith:'[/color]' }
]},
{name:'Tamaño', dropMenu :[
{name:'Miñatura', openWith:'[size=7pt]', closeWith:'[/size]' },
{name:'Pequeña', openWith:'[size=9pt]', closeWith:'[/size]' },
{name:'Normal', openWith:'[size=12pt]', closeWith:'[/size]' },
{name:'Grande', openWith:'[size=18pt]', closeWith:'[/size]' },
{name:'Enorme', openWith:'[size=24pt]', closeWith:'[/size]' }
]},
{name:'Fuente', dropMenu :[
{name:'Arial', openWith:'[font=Arial]', closeWith:'[/font]' },
{name:'Courier New', openWith:'[font=Courier New]', closeWith:'[/font]' },
{name:'Georgia', openWith:'[font=Georgia]', closeWith:'[/font]' },
{name:'Times New Roman', openWith:'[font=Times New Roman]', closeWith:'[/font]' },
{name:'Verdana', openWith:'[font=Verdana]', closeWith:'[/font]' },
{name:'Trebuchet MS', openWith:'[font=Trebuchet MS]', closeWith:'[/font]' },
{name:'Lucida Sans', openWith:'[font=Lucida Sans]', closeWith:'[/font]' },
{name:'Comic Sans', openWith:'[font=Comic Sans]', closeWith:'[/font]' }
]},
{separator:'-' },
{name:'Insertar video de YouTube', beforeInsert:function(h){ markit_yt(h); }},
{name:'Insertar video de Google Video', beforeInsert:function(h){ markit_gv(h); }},
{name:'Insertar archivo SWF', beforeInsert:function(h){ markit_swf(h); }},
{name:'Insertar Imagen', beforeInsert:function(h){ markit_img(h); }},
{name:'Insertar Link', beforeInsert:function(h){ markit_url(h); }},
{name:'Citar', beforeInsert:function(h){ markit_quote(h); }},
]
};
lo sustituyen por:
//Botones posts
mySettings = {
markupSet: [
{name:'Negrita', key:'B', openWith:'[b]', closeWith:'[/b]'},
{name:'Cursiva', key:'I', openWith:'[i]', closeWith:'[/i]'},
{name:'Subrayado', key:'U', openWith:'[u]', closeWith:'[/u]'},
{separator:'-' },
{name:'Alinear a la izquierda', key:'', openWith:'[left]', closeWith:'[/left]'},
{name:'Centrar', key:'', openWith:'[center]', closeWith:'[/center]'},
{name:'Alinear a la derecha', key:'', openWith:'[right]', closeWith:'[/right]'},
{separator:'-' },
{name:'Color', dropMenu: [
{name:'Rojo oscuro', openWith:'[color=darkred]', closeWith:'[/color]' },
{name:'Rojo', openWith:'[color=red]', closeWith:'[/color]' },
{name:'Naranja', openWith:'[color=orange]', closeWith:'[/color]' },
{name:'Marrón', openWith:'[color=brown]', closeWith:'[/color]' },
{name:'Amarillo', openWith:'[color=yellow]', closeWith:'[/color]' },
{name:'Verde', openWith:'[color=green]', closeWith:'[/color]' },
{name:'Oliva', openWith:'[color=olive]', closeWith:'[/color]' },
{name:'Cyan', openWith:'[color=cyan]', closeWith:'[/color]' },
{name:'Azul', openWith:'[color=blue]', closeWith:'[/color]' },
{name:'Azul oscuro', openWith:'[color=darkblue]', closeWith:'[/color]' },
{name:'Indigo', openWith:'[color=indigo]', closeWith:'[/color]' },
{name:'Violeta', openWith:'[color=violet]', closeWith:'[/color]' },
{name:'Negro', openWith:'[color=black]', closeWith:'[/color]' }
]},
{name:'Tamaño', dropMenu :[
{name:'Miñatura', openWith:'[size=7pt]', closeWith:'[/size]' },
{name:'Pequeña', openWith:'[size=9pt]', closeWith:'[/size]' },
{name:'Normal', openWith:'[size=12pt]', closeWith:'[/size]' },
{name:'Grande', openWith:'[size=18pt]', closeWith:'[/size]' },
{name:'Enorme', openWith:'[size=24pt]', closeWith:'[/size]' }
]},
{name:'Fuente', dropMenu :[
{name:'Arial', openWith:'[font=Arial]', closeWith:'[/font]' },
{name:'Courier New', openWith:'[font=Courier New]', closeWith:'[/font]' },
{name:'Georgia', openWith:'[font=Georgia]', closeWith:'[/font]' },
{name:'Times New Roman', openWith:'[font=Times New Roman]', closeWith:'[/font]' },
{name:'Verdana', openWith:'[font=Verdana]', closeWith:'[/font]' },
{name:'Trebuchet MS', openWith:'[font=Trebuchet MS]', closeWith:'[/font]' },
{name:'Lucida Sans', openWith:'[font=Lucida Sans]', closeWith:'[/font]' },
{name:'Comic Sans', openWith:'[font=Comic Sans]', closeWith:'[/font]' }
]},
{separator:'-' },
{name:'Insertar video de YouTube', beforeInsert:function(h){ markit_yt(h); }},
{name:'Insertar video de Google Video', beforeInsert:function(h){ markit_gv(h); }},
{name:'Insertar archivo SWF', beforeInsert:function(h){ markit_swf(h); }},
{name:'Insertar Imagen', beforeInsert:function(h){ markit_img(h); }},
{name:'Insertar Link', beforeInsert:function(h){ markit_url(h); }},
{name:'Citar', beforeInsert:function(h){ markit_quote(h); }},
{separator:'-' },
{name:'Link MegaUpload', beforeInsert:function(h){ markit_url_mu(h); }},
{name:'Insertar video de MegaVideo', beforeInsert:function(h){ markit_mv(h); }},
{name:'Link RapidShare', beforeInsert:function(h){ markit_url_rs(h); }},
{name:'Insertar Código', openWith:'[*code]', closeWith:'[*/code]' },
]
};
a esta linea {name:'Insertar Código', openWith:'[*code]', closeWith:'[*/code]' }, quitenle los asteriscos
buscan :
function markit_quote(h){
if(h.selection==''){
var msg = prompt('Ingrese el texto a citar', '');
if(msg != null){
h.replaceWith = '' + msg + '
';
h.openWith = '';
h.closeWith = '';
}else{
h.replaceWith = '';
h.openWith = '';
h.closeWith = '';
}
}else{
h.replaceWith = '';
h.openWith='';
h.closeWith='
';
}
}
agregan abajo esto:
function markit_url_mu(h){
if(h.selection==''){
var msg = prompt('Ingrese el ID de MegaUpload', '');
if(msg != null){
h.replaceWith = '[megaupload][/megaupload]';
h.openWith = '';
h.closeWith = '';
}else{
h.replaceWith = '';
h.openWith = '';
h.closeWith = '';
}
}else if(h.selection.substring(0,7)=='http://' || h.selection.substring(0,8)=='https://' || h.selection.substring(0,6)=='ftp://'){
h.replaceWith = '';
h.openWith='';
h.closeWith='';
}else{
var msg = prompt('Ingrese el ID de MegaUpload', '');
if(msg != null){
h.replaceWith = '';
h.openWith='[megaupload=' + msg + ']';
h.closeWith='[/megaupload]';
}else{
h.replaceWith = '';
h.openWith = '';
h.closeWith = '';
}
}
}
function markit_mv(h){
if(is_ie)
var msg = prompt('Ingrese el ID de MegaVideo:\n', '');
else
var msg = prompt('Ingrese el ID del MegaVideo:', '');
if(msg != null){
h.replaceWith = '[megavideo=425,350]http://www.megavideo.com/v/' + msg + '[/megavideo]\n';
h.openWith = '';
h.closeWith = '';
}else{
h.replaceWith = '';
h.openWith = '';
h.closeWith = '';
}
}
function markit_url_rs(h){
if(h.selection==''){
var msg = prompt('Ingrese el ID de RapidShare', '');
if(msg != null){
h.replaceWith = '[rapidshare][/rapidshare]';
h.openWith = '';
h.closeWith = '';
}else{
h.replaceWith = '';
h.openWith = '';
h.closeWith = '';
}
}else if(h.selection.substring(0,7)=='http://' || h.selection.substring(0,8)=='https://' || h.selection.substring(0,6)=='ftp://'){
h.replaceWith = '';
h.openWith='';
h.closeWith='';
}else{
var msg = prompt('Ingrese el ID de RapidShare', '');
if(msg != null){
h.replaceWith = '';
h.openWith='[rapidshare=' + msg + ']';
h.closeWith='[/rapidshare]';
}else{
h.replaceWith = '';
h.openWith = '';
h.closeWith = '';
}
}
}
y en el css buscan:
.markItUp .markItUpButton15 a, .markitcomment .markItUp .markItUpButton7 a, .miRespuesta .markItUp .markItUpButton7 a, .citarAnswer { background:transparent url('images/bbcodes.png') no-repeat scroll left top; background-position: left -160px; height: 10px;}
agreguenle abajo:
.markItUp .markItUpButton16 a, .markitcomment .markItUp .markItUpButton8 a,.miRespuesta .markItUp .markItUpButton8 a {background:transparent url('images/icons/box-buton.png') no-repeat scroll left top;background-position: left -1px;height: 10px;}
.markItUp .markItUpButton17 a, .markitcomment .markItUp .markItUpButton9 a,.miRespuesta .markItUp .markItUpButton9 a {background:transparent url('images/icons/box-buton.png') no-repeat scroll left top;background-position: left -25px;height: 10px;}
.markItUp .markItUpButton18 a, .markitcomment .markItUp .markItUpButton10 a,.miRespuesta .markItUp .markItUpButton10 a {background:transparent url('images/icons/box-buton.png') no-repeat scroll left top;background-position: left -50px;height: 10px;}
.markItUp .markItUpButton19 a, .markitcomment .markItUp .markItUpButton11 a,.miRespuesta .markItUp .markItUpButton11 a {background:transparent url('images/icons/box-buton.png') no-repeat scroll left top;background-position: left -75px;height: 10px;}
y al final agregan:
.megaupload_bbc{background: url('images/mBox/megaupload.png')no-repeat;height:51px;width:265px}
.megaupload_bbc:hover{background: url('images/mBox/megaupload-hover.png')no-repeat;height:51px;width:265px}
.rapidshare_bbc{background: url('images/mBox/rapidshare.png')no-repeat;height:50px;width:50px}
.megaupload_bbc ul, .rapidshare_bbc ul {list-style: none;margin: 1.3em 1.5em}
.megaupload_bbc ul li, .rapidshare_bbc ul li {padding-left: 1.3em}
.megaupload_bbc ul li { background: url(images/mBox/error-bullet.png) 0 0.55em no-repeat }
.rapidshare_bbc ul li { background: url(images/mBox/warning-bullet.png) 0 0.55em no-repeat }
y suben la imagen box-buton.png a images/icons
y la carpeta mBox a images
Y eso es todo espero les guste...