sjefie schreef:Dan moet je even kijken bij je pagina's van bbcode,
Waarschijnlijk heb je daar dan iets fouts gedaan
wat moet ik kijken dan kan iemand me please helpen:
het zijn dingen die moesten geburen waar het waarschijnelijk gebuurd door kan zijn:
-----------------
6 - In bbcode.tpl // in the Templates/{Used template}/ directory
-----------------
At the top, add
<!-- BEGIN show -->
</span>
<table border="0" align="center" width="90%" cellpadding="3" cellspacing="1">
<tr>
<td><span class="genmed"><b>Protected Message:</b></span></td>
</tr>
<tr>
<td class="quote">
{HTEXTE}
</td>
</tr>
</table>
<span class="postbody">
<!-- END show -->
<!-- BEGIN hide -->
</span>
<table border="0" align="center" width="90%" cellpadding="3" cellspacing="1">
<tr>
<td><span class="genmed"><b>Protected Message:</b></span></td>
</tr>
<tr>
<td class="quote">
<center>--- If you are a *registered user* : you need to post in this topic to see the message ---</center>
</td>
</tr>
</table>
<span class="postbody">
<!-- END hide -->
-----------------------
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('
',''...
And add at the end :
'[hide]' and '[/hide]'
You will obtain something like this :
bbtags = new Array('
','','
','','
','','
','
','
','
','
','[img]','[/img]','
','','[hide]','[/hide]');
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)
die dingen heb ik gedaan maar, nu lukt geen 1button als ik op eentje druk dan doet niks het
ze werken wel als je het zelf typ maar niet als je derop drukt