07-04-2015
, 18:33:23
|
#6 |
Denunciante Popular | Respuesta: Smline - 2 Buenos Mod Bbcode Paguina Porno XXX
1- abrimos el archivo bbcode.inc.php que se encuentra en la carpeta /PHP/libs
buscamos:
[code]"/\[code\](.*?)\[\/code\]/is"[/code]remplazamos por:
[code]
"/\[code\](.*?)\[\/code\]/i",
"/\[xvideos\](.*?)\[\/xvideos\]/i",
"/\[redtube\](.*?)\[\/redtube\]/i",
"/\[xhamster\](.*?)\[\/xhamster\]/is"
[/code]Buscamos:
[code]"<pre class=\"text_code\">\\1</pre>"[/code]Remplazamos por:
[code]
"<pre class=\"text_code\">\\1</pre>",
"<iframe src='http://flashservice.xvideos.com/embedframe/\\1' frameborder=0 width=510 height=400 scrolling=no></iframe>",
"<iframe src='http://embed.redtube.com/?id=\\1&bgcolor=000000' frameborder='0' width='510' height='400'scrolling='no'></iframe>",
"<iframe width='510' height='400' src='http://xhamster.com/xembed.php?video=\\1' frameborder='0' scrolling='no'></iframe>"
[/code]2- Abrimos el archivo global.js que se encuentra en /themes/smline/js
Buscamos:
[code]lang['Ingrese la URL'] = "Ingrese la URL";[/code]Agregamos abajo:
[code]
lang['xvideos'] = "xvideos";
lang['redtube'] = "redtube";
lang['xhamster'] = "xhamster";
[/code]Buscamos:
[code]
{
name: 'Agregar spoiler',
openWith: '[*spoiler]',
closeWith: '[*/spoiler]',
}
[/code]Remplazamos por:
[code]
{
name: 'Agregar spoiler',
openWith: '[*spoiler]',
closeWith: '[*/spoiler]',
},
{
name: 'Videos XXX',
dropMenu: [
{
name: lang['xvideos'],
openWith: '[xvideos]Ingresa aca El Id de el video',
closeWith: '[/xvideos]',
},
{
name: lang['redtube'],
openWith: '',
},
{
name: lang['xhamster'],
openWith: '',
}
]
}
[/code]
si esta parte del codigo no logro visualizarse bien descargarlo en bloc de nota desde aqui: codigo smline.txt Importante: en el código anterior tuve que poner un * adelante de cada palabra spoiler ustedes sáquenlo
3- Abrimos el archivo global.css que se encuentra en /themes/smline/css
Buscamos:
[code]
.markItUp .markItUpButton1 a {
background-position: 0 -78px
}
.markItUp .markItUpButton2 a {
background-position: 0 -104px
}
.markItUp .markItUpButton3 a {
background-position: 0 -312px
}
.markItUp .markItUpButton4 a {
background-position: 0 0
}
.markItUp .markItUpButton5 a {
background-position: 0 -26px
}
.markItUp .markItUpButton6 a {
background-position: 0 -52px
}
.markItUp .markItUpButton7 a {
background-position: 0 -338px
}
.markItUp .markItUpButton8 a {
background-position: 0 -364px
}
.markItUp .markItUpButton9 a {
background-position: 0 -286px
}
.markItUp .markItUpButton10 a {
background-position: 0 -130px
}
.markItUp .markItUpButton11 a {
background-position: 0 -78px
}
.markItUp .markItUpButton11 a {
background-position: 0 -182px
}
.markItUp .markItUpButton12 a {
background-position: 0 -208px
}
.markItUp .markItUpButton13 a {
background-position: 0 -234px
}
.markItUp .markItUpButton14 a {
background-position: 0 -260px
}
.markItUp .markItUpButton15 a {
background-position: 0 -156px
}
.markItUp .markItUpButton16 a {
background-position: 0 -832px;
}
.markItUp .markItUpButton17 a {
background-position: 0 -858px;
}
.markItUp .markItUpButton1 a:hover {
background-position: -25px -78px
}
.markItUp .markItUpButton2 a:hover {
background-position: -25px -104px
}
.markItUp .markItUpButton3 a:hover {
background-position: -25px -312px
}
.markItUp .markItUpButton4 a:hover {
background-position: -25px 0
}
.markItUp .markItUpButton5 a:hover {
background-position: -25px -26px
}
.markItUp .markItUpButton6 a:hover {
background-position: -25px -52px
}
.markItUp .markItUpButton7 a:hover {
background-position: -25px -338px
}
.markItUp .markItUpButton8 a:hover {
background-position: -25px -364px
}
.markItUp .markItUpButton9 a:hover {
background-position: -25px -286px
}
.markItUp .markItUpButton10 a:hover {
background-position: -25px -130px
}
.markItUp .markItUpButton11 a:hover {
background-position: -25px -182px
}
.markItUp .markItUpButton12 a:hover {
background-position: -25px -208px
}
.markItUp .markItUpButton13 a:hover {
background-position: -25px -234px
}
.markItUp .markItUpButton14 a:hover {
background-position: -25px -260px
}
.markItUp .markItUpButton15 a:hover {
background-position: -25px -156px
}
.markItUp .markItUpButton16 a:hover {
background-position: -25px -832px
}
.markItUp .markItUpButton17 a:hover {
background-position: -25px -858px
}
.markItUp .markItUpButton1 a:active {
background-position: -50px -78px
}
.markItUp .markItUpButton2 a:active {
background-position: -50px -104px
}
.markItUp .markItUpButton3 a:active {
background-position: -50px -312px
}
.markItUp .markItUpButton4 a:active {
background-position: -50px 0
}
.markItUp .markItUpButton5 a:active {
background-position: -50px -26px
}
.markItUp .markItUpButton6 a:active {
background-position: -50px -52px
}
.markItUp .markItUpButton7 a:active {
background-position: -50px -338px
}
.markItUp .markItUpButton8 a:active {
background-position: -50px -364px
}
.markItUp .markItUpButton9 a:active {
background-position: -50px -286px
}
.markItUp .markItUpButton10 a:active {
background-position: -50px -130px
}
.markItUp .markItUpButton11 a:active {
background-position: -50px -182px
}
.markItUp .markItUpButton12 a:active {
background-position: -50px -208px
}
.markItUp .markItUpButton13 a:active {
background-position: -50px -234px
}
.markItUp .markItUpButton14 a:active {
background-position: -50px -260px
}
.markItUp .markItUpButton15 a:active,.markItUp .markItUpButton15.selected a {
background-position: -50px -156px
}
.markItUp .markItUpButton16 a:active,.markItUp .markItUpButton16.selected a {
background-position: -50px -832px
}
.markItUp .markItUpButton17 a:active {
background-position: -50px -858px
}
[/code]Remplazamos por:
[code]
.markItUp .markItUpButton1 a {
background-position: 0 -82px
}
.markItUp .markItUpButton2 a {
background-position: 0 -108px
}
.markItUp .markItUpButton3 a {
background-position: 0 -316px
}
.markItUp .markItUpButton4 a {
background-position: 0 -4px
}
.markItUp .markItUpButton5 a {
background-position: 0 -30px
}
.markItUp .markItUpButton6 a {
background-position: 0 -56px
}
.markItUp .markItUpButton7 a {
background-position: 0 -342px
}
.markItUp .markItUpButton8 a {
background-position: 0 -368px
}
.markItUp .markItUpButton9 a {
background-position: 0 -290px
}
.markItUp .markItUpButton10 a {
background-position: 0 -134px
}
.markItUp .markItUpButton11 a {
background-position: 0 -82px
}
.markItUp .markItUpButton11 a {
background-position: 0 -186px
}
.markItUp .markItUpButton12 a {
background-position: 0 -212px
}
.markItUp .markItUpButton13 a {
background-position: 0 -238px
}
.markItUp .markItUpButton14 a {
background-position: 0 -264px
}
.markItUp .markItUpButton15 a {
background-position: 0 -160px
}
.markItUp .markItUpButton16 a {
background-position: 0 -840px;
}
.markItUp .markItUpButton17 a {
background-position: 0 -866px;
}
.markItUp .markItUpButton18 a {
background-position: 0 -918px
}
.markItUp .markItUpButton1 a:hover {
background-position: -25px -82px
}
.markItUp .markItUpButton2 a:hover {
background-position: -25px -108px
}
.markItUp .markItUpButton3 a:hover {
background-position: -25px -316px
}
.markItUp .markItUpButton4 a:hover {
background-position: -25px -4px
}
.markItUp .markItUpButton5 a:hover {
background-position: -25px -30px
}
.markItUp .markItUpButton6 a:hover {
background-position: -25px -56px
}
.markItUp .markItUpButton7 a:hover {
background-position: -25px -342px
}
.markItUp .markItUpButton8 a:hover {
background-position: -25px -368px
}
.markItUp .markItUpButton9 a:hover {
background-position: -25px -290px
}
.markItUp .markItUpButton10 a:hover {
background-position: -25px -134px
}
.markItUp .markItUpButton11 a:hover {
background-position: -25px -186px
}
.markItUp .markItUpButton12 a:hover {
background-position: -25px -212px
}
.markItUp .markItUpButton13 a:hover {
background-position: -25px -238px
}
.markItUp .markItUpButton14 a:hover {
background-position: -25px -264px
}
.markItUp .markItUpButton15 a:hover {
background-position: -25px -160px
}
.markItUp .markItUpButton16 a:hover {
background-position: -25px -840px
}
.markItUp .markItUpButton17 a:hover {
background-position: -25px -866px
}
.markItUp .markItUpButton18 a:hover {
background-position: -25px -918px
}
.markItUp .markItUpButton1 a:active {
background-position: -50px -82px
}
.markItUp .markItUpButton2 a:active {
background-position: -50px -108px
}
.markItUp .markItUpButton3 a:active {
background-position: -50px -316px
}
.markItUp .markItUpButton4 a:active {
background-position: -50px -4px
}
.markItUp .markItUpButton5 a:active {
background-position: -50px -30px
}
.markItUp .markItUpButton6 a:active {
background-position: -50px -56px
}
.markItUp .markItUpButton7 a:active {
background-position: -50px -342px
}
.markItUp .markItUpButton8 a:active {
background-position: -50px -368px
}
.markItUp .markItUpButton9 a:active {
background-position: -50px -290px
}
.markItUp .markItUpButton10 a:active {
background-position: -50px -134px
}
.markItUp .markItUpButton11 a:active {
background-position: -50px -186px
}
.markItUp .markItUpButton12 a:active {
background-position: -50px -212px
}
.markItUp .markItUpButton13 a:active {
background-position: -50px -238px
}
.markItUp .markItUpButton14 a:active {
background-position: -50px -264px
}
.markItUp .markItUpButton15 a:active,.markItUp .markItUpButton15.selected a {
background-position: -50px -160px
}
.markItUp .markItUpButton16 a:active,.markItUp .markItUpButton16.selected a {
background-position: -50px -840px
}
.markItUp .markItUpButton17 a:active {
background-position: -50px -866px
}
.markItUp .markItUpButton18 a:active {
background-position: -50px -918px
}
[/code]4- descargamos la siguiente imagen:
la renombramos como bbcodes2.png y la movemos a /themes/smline/css/img remplazando la que viene por default
Última edición por commodore128; 07-04-2015 a las 18:48:43 |
| |