Recordad que para pedir soporte alguno, debéis facilitar los datos de soporte oportunos por favor, mirad aquí y leer las Normas generales del foro, esto nos servirá de ayuda para dar el mejor soporte..
Gracias.
La Administración de phpBB España.
Como colocar en el editor de mensages, yotobe rapidoTema Solucionado
Como colocar en el editor de mensages, yotobe rapido
Si se quiere insertar un video se pega la url completa y se encasilla con el comando youtobe que tengo añadido en BBcodes, pero ese codigo solo es para encasillar el enlace, yo necesito poner un icono pequeño de youtobe que cuando le de, me abra una ventana y que solo le tenga que pegar la numetacion final del video, asi se inserta mas facil, y el el pos queda la previsualizacion del video.
Espero tener suerte con esta pregunta.
URL: http://www.forolinternasled.com
Plantilla(s) usuada(s):ca_black.
MODs instalados: CHAT. SEO.P-O-M.
Versión de phpBB: 3.0.10
Servidor: Pago.
Si es una actualización desde otra versión: Si, de la 3.8 a la 3.9 a la 3.0.10
Si es una conversión desde otro tipo de Foro: No.
Re: Como colocar en el editor de mensages, yotobe rapido
Holas, haber si lo he entendido, lo que quieres es añadir un nuevo BBCode, de youtube, QUE SE ABRA EN UNA NUEVA VENTANA, y que solo tengas que añadir las "letras", que salen al final en todas las urls de videos de youtube ?¿CASPER escribió:Hola amigo, necesito colocar un en el editor de mensages de los pos,una pestaña que es un icono de youtobe, me explico.
Si se quiere insertar un video se pega la url completa y se encasilla con el comando youtobe que tengo añadido en BBcodes, pero ese codigo solo es para encasillar el enlace, yo necesito poner un icono pequeño de youtobe que cuando le de, me abra una ventana y que solo le tenga que pegar la numetacion final del video, asi se inserta mas facil, y el el pos queda la previsualizacion del video.
Espero tener suerte con esta pregunta.
Si es así, puedes probar este BBCode http://www.phpbb-es.com/foro/bbcode-php ... tml#p78613
Aunque hacer que se abra en una nueva ventana, ya sería algo mas complejo, yo te recomiendo usar/instalar el Advanced BBCode Box de Leviatan21, que añade muchisimos BBCodes, y con im agenes (lo que hay aquí), o si es demasiado complicado de instalar para ti, usar este "MOD" hecho por mitch http://www.phpbb-es.com/foro/mods-desar ... 17637.html
Saludos

Consulta los FAQS de ayuda de phpBB3.
Administra, modifica, actualiza tu foro con el listado de Guías de nuestra Biblioteca.
Accede a la base de modificaciones de phpBB Titania.
Si es sobre cómo Crear una Consulta SQL ya lo tienes explicado en el enlace.
En general, se recomienda Buscar antes de preguntar, quizás tu duda esté resuelta, y todos ahorremos tiempo.
Sólo tendrás Soporte si facilitas los datos correspondientes y si respetas completamente el Copyright de phpBB.
NOTA: No damos Soporte a los foros integrados en Nuke y derivados del mismo. Infórmate AQUÍ.
Normas de phpBB-Es | de Soporte en phpBB-Es.COM | Soporte MODificaciones phpBB en phpBB-Es
No doy soporte a quienes alteren o eliminen los copyright
No doy soporte por privado ni por msn : tenga en cuenta que su problema, también puede ser el problema de otro usuario.
Mi sitio web
Re: Como colocar en el editor de mensages, yotobe rapido
URL: http://www.forolinternasled.com
Plantilla(s) usuada(s):ca_black.
MODs instalados: CHAT. SEO.P-O-M.
Versión de phpBB: 3.0.10
Servidor: Pago.
Si es una actualización desde otra versión: Si, de la 3.8 a la 3.9 a la 3.0.10
Si es una conversión desde otro tipo de Foro: No.
Re: Como colocar en el editor de mensages, yotobe rapido
En quen ruta esta la plantilla??? que no quiero liarla,prefiero preguntarlo, y que me digas si puedes donde esta la plnatilla y cual es....
Y me puedes decir en que linera meto esto, que pone en el paso que me pare,http://www.phpbb-es.com/foro/pastebin.php?mode=view&s=5 eso es todo y a la espera quedo, de me digas estos datos para finalizar el proceso. gracias
URL: http://www.forolinternasled.com
Plantilla(s) usuada(s):ca_black.
MODs instalados: CHAT. SEO.P-O-M.
Versión de phpBB: 3.0.10
Servidor: Pago.
Si es una actualización desde otra versión: Si, de la 3.8 a la 3.9 a la 3.0.10
Si es una conversión desde otro tipo de Foro: No.
Re: Como colocar en el editor de mensages, yotobe rapido
Se me olvido, por si lo necesitas algun dia aquí tienes el enlace http://www.phpbb-es.com/foro/descarga-m ... 24855.htmlCASPER escribió:Hola zoby gracias por contestar, donde saco el, instalar el Advanced BBCode Box de Leviatan21, se instala facio o como????

Segun he visto en tus datos de soporte, tu estilo/plantilla es ca black, que creo que es basado en prosilver, así que tienes que aplicar al estilo ca black (en vez de a prosilver) los cambios de este enlace http://www.phpbb-es.com/foro/pastebin.p ... view&s=125CASPER escribió:Hola Zoby pues me decanto al final por el modelo hecho por mitch, y ya tengo todo casi listo, pero me he parado en este paso que es el ultimo de editar la plantilla, en quen ruta esta la plantilla??? que no quiero liarla,prefiero preguntarlo, y cuando me digas si puedes donde esta la plnatilla y cual es, me puedes decir en que linera meto esto, que pone en el paso que me pare,http://www.phpbb-es.com/foro/pastebin.php?mode=view&s=5 ,eso es todo a la espera quedo que me digas estos datos para finalizar el proceso. gracias
Como el otro enlace, es para estilo subsilver2 y/o basados en el, y tu estilo esta basado en prosilver, NO tienes que hacer esos cambios

Bueno, decirte, que si quieres que se abran en una nueva ventana, tienes que hacer los cambios que hay mas abajo
Luego, si el bbcode de youtube te pide añadir toda la url, probaremos ha hacer un cambio mas

Consulta los FAQS de ayuda de phpBB3.
Administra, modifica, actualiza tu foro con el listado de Guías de nuestra Biblioteca.
Accede a la base de modificaciones de phpBB Titania.
Si es sobre cómo Crear una Consulta SQL ya lo tienes explicado en el enlace.
En general, se recomienda Buscar antes de preguntar, quizás tu duda esté resuelta, y todos ahorremos tiempo.
Sólo tendrás Soporte si facilitas los datos correspondientes y si respetas completamente el Copyright de phpBB.
NOTA: No damos Soporte a los foros integrados en Nuke y derivados del mismo. Infórmate AQUÍ.
Normas de phpBB-Es | de Soporte en phpBB-Es.COM | Soporte MODificaciones phpBB en phpBB-Es
No doy soporte a quienes alteren o eliminen los copyright
No doy soporte por privado ni por msn : tenga en cuenta que su problema, también puede ser el problema de otro usuario.
Mi sitio web
Re: Como colocar en el editor de mensages, yotobe rapido
Vamos al lio , yo creo recordar que es prosilver,pero el compañero me parece que se confundio,o, por que en mi panel de control de usuario denro del foro como un usuario mas, tengo las opciones a la izquierda en un tablero, y en las instruciones dice que si estan a la izquierda ,es sulsilver2... Mirame este punto que la liamos parda

En cuanto me confirmes eso ,me pongo, pero me tienes que decir donde esta el archivo html a editar su ruta, para poder editarlo con el editor del otro dia y pegar este codigo que comenta en el ultimo paso.
Cuando lo sepa donde esta cojo ese archivo html y lo modifico, lo meto de nuevo y machaco el otro. y a mirar si funciono, pero necesito esos datos.
URL: http://www.forolinternasled.com
Plantilla(s) usuada(s):ca_black.
MODs instalados: CHAT. SEO.P-O-M.
Versión de phpBB: 3.0.10
Servidor: Pago.
Si es una actualización desde otra versión: Si, de la 3.8 a la 3.9 a la 3.0.10
Si es una conversión desde otro tipo de Foro: No.
Re: Como colocar en el editor de mensages, yotobe rapido
Insisto una vez mas, en qeu tu estilo (ca black) es basado en prosilver, basicamente, por que si no, dentro de la carpeta /theme/, no tendría el colours.css y otros archivos cssCASPER escribió:okok madre mia que jardin, pero como te explicas muy bien te entiendo perfectamente casi todo.
Vamos al lio , yo creo recordar que es prosilver,pero el compañero me parece que se confundio,o, por que en mi panel de control de usuario denro del foro como un usuario mas, tengo las opciones a la izquierda en un tablero, y en las instruciones dice que si estan a la izquierda ,es sulsilver2... Mirame este punto que la liamos parda)
En cuanto me confirmes eso ,me pongo, pero me tienes que decir donde esta el archivo html a editar su ruta, para poder editarlo con el editor del otro dia y pegar este codigo que comenta en el ultimo paso.
Cuando lo sepa donde esta cojo ese archivo html y lo modifico, lo meto de nuevo y machaco el otro. y a mirar si funciono, pero necesito esos datos.

