Publicidad

Autor Tema: [BBC]MU, MV, RS, CD [v2.3]  (Leído 3626 veces)

Desconectado Mr.Freack™

  • Programador
  • *
  • Mensajes: 2792
  • Power: 862
  • Sexo: Masculino
  • A donde quiera que vallas... ¡Ahi estarás!
    • Ver Perfil
    • Angelix-System
[BBC]MU, MV, RS, CD [v2.3]
« en: Julio 08, 2010, 07:14:25 am »
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:

Citar
         array(
            'tag' => 'html',
            'type' => 'unparsed_content',
            'content' => '$1',
            'block_level' => true,
            'disabled_content' => '$1',
         ),

abajo agreguen:

Código: [Seleccionar]
			//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:

Código: [Seleccionar]
//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&oacute;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&ntilde;o', dropMenu :[
    {name:'Mi&ntilde;atura', openWith:'[size=7pt]', closeWith:'[/size]' },
{name:'Peque&ntilde;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:

Código: [Seleccionar]
//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&oacute;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&ntilde;o', dropMenu :[
    {name:'Mi&ntilde;atura', openWith:'[size=7pt]', closeWith:'[/size]' },
{name:'Peque&ntilde;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 :

Citar
function markit_quote(h){
   if(h.selection==''){
      var msg = prompt('Ingrese el texto a citar', '');
      if(msg != null){
         h.replaceWith = '
Citar
' + msg + '
';
         h.openWith = '';
         h.closeWith = '';
      }else{
         h.replaceWith = '';
         h.openWith = '';
         h.closeWith = '';
      }
   }else{
      h.replaceWith = '';
      h.openWith='
Citar
';
      h.closeWith='
';
   }
}

agregan abajo esto:

Citar
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:

Citar
.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:

Citar
.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:


Citar
.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...
« última modificación: Enero 27, 2011, 07:59:31 am por Mr.Freack™ »

-"Vale más saber algo acerca de todo que saberlo todo acerca de una sola cosa" Mr.Freack
-"Digo lo que pienso & pienso lo que digo..." Mr.Freack

Desconectado Leandro

  • Ya viene, esperala
  • Colaborador
  • *
  • Mensajes: 3509
  • Power: 691
  • Sexo: Masculino
  • Roots Reggae!
    • Ver Perfil
Re: [BBC]MU, MV, RS, CD [v2.3]
« Respuesta #1 en: Julio 08, 2010, 07:18:43 am »
de 10 gracias!
indescifrable es la ecuacion de la vida mi amor (8)

Desconectado Kaissar

  • Staff Jubilado
  • *
  • Mensajes: 3921
  • Power: 539
    • Ver Perfil
Re: [BBC]MU, MV, RS, CD [v2.3]
« Respuesta #2 en: Julio 08, 2010, 07:23:25 am »
Re piola, +1 :OO:

Desconectado the_george15

  • Hero Member
  • *****
  • Mensajes: 876
  • Power: 159
  • Sexo: Masculino
  • La mejor forma de aprender es en los errores
    • Ver Perfil
    • Worldposts
Re: [BBC]MU, MV, RS, CD [v2.3]
« Respuesta #3 en: Julio 08, 2010, 07:28:03 am »
ke bueno bbc la verdad sirve mucho :OO:
Metas para 2011
<br /><br />

Desconectado Jonath4n

  • Sr. Member
  • ****
  • Mensajes: 334
  • Power: 175
  • Sexo: Masculino
  • Aguante el Photoshop
    • Ver Perfil
Re: [BBC]MU, MV, RS, CD [v2.3]
« Respuesta #4 en: Julio 08, 2010, 08:55:37 am »
xD que bueno, +1
Queres un theme premium avisame jaja

Desconectado Relámpago

  • Staff Jubilado
  • *
  • Mensajes: 3438
  • Power: 214
  • Sexo: Masculino
  • Haciendo bien sin mirar a quien.!
    • Ver Perfil
Re: [BBC]MU, MV, RS, CD [v2.3]
« Respuesta #5 en: Julio 08, 2010, 08:57:48 am »
Está buenisimo Mr. Freack ya estás a otro nivel.. +1 :good:

Saludos!
Gran parte de las dificultades por las que atraviesa el mundo se debe a que los ignorantes están completamente seguros, y los inteligentes llenos de dudas.

Desconectado Juans!

  • Argentina - Buenos Aires
  • Moderador Global
  • *
  • Mensajes: 8201
  • Power: 680
  • Sexo: Masculino
  • 26/06/2009
    • MSN Messenger - Juans_talentodebarrio_17@hotmail.com
    • AOL Instant Messenger - No+tengo
    • Yahoo Instant Messenger - No tengo
    • Ver Perfil
    • Email
Re: [BBC]MU, MV, RS, CD [v2.3]
« Respuesta #6 en: Julio 08, 2010, 11:31:39 am »
Me gustó :) maswan
Sigueme en
Twitter: Juans Luque

Desconectado panzers89

  • Full Member
  • ***
  • Mensajes: 169
  • Power: 17
  • Sexo: Masculino
    • Ver Perfil
Re: [BBC]MU, MV, RS, CD [v2.3]
« Respuesta #7 en: Julio 08, 2010, 04:15:00 pm »
bien ahi.. esta joya

Sin duda el mejor logo!

Desconectado Mr.Freack™

  • Programador
  • *
  • Mensajes: 2792
  • Power: 862
  • Sexo: Masculino
  • A donde quiera que vallas... ¡Ahi estarás!
    • Ver Perfil
    • Angelix-System
Re: [BBC]MU, MV, RS, CD [v2.3]
« Respuesta #8 en: Julio 08, 2010, 08:05:49 pm »
Está buenisimo Mr. Freack ya estás a otro nivel.. +1 :good:

Saludos!
Jeje eso me alegra :hi: pero le agregare una bbc mas abajo para los links de otros servidores y otros de los botones de edicion. :OO:

-"Vale más saber algo acerca de todo que saberlo todo acerca de una sola cosa" Mr.Freack
-"Digo lo que pienso & pienso lo que digo..." Mr.Freack

Desconectado fivezone

  • Programador
  • *
  • Mensajes: 2446
  • Power: 603
  • Sexo: Masculino
  • ..................................................
    • Ver Perfil
Re: [BBC]MU, MV, RS, CD [v2.3]
« Respuesta #9 en: Julio 08, 2010, 08:23:49 pm »
re buenisiiiiimo +11

Desconectado lucho

  • Hero Member
  • *****
  • Mensajes: 648
  • Power: 140
  • Sexo: Masculino
  • Renovando simpre.
    • MSN Messenger - lucho19_97@hotmail.com
    • Ver Perfil
    • Daluza!
    • Email
Re: [BBC]MU, MV, RS, CD [v2.3]
« Respuesta #10 en: Julio 08, 2010, 08:28:11 pm »
Muy bueno Freak. +1
Termine mi proyecto
Algunos me quieren :E
Otros me odian
Algunos...Me tienen envidia

Desconectado rafadizeo

  • SPmaniaco
  • *******
  • Mensajes: 2283
  • Power: 246
  • Sexo: Masculino
  • Solo mods...
    • Ver Perfil
    • Solo Terror
Re: [BBC]MU, MV, RS, CD [v2.3]
« Respuesta #11 en: Julio 08, 2010, 08:43:16 pm »
Buenisimo chavon, todavia no entiendo porque no te dan el nuevo rango :hi:

Desconectado los3men2

  • Newbie
  • *
  • Mensajes: 7
  • Power: 1
    • Ver Perfil
    • Email
Re: [BBC]MU, MV, RS, CD [v2.3]
« Respuesta #12 en: Julio 08, 2010, 09:04:58 pm »
che donde esta el css? por fava diganme

Mensaje Unido: Julio 08, 2010, 09:14:49 pm
che donde esta el css? por fava diganme
listo ya me salio muy bueno
« última modificación: Julio 08, 2010, 09:14:49 pm por los3men2 »

Desconectado Mr.Freack™

  • Programador
  • *
  • Mensajes: 2792
  • Power: 862
  • Sexo: Masculino
  • A donde quiera que vallas... ¡Ahi estarás!
    • Ver Perfil
    • Angelix-System
Re: [BBC]MU, MV, RS, CD [v2.3]
« Respuesta #13 en: Julio 08, 2010, 10:12:28 pm »
che donde esta el css? por fava diganme

Mensaje Unido: Julio 11, 2010, 03:14:49 am
che donde esta el css? por fava diganme
listo ya me salio muy bueno
XD hare un glosario para los terminos .css .js etc :hi:

Buenisimo chavon, todavia no entiendo porque no te dan el nuevo rango :hi:

quiza no soy lo suficientemente bueno para tener ese rango ya que no soy del todo bueno pero ahi voy programando

-"Vale más saber algo acerca de todo que saberlo todo acerca de una sola cosa" Mr.Freack
-"Digo lo que pienso & pienso lo que digo..." Mr.Freack

Desconectado The_Pimp

  • Argentino
  • Moderador Global
  • *
  • Mensajes: 12079
  • Power: 20
  • Sexo: Masculino
  • Argentino
    • AOL Instant Messenger - Argentino
    • Yahoo Instant Messenger - Argentino
    • Ver Perfil
    • Argentino
    • Email
Re: [BBC]MU, MV, RS, CD [v2.3]
« Respuesta #14 en: Julio 21, 2010, 11:49:48 am »
faaaaa que quilombooo!! no parece tan dificil cuando yo lo hago :S Un New ni a palos va a poder hacerlo me parece :nvzbti::nvzbti: + 1
VIVO AL LIMITE