hola buenas yo andaba buscando los mismo por hay por hay googleando encontre un post referente a este tema como ustedes me an ayudado mucho en la creacion de mi foro
pues e decidido devolver la mano en cierto sentido
bueno hay una pag web (no es spam)
http://hackstore.net/index.php?action=i ... view;id=12 .. es a modo refencia del formulario que combierte la informacion a bbcode
lo segundo no se si es etico pero e copiado el codigo de ese formulario
el cual modificare y usare para un formulario en mi web .... le he enviado un email al propietario del codigo pero aun no tengo respuesta de el
si lo moderadores decicen que no es etico pueden borrar el post
les dejo el codigo para que alguien con la misma duda lo ocupe
Código: Seleccionar todo
<html><head>
<title>Post Generator (PELS)</title>
<script type="text/javascript">
function doStuff()
{
var txt = "";
document.getElementById("gen").value = "";
if (document.getElementById("title").value != ""){
txt += "[center][b][i][color=red][size=18pt]";
txt += document.getElementById("title").value; //Agrega el titulo
txt += "[/size][/color][/i][/b]\n\n";
document.getElementById("gen").value += txt;
}
if (document.getElementById("boxart").value != ""){
txt = "\[img\]";
txt += document.getElementById("boxart").value; //Agrega Caratula
txt += "[/img][/center]\n[hr]";
document.getElementById("gen").value += txt;
}
if (document.getElementById("titor").value != ""){
txt = "";
txt += "\n[left][color=teal][b]Título original: [/b][/color]";
txt += document.getElementById("titor").value; //Agrega el titulo original
document.getElementById("gen").value += txt;
}
if (document.getElementById("pais").value != ""){
txt = "";
txt += "\n[color=teal][b]País: [/b][/color]";
txt += document.getElementById("pais").value; //Agrega Pais
document.getElementById("gen").value += txt;
}
if (document.getElementById("año").value != ""){
txt = "";
txt += "\n[color=teal][b]Año: [/b][/color]";
txt += document.getElementById("año").value; //Agrega el año
document.getElementById("gen").value += txt;
}
if (document.getElementById("director").value != ""){
txt = "";
txt += "\n[color=teal][b]Director: [/b][/color]";
txt += document.getElementById("director").value; //Agrega el director
document.getElementById("gen").value += txt;
}
if (document.getElementById("guion").value != ""){
txt = "";
txt += "\n[color=teal][b]Guión: [/b][/color]";
txt += document.getElementById("guion").value; //Agrega el guion
document.getElementById("gen").value += txt;
}
if (document.getElementById("reparto").value != ""){
txt = "";
txt += "\n[color=teal][b]Reparto: [/b][/color]";
txt += document.getElementById("reparto").value; //Agrega el reparto
document.getElementById("gen").value += txt;
}
if (document.getElementById("idioma").value != ""){
txt = "";
txt += "\n[color=teal][b]Idioma del Audio: [/b][/color]";
txt += document.getElementById("idioma").value; //Agrega idioma
document.getElementById("gen").value += txt;
}
if (document.getElementById("productora").value != ""){
txt = "";
txt += "\n[color=teal][b]Productora: [/b][/color]";
txt += document.getElementById("productora").value; //Agrega la productora
document.getElementById("gen").value += txt;
}
if (document.getElementById("genero").value != ""){
txt = "";
txt += "\n[color=teal][b]Genero: [/b][/color]";
txt += document.getElementById("genero").value; //Agrega genero
document.getElementById("gen").value += txt;
}
if (document.getElementById("sinopsis").value != ""){
txt = "";
txt += "\n[color=teal][b]Sinopsis: [/b][/color]";
txt += document.getElementById("sinopsis").value; //Agrega sinopsis
txt += "[/left]\n[hr][center]";
document.getElementById("gen").value += txt;
}
if (document.getElementById("imdb").value != ""){
txt = "";
txt += "\n[url=";
txt += document.getElementById("imdb").value; //Agrega el reparto
txt += "][img]http://i39.tinypic.com/168eoih.jpg[/img][/url]";
document.getElementById("gen").value += txt;
}
if (document.getElementById("sshot1").value != ""){
txt = "";
txt += "\n[hr]\n[color=teal][b]Capturas:[/b][/color]\n\n[img]";
txt += document.getElementById("sshot1").value;
txt += "[/img]\n";
document.getElementById("gen").value += txt;
}
if (document.getElementById("sshot2").value != ""){
txt = "";
txt += "\n[img]";
txt += document.getElementById("sshot2").value;
txt += "[/img]\n";
document.getElementById("gen").value += txt;
}
if (document.getElementById("sshot3").value != ""){
txt = "";
txt += "\n[img]";
txt += document.getElementById("sshot3").value;
txt += "[/img]\n";
document.getElementById("gen").value += txt;
}
if (document.getElementById("sshot4").value != ""){
txt = "";
txt += "\n[img]";
txt += document.getElementById("sshot4").value;
txt += "[/img]\n";
document.getElementById("gen").value += txt;
}
if (document.getElementById("sshot5").value != ""){
txt = "";
txt += "\n[img]";
txt += document.getElementById("sshot5").value;
txt += "[/img]\n";
document.getElementById("gen").value += txt;
}
if (document.getElementById("info").value != ""){
txt = "";
txt += "\n [hr] \n";
txt += "\n[center][code]\n";
txt += document.getElementById("info").value; //Add info
txt += "\n
[/center]";
document.getElementById("gen").value += txt;
}
if (document.getElementById("sub").value != ""){
txt = "";
txt += "\n\n
\n
Subtitulos: ";
txt += document.getElementById("sub").value; //Agrega Subs
txt += "\n
\n";
document.getElementById("gen").value += txt;
}
if (document.getElementById("trailer").value != ""){
txt = "";
txt += "\n
\n
Trailer:\n";
txt += "[center]";
txt += document.getElementById("trailer").value; //Agrega Trailer
txt += "[/center]\n
\n";
document.getElementById("gen").value += txt;
}
if (document.getElementById("downlinks").value != ""){
txt = "";
txt += ":arrow:
Descarga:\n";
txt += "[download]\n";
txt += document.getElementById("downlinks").value;
txt += "\n[/download]\n\n";
document.getElementById("gen").value += txt;
}
if (document.getElementById("pass").value != ""){
txt = "";
txt += ":arrow:
Pass:\n [password]\n";
txt += document.getElementById("pass").value; //Agrega el pass
txt += "\n [/password]\n [/center]";
document.getElementById("gen").value += txt;
}
}
</script>
<link href="
http://www.hackstore.net/mkportal/templ ... /style.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
@import url("../../style.css");
@import url("style.css");
.Estilo5 {color: #00FF33; font-family: Verdana, Arial, Helvetica, sans-serif; }
.Estilo6 {
color: #006600;
font-family: Verdana, Arial, Helvetica, sans-serif;
}
.Estilo7 {
font-family: Verdana, Arial, Helvetica, sans-serif;
color: #00FFFF;
font-weight: bold;
font-style: italic;
font-size: 16px;
}
.Estilo8 { color: #666666
}
-->
</style>
</head><body>
<img src="Peliculas.png">
<form name="frm" action="moviegen.html#">
<p align="center"> </p>
<div align="center">
<table border="1">
<tbody><tr>
<td>Titulo:</td>
<td><input id="title" value="" maxlength="60" size="65" type="text"></td>
</tr>
<tr>
<td>Caratula:</td>
<td><input id="boxart" value="" maxlength="200" size="65" type="text"></td>
</tr>
<tr>
<td>Titulo Original:</td>
<td><input id="titor" value="" maxlength="200" size="65" type="text"></td>
</tr>
<tr>
<td>Pais:</td>
<td><input id="pais" value="" maxlength="200" size="65" type="text"></td>
</tr>
<tr>
<td>Año:</td>
<td><input id="año" value="" maxlength="100" size="65" type="text"></td>
</tr>
<tr>
<td>Director:</td>
<td><input id="director" value="" maxlength="100" size="65" type="text"></td>
</tr>
<tr>
<td>Guion:</td>
<td><input id="guion" maxlength="200" size="65" type="text"></td>
</tr>
<tr>
<td>Reparto:</td>
<td><input id="reparto" maxlength="800" size="65" type="text"></td>
</tr>
<tr>
<td>Idioma:</td>
<td><input id="idioma" maxlength="200" size="65" type="text"></td>
</tr>
<tr>
<td>Productora:</td>
<td><input id="productora" maxlength="200" size="65" type="text"></td>
</tr>
<tr>
</tr><tr>
<td>Genero:</td>
<td><input id="genero" maxlength="200" size="65" type="text"></td>
</tr>
<tr>
<td>Sinopsis:</td>
<td><p>
<textarea id="sinopsis" cols="49" rows="10"></textarea>
</p>
<p> </p></td>
</tr>
<tr>
<td>IMDB (LINK): </td>
<td><p>
<input id="imdb" maxlength="200" size="65" type="text">
</p> </td>
</tr>
<tr>
<td>Screenshots:</td>
<td><p>
<input id="sshot1" maxlength="200" size="65" type="text">
<br>
<input id="sshot2" maxlength="200" size="65" type="text">
<br>
<input id="sshot3" maxlength="200" size="65" type="text">
<br>
<input id="sshot4" maxlength="200" size="65" type="text">
<br>
<input id="sshot5" maxlength="200" size="65" type="text">
</p> </td>
</tr>
<tr>
<td><p>Informacion:<br>
(calidad)</p></td>
<td><textarea name="info" cols="49" rows="10" id="info"></textarea></td>
</tr>
<tr>
<td>Subtitulos:</td>
<td><input id="sub" maxlength="200" size="65" type="text"></td>
</tr>
<tr>
<td>Trailer(opcional):</td>
<td><input id="trailer" size="65" type="text"></td>
</tr>
<tr>
<td>Links:</td>
<td><textarea name="downlinks" cols="49" rows="10" id="downlinks"></textarea></td>
</tr>
<tr>
<td>Pass:</td>
<td><input id="pass" value="" maxlength="100" size="65" type="text"></td>
</tr>
<tr>
<td colspan="2"><div align="center">
<input onclick="doStuff()" value="\Generar/" type="button">
<input value="\Resetear/" type="reset">
</div></td>
</tr>
<tr>
<td colspan="2"><p>
<textarea name="gen" cols="62" rows="10" id="gen">Click en generar, para que se arme el post.
www.hackstore.net </textarea>
</p>
<p align="center">
<input value="Copiar a portapapeles (SOLO IE)" onclick="copia_portapapeles()" type="button">
<br>
</p>
<p align="center"><span class="Estilo8">Script 1.0 By 4kstore <br>
www.hackstore.net</span></p></td>
</tr>
</tbody></table>
</div>
</form>
<br>
<script language="javascript">
function copia_portapapeles(){
document.frm.gen.select()
window.clipboardData.setData("Text", document.frm.gen.value);
}
</script>
</body></html>[/code]