Tienes que ir via ftp a /styles/ca_black/template/editor.js
Al Final del archivo añadir
Código: Seleccionar todo
// BBcodes por Mitch
function BBcodeimg() {
theSelection = false;
var textarea = document.forms[form_name].elements[text_name];
textarea.focus();
if ((clientVer >= 4) && is_ie && is_win)
{
theSelection = document.selection.createRange().text;
if (theSelection)
{
bbfontstyle('[img]','[/img]');
return;
}
}
else if (document.forms[form_name].elements[text_name].selectionEnd && (document.forms[form_name].elements[text_name].selectionEnd - document.forms[form_name].elements[text_name].selectionStart > 0))
{
bbfontstyle('[img]','[/img]');
return;
}
var Errores = '';
var enterURL = prompt("Introduzca la URL de la imagen", "http://");
if (!enterURL) {
Errores += "Debes ingresar una URL para la imagen.";
alert("Error: "+Errores);
return;
}
var Post = "[img]"+enterURL+"[/img]";
insert_text(Post);
}
function BBcodeurl() {
theSelection = false;
var textarea = document.forms[form_name].elements[text_name];
textarea.focus();
if ((clientVer >= 4) && is_ie && is_win)
{
theSelection = document.selection.createRange().text;
if (theSelection)
{
bbfontstyle('[url]','[/url]');
return;
}
}
else if (document.forms[form_name].elements[text_name].selectionEnd && (document.forms[form_name].elements[text_name].selectionEnd - document.forms[form_name].elements[text_name].selectionStart > 0))
{
bbfontstyle('[url]','[/url]');
return;
}
var Errores = '';
var enterURL = prompt("Introduzca la URL", "http://");
var enterTITULO = prompt("Introduzca el nombre del enlace (opcional)", "Nombre de la Página Web");
if (!enterURL) {
Errores += "Debes ingresar una URL.";
alert("Error: "+Errores);
return;
}
if (!enterTITULO) {
var Post = "[url]"+enterURL+"[/url]";
insert_text(Post);
}
else {
var Post = "[url="+enterURL+"]"+enterTITULO+"[/url]";
insert_text(Post);
}
}
function BBcodeemail() {
theSelection = false;
var textarea = document.forms[form_name].elements[text_name];
textarea.focus();
if ((clientVer >= 4) && is_ie && is_win)
{
theSelection = document.selection.createRange().text;
if (theSelection)
{
bbfontstyle('[email]','[/email]');
return;
}
}
else if (document.forms[form_name].elements[text_name].selectionEnd && (document.forms[form_name].elements[text_name].selectionEnd - document.forms[form_name].elements[text_name].selectionStart > 0))
{
bbfontstyle('[email]','[/email]');
return;
}
var Errores = '';
var enterURL = prompt("Introduzca una dirección de e-mail", "correo@web.com");
var enterTITULO = prompt("Introduzca un nombre para el enlace al correo (opcional)", "Click aquí para escribirme un correo");
if (!enterURL) {
Errores += "Debes ingresar una dirección de email.";
alert("Error: "+Errores);
return;
}
if (!enterTITULO) {
var Post = "[email]"+enterURL+"[/email]";
insert_text(Post);
}
else {
var Post = "[email="+enterURL+"]"+enterTITULO+"[/email]";
insert_text(Post);
}
}
function BBcodeflash() {
theSelection = false;
var textarea = document.forms[form_name].elements[text_name];
textarea.focus();
if ((clientVer >= 4) && is_ie && is_win)
{
theSelection = document.selection.createRange().text;
if (theSelection)
{
bbfontstyle('[flash=500,350]','[/flash]');
return;
}
}
else if (document.forms[form_name].elements[text_name].selectionEnd && (document.forms[form_name].elements[text_name].selectionEnd - document.forms[form_name].elements[text_name].selectionStart > 0))
{
bbfontstyle('[flash=320,285]','[/flash]');
return;
}
var Errores = '';
var enterURL = prompt("Introduzca la URL del Flash", "http://");
var enterWIDTH = prompt("Introduzca el ancho del flash, en pixeles", "500");
var enterHEIGHT = prompt("Introduzca el alto del flash, en pixeles", "350");
if (!enterURL) {
Errores += "Debes ingresar una URL.";
alert("Error: "+Errores);
return;
}
if (!enterWIDTH || !enterHEIGHT) {
Errores += "Debes ingresar un ancho o alto en pixeles para el archivo flash.";
alert("Error: "+Errores);
return;
}
else {
var Post = "[flash="+enterWIDTH+","+enterHEIGHT+"]"+enterURL+"[/flash]";
insert_text(Post);
}
}
function BBcodevideo() {
theSelection = false;
var textarea = document.forms[form_name].elements[text_name];
textarea.focus();
if ((clientVer >= 4) && is_ie && is_win)
{
theSelection = document.selection.createRange().text;
if (theSelection)
{
bbfontstyle('[video width=320 height=285]','[/video]');
return;
}
}
else if (document.forms[form_name].elements[text_name].selectionEnd && (document.forms[form_name].elements[text_name].selectionEnd - document.forms[form_name].elements[text_name].selectionStart > 0))
{
bbfontstyle('[video width=320 height=285]','[/video]');
return;
}
var Errores = '';
var enterURL = prompt("Introduzca la URL del Video", "http://");
var enterWIDTH = prompt("Introduzca el ancho del video, en pixeles", "320");
var enterHEIGHT = prompt("Introduzca el alto del video, en pixeles", "285");
if (!enterURL) {
Errores += "Debes ingresar una URL.";
alert("Error: "+Errores);
return;
}
if (!enterWIDTH || !enterHEIGHT) {
Errores += "Debes ingresar un ancho o alto en pixeles para el archivo de video.";
alert("Error: "+Errores);
return;
}
else {
var Post = "[video width="+enterWIDTH+" height="+enterHEIGHT+"]"+enterURL+"[/video]";
insert_text(Post);
}
}
function BBcodemp3() {
theSelection = false;
var textarea = document.forms[form_name].elements[text_name];
textarea.focus();
if ((clientVer >= 4) && is_ie && is_win)
{
theSelection = document.selection.createRange().text;
if (theSelection)
{
bbfontstyle('[mp3]','[/mp3]');
return;
}
}
else if (document.forms[form_name].elements[text_name].selectionEnd && (document.forms[form_name].elements[text_name].selectionEnd - document.forms[form_name].elements[text_name].selectionStart > 0))
{
bbfontstyle('[mp3]','[/mp3]');
return;
}
var Errores = '';
var enterURL = prompt("Introduzca la URL del Mp3", "http://");
if (!enterURL) {
Errores += "Debes ingresar una URL.";
alert("Error: "+Errores);
return;
}
var Post = "[mp3]"+enterURL+"[/mp3]";
insert_text(Post);
}
function BBcodequick() {
theSelection = false;
var textarea = document.forms[form_name].elements[text_name];
textarea.focus();
if ((clientVer >= 4) && is_ie && is_win)
{
theSelection = document.selection.createRange().text;
if (theSelection)
{
bbfontstyle('[quick width=320 height=240]','[/quick]');
return;
}
}
else if (document.forms[form_name].elements[text_name].selectionEnd && (document.forms[form_name].elements[text_name].selectionEnd - document.forms[form_name].elements[text_name].selectionStart > 0))
{
bbfontstyle('[quick width=320 height=240]','[/quick]');
return;
}
var Errores = '';
var enterURL = prompt("Introduzca la URL del archivo Quick Time", "http://");
var enterWIDTH = prompt("Introduzca el ancho del archivo, en pixeles", "320");
var enterHEIGHT = prompt("Introduzca el alto del archivo, en pixeles", "240");
if (!enterURL) {
Errores += "Debes ingresar una URL.";
alert("Error: "+Errores);
return;
}
if (!enterWIDTH || !enterHEIGHT) {
Errores += "Debes ingresar un ancho o alto en pixeles para el archivo.";
alert("Error: "+Errores);
return;
}
else {
var Post = "[quick width="+enterWIDTH+" height="+enterHEIGHT+"]"+enterURL+"[/quick]";
insert_text(Post);
}
}
function BBcoderam() {
theSelection = false;
var textarea = document.forms[form_name].elements[text_name];
textarea.focus();
if ((clientVer >= 4) && is_ie && is_win)
{
theSelection = document.selection.createRange().text;
if (theSelection)
{
bbfontstyle('[ram width=275 height=40]','[/ram]');
return;
}
}
else if (document.forms[form_name].elements[text_name].selectionEnd && (document.forms[form_name].elements[text_name].selectionEnd - document.forms[form_name].elements[text_name].selectionStart > 0))
{
bbfontstyle('[ram width=275 height=40]','[/ram]');
return;
}
var Errores = '';
var enterURL = prompt("Introduzca la URL del archivo Real Media", "http://");
var enterWIDTH = prompt("Introduzca el ancho del archivo, en pixeles", "275");
var enterHEIGHT = prompt("Introduzca el alto del archivo, en pixeles", "40");
if (!enterURL) {
Errores += "Debes ingresar una URL.";
alert("Error: "+Errores);
return;
}
if (!enterWIDTH || !enterHEIGHT) {
Errores += "Debes ingresar un ancho o alto en pixeles para el archivo.";
alert("Error: "+Errores);
return;
}
else {
var Post = "[ram width="+enterWIDTH+" height="+enterHEIGHT+"]"+enterURL+"[/ram]";
insert_text(Post);
}
}
function BBcodegooglevideo() {
theSelection = false;
var textarea = document.forms[form_name].elements[text_name];
textarea.focus();
if ((clientVer >= 4) && is_ie && is_win)
{
theSelection = document.selection.createRange().text;
if (theSelection)
{
bbfontstyle('[googlevideo]','[/googlevideo]');
return;
}
}
else if (document.forms[form_name].elements[text_name].selectionEnd && (document.forms[form_name].elements[text_name].selectionEnd - document.forms[form_name].elements[text_name].selectionStart > 0))
{
bbfontstyle('[googlevideo]','[/googlevideo]');
return;
}
var Errores = '';
var enterURL = prompt("Introduzca la ID del video (solo la ID, no la URL completa)", "595591721633367");
if (!enterURL) {
Errores += "Debes ingresar la ID del video.";
alert("Error: "+Errores);
return;
}
var Post = "[googlevideo]"+enterURL+"[/googlevideo]";
insert_text(Post);
}
function BBcodeyoutube() {
theSelection = false;
var textarea = document.forms[form_name].elements[text_name];
textarea.focus();
if ((clientVer >= 4) && is_ie && is_win)
{
theSelection = document.selection.createRange().text;
if (theSelection)
{
bbfontstyle('[youtube]','[/youtube]');
return;
}
}
else if (document.forms[form_name].elements[text_name].selectionEnd && (document.forms[form_name].elements[text_name].selectionEnd - document.forms[form_name].elements[text_name].selectionStart > 0))
{
bbfontstyle('[youtube]','[/youtube]');
return;
}
var Errores = '';
var enterURL = prompt("Introduzca la ID del video (solo la ID, no la URL completa)", "ZxyQraaB7c0");
if (!enterURL) {
Errores += "Debes ingresar la ID del video.";
alert("Error: "+Errores);
return;
}
var Post = "[youtube]"+enterURL+"[/youtube]";
insert_text(Post);
}
// BBcodes por Mitch
Código: Seleccionar todo
/**
* bbCode control by subBlue design [ www.subBlue.com ]
* Includes unixsafe colour palette selector by SHS`
*/
// Startup variables
var imageTag = false;
var theSelection = false;
var bbcodeEnabled = true;
// Check for Browser & Platform for PC & IE specific bits
// More details from: http://www.mozilla.org/docs/web-developer/sniffer/browser_type.html
var clientPC = navigator.userAgent.toLowerCase(); // Get client info
var clientVer = parseInt(navigator.appVersion); // Get browser version
var is_ie = ((clientPC.indexOf('msie') != -1) && (clientPC.indexOf('opera') == -1));
var is_win = ((clientPC.indexOf('win') != -1) || (clientPC.indexOf('16bit') != -1));
var baseHeight;
/**
* Shows the help messages in the helpline window
*/
function helpline(help)
{
document.forms[form_name].helpbox.value = help_line[help];
}
/**
* Fix a bug involving the TextRange object. From
* http://www.frostjedi.com/terra/scripts/demo/caretBug.html
*/
function initInsertions()
{
var doc;
if (document.forms[form_name])
{
doc = document;
}
else
{
doc = opener.document;
}
var textarea = doc.forms[form_name].elements[text_name];
if (is_ie && typeof(baseHeight) != 'number')
{
textarea.focus();
baseHeight = doc.selection.createRange().duplicate().boundingHeight;
if (!document.forms[form_name])
{
document.body.focus();
}
}
}
/**
* bbstyle
*/
function bbstyle(bbnumber)
{
if (bbnumber != -1)
{
bbfontstyle(bbtags[bbnumber], bbtags[bbnumber+1]);
}
else
{
insert_text('[*]');
document.forms[form_name].elements[text_name].focus();
}
}
/**
* Apply bbcodes
*/
function bbfontstyle(bbopen, bbclose)
{
theSelection = false;
var textarea = document.forms[form_name].elements[text_name];
textarea.focus();
if ((clientVer >= 4) && is_ie && is_win)
{
// Get text selection
theSelection = document.selection.createRange().text;
if (theSelection)
{
// Add tags around selection
document.selection.createRange().text = bbopen + theSelection + bbclose;
document.forms[form_name].elements[text_name].focus();
theSelection = '';
return;
}
}
else if (document.forms[form_name].elements[text_name].selectionEnd && (document.forms[form_name].elements[text_name].selectionEnd - document.forms[form_name].elements[text_name].selectionStart > 0))
{
mozWrap(document.forms[form_name].elements[text_name], bbopen, bbclose);
document.forms[form_name].elements[text_name].focus();
theSelection = '';
return;
}
//The new position for the cursor after adding the bbcode
var caret_pos = getCaretPosition(textarea).start;
var new_pos = caret_pos + bbopen.length;
// Open tag
insert_text(bbopen + bbclose);
// Center the cursor when we don't have a selection
// Gecko and proper browsers
if (!isNaN(textarea.selectionStart))
{
textarea.selectionStart = new_pos;
textarea.selectionEnd = new_pos;
}
// IE
else if (document.selection)
{
var range = textarea.createTextRange();
range.move("character", new_pos);
range.select();
storeCaret(textarea);
}
textarea.focus();
return;
}
/**
* Insert text at position
*/
function insert_text(text, spaces, popup)
{
var textarea;
if (!popup)
{
textarea = document.forms[form_name].elements[text_name];
}
else
{
textarea = opener.document.forms[form_name].elements[text_name];
}
if (spaces)
{
text = ' ' + text + ' ';
}
if (!isNaN(textarea.selectionStart))
{
var sel_start = textarea.selectionStart;
var sel_end = textarea.selectionEnd;
mozWrap(textarea, text, '')
textarea.selectionStart = sel_start + text.length;
textarea.selectionEnd = sel_end + text.length;
}
else if (textarea.createTextRange && textarea.caretPos)
{
if (baseHeight != textarea.caretPos.boundingHeight)
{
textarea.focus();
storeCaret(textarea);
}
var caret_pos = textarea.caretPos;
caret_pos.text = caret_pos.text.charAt(caret_pos.text.length - 1) == ' ' ? caret_pos.text + text + ' ' : caret_pos.text + text;
}
else
{
textarea.value = textarea.value + text;
}
if (!popup)
{
textarea.focus();
}
}
/**
* Add inline attachment at position
*/
function attach_inline(index, filename)
{
insert_text('[attachment=' + index + ']' + filename + '[/attachment]');
document.forms[form_name].elements[text_name].focus();
}
/**
* Add quote text to message
*/
function addquote(post_id, username)
{
var message_name = 'message_' + post_id;
var theSelection = '';
var divarea = false;
if (document.all)
{
divarea = document.all[message_name];
}
else
{
divarea = document.getElementById(message_name);
}
// Get text selection - not only the post content :(
if (window.getSelection)
{
theSelection = window.getSelection().toString();
}
else if (document.getSelection)
{
theSelection = document.getSelection();
}
else if (document.selection)
{
theSelection = document.selection.createRange().text;
}
if (theSelection == '' || typeof theSelection == 'undefined' || theSelection == null)
{
if (divarea.innerHTML)
{
theSelection = divarea.innerHTML.replace(/<br>/ig, '\n');
theSelection = theSelection.replace(/<br\/>/ig, '\n');
theSelection = theSelection.replace(/<\;/ig, '<');
theSelection = theSelection.replace(/>\;/ig, '>');
theSelection = theSelection.replace(/&\;/ig, '&');
theSelection = theSelection.replace(/ \;/ig, ' ');
}
else if (document.all)
{
theSelection = divarea.innerText;
}
else if (divarea.textContent)
{
theSelection = divarea.textContent;
}
else if (divarea.firstChild.nodeValue)
{
theSelection = divarea.firstChild.nodeValue;
}
}
if (theSelection)
{
if (bbcodeEnabled)
{
insert_text('[quote="' + username + '"]' + theSelection + '[/quote]');
}
else
{
var lines = split_lines(theSelection);
for (i = 0; i < lines.length; i++)
{
insert_text('> ' + lines[i] + '\n')
}
}
}
return;
}
function split_lines(text)
{
var lines = text.split('\n');
var splitLines = new Array();
var j = 0;
for(i = 0; i < lines.length; i++)
{
if (lines[i].length <= 80)
{
splitLines[j] = lines[i];
j++;
}
else
{
var line = lines[i];
do
{
var splitAt = line.indexOf(' ', 80);
if (splitAt == -1)
{
splitLines[j] = line;
j++
}
else
{
splitLines[j] = line.substring(0, splitAt);
line = line.substring(splitAt);
j++;
}
}
while(splitAt != -1)
}
}
return splitLines;
}
/**
* From http://www.massless.org/mozedit/
*/
function mozWrap(txtarea, open, close)
{
var selLength = (typeof(txtarea.textLength) == 'undefined') ? txtarea.value.length : txtarea.textLength;
var selStart = txtarea.selectionStart;
var selEnd = txtarea.selectionEnd;
var scrollTop = txtarea.scrollTop;
if (selEnd == 1 || selEnd == 2)
{
selEnd = selLength;
}
var s1 = (txtarea.value).substring(0,selStart);
var s2 = (txtarea.value).substring(selStart, selEnd)
var s3 = (txtarea.value).substring(selEnd, selLength);
txtarea.value = s1 + open + s2 + close + s3;
txtarea.selectionStart = selStart + open.length;
txtarea.selectionEnd = selEnd + open.length;
txtarea.focus();
txtarea.scrollTop = scrollTop;
return;
}
/**
* Insert at Caret position. Code from
* http://www.faqts.com/knowledge_base/view.phtml/aid/1052/fid/130
*/
function storeCaret(textEl)
{
if (textEl.createTextRange)
{
textEl.caretPos = document.selection.createRange().duplicate();
}
}
/**
* Color pallette
*/
function colorPalette(dir, width, height)
{
var r = 0, g = 0, b = 0;
var numberList = new Array(6);
var color = '';
numberList[0] = '00';
numberList[1] = '40';
numberList[2] = '80';
numberList[3] = 'BF';
numberList[4] = 'FF';
document.writeln('<table cellspacing="1" cellpadding="0" border="0">');
for (r = 0; r < 5; r++)
{
if (dir == 'h')
{
document.writeln('<tr>');
}
for (g = 0; g < 5; g++)
{
if (dir == 'v')
{
document.writeln('<tr>');
}
for (b = 0; b < 5; b++)
{
color = String(numberList[r]) + String(numberList[g]) + String(numberList[b]);
document.write('<td bgcolor="#' + color + '" style="width: ' + width + 'px; height: ' + height + 'px;">');
document.write('<a href="#" onclick="bbfontstyle(\'[color=#' + color + ']\', \'[/color]\'); return false;"><img src="images/spacer.gif" width="' + width + '" height="' + height + '" alt="#' + color + '" title="#' + color + '" /></a>');
document.writeln('</td>');
}
if (dir == 'v')
{
document.writeln('</tr>');
}
}
if (dir == 'h')
{
document.writeln('</tr>');
}
}
document.writeln('</table>');
}
/**
* Caret Position object
*/
function caretPosition()
{
var start = null;
var end = null;
}
/**
* Get the caret position in an textarea
*/
function getCaretPosition(txtarea)
{
var caretPos = new caretPosition();
// simple Gecko/Opera way
if(txtarea.selectionStart || txtarea.selectionStart == 0)
{
caretPos.start = txtarea.selectionStart;
caretPos.end = txtarea.selectionEnd;
}
// dirty and slow IE way
else if(document.selection)
{
// get current selection
var range = document.selection.createRange();
// a new selection of the whole textarea
var range_all = document.body.createTextRange();
range_all.moveToElementText(txtarea);
// calculate selection start point by moving beginning of range_all to beginning of range
var sel_start;
for (sel_start = 0; range_all.compareEndPoints('StartToStart', range) < 0; sel_start++)
{
range_all.moveStart('character', 1);
}
txtarea.sel_start = sel_start;
// we ignore the end value for IE, this is already dirty enough and we don't need it
caretPos.start = txtarea.sel_start;
caretPos.end = txtarea.sel_start;
}
return caretPos;
}
// BBcodes por Mitch
function BBcodeimg() {
theSelection = false;
var textarea = document.forms[form_name].elements[text_name];
textarea.focus();
if ((clientVer >= 4) && is_ie && is_win)
{
theSelection = document.selection.createRange().text;
if (theSelection)
{
bbfontstyle('[img]','[/img]');
return;
}
}
else if (document.forms[form_name].elements[text_name].selectionEnd && (document.forms[form_name].elements[text_name].selectionEnd - document.forms[form_name].elements[text_name].selectionStart > 0))
{
bbfontstyle('[img]','[/img]');
return;
}
var Errores = '';
var enterURL = prompt("Introduzca la URL de la imagen", "http://");
if (!enterURL) {
Errores += "Debes ingresar una URL para la imagen.";
alert("Error: "+Errores);
return;
}
var Post = "[img]"+enterURL+"[/img]";
insert_text(Post);
}
function BBcodeurl() {
theSelection = false;
var textarea = document.forms[form_name].elements[text_name];
textarea.focus();
if ((clientVer >= 4) && is_ie && is_win)
{
theSelection = document.selection.createRange().text;
if (theSelection)
{
bbfontstyle('[url]','[/url]');
return;
}
}
else if (document.forms[form_name].elements[text_name].selectionEnd && (document.forms[form_name].elements[text_name].selectionEnd - document.forms[form_name].elements[text_name].selectionStart > 0))
{
bbfontstyle('[url]','[/url]');
return;
}
var Errores = '';
var enterURL = prompt("Introduzca la URL", "http://");
var enterTITULO = prompt("Introduzca el nombre del enlace (opcional)", "Nombre de la Página Web");
if (!enterURL) {
Errores += "Debes ingresar una URL.";
alert("Error: "+Errores);
return;
}
if (!enterTITULO) {
var Post = "[url]"+enterURL+"[/url]";
insert_text(Post);
}
else {
var Post = "[url="+enterURL+"]"+enterTITULO+"[/url]";
insert_text(Post);
}
}
function BBcodeemail() {
theSelection = false;
var textarea = document.forms[form_name].elements[text_name];
textarea.focus();
if ((clientVer >= 4) && is_ie && is_win)
{
theSelection = document.selection.createRange().text;
if (theSelection)
{
bbfontstyle('[email]','[/email]');
return;
}
}
else if (document.forms[form_name].elements[text_name].selectionEnd && (document.forms[form_name].elements[text_name].selectionEnd - document.forms[form_name].elements[text_name].selectionStart > 0))
{
bbfontstyle('[email]','[/email]');
return;
}
var Errores = '';
var enterURL = prompt("Introduzca una dirección de e-mail", "correo@web.com");
var enterTITULO = prompt("Introduzca un nombre para el enlace al correo (opcional)", "Click aquí para escribirme un correo");
if (!enterURL) {
Errores += "Debes ingresar una dirección de email.";
alert("Error: "+Errores);
return;
}
if (!enterTITULO) {
var Post = "[email]"+enterURL+"[/email]";
insert_text(Post);
}
else {
var Post = "[email="+enterURL+"]"+enterTITULO+"[/email]";
insert_text(Post);
}
}
function BBcodeflash() {
theSelection = false;
var textarea = document.forms[form_name].elements[text_name];
textarea.focus();
if ((clientVer >= 4) && is_ie && is_win)
{
theSelection = document.selection.createRange().text;
if (theSelection)
{
bbfontstyle('[flash=500,350]','[/flash]');
return;
}
}
else if (document.forms[form_name].elements[text_name].selectionEnd && (document.forms[form_name].elements[text_name].selectionEnd - document.forms[form_name].elements[text_name].selectionStart > 0))
{
bbfontstyle('[flash=320,285]','[/flash]');
return;
}
var Errores = '';
var enterURL = prompt("Introduzca la URL del Flash", "http://");
var enterWIDTH = prompt("Introduzca el ancho del flash, en pixeles", "500");
var enterHEIGHT = prompt("Introduzca el alto del flash, en pixeles", "350");
if (!enterURL) {
Errores += "Debes ingresar una URL.";
alert("Error: "+Errores);
return;
}
if (!enterWIDTH || !enterHEIGHT) {
Errores += "Debes ingresar un ancho o alto en pixeles para el archivo flash.";
alert("Error: "+Errores);
return;
}
else {
var Post = "[flash="+enterWIDTH+","+enterHEIGHT+"]"+enterURL+"[/flash]";
insert_text(Post);
}
}
function BBcodevideo() {
theSelection = false;
var textarea = document.forms[form_name].elements[text_name];
textarea.focus();
if ((clientVer >= 4) && is_ie && is_win)
{
theSelection = document.selection.createRange().text;
if (theSelection)
{
bbfontstyle('[video width=320 height=285]','[/video]');
return;
}
}
else if (document.forms[form_name].elements[text_name].selectionEnd && (document.forms[form_name].elements[text_name].selectionEnd - document.forms[form_name].elements[text_name].selectionStart > 0))
{
bbfontstyle('[video width=320 height=285]','[/video]');
return;
}
var Errores = '';
var enterURL = prompt("Introduzca la URL del Video", "http://");
var enterWIDTH = prompt("Introduzca el ancho del video, en pixeles", "320");
var enterHEIGHT = prompt("Introduzca el alto del video, en pixeles", "285");
if (!enterURL) {
Errores += "Debes ingresar una URL.";
alert("Error: "+Errores);
return;
}
if (!enterWIDTH || !enterHEIGHT) {
Errores += "Debes ingresar un ancho o alto en pixeles para el archivo de video.";
alert("Error: "+Errores);
return;
}
else {
var Post = "[video width="+enterWIDTH+" height="+enterHEIGHT+"]"+enterURL+"[/video]";
insert_text(Post);
}
}
function BBcodemp3() {
theSelection = false;
var textarea = document.forms[form_name].elements[text_name];
textarea.focus();
if ((clientVer >= 4) && is_ie && is_win)
{
theSelection = document.selection.createRange().text;
if (theSelection)
{
bbfontstyle('[mp3]','[/mp3]');
return;
}
}
else if (document.forms[form_name].elements[text_name].selectionEnd && (document.forms[form_name].elements[text_name].selectionEnd - document.forms[form_name].elements[text_name].selectionStart > 0))
{
bbfontstyle('[mp3]','[/mp3]');
return;
}
var Errores = '';
var enterURL = prompt("Introduzca la URL del Mp3", "http://");
if (!enterURL) {
Errores += "Debes ingresar una URL.";
alert("Error: "+Errores);
return;
}
var Post = "[mp3]"+enterURL+"[/mp3]";
insert_text(Post);
}
function BBcodequick() {
theSelection = false;
var textarea = document.forms[form_name].elements[text_name];
textarea.focus();
if ((clientVer >= 4) && is_ie && is_win)
{
theSelection = document.selection.createRange().text;
if (theSelection)
{
bbfontstyle('[quick width=320 height=240]','[/quick]');
return;
}
}
else if (document.forms[form_name].elements[text_name].selectionEnd && (document.forms[form_name].elements[text_name].selectionEnd - document.forms[form_name].elements[text_name].selectionStart > 0))
{
bbfontstyle('[quick width=320 height=240]','[/quick]');
return;
}
var Errores = '';
var enterURL = prompt("Introduzca la URL del archivo Quick Time", "http://");
var enterWIDTH = prompt("Introduzca el ancho del archivo, en pixeles", "320");
var enterHEIGHT = prompt("Introduzca el alto del archivo, en pixeles", "240");
if (!enterURL) {
Errores += "Debes ingresar una URL.";
alert("Error: "+Errores);
return;
}
if (!enterWIDTH || !enterHEIGHT) {
Errores += "Debes ingresar un ancho o alto en pixeles para el archivo.";
alert("Error: "+Errores);
return;
}
else {
var Post = "[quick width="+enterWIDTH+" height="+enterHEIGHT+"]"+enterURL+"[/quick]";
insert_text(Post);
}
}
function BBcoderam() {
theSelection = false;
var textarea = document.forms[form_name].elements[text_name];
textarea.focus();
if ((clientVer >= 4) && is_ie && is_win)
{
theSelection = document.selection.createRange().text;
if (theSelection)
{
bbfontstyle('[ram width=275 height=40]','[/ram]');
return;
}
}
else if (document.forms[form_name].elements[text_name].selectionEnd && (document.forms[form_name].elements[text_name].selectionEnd - document.forms[form_name].elements[text_name].selectionStart > 0))
{
bbfontstyle('[ram width=275 height=40]','[/ram]');
return;
}
var Errores = '';
var enterURL = prompt("Introduzca la URL del archivo Real Media", "http://");
var enterWIDTH = prompt("Introduzca el ancho del archivo, en pixeles", "275");
var enterHEIGHT = prompt("Introduzca el alto del archivo, en pixeles", "40");
if (!enterURL) {
Errores += "Debes ingresar una URL.";
alert("Error: "+Errores);
return;
}
if (!enterWIDTH || !enterHEIGHT) {
Errores += "Debes ingresar un ancho o alto en pixeles para el archivo.";
alert("Error: "+Errores);
return;
}
else {
var Post = "[ram width="+enterWIDTH+" height="+enterHEIGHT+"]"+enterURL+"[/ram]";
insert_text(Post);
}
}
function BBcodegooglevideo() {
theSelection = false;
var textarea = document.forms[form_name].elements[text_name];
textarea.focus();
if ((clientVer >= 4) && is_ie && is_win)
{
theSelection = document.selection.createRange().text;
if (theSelection)
{
bbfontstyle('[googlevideo]','[/googlevideo]');
return;
}
}
else if (document.forms[form_name].elements[text_name].selectionEnd && (document.forms[form_name].elements[text_name].selectionEnd - document.forms[form_name].elements[text_name].selectionStart > 0))
{
bbfontstyle('[googlevideo]','[/googlevideo]');
return;
}
var Errores = '';
var enterURL = prompt("Introduzca la ID del video (solo la ID, no la URL completa)", "595591721633367");
if (!enterURL) {
Errores += "Debes ingresar la ID del video.";
alert("Error: "+Errores);
return;
}
var Post = "[googlevideo]"+enterURL+"[/googlevideo]";
insert_text(Post);
}
function BBcodeyoutube() {
theSelection = false;
var textarea = document.forms[form_name].elements[text_name];
textarea.focus();
if ((clientVer >= 4) && is_ie && is_win)
{
theSelection = document.selection.createRange().text;
if (theSelection)
{
bbfontstyle('[youtube]','[/youtube]');
return;
}
}
else if (document.forms[form_name].elements[text_name].selectionEnd && (document.forms[form_name].elements[text_name].selectionEnd - document.forms[form_name].elements[text_name].selectionStart > 0))
{
bbfontstyle('[youtube]','[/youtube]');
return;
}
var Errores = '';
var enterURL = prompt("Introduzca la ID del video (solo la ID, no la URL completa)", "ZxyQraaB7c0");
if (!enterURL) {
Errores += "Debes ingresar la ID del video.";
alert("Error: "+Errores);
return;
}
var Post = "[youtube]"+enterURL+"[/youtube]";
insert_text(Post);
}
// BBcodes por Mitch
Buscar:
Código: Seleccionar todo
onclick="bbstyle(14)"
onclick="bbstyle(16)"
onclick="bbfontstyle('[email]','[/email]')"
onclick="bbstyle(18)"
onclick="bbfontstyle('[video width=320 height=285]','[/video]')"
onclick="bbfontstyle('[mp3]','[/mp3]')"
onclick="bbfontstyle('[quick width=320 height=240]','[/quick]')"
onclick="bbfontstyle('[ram width=275 height=40]','[/ram]')"
onclick="bbfontstyle('[googlevideo]','[/googlevideo]')"
onclick="bbfontstyle('[youtube]','[/youtube]')"
Código: Seleccionar todo
onclick="BBcodeimg()"
onclick="BBcodeurl()"
onclick="BBcodeemail()"
onclick="BBcodeflash()"
onclick="BBcodevideo()"
onclick="BBcodemp3()"
onclick="BBcodequick()"
onclick="BBcoderam()"
onclick="BBcodegooglevideo()"
onclick="BBcodeyoutube()"
Para que lo entiendas mejor
Buscas
Código: Seleccionar todo
onclick="bbstyle(14)"
Código: Seleccionar todo
onclick="BBcodeimg()"
Código: Seleccionar todo
onclick="bbstyle(16)"
Código: Seleccionar todo
onclick="BBcodeurl()"
Si tienes miedo de cometer algun error, antes de empezar con estos cambios, haz una copia de los 2 archivos a editar
Tras los cambios, debes de ir al Panel de Administracion de tu foro (ACP)




