pues les cuento que me encontre en esto y ya ahi no le entiendo como que le tengo que añadir addbbcode (exemple : addbbcode20 -> addbbcode22 o no se alquien me podria explicar un poco esto gracias de antemano
Código: Seleccionar todo
7 - In posting_body.tpl // in the Templates/{Used template}/ directory
-----------------------
This part add a button in the dialog box (newtopic,...).
In the list of "// Helpline messages", add :
h_help = "Hide: [hide]message[/hide] (alt+h)";
Find this line :
bbtags = new Array('[b]','[/b]'...
And add at the end :
'[hide]' and '[/hide]'
You will obtain something like this :
bbtags = new Array('[b]','[/b]','[i]','[/i]','[u]','[/u]','[quote]','[/quoteicy]','[code]','
- ','
- ','
Find
<td><span class="genmed">
<input type="button" class="button" accesskey="w" name="addbbcode16" value="URL" style="text-decoration: underline; width: 40px" onClick="bbstyle(16)" onMouseOver="helpline('w')" />
</span></td>
Add Below : (Don't forget to adapt the "addbbcode" numbers if neccesary ! (exemple: addbbcode18 -> addbbcode20, 20 -> 22, etc)
<td><span class="genmed">
<input type="button" class="button" accesskey="h" name="addbbcode18" value="Hide" style="width: 40px" onClick="bbstyle(18)" onMouseOver="helpline('h')" />
</span></td>
Next, you need to modify all the "addbbcodexx" in the rest of the file. (exemple : addbbcode20 -> addbbcode22)[/code]