Saludos

Consulta los FAQS de ayuda de phpBB3.
Administra, modifica, actualiza tu foro con el listado de Guías de nuestra Biblioteca.
Accede a la base de modificaciones de phpBB Titania.
Si es sobre cómo Crear una Consulta SQL ya lo tienes explicado en el enlace.
En general, se recomienda Buscar antes de preguntar, quizás tu duda esté resuelta, y todos ahorremos tiempo.
Sólo tendrás Soporte si facilitas los datos correspondientes y si respetas completamente el Copyright de phpBB.
NOTA: No damos Soporte a los foros integrados en Nuke y derivados del mismo. Infórmate AQUÍ.
Normas de phpBB-Es | de Soporte en phpBB-Es.COM | Soporte MODificaciones phpBB en phpBB-Es
No doy soporte a quienes alteren o eliminen los copyright
No doy soporte por privado ni por msn : tenga en cuenta que su problema, también puede ser el problema de otro usuario.
Mi sitio web
Re: Como colocar en el editor de mensages, yotobe rapido

URL: http://www.forolinternasled.com
Plantilla(s) usuada(s):ca_black.
MODs instalados: CHAT. SEO.P-O-M.
Versión de phpBB: 3.0.10
Servidor: Pago.
Si es una actualización desde otra versión: Si, de la 3.8 a la 3.9 a la 3.0.10
Si es una conversión desde otro tipo de Foro: No.
Re: Como colocar en el editor de mensages, yotobe rapido
El tema esta el el otro archivo, lo tengo tambien editandolo, pero no veo esas lineas de codigo que me dices, te pongo una captura del archivo que tengo y el codigo que sale cuando lo abres con el noterpak que me cometastes.

Código: Seleccionar todo
<script type="text/javascript">
// <![CDATA[
onload_functions.push('apply_onkeypress_event()');
// ]]>
</script>
<fieldset class="fields1">
<!-- IF ERROR --><p class="error">{ERROR}</p><!-- ENDIF -->
<!-- IF S_PRIVMSGS and not S_SHOW_DRAFTS -->
<div class="column1">
<!-- IF S_ALLOW_MASS_PM -->
<!-- IF .to_recipient -->
<dl>
<dt><label>{L_TO}:</label></dt>
<dd>
<!-- BEGIN to_recipient -->
<!-- IF not to_recipient.S_FIRST_ROW and to_recipient.S_ROW_COUNT mod 2 eq 0 --></dd><dd><!-- ENDIF -->
<!-- IF to_recipient.IS_GROUP --><a href="{to_recipient.U_VIEW}"><strong>{to_recipient.NAME}</strong></a> <!-- ELSE -->{to_recipient.NAME_FULL} <!-- ENDIF -->
<!-- IF not S_EDIT_POST --><input type="submit" name="remove_{to_recipient.TYPE}[{to_recipient.UG_ID}]" value="x" class="button2" /> <!-- ENDIF -->
<!-- END to_recipient -->
</dd>
</dl>
<!-- ENDIF -->
<!-- IF .bcc_recipient -->
<dl>
<dt><label>{L_BCC}:</label></dt>
<dd>
<!-- BEGIN bcc_recipient -->
<!-- IF not bcc_recipient.S_FIRST_ROW and bcc_recipient.S_ROW_COUNT mod 2 eq 0 --></dd><dd><!-- ENDIF -->
<!-- IF bcc_recipient.IS_GROUP --><a href="{bcc_recipient.U_VIEW}"><strong>{bcc_recipient.NAME}</strong></a><!-- ELSE -->{bcc_recipient.NAME_FULL} <!-- ENDIF -->
<!-- IF not S_EDIT_POST --><input type="submit" name="remove_{bcc_recipient.TYPE}[{bcc_recipient.UG_ID}]" value="x" class="button2" /> <!-- ENDIF -->
<!-- END bcc_recipient -->
</dd>
</dl>
<!-- ENDIF -->
<!-- IF not S_EDIT_POST -->
<dl class="pmlist">
<dt><textarea id="username_list" name="username_list" class="inputbox" cols="50" rows="2"></textarea></dt>
<dd><span><a href="{U_FIND_USERNAME}" onclick="find_username(this.href); return false;">{L_FIND_USERNAME}</a></span></dd>
<dd><input type="submit" name="add_to" value="{L_ADD}" class="button2" /></dd>
<dd><input type="submit" name="add_bcc" value="{L_ADD_BCC}" class="button2" /></dd>
</dl>
<!-- ENDIF -->
<!-- ELSE -->
<dl>
<dt><label for="username_list">{L_TO}:</label><!-- IF not S_EDIT_POST --><br /><span><a href="{U_FIND_USERNAME}" onclick="find_username(this.href); return false">{L_FIND_USERNAME}</a></span><!-- ENDIF --></dt>
<!-- IF .to_recipient -->
<dd>
<!-- BEGIN to_recipient -->
<!-- IF not to_recipient.S_FIRST_ROW and to_recipient.S_ROW_COUNT mod 2 eq 0 --></dd><dd><!-- ENDIF -->
<!-- IF to_recipient.IS_GROUP --><a href="{to_recipient.U_VIEW}"><strong>{to_recipient.NAME}</strong></a><!-- ELSE -->{to_recipient.NAME_FULL} <!-- ENDIF -->
<!-- IF not S_EDIT_POST --><input type="submit" name="remove_{to_recipient.TYPE}[{to_recipient.UG_ID}]" value="x" class="button2" /> <!-- ENDIF -->
<!-- END to_recipient -->
</dd>
<!-- ENDIF -->
<!-- IF not S_EDIT_POST -->
<dd><input class="inputbox" type="text" name="username_list" id="username_list" size="20" value="" /> <input type="submit" name="add_to" value="{L_ADD}" class="button2" /></dd>
<!-- ENDIF -->
</dl>
<!-- ENDIF -->
</div>
<!-- IF S_GROUP_OPTIONS -->
<div class="column2">
<dl>
<dd><label for="group_list">{L_USERGROUPS}:</label> <select name="group_list[]" id="group_list "multiple="multiple" size="4" class="inputbox">{S_GROUP_OPTIONS}</select></dd>
</dl>
</div>
<!-- ENDIF -->
<div class="clear"></div>
<!-- ENDIF -->
<!-- IF S_DELETE_ALLOWED -->
<dl>
<dt><label for="delete">{L_DELETE_POST}:</label></dt>
<dd><label for="delete"><input type="checkbox" name="delete" id="delete" /> {L_DELETE_POST_WARN}</label></dd>
</dl>
<!-- ENDIF -->
<!-- IF S_SHOW_TOPIC_ICONS or S_SHOW_PM_ICONS -->
<dl>
<dt><label for="icon">{L_ICON}:</label></dt>
<dd>
<label for="icon"><input type="radio" name="icon" id="icon" value="0" checked="checked" /> <!-- IF S_SHOW_TOPIC_ICONS -->{L_NO_TOPIC_ICON}<!-- ELSE -->{L_NO_PM_ICON}<!-- ENDIF --></label>
<!-- BEGIN topic_icon --><label for="icon-{topic_icon.ICON_ID}"><input type="radio" name="icon" id="icon-{topic_icon.ICON_ID}" value="{topic_icon.ICON_ID}" {topic_icon.S_ICON_CHECKED} /><img src="{topic_icon.ICON_IMG}" width="{topic_icon.ICON_WIDTH}" height="{topic_icon.ICON_HEIGHT}" alt="" title="" /></label> <!-- END topic_icon -->
</dd>
</dl>
<!-- ENDIF -->
<!-- IF not S_PRIVMSGS and S_DISPLAY_USERNAME -->
<dl style="clear: left;">
<dt><label for="username">{L_USERNAME}:</label></dt>
<dd><input type="text" tabindex="1" name="username" id="username" size="25" value="{USERNAME}" class="inputbox" /></dd>
</dl>
<!-- ENDIF -->
<!-- IF S_POST_ACTION or S_PRIVMSGS or S_EDIT_DRAFT -->
<dl style="clear: left;">
<dt><label for="subject">{L_SUBJECT}:</label></dt>
<dd><input type="text" name="subject" id="subject" size="45" maxlength="<!-- IF S_NEW_MESSAGE -->60<!-- ELSE -->64<!-- ENDIF -->" tabindex="2" value="{SUBJECT}{DRAFT_SUBJECT}" class="inputbox autowidth" /></dd>
</dl>
<!-- IF CAPTCHA_TEMPLATE and S_CONFIRM_CODE -->
<!-- DEFINE $CAPTCHA_TAB_INDEX = 3 -->
<!-- INCLUDE {CAPTCHA_TEMPLATE} -->
<!-- ENDIF -->
<!-- ENDIF -->
<!-- INCLUDE posting_buttons.html -->
<div id="smiley-box">
<!-- IF S_SMILIES_ALLOWED and .smiley -->
<strong>{L_SMILIES}</strong><br />
<!-- BEGIN smiley -->
<a href="#" onclick="insert_text('{smiley.A_SMILEY_CODE}', true); return false;"><img src="{smiley.SMILEY_IMG}" width="{smiley.SMILEY_WIDTH}" height="{smiley.SMILEY_HEIGHT}" alt="{smiley.SMILEY_CODE}" title="{smiley.SMILEY_DESC}" /></a>
<!-- END smiley -->
<!-- ENDIF -->
<!-- IF S_SHOW_SMILEY_LINK and S_SMILIES_ALLOWED-->
<br /><a href="{U_MORE_SMILIES}" onclick="popup(this.href, 300, 350, '_phpbbsmilies'); return false;">{L_MORE_SMILIES}</a>
<!-- ENDIF -->
<!-- IF BBCODE_STATUS -->
<!-- IF .smiley --><hr /><!-- ENDIF -->
{BBCODE_STATUS}<br />
<!-- IF S_BBCODE_ALLOWED -->
{IMG_STATUS}<br />
{FLASH_STATUS}<br />
{URL_STATUS}<br />
<!-- ENDIF -->
{SMILIES_STATUS}
<!-- ENDIF -->
<!-- IF S_EDIT_DRAFT || S_DISPLAY_REVIEW -->
<!-- IF S_DISPLAY_REVIEW --><hr /><!-- ENDIF -->
<!-- IF S_EDIT_DRAFT --><strong><a href="{S_UCP_ACTION}">{L_BACK_TO_DRAFTS}</a></strong><!-- ENDIF -->
<!-- IF S_DISPLAY_REVIEW --><strong><a href="#review">{L_TOPIC_REVIEW}</a></strong><!-- ENDIF -->
<!-- ENDIF -->
</div>
<div id="message-box">
<textarea <!-- IF S_UCP_ACTION and not S_PRIVMSGS and not S_EDIT_DRAFT -->name="signature" id="signature" rows="6"<!-- ELSE -->name="message" id="message" rows="15"<!-- ENDIF --> cols="76" tabindex="4" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);" onfocus="initInsertions();" class="inputbox">{MESSAGE}{DRAFT_MESSAGE}{SIGNATURE}</textarea>
</div>
</fieldset>
<!-- IF $EXTRA_POSTING_OPTIONS eq 1 -->
<!-- IF not S_SHOW_DRAFTS -->
{$CA_BLOCK_END}
</div>
<!-- ENDIF -->
<!-- IF S_HAS_ATTACHMENTS -->
<div class="panel bg2">
{$CA_BLOCK_START}
<h3>{L_POSTED_ATTACHMENTS}</h3>
<fieldset class="fields2">
<!-- BEGIN attach_row -->
<dl>
<dt><label for="comment_list_{attach_row.ASSOC_INDEX}">{L_FILE_COMMENT}:</label></dt>
<dd><textarea name="comment_list[{attach_row.ASSOC_INDEX}]" id="comment_list_{attach_row.ASSOC_INDEX}" rows="1" cols="35" class="inputbox">{attach_row.FILE_COMMENT}</textarea></dd>
<dd><a href="{attach_row.U_VIEW_ATTACHMENT}" class="{S_CONTENT_FLOW_END}">{attach_row.FILENAME}</a></dd>
<dd style="margin-top: 5px;">
<!-- IF S_INLINE_ATTACHMENT_OPTIONS --><input type="button" value="{L_PLACE_INLINE}" onclick="attach_inline({attach_row.ASSOC_INDEX}, '{attach_row.A_FILENAME}');" class="button2" /> <!-- ENDIF -->
<input type="submit" name="delete_file[{attach_row.ASSOC_INDEX}]" value="{L_DELETE_FILE}" class="button2" />
</dd>
</dl>
{attach_row.S_HIDDEN}
<!-- IF not attach_row.S_LAST_ROW --><hr class="dashed" /><!-- ENDIF -->
<!-- END attach_row -->
</fieldset>
{$CA_BLOCK_END}
</div>
<!-- ENDIF -->
<!-- IF not S_SHOW_DRAFTS and not $SIG_EDIT eq 1 -->
<div class="panel bg2">
{$CA_BLOCK_START}
<fieldset class="submit-buttons">
{S_HIDDEN_ADDRESS_FIELD}
{S_HIDDEN_FIELDS}
<!-- IF S_HAS_DRAFTS --><input type="submit" accesskey="d" tabindex="8" name="load" value="{L_LOAD_DRAFT}" class="button2" onclick="load_draft = true;" /> <!-- ENDIF -->
<!-- IF S_SAVE_ALLOWED --><input type="submit" accesskey="k" tabindex="7" name="save" value="{L_SAVE_DRAFT}" class="button2" /> <!-- ENDIF -->
<input type="submit" tabindex="5" name="preview" value="{L_PREVIEW}" class="button2"<!-- IF not S_PRIVMSGS --> onclick="document.getElementById('postform').action += '#preview';"<!-- ENDIF --> />
<input type="submit" accesskey="s" tabindex="6" name="post" value="{L_SUBMIT}" class="button1 default-submit-action" />
</fieldset>
{$CA_BLOCK_END}
</div>
<!-- ENDIF -->
<!-- IF not S_PRIVMSGS and not S_SHOW_DRAFTS and not $SIG_EDIT eq 1 -->
<div id="tabs">
<ul>
<li id="options-panel-tab" class="activetab"><a href="#tabs" onclick="subPanels('options-panel'); return false;"><span>{L_OPTIONS}</span></a></li>
<!-- IF S_SHOW_ATTACH_BOX --><li id="attach-panel-tab"><a href="#tabs" onclick="subPanels('attach-panel'); return false;"><span>{L_ADD_ATTACHMENT}</span></a></li><!-- ENDIF -->
<!-- IF S_SHOW_POLL_BOX || S_POLL_DELETE --><li id="poll-panel-tab"><a href="#tabs" onclick="subPanels('poll-panel'); return false;"><span>{L_ADD_POLL}</span></a></li><!-- ENDIF -->
</ul>
</div>
<!-- ENDIF -->
<!-- IF not S_SHOW_DRAFTS and not $SIG_EDIT eq 1 -->
<div class="panel bg3" id="options-panel">
{$CA_BLOCK_START}
<fieldset class="fields1">
<!-- IF S_BBCODE_ALLOWED -->
<div><label for="disable_bbcode"><input type="checkbox" name="disable_bbcode" id="disable_bbcode"{S_BBCODE_CHECKED} /> {L_DISABLE_BBCODE}</label></div>
<!-- ENDIF -->
<!-- IF S_SMILIES_ALLOWED -->
<div><label for="disable_smilies"><input type="checkbox" name="disable_smilies" id="disable_smilies"{S_SMILIES_CHECKED} /> {L_DISABLE_SMILIES}</label></div>
<!-- ENDIF -->
<!-- IF S_LINKS_ALLOWED -->
<div><label for="disable_magic_url"><input type="checkbox" name="disable_magic_url" id="disable_magic_url"{S_MAGIC_URL_CHECKED} /> {L_DISABLE_MAGIC_URL}</label></div>
<!-- ENDIF -->
<!-- IF S_SIG_ALLOWED -->
<div><label for="attach_sig"><input type="checkbox" name="attach_sig" id="attach_sig"{S_SIGNATURE_CHECKED} /> {L_ATTACH_SIG}</label></div>
<!-- ENDIF -->
<!-- IF S_NOTIFY_ALLOWED -->
<div><label for="notify"><input type="checkbox" name="notify" id="notify"{S_NOTIFY_CHECKED} /> {L_NOTIFY_REPLY}</label></div>
<!-- ENDIF -->
<!-- IF S_LOCK_TOPIC_ALLOWED -->
<div><label for="lock_topic"><input type="checkbox" name="lock_topic" id="lock_topic"{S_LOCK_TOPIC_CHECKED} /> {L_LOCK_TOPIC}</label></div>
<!-- ENDIF -->
<!-- IF S_LOCK_POST_ALLOWED -->
<div><label for="lock_post"><input type="checkbox" name="lock_post" id="lock_post"{S_LOCK_POST_CHECKED} /> {L_LOCK_POST} [{L_LOCK_POST_EXPLAIN}]</label></div>
<!-- ENDIF -->
<!-- IF S_TYPE_TOGGLE or S_TOPIC_TYPE_ANNOUNCE or S_TOPIC_TYPE_STICKY -->
<hr class="dashed" />
<!-- ENDIF -->
<!-- IF S_TYPE_TOGGLE -->
<dl>
<dt><label for="topic_type-0"><!-- IF S_EDIT_POST -->{L_CHANGE_TOPIC_TO}<!-- ELSE -->{L_POST_TOPIC_AS}<!-- ENDIF -->:</label></dt>
<dd><!-- BEGIN topic_type --><label for="topic_type-{topic_type.VALUE}"><input type="radio" name="topic_type" id="topic_type-{topic_type.VALUE}" value="{topic_type.VALUE}"{topic_type.S_CHECKED} />{topic_type.L_TOPIC_TYPE}</label> <!-- END topic_type --></dd>
</dl>
<!-- ENDIF -->
<!-- IF S_TOPIC_TYPE_ANNOUNCE or S_TOPIC_TYPE_STICKY -->
<dl>
<dt><label for="topic_time_limit">{L_STICK_TOPIC_FOR}:</label></dt>
<dd><label for="topic_time_limit"><input type="text" name="topic_time_limit" id="topic_time_limit" size="3" maxlength="3" value="{TOPIC_TIME_LIMIT}" class="inputbox autowidth" /> {L_DAYS}</label></dd>
<dd>{L_STICK_TOPIC_FOR_EXPLAIN}</dd>
</dl>
<!-- ENDIF -->
<!-- IF S_EDIT_REASON -->
<dl>
<dt><label for="edit_reason">{L_EDIT_REASON}:</label></dt>
<dd><input type="text" name="edit_reason" id="edit_reason" value="{EDIT_REASON}" class="inputbox" /></dd>
</dl>
<!-- ENDIF -->
</fieldset>
<!-- ENDIF -->
<!-- ENDIF -->
URL: http://www.forolinternasled.com
Plantilla(s) usuada(s):ca_black.
MODs instalados: CHAT. SEO.P-O-M.
Versión de phpBB: 3.0.10
Servidor: Pago.
Si es una actualización desde otra versión: Si, de la 3.8 a la 3.9 a la 3.0.10
Si es una conversión desde otro tipo de Foro: No.
Re: Como colocar en el editor de mensages, yotobe rapido
Error mio, esos cambios, no hay que hacerlos en /styles/cablack/template/posting_editor.html, si no en /styles/cablack/template/posting_buttons.htmlCASPER escribió:Te cuento zoby, el primer paso ya esta hecho, tengo la copias de seguridad, y tengo la primera cadena de codigos html pegada en el archivo editor,la pegue despues de todo lo que salia, y ya esta lista para meterla via ftp.
El tema esta el el otro archivo, lo tengo tambien editandolo, pero no veo esas lineas de codigo que me dices, te pongo una captura del archivo que tengo y el codigo que sale cuando lo abres con el noterpak que me cometastes.
Yo no veo esa cadena de lineas, para poder editarla. donde esta.....?Código: Seleccionar todo
<script type="text/javascript"> // <![CDATA[ onload_functions.push('apply_onkeypress_event()'); // ]]> </script> <fieldset class="fields1"> <!-- IF ERROR --><p class="error">{ERROR}</p><!-- ENDIF --> <!-- IF S_PRIVMSGS and not S_SHOW_DRAFTS --> <div class="column1"> <!-- IF S_ALLOW_MASS_PM --> <!-- IF .to_recipient --> <dl> <dt><label>{L_TO}:</label></dt> <dd> <!-- BEGIN to_recipient --> <!-- IF not to_recipient.S_FIRST_ROW and to_recipient.S_ROW_COUNT mod 2 eq 0 --></dd><dd><!-- ENDIF --> <!-- IF to_recipient.IS_GROUP --><a href="{to_recipient.U_VIEW}"><strong>{to_recipient.NAME}</strong></a> <!-- ELSE -->{to_recipient.NAME_FULL} <!-- ENDIF --> <!-- IF not S_EDIT_POST --><input type="submit" name="remove_{to_recipient.TYPE}[{to_recipient.UG_ID}]" value="x" class="button2" /> <!-- ENDIF --> <!-- END to_recipient --> </dd> </dl> <!-- ENDIF --> <!-- IF .bcc_recipient --> <dl> <dt><label>{L_BCC}:</label></dt> <dd> <!-- BEGIN bcc_recipient --> <!-- IF not bcc_recipient.S_FIRST_ROW and bcc_recipient.S_ROW_COUNT mod 2 eq 0 --></dd><dd><!-- ENDIF --> <!-- IF bcc_recipient.IS_GROUP --><a href="{bcc_recipient.U_VIEW}"><strong>{bcc_recipient.NAME}</strong></a><!-- ELSE -->{bcc_recipient.NAME_FULL} <!-- ENDIF --> <!-- IF not S_EDIT_POST --><input type="submit" name="remove_{bcc_recipient.TYPE}[{bcc_recipient.UG_ID}]" value="x" class="button2" /> <!-- ENDIF --> <!-- END bcc_recipient --> </dd> </dl> <!-- ENDIF --> <!-- IF not S_EDIT_POST --> <dl class="pmlist"> <dt><textarea id="username_list" name="username_list" class="inputbox" cols="50" rows="2"></textarea></dt> <dd><span><a href="{U_FIND_USERNAME}" onclick="find_username(this.href); return false;">{L_FIND_USERNAME}</a></span></dd> <dd><input type="submit" name="add_to" value="{L_ADD}" class="button2" /></dd> <dd><input type="submit" name="add_bcc" value="{L_ADD_BCC}" class="button2" /></dd> </dl> <!-- ENDIF --> <!-- ELSE --> <dl> <dt><label for="username_list">{L_TO}:</label><!-- IF not S_EDIT_POST --><br /><span><a href="{U_FIND_USERNAME}" onclick="find_username(this.href); return false">{L_FIND_USERNAME}</a></span><!-- ENDIF --></dt> <!-- IF .to_recipient --> <dd> <!-- BEGIN to_recipient --> <!-- IF not to_recipient.S_FIRST_ROW and to_recipient.S_ROW_COUNT mod 2 eq 0 --></dd><dd><!-- ENDIF --> <!-- IF to_recipient.IS_GROUP --><a href="{to_recipient.U_VIEW}"><strong>{to_recipient.NAME}</strong></a><!-- ELSE -->{to_recipient.NAME_FULL} <!-- ENDIF --> <!-- IF not S_EDIT_POST --><input type="submit" name="remove_{to_recipient.TYPE}[{to_recipient.UG_ID}]" value="x" class="button2" /> <!-- ENDIF --> <!-- END to_recipient --> </dd> <!-- ENDIF --> <!-- IF not S_EDIT_POST --> <dd><input class="inputbox" type="text" name="username_list" id="username_list" size="20" value="" /> <input type="submit" name="add_to" value="{L_ADD}" class="button2" /></dd> <!-- ENDIF --> </dl> <!-- ENDIF --> </div> <!-- IF S_GROUP_OPTIONS --> <div class="column2"> <dl> <dd><label for="group_list">{L_USERGROUPS}:</label> <select name="group_list[]" id="group_list "multiple="multiple" size="4" class="inputbox">{S_GROUP_OPTIONS}</select></dd> </dl> </div> <!-- ENDIF --> <div class="clear"></div> <!-- ENDIF --> <!-- IF S_DELETE_ALLOWED --> <dl> <dt><label for="delete">{L_DELETE_POST}:</label></dt> <dd><label for="delete"><input type="checkbox" name="delete" id="delete" /> {L_DELETE_POST_WARN}</label></dd> </dl> <!-- ENDIF --> <!-- IF S_SHOW_TOPIC_ICONS or S_SHOW_PM_ICONS --> <dl> <dt><label for="icon">{L_ICON}:</label></dt> <dd> <label for="icon"><input type="radio" name="icon" id="icon" value="0" checked="checked" /> <!-- IF S_SHOW_TOPIC_ICONS -->{L_NO_TOPIC_ICON}<!-- ELSE -->{L_NO_PM_ICON}<!-- ENDIF --></label> <!-- BEGIN topic_icon --><label for="icon-{topic_icon.ICON_ID}"><input type="radio" name="icon" id="icon-{topic_icon.ICON_ID}" value="{topic_icon.ICON_ID}" {topic_icon.S_ICON_CHECKED} /><img src="{topic_icon.ICON_IMG}" width="{topic_icon.ICON_WIDTH}" height="{topic_icon.ICON_HEIGHT}" alt="" title="" /></label> <!-- END topic_icon --> </dd> </dl> <!-- ENDIF --> <!-- IF not S_PRIVMSGS and S_DISPLAY_USERNAME --> <dl style="clear: left;"> <dt><label for="username">{L_USERNAME}:</label></dt> <dd><input type="text" tabindex="1" name="username" id="username" size="25" value="{USERNAME}" class="inputbox" /></dd> </dl> <!-- ENDIF --> <!-- IF S_POST_ACTION or S_PRIVMSGS or S_EDIT_DRAFT --> <dl style="clear: left;"> <dt><label for="subject">{L_SUBJECT}:</label></dt> <dd><input type="text" name="subject" id="subject" size="45" maxlength="<!-- IF S_NEW_MESSAGE -->60<!-- ELSE -->64<!-- ENDIF -->" tabindex="2" value="{SUBJECT}{DRAFT_SUBJECT}" class="inputbox autowidth" /></dd> </dl> <!-- IF CAPTCHA_TEMPLATE and S_CONFIRM_CODE --> <!-- DEFINE $CAPTCHA_TAB_INDEX = 3 --> <!-- INCLUDE {CAPTCHA_TEMPLATE} --> <!-- ENDIF --> <!-- ENDIF --> <!-- INCLUDE posting_buttons.html --> <div id="smiley-box"> <!-- IF S_SMILIES_ALLOWED and .smiley --> <strong>{L_SMILIES}</strong><br /> <!-- BEGIN smiley --> <a href="#" onclick="insert_text('{smiley.A_SMILEY_CODE}', true); return false;"><img src="{smiley.SMILEY_IMG}" width="{smiley.SMILEY_WIDTH}" height="{smiley.SMILEY_HEIGHT}" alt="{smiley.SMILEY_CODE}" title="{smiley.SMILEY_DESC}" /></a> <!-- END smiley --> <!-- ENDIF --> <!-- IF S_SHOW_SMILEY_LINK and S_SMILIES_ALLOWED--> <br /><a href="{U_MORE_SMILIES}" onclick="popup(this.href, 300, 350, '_phpbbsmilies'); return false;">{L_MORE_SMILIES}</a> <!-- ENDIF --> <!-- IF BBCODE_STATUS --> <!-- IF .smiley --><hr /><!-- ENDIF --> {BBCODE_STATUS}<br /> <!-- IF S_BBCODE_ALLOWED --> {IMG_STATUS}<br /> {FLASH_STATUS}<br /> {URL_STATUS}<br /> <!-- ENDIF --> {SMILIES_STATUS} <!-- ENDIF --> <!-- IF S_EDIT_DRAFT || S_DISPLAY_REVIEW --> <!-- IF S_DISPLAY_REVIEW --><hr /><!-- ENDIF --> <!-- IF S_EDIT_DRAFT --><strong><a href="{S_UCP_ACTION}">{L_BACK_TO_DRAFTS}</a></strong><!-- ENDIF --> <!-- IF S_DISPLAY_REVIEW --><strong><a href="#review">{L_TOPIC_REVIEW}</a></strong><!-- ENDIF --> <!-- ENDIF --> </div> <div id="message-box"> <textarea <!-- IF S_UCP_ACTION and not S_PRIVMSGS and not S_EDIT_DRAFT -->name="signature" id="signature" rows="6"<!-- ELSE -->name="message" id="message" rows="15"<!-- ENDIF --> cols="76" tabindex="4" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);" onfocus="initInsertions();" class="inputbox">{MESSAGE}{DRAFT_MESSAGE}{SIGNATURE}</textarea> </div> </fieldset> <!-- IF $EXTRA_POSTING_OPTIONS eq 1 --> <!-- IF not S_SHOW_DRAFTS --> {$CA_BLOCK_END} </div> <!-- ENDIF --> <!-- IF S_HAS_ATTACHMENTS --> <div class="panel bg2"> {$CA_BLOCK_START} <h3>{L_POSTED_ATTACHMENTS}</h3> <fieldset class="fields2"> <!-- BEGIN attach_row --> <dl> <dt><label for="comment_list_{attach_row.ASSOC_INDEX}">{L_FILE_COMMENT}:</label></dt> <dd><textarea name="comment_list[{attach_row.ASSOC_INDEX}]" id="comment_list_{attach_row.ASSOC_INDEX}" rows="1" cols="35" class="inputbox">{attach_row.FILE_COMMENT}</textarea></dd> <dd><a href="{attach_row.U_VIEW_ATTACHMENT}" class="{S_CONTENT_FLOW_END}">{attach_row.FILENAME}</a></dd> <dd style="margin-top: 5px;"> <!-- IF S_INLINE_ATTACHMENT_OPTIONS --><input type="button" value="{L_PLACE_INLINE}" onclick="attach_inline({attach_row.ASSOC_INDEX}, '{attach_row.A_FILENAME}');" class="button2" /> <!-- ENDIF --> <input type="submit" name="delete_file[{attach_row.ASSOC_INDEX}]" value="{L_DELETE_FILE}" class="button2" /> </dd> </dl> {attach_row.S_HIDDEN} <!-- IF not attach_row.S_LAST_ROW --><hr class="dashed" /><!-- ENDIF --> <!-- END attach_row --> </fieldset> {$CA_BLOCK_END} </div> <!-- ENDIF --> <!-- IF not S_SHOW_DRAFTS and not $SIG_EDIT eq 1 --> <div class="panel bg2"> {$CA_BLOCK_START} <fieldset class="submit-buttons"> {S_HIDDEN_ADDRESS_FIELD} {S_HIDDEN_FIELDS} <!-- IF S_HAS_DRAFTS --><input type="submit" accesskey="d" tabindex="8" name="load" value="{L_LOAD_DRAFT}" class="button2" onclick="load_draft = true;" /> <!-- ENDIF --> <!-- IF S_SAVE_ALLOWED --><input type="submit" accesskey="k" tabindex="7" name="save" value="{L_SAVE_DRAFT}" class="button2" /> <!-- ENDIF --> <input type="submit" tabindex="5" name="preview" value="{L_PREVIEW}" class="button2"<!-- IF not S_PRIVMSGS --> onclick="document.getElementById('postform').action += '#preview';"<!-- ENDIF --> /> <input type="submit" accesskey="s" tabindex="6" name="post" value="{L_SUBMIT}" class="button1 default-submit-action" /> </fieldset> {$CA_BLOCK_END} </div> <!-- ENDIF --> <!-- IF not S_PRIVMSGS and not S_SHOW_DRAFTS and not $SIG_EDIT eq 1 --> <div id="tabs"> <ul> <li id="options-panel-tab" class="activetab"><a href="#tabs" onclick="subPanels('options-panel'); return false;"><span>{L_OPTIONS}</span></a></li> <!-- IF S_SHOW_ATTACH_BOX --><li id="attach-panel-tab"><a href="#tabs" onclick="subPanels('attach-panel'); return false;"><span>{L_ADD_ATTACHMENT}</span></a></li><!-- ENDIF --> <!-- IF S_SHOW_POLL_BOX || S_POLL_DELETE --><li id="poll-panel-tab"><a href="#tabs" onclick="subPanels('poll-panel'); return false;"><span>{L_ADD_POLL}</span></a></li><!-- ENDIF --> </ul> </div> <!-- ENDIF --> <!-- IF not S_SHOW_DRAFTS and not $SIG_EDIT eq 1 --> <div class="panel bg3" id="options-panel"> {$CA_BLOCK_START} <fieldset class="fields1"> <!-- IF S_BBCODE_ALLOWED --> <div><label for="disable_bbcode"><input type="checkbox" name="disable_bbcode" id="disable_bbcode"{S_BBCODE_CHECKED} /> {L_DISABLE_BBCODE}</label></div> <!-- ENDIF --> <!-- IF S_SMILIES_ALLOWED --> <div><label for="disable_smilies"><input type="checkbox" name="disable_smilies" id="disable_smilies"{S_SMILIES_CHECKED} /> {L_DISABLE_SMILIES}</label></div> <!-- ENDIF --> <!-- IF S_LINKS_ALLOWED --> <div><label for="disable_magic_url"><input type="checkbox" name="disable_magic_url" id="disable_magic_url"{S_MAGIC_URL_CHECKED} /> {L_DISABLE_MAGIC_URL}</label></div> <!-- ENDIF --> <!-- IF S_SIG_ALLOWED --> <div><label for="attach_sig"><input type="checkbox" name="attach_sig" id="attach_sig"{S_SIGNATURE_CHECKED} /> {L_ATTACH_SIG}</label></div> <!-- ENDIF --> <!-- IF S_NOTIFY_ALLOWED --> <div><label for="notify"><input type="checkbox" name="notify" id="notify"{S_NOTIFY_CHECKED} /> {L_NOTIFY_REPLY}</label></div> <!-- ENDIF --> <!-- IF S_LOCK_TOPIC_ALLOWED --> <div><label for="lock_topic"><input type="checkbox" name="lock_topic" id="lock_topic"{S_LOCK_TOPIC_CHECKED} /> {L_LOCK_TOPIC}</label></div> <!-- ENDIF --> <!-- IF S_LOCK_POST_ALLOWED --> <div><label for="lock_post"><input type="checkbox" name="lock_post" id="lock_post"{S_LOCK_POST_CHECKED} /> {L_LOCK_POST} [{L_LOCK_POST_EXPLAIN}]</label></div> <!-- ENDIF --> <!-- IF S_TYPE_TOGGLE or S_TOPIC_TYPE_ANNOUNCE or S_TOPIC_TYPE_STICKY --> <hr class="dashed" /> <!-- ENDIF --> <!-- IF S_TYPE_TOGGLE --> <dl> <dt><label for="topic_type-0"><!-- IF S_EDIT_POST -->{L_CHANGE_TOPIC_TO}<!-- ELSE -->{L_POST_TOPIC_AS}<!-- ENDIF -->:</label></dt> <dd><!-- BEGIN topic_type --><label for="topic_type-{topic_type.VALUE}"><input type="radio" name="topic_type" id="topic_type-{topic_type.VALUE}" value="{topic_type.VALUE}"{topic_type.S_CHECKED} />{topic_type.L_TOPIC_TYPE}</label> <!-- END topic_type --></dd> </dl> <!-- ENDIF --> <!-- IF S_TOPIC_TYPE_ANNOUNCE or S_TOPIC_TYPE_STICKY --> <dl> <dt><label for="topic_time_limit">{L_STICK_TOPIC_FOR}:</label></dt> <dd><label for="topic_time_limit"><input type="text" name="topic_time_limit" id="topic_time_limit" size="3" maxlength="3" value="{TOPIC_TIME_LIMIT}" class="inputbox autowidth" /> {L_DAYS}</label></dd> <dd>{L_STICK_TOPIC_FOR_EXPLAIN}</dd> </dl> <!-- ENDIF --> <!-- IF S_EDIT_REASON --> <dl> <dt><label for="edit_reason">{L_EDIT_REASON}:</label></dt> <dd><input type="text" name="edit_reason" id="edit_reason" value="{EDIT_REASON}" class="inputbox" /></dd> </dl> <!-- ENDIF --> </fieldset> <!-- ENDIF --> <!-- ENDIF -->

Siento la confusion

Consulta los FAQS de ayuda de phpBB3.
Administra, modifica, actualiza tu foro con el listado de Guías de nuestra Biblioteca.
Accede a la base de modificaciones de phpBB Titania.
Si es sobre cómo Crear una Consulta SQL ya lo tienes explicado en el enlace.
En general, se recomienda Buscar antes de preguntar, quizás tu duda esté resuelta, y todos ahorremos tiempo.
Sólo tendrás Soporte si facilitas los datos correspondientes y si respetas completamente el Copyright de phpBB.
NOTA: No damos Soporte a los foros integrados en Nuke y derivados del mismo. Infórmate AQUÍ.
Normas de phpBB-Es | de Soporte en phpBB-Es.COM | Soporte MODificaciones phpBB en phpBB-Es
No doy soporte a quienes alteren o eliminen los copyright
No doy soporte por privado ni por msn : tenga en cuenta que su problema, también puede ser el problema de otro usuario.
Mi sitio web
Re: Como colocar en el editor de mensages, yotobe rapido

URL: http://www.forolinternasled.com
Plantilla(s) usuada(s):ca_black.
MODs instalados: CHAT. SEO.P-O-M.
Versión de phpBB: 3.0.10
Servidor: Pago.
Si es una actualización desde otra versión: Si, de la 3.8 a la 3.9 a la 3.0.10
Si es una conversión desde otro tipo de Foro: No.
Re: Como colocar en el editor de mensages, yotobe rapido
Código: Seleccionar todo
onclick="bbfontstyle('[email]','[/email]')"
Código: Seleccionar todo
<script type="text/javascript">
// <![CDATA[
var form_name = 'postform';
var text_name = <!-- IF $SIG_EDIT -->'signature'<!-- ELSE -->'message'<!-- ENDIF -->;
var load_draft = false;
var upload = false;
// Define the bbCode tags
var bbcode = new Array();
var bbtags = new Array('[b]','[/b]','[i]','[/i]','[u]','[/u]','[quote]','[/quote]','[code]','
- ','
- ','
var imageTag = false;
// Helpline messages
var help_line = {
b: '{LA_BBCODE_B_HELP}',
i: '{LA_BBCODE_I_HELP}',
u: '{LA_BBCODE_U_HELP}',
q: '{LA_BBCODE_Q_HELP}',
c: '{LA_BBCODE_C_HELP}',
l: '{LA_BBCODE_L_HELP}',
o: '{LA_BBCODE_O_HELP}',
p: '{LA_BBCODE_P_HELP}',
w: '{LA_BBCODE_W_HELP}',
a: '{LA_BBCODE_A_HELP}',
s: '{LA_BBCODE_S_HELP}',
f: '{LA_BBCODE_F_HELP}',
e: '{LA_BBCODE_E_HELP}',
d: '{LA_BBCODE_D_HELP}'
<!-- BEGIN custom_tags -->
,cb_{custom_tags.BBCODE_ID}: '{custom_tags.A_BBCODE_HELPLINE}'
<!-- END custom_tags -->
}
var panels = new Array('options-panel', 'attach-panel', 'poll-panel');
var show_panel = 'options-panel';
// ]]>
</script>
<script type="text/javascript" src="{T_TEMPLATE_PATH}/editor.js"></script>
<!-- IF S_BBCODE_ALLOWED -->
<div id="colour_palette" style="display: none;">
<dl style="clear: left;">
<dt><label>{L_FONT_COLOR}:</label></dt>
<dd>
<script type="text/javascript">
// <![CDATA[
function change_palette()
{
dE('colour_palette');
e = document.getElementById('colour_palette');
if (e.style.display == 'block')
{
document.getElementById('bbpalette').value = '{LA_FONT_COLOR_HIDE}';
}
else
{
document.getElementById('bbpalette').value = '{LA_FONT_COLOR}';
}
}
colorPalette('h', 15, 10);
// ]]>
</script>
</dd>
</dl>
</div>
<div id="format-buttons">
<input type="button" class="button2" accesskey="b" name="addbbcode0" value=" B " style="font-weight:bold; width: 30px" onclick="bbstyle(0)" title="{L_BBCODE_B_HELP}" />
<input type="button" class="button2" accesskey="i" name="addbbcode2" value=" i " style="font-style:italic; width: 30px" onclick="bbstyle(2)" title="{L_BBCODE_I_HELP}" />
<input type="button" class="button2" accesskey="u" name="addbbcode4" value=" u " style="text-decoration: underline; width: 30px" onclick="bbstyle(4)" title="{L_BBCODE_U_HELP}" />
<!-- IF S_BBCODE_QUOTE -->
<input type="button" class="button2" accesskey="q" name="addbbcode6" value="Quote" style="width: 50px" onclick="bbstyle(6)" title="{L_BBCODE_Q_HELP}" />
<!-- ENDIF -->
<input type="button" class="button2" accesskey="c" name="addbbcode8" value="Code" style="width: 40px" onclick="bbstyle(8)" title="{L_BBCODE_C_HELP}" />
<input type="button" class="button2" accesskey="l" name="addbbcode10" value="List" style="width: 40px" onclick="bbstyle(10)" title="{L_BBCODE_L_HELP}" />
<input type="button" class="button2" accesskey="o" name="addbbcode12" value="List=" style="width: 40px" onclick="bbstyle(12)" title="{L_BBCODE_O_HELP}" />
<input type="button" class="button2" accesskey="y" name="addlitsitem" value="[*]" style="width: 40px" onclick="bbstyle(-1)" title="{L_BBCODE_LISTITEM_HELP}" />
<!-- IF S_BBCODE_IMG -->
<input type="button" class="button2" accesskey="p" name="addbbcode14" value="Img" style="width: 40px" onclick="BBcodeimg()" title="{L_BBCODE_P_HELP}" />
<!-- ENDIF -->
<!-- IF S_LINKS_ALLOWED -->
<input type="button" class="button2" accesskey="w" name="addbbcode16" value="URL" style="text-decoration: underline; width: 40px" onclick="BBcodeurl()" title="{L_BBCODE_W_HELP}" />
<!-- ENDIF -->
<!-- IF S_BBCODE_FLASH -->
<input type="button" class="button2" accesskey="d" name="addbbcode18" value="Flash" onclick="bbstyle(18)" title="{L_BBCODE_D_HELP}" />
<!-- ENDIF -->
<select name="addbbcode20" onchange="bbfontstyle('[size=' + this.form.addbbcode20.options[this.form.addbbcode20.selectedIndex].value + ']', '[/size]');this.form.addbbcode20.selectedIndex = 2;" title="{L_BBCODE_F_HELP}">
<option value="50">{L_FONT_TINY}</option>
<option value="85">{L_FONT_SMALL}</option>
<option value="100" selected="selected">{L_FONT_NORMAL}</option>
<!-- IF not MAX_FONT_SIZE or MAX_FONT_SIZE >= 150 -->
<option value="150">{L_FONT_LARGE}</option>
<!-- IF not MAX_FONT_SIZE or MAX_FONT_SIZE >= 200 -->
<option value="200">{L_FONT_HUGE}</option>
<!-- ENDIF -->
<!-- ENDIF -->
</select>
<input type="button" class="button2" name="bbpalette" id="bbpalette" value="{L_FONT_COLOR}" onclick="change_palette();" title="{L_BBCODE_S_HELP}" />
<!-- BEGIN custom_tags -->
<input type="button" class="button2" name="addbbcode{custom_tags.BBCODE_ID}" value="{custom_tags.BBCODE_TAG}" onclick="bbstyle({custom_tags.BBCODE_ID})" title="{custom_tags.BBCODE_HELPLINE}" />
<!-- END custom_tags -->
</div>
<!-- ENDIF -->[/code]
Este tampocco esta
Código: Seleccionar todo
onclick="bbfontstyle('[video width=320 height=285]','[/video]')"
URL: http://www.forolinternasled.com
Plantilla(s) usuada(s):ca_black.
MODs instalados: CHAT. SEO.P-O-M.
Versión de phpBB: 3.0.10
Servidor: Pago.
Si es una actualización desde otra versión: Si, de la 3.8 a la 3.9 a la 3.0.10
Si es una conversión desde otro tipo de Foro: No.
Re: Como colocar en el editor de mensages, yotobe rapido
Sigue, ...CASPER escribió:Zoby 2 ya los tengo pero elno esta ,que hago. contino y paso del email o queCódigo: Seleccionar todo
onclick="bbfontstyle('[email]','[/email]')"
','Código: Seleccionar todo
<script type="text/javascript"> // <![CDATA[ var form_name = 'postform'; var text_name = <!-- IF $SIG_EDIT -->'signature'<!-- ELSE -->'message'<!-- ENDIF -->; var load_draft = false; var upload = false; // Define the bbCode tags var bbcode = new Array(); var bbtags = new Array('[b]','[/b]','[i]','[/i]','[u]','[/u]','[quote]','[/quote]','[code]','
','
- ','
','[img]','[/img]','','','[flash=]', '[/flash]','[size=]','[/size]'<!-- BEGIN custom_tags -->, {custom_tags.BBCODE_NAME}<!-- END custom_tags -->);
- ','
var imageTag = false;
// Helpline messages
var help_line = {
b: '{LA_BBCODE_B_HELP}',
i: '{LA_BBCODE_I_HELP}',
u: '{LA_BBCODE_U_HELP}',
q: '{LA_BBCODE_Q_HELP}',
c: '{LA_BBCODE_C_HELP}',
l: '{LA_BBCODE_L_HELP}',
o: '{LA_BBCODE_O_HELP}',
p: '{LA_BBCODE_P_HELP}',
w: '{LA_BBCODE_W_HELP}',
a: '{LA_BBCODE_A_HELP}',
s: '{LA_BBCODE_S_HELP}',
f: '{LA_BBCODE_F_HELP}',
e: '{LA_BBCODE_E_HELP}',
d: '{LA_BBCODE_D_HELP}'
<!-- BEGIN custom_tags -->
,cb_{custom_tags.BBCODE_ID}: '{custom_tags.A_BBCODE_HELPLINE}'
<!-- END custom_tags -->
}
var panels = new Array('options-panel', 'attach-panel', 'poll-panel');
var show_panel = 'options-panel';
// ]]>
</script>
<script type="text/javascript" src="{T_TEMPLATE_PATH}/editor.js"></script>
<!-- IF S_BBCODE_ALLOWED -->
<div id="colour_palette" style="display: none;">
<dl style="clear: left;">
<dt><label>{L_FONT_COLOR}:</label></dt>
<dd>
<script type="text/javascript">
// <![CDATA[
function change_palette()
{
dE('colour_palette');
e = document.getElementById('colour_palette');
if (e.style.display == 'block')
{
document.getElementById('bbpalette').value = '{LA_FONT_COLOR_HIDE}';
}
else
{
document.getElementById('bbpalette').value = '{LA_FONT_COLOR}';
}
}
colorPalette('h', 15, 10);
// ]]>
</script>
</dd>
</dl>
</div>
<div id="format-buttons">
<input type="button" class="button2" accesskey="b" name="addbbcode0" value=" B " style="font-weight:bold; width: 30px" onclick="bbstyle(0)" title="{L_BBCODE_B_HELP}" />
<input type="button" class="button2" accesskey="i" name="addbbcode2" value=" i " style="font-style:italic; width: 30px" onclick="bbstyle(2)" title="{L_BBCODE_I_HELP}" />
<input type="button" class="button2" accesskey="u" name="addbbcode4" value=" u " style="text-decoration: underline; width: 30px" onclick="bbstyle(4)" title="{L_BBCODE_U_HELP}" />
<!-- IF S_BBCODE_QUOTE -->
<input type="button" class="button2" accesskey="q" name="addbbcode6" value="Quote" style="width: 50px" onclick="bbstyle(6)" title="{L_BBCODE_Q_HELP}" />
<!-- ENDIF -->
<input type="button" class="button2" accesskey="c" name="addbbcode8" value="Code" style="width: 40px" onclick="bbstyle(8)" title="{L_BBCODE_C_HELP}" />
<input type="button" class="button2" accesskey="l" name="addbbcode10" value="List" style="width: 40px" onclick="bbstyle(10)" title="{L_BBCODE_L_HELP}" />
<input type="button" class="button2" accesskey="o" name="addbbcode12" value="List=" style="width: 40px" onclick="bbstyle(12)" title="{L_BBCODE_O_HELP}" />
<input type="button" class="button2" accesskey="y" name="addlitsitem" value="[*]" style="width: 40px" onclick="bbstyle(-1)" title="{L_BBCODE_LISTITEM_HELP}" />
<!-- IF S_BBCODE_IMG -->
<input type="button" class="button2" accesskey="p" name="addbbcode14" value="Img" style="width: 40px" onclick="BBcodeimg()" title="{L_BBCODE_P_HELP}" />
<!-- ENDIF -->
<!-- IF S_LINKS_ALLOWED -->
<input type="button" class="button2" accesskey="w" name="addbbcode16" value="URL" style="text-decoration: underline; width: 40px" onclick="BBcodeurl()" title="{L_BBCODE_W_HELP}" />
<!-- ENDIF -->
<!-- IF S_BBCODE_FLASH -->
<input type="button" class="button2" accesskey="d" name="addbbcode18" value="Flash" onclick="bbstyle(18)" title="{L_BBCODE_D_HELP}" />
<!-- ENDIF -->
<select name="addbbcode20" onchange="bbfontstyle('[size=' + this.form.addbbcode20.options[this.form.addbbcode20.selectedIndex].value + ']', '[/size]');this.form.addbbcode20.selectedIndex = 2;" title="{L_BBCODE_F_HELP}">
<option value="50">{L_FONT_TINY}</option>
<option value="85">{L_FONT_SMALL}</option>
<option value="100" selected="selected">{L_FONT_NORMAL}</option>
<!-- IF not MAX_FONT_SIZE or MAX_FONT_SIZE >= 150 -->
<option value="150">{L_FONT_LARGE}</option>
<!-- IF not MAX_FONT_SIZE or MAX_FONT_SIZE >= 200 -->
<option value="200">{L_FONT_HUGE}</option>
<!-- ENDIF -->
<!-- ENDIF -->
</select>
<input type="button" class="button2" name="bbpalette" id="bbpalette" value="{L_FONT_COLOR}" onclick="change_palette();" title="{L_BBCODE_S_HELP}" />
<!-- BEGIN custom_tags -->
<input type="button" class="button2" name="addbbcode{custom_tags.BBCODE_ID}" value="{custom_tags.BBCODE_TAG}" onclick="bbstyle({custom_tags.BBCODE_ID})" title="{custom_tags.BBCODE_HELPLINE}" />
<!-- END custom_tags -->
</div>
<!-- ENDIF -->[/code]
Si no esta, solo puede ser por un fallo tuyo o del "MOD", aunque lo mas probable es que el error sea tuyo, por que el MOD si añade esa linea, en los cambios de aquí http://www.phpbb-es.com/foro/pastebin.p ... view&s=125

Consulta los FAQS de ayuda de phpBB3.
Administra, modifica, actualiza tu foro con el listado de Guías de nuestra Biblioteca.
Accede a la base de modificaciones de phpBB Titania.
Si es sobre cómo Crear una Consulta SQL ya lo tienes explicado en el enlace.
En general, se recomienda Buscar antes de preguntar, quizás tu duda esté resuelta, y todos ahorremos tiempo.
Sólo tendrás Soporte si facilitas los datos correspondientes y si respetas completamente el Copyright de phpBB.
NOTA: No damos Soporte a los foros integrados en Nuke y derivados del mismo. Infórmate AQUÍ.
Normas de phpBB-Es | de Soporte en phpBB-Es.COM | Soporte MODificaciones phpBB en phpBB-Es
No doy soporte a quienes alteren o eliminen los copyright
No doy soporte por privado ni por msn : tenga en cuenta que su problema, también puede ser el problema de otro usuario.
Mi sitio web
Re: Como colocar en el editor de mensages, yotobe rapido
Solo puedo editar bb 14 el bb 18 bb 16 los demas no me aslen ninguno. que hago
URL: http://www.forolinternasled.com
Plantilla(s) usuada(s):ca_black.
MODs instalados: CHAT. SEO.P-O-M.
Versión de phpBB: 3.0.10
Servidor: Pago.
Si es una actualización desde otra versión: Si, de la 3.8 a la 3.9 a la 3.0.10
Si es una conversión desde otro tipo de Foro: No.
Re: Como colocar en el editor de mensages, yotobe rapido Tema Solucionado
Creo que te saltaste el primer paso, el cambio en el styles/ca_black/template/posting_buttons.htmlCASPER escribió:Ok el mp3 tampoco me sale ,,voy a continuar modificandolo y repaso los pasos, pero creo que todo esta bien,los bbcodek los añadi ok despues saque los dos archivos y en el primero ya esta y en este segundo falta eso,, crees que me salte algun paso?????
Reemplaza
Código: Seleccionar todo
<!-- IF S_BBCODE_ALLOWED -->
<div id="colour_palette" style="display: none;">
<dl style="clear: left;">
<dt><label>{L_FONT_COLOR}:</label></dt>
<dd>
<script type="text/javascript">
// <![CDATA[
function change_palette()
{
dE('colour_palette');
e = document.getElementById('colour_palette');
if (e.style.display == 'block')
{
document.getElementById('bbpalette').value = '{LA_FONT_COLOR_HIDE}';
}
else
{
document.getElementById('bbpalette').value = '{LA_FONT_COLOR}';
}
}
colorPalette('h', 15, 10);
// ]]>
</script>
</dd>
</dl>
</div>
<div id="format-buttons">
<input type="button" class="button2" accesskey="b" name="addbbcode0" value=" B " style="font-weight:bold; width: 30px" onclick="bbstyle(0)" title="{L_BBCODE_B_HELP}" />
<input type="button" class="button2" accesskey="i" name="addbbcode2" value=" i " style="font-style:italic; width: 30px" onclick="bbstyle(2)" title="{L_BBCODE_I_HELP}" />
<input type="button" class="button2" accesskey="u" name="addbbcode4" value=" u " style="text-decoration: underline; width: 30px" onclick="bbstyle(4)" title="{L_BBCODE_U_HELP}" />
<!-- IF S_BBCODE_QUOTE -->
<input type="button" class="button2" accesskey="q" name="addbbcode6" value="Quote" style="width: 50px" onclick="bbstyle(6)" title="{L_BBCODE_Q_HELP}" />
<!-- ENDIF -->
<input type="button" class="button2" accesskey="c" name="addbbcode8" value="Code" style="width: 40px" onclick="bbstyle(8)" title="{L_BBCODE_C_HELP}" />
<input type="button" class="button2" accesskey="l" name="addbbcode10" value="List" style="width: 40px" onclick="bbstyle(10)" title="{L_BBCODE_L_HELP}" />
<input type="button" class="button2" accesskey="o" name="addbbcode12" value="List=" style="width: 40px" onclick="bbstyle(12)" title="{L_BBCODE_O_HELP}" />
<input type="button" class="button2" accesskey="y" name="addlitsitem" value="[*]" style="width: 40px" onclick="bbstyle(-1)" title="{L_BBCODE_LISTITEM_HELP}" />
<!-- IF S_BBCODE_IMG -->
<input type="button" class="button2" accesskey="p" name="addbbcode14" value="Img" style="width: 40px" onclick="BBcodeimg()" title="{L_BBCODE_P_HELP}" />
<!-- ENDIF -->
<!-- IF S_LINKS_ALLOWED -->
<input type="button" class="button2" accesskey="w" name="addbbcode16" value="URL" style="text-decoration: underline; width: 40px" onclick="BBcodeurl()" title="{L_BBCODE_W_HELP}" />
<!-- ENDIF -->
<!-- IF S_BBCODE_FLASH -->
<input type="button" class="button2" accesskey="d" name="addbbcode18" value="Flash" onclick="bbstyle(18)" title="{L_BBCODE_D_HELP}" />
<!-- ENDIF -->
<select name="addbbcode20" onchange="bbfontstyle('[size=' + this.form.addbbcode20.options[this.form.addbbcode20.selectedIndex].value + ']', '[/size]');this.form.addbbcode20.selectedIndex = 2;" title="{L_BBCODE_F_HELP}">
<option value="50">{L_FONT_TINY}</option>
<option value="85">{L_FONT_SMALL}</option>
<option value="100" selected="selected">{L_FONT_NORMAL}</option>
<!-- IF not MAX_FONT_SIZE or MAX_FONT_SIZE >= 150 -->
<option value="150">{L_FONT_LARGE}</option>
<!-- IF not MAX_FONT_SIZE or MAX_FONT_SIZE >= 200 -->
<option value="200">{L_FONT_HUGE}</option>
<!-- ENDIF -->
<!-- ENDIF -->
</select>
<input type="button" class="button2" name="bbpalette" id="bbpalette" value="{L_FONT_COLOR}" onclick="change_palette();" title="{L_BBCODE_S_HELP}" />
<!-- BEGIN custom_tags -->
<input type="button" class="button2" name="addbbcode{custom_tags.BBCODE_ID}" value="{custom_tags.BBCODE_TAG}" onclick="bbstyle({custom_tags.BBCODE_ID})" title="{custom_tags.BBCODE_HELPLINE}" />
<!-- END custom_tags -->
</div>
<!-- ENDIF -->
Código: Seleccionar todo
<!-- IF S_BBCODE_ALLOWED -->
<div id="colour_palette" style="display: none;">
<script type="text/javascript">
// <![CDATA[
function change_palette()
{
dE('colour_palette');
e = document.getElementById('colour_palette');
if (e.style.display == 'block')
{
document.getElementById('bbpalette').value = '{LA_FONT_COLOR_HIDE}';
}
else
{
document.getElementById('bbpalette').value = '{LA_FONT_COLOR}';
}
}
colorPalette('h', 15, 10);
// ]]>
</script>
</div>
<div id="format-buttons">
<select name="fuentes" style="height: 22px;" onchange="bbfontstyle('[font=' + this.form.fuentes.options[this.form.fuentes.selectedIndex].value + ']', '[/font]');this.selectedIndex=0;" title="Tipo de fuente: [font=Arial]Texto[/font]">
<option value="" style="font-family: Verdana;" selected="selected">Fuente</option>
<option value="Arial" style="font-family: Arial;">Arial</option>
<option value="Comic Sans MS" style="font-family: 'Comic Sans MS';">Comic Sans MS</option>
<option value="Courier New" style="font-family: 'Courier New';">Courier New</option>
<option value="Impact" style="font-family: Impact;">Impact</option>
<option value="Lucida Console" style="font-family: 'Lucida Console';">Lucida Console</option>
<option value="Lucida Sans Unicode" style="font-family: 'Lucida Sans Unicode';">Lucida Sans Unicode</option>
<option value="Microsoft Sans Serif" style="font-family: 'Microsoft Sans Serif';">Microsoft Sans Serif</option>
<option value="Symbol" style="font-family: Symbol;">Symbol</option>
<option value="Tahoma" style="font-family: Tahoma;">Tahoma</option>
<option value="Times New Roman" style="font-family: 'Times New Roman';">Times New Roman</option>
<option value="Traditional Arabic" style="font-family: 'Traditional Arabic';">Traditional Arabic</option>
<option value="Trebuchet MS" style="font-family: 'Trebuchet MS';">Trebuchet MS</option>
<option value="Verdana" style="font-family: Verdana;">Verdana</option>
<option value="Webdings" style="font-family: Webdings;">Webdings</option>
<option value="Wingdings" style="font-family: Wingdings;">Wingdings</option>
</select>
<select name="addbbcode20" onchange="bbfontstyle('[size=' + this.form.addbbcode20.options[this.form.addbbcode20.selectedIndex].value + ']', '[/size]');this.form.addbbcode20.selectedIndex = 0;" title="{L_BBCODE_F_HELP}">
<option value="" selected="selected">Tamaño</option>
<option value="50">{L_FONT_TINY}</option>
<option value="85">{L_FONT_SMALL}</option>
<option value="100">{L_FONT_NORMAL}</option>
<option value="150">{L_FONT_LARGE}</option>
<option value="200">{L_FONT_HUGE}</option>
</select>
<input type="button" style="height: 22px;" class="button2" name="bbpalette" id="bbpalette" value="{L_FONT_COLOR}" onclick="change_palette();" title="{L_BBCODE_S_HELP}" />
<br>
<img src="./images/posting/left.gif" border="0" alt="align=left" onclick="bbfontstyle('[align=left]','[/align]')" title="Alinear a la Izquierda: [align=left]Texto[/align]" class="bbimages"/>
<img src="./images/posting/center.gif" border="0" alt="align=center" onclick="bbfontstyle('[align=center]','[/align]')" title="Centrar: [align=center]Texto[/align]" class="bbimages"/>
<img src="./images/posting/right.gif" border="0" alt="align=right" onclick="bbfontstyle('[align=right]','[/align]')" title="Alinear a la Derecha: [align=right]Texto[/align]" class="bbimages"/>
<img src="./images/posting/justify.gif" border="0" alt="align=justify" onclick="bbfontstyle('[align=justify]','[/align]')" title="Justificar: [align=justify]Texto[/align]" class="bbimages"/>
<img src="./images/posting/dots.gif" border="0" style="padding-left: 5px; padding-right: 5px;" />
<img src="./images/posting/bold.gif" border="0" alt="b" accesskey="b" name="addbbcode0" value=" B " onclick="bbstyle(0)" title="{L_BBCODE_B_HELP}" class="bbimages"/>
<img src="./images/posting/italic.gif" border="0" alt="i" accesskey="i" name="addbbcode2" value=" i " onclick="bbstyle(2)" title="{L_BBCODE_I_HELP}" class="bbimages"/>
<img src="./images/posting/under.gif" border="0" alt="u" accesskey="u" name="addbbcode4" value=" u " onclick="bbstyle(4)" title="{L_BBCODE_U_HELP}" class="bbimages"/>
<img src="./images/posting/strike.gif" border="0" alt="strike" onclick="bbfontstyle('[strike]','[/strike]')" title="Texto Tachado: [strike]Texto[/strike]" class="bbimages"/>
<img src="./images/posting/sup.gif" border="0" alt="sup" onclick="bbfontstyle('[sup]','[/sup]')" title="Superíndice: [sup]Texto[/sup]" class="bbimages"/>
<img src="./images/posting/sub.gif" border="0" alt="sub" onclick="bbfontstyle('[sub]','[/sub]')" title="Subíndice: [sub]Texto[/sub]" class="bbimages"/>
<img src="./images/posting/dots.gif" border="0" style="padding-left: 5px; padding-right: 5px;" />
<img src="./images/posting/listb.gif" border="0" alt="list" accesskey="l" name="addbbcode10" value="List" onclick="bbstyle(10)" title="{L_BBCODE_L_HELP}" class="bbimages"/>
<img src="./images/posting/listo.gif" border="0" alt="list=" accesskey="o" name="addbbcode12" value="List=" onclick="bbstyle(12)" title="{L_BBCODE_O_HELP}" class="bbimages"/>
<img src="./images/posting/listitem.gif" border="0" alt="[*]" accesskey="t" name="addlitsitem" value="[*]" onclick="bbstyle(-1)" title="{L_BBCODE_LISTITEM_HELP}" class="bbimages"/>
<img src="./images/posting/dots.gif" border="0" style="padding-left: 5px; padding-right: 5px;" />
<img src="./images/posting/highlight=.gif" border="0" alt="highlight" onclick="bbfontstyle('[highlight=#FFFFAA]','[/highlight]')" title="Toque de luz (highlight): [highlight=#COLOR]Texto[/highlight]" class="bbimages"/>
<img src="./images/posting/hr.gif" border="0" alt="hr" onclick="bbfontstyle('[hr]','[/hr]')" title="Línea Horizontal: [hr][/hr]" class="bbimages"/>
<img src="./images/posting/ot.gif" border="0" alt="ot" onclick="bbfontstyle('[ot]','[/ot]')" onmouseover="helpline('ot')" title="Offtopic: [ot]Texto[/ot]" class="bbimages"/>
<img src="./images/posting/dots.gif" border="0" style="padding-left: 5px; padding-right: 5px;" />
<img src="./images/posting/marqd.gif" border="0" alt="marquee=down" onclick="bbfontstyle('[marquee=down]','[/marquee]')" title="Desplazar texto hacia abajo: [marquee=down]Texto[/marquee]" class="bbimages"/>
<img src="./images/posting/marqu.gif" border="0" alt="marquee=up" onclick="bbfontstyle('[marquee=up]','[/marquee]')" title="Desplazar texto hacia arriba: [marquee=up]Texto[/marquee]" class="bbimages"/>
<img src="./images/posting/marql.gif" border="0" alt="marquee=left" onclick="bbfontstyle('[marquee=left]','[/marquee]')" title="Desplazar texto hacia la izquierda: [marquee=left]Texto[/marquee]" class="bbimages"/>
<img src="./images/posting/marqr.gif" border="0" alt="marquee=right" onclick="bbfontstyle('[marquee=right]','[/marquee]')" title="Desplazar texto hacia la derecha: [marquee=right]Texto[/marquee]" class="bbimages"/>
<br>
<!-- IF S_BBCODE_QUOTE -->
<img src="./images/posting/quote.gif" border="0" alt="quote" accesskey="q" name="addbbcode6" value="Quote" onclick="bbstyle(6)" title="{L_BBCODE_Q_HELP}" class="bbimages"/>
<!-- ENDIF -->
<img src="./images/posting/code.gif" border="0" alt="code" accesskey="c" name="addbbcode8" value="Code" onclick="bbstyle(8)" title="{L_BBCODE_C_HELP}" class="bbimages"/>
<img src="./images/posting/spoiler.gif" border="0" alt="spoiler" onclick="bbfontstyle('[spoiler]','[/spoiler]')" title="Spoiler: [spoiler]Texto[/spoiler]" class="bbimages"/>
<img src="./images/posting/dots.gif" border="0" style="padding-left: 5px; padding-right: 5px;" />
<!-- IF S_BBCODE_IMG -->
<img src="./images/posting/img.gif" border="0" alt="img" accesskey="p" name="addbbcode14" value="Img" onclick="BBcodeimg()" title="{L_BBCODE_P_HELP}" class="bbimages"/>
<!-- ENDIF -->
<!-- IF S_LINKS_ALLOWED -->
<img src="./images/posting/url.gif" border="0" alt="url" accesskey="w" name="addbbcode16" value="URL" onclick="BBcodeurl()" title="{L_BBCODE_W_HELP}" class="bbimages"/>
<!-- ENDIF -->
<img src="./images/posting/email.gif" alt="email" border="0" onclick="BBcodeemail()" title="Correo: [mail]Correo[/mail]" class="bbimages"/>
<img src="./images/posting/dots.gif" border="0" style="padding-left: 5px; padding-right: 5px;" />
<!-- IF S_BBCODE_FLASH -->
<img src="./images/posting/flash.gif" border="0" alt="flash" accesskey="d" name="addbbcode18" value="Flash" onclick="BBcodeflash()" title="{L_BBCODE_D_HELP}" class="bbimages"/>
<!-- ENDIF -->
<img src="./images/posting/video.gif" border="0" alt="mp3" onclick="BBcodevideo()" title="Video (avi/wmv/mpg): [video width=ancho height=alto]URL del archivo[/video]" class="bbimages"/>
<img src="./images/posting/mp3.gif" border="0" alt="mp3" onclick="BBcodemp3()" title="Archivo de audio (mp3): [mp3]URL del archivo[/mp3]" class="bbimages"/>
<img src="./images/posting/quick.gif" border="0" alt="quick" onclick="bbfontstyle('[quick width=320 height=240]','[/quick]')" title="Video Quicktime: [quick width=ancho height=alto]URL del archivo[/quick]" class="bbimages"/>
<img src="./images/posting/ram.gif" border="0" alt="ram" onclick="BBcoderam()" title="Archivo Real Media: [ram width=ancho height=alto]URL del archivo[/ram]" class="bbimages"/>
<img src="./images/posting/googlevideo.gif" border="0" alt="googlevideo" onclick="BBcodegooglevideo()" title="Video google: [googlevideo]ID del video[/googlevideo]" class="bbimages"/>
<img src="./images/posting/youtube.gif" border="0" alt="youtube" onclick="BBcodeyoutube()" title="Video youtube:[youtube]ID del video[/youtube]" class="bbimages"/>
<!-- IF S_BBCODE_ALLOWED and .custom_tags -->
<br>
<!-- BEGIN custom_tags -->
<img src="./images/posting/{custom_tags.BBCODE_TAG}.gif" border="0" name="addbbcode{custom_tags.BBCODE_ID}" alt="{custom_tags.BBCODE_TAG}" value="{custom_tags.BBCODE_TAG}" onclick="bbstyle({custom_tags.BBCODE_ID})" title="{custom_tags.BBCODE_HELPLINE}" class="bbimages"/>
<!-- END custom_tags -->
<!-- ENDIF -->
</div>
<!-- ENDIF -->
nota: este cambio incluye el cambio extra para que se abran en una nueva ventana
Ya me contaras como te fue

Consulta los FAQS de ayuda de phpBB3.
Administra, modifica, actualiza tu foro con el listado de Guías de nuestra Biblioteca.
Accede a la base de modificaciones de phpBB Titania.
Si es sobre cómo Crear una Consulta SQL ya lo tienes explicado en el enlace.
En general, se recomienda Buscar antes de preguntar, quizás tu duda esté resuelta, y todos ahorremos tiempo.
Sólo tendrás Soporte si facilitas los datos correspondientes y si respetas completamente el Copyright de phpBB.
NOTA: No damos Soporte a los foros integrados en Nuke y derivados del mismo. Infórmate AQUÍ.
Normas de phpBB-Es | de Soporte en phpBB-Es.COM | Soporte MODificaciones phpBB en phpBB-Es
No doy soporte a quienes alteren o eliminen los copyright
No doy soporte por privado ni por msn : tenga en cuenta que su problema, también puede ser el problema de otro usuario.
Mi sitio web