Mmm no, guestbook mod use normaly {bbcode} tag.
Perhaps something is wrong with your bbcode.html
I post my code from this file
<br />
<script language="JavaScript" type="text/javascript">
tag_prompt = "{lang_tag_prompt}";
link_text_prompt = "{lang_link_text_prompt}";
link_url_prompt = "{lang_link_url_prompt}";
link_email_prompt = "{lang_link_email_prompt}";
list_type_prompt = "{lang_list_type_prompt}";
list_item_prompt = "{lang_list_item_prompt}";
tags = new Array();
function getarraysize(thearray) {
for (i = 0; i < thearray.length; i++) {
if ((thearray[i] == "undefined") || (thearray[i] == "") || (thearray[i] == null)) {
return i;
}
}
return thearray.length;
}
function arraypush(thearray,value) {
thearraysize = getarraysize(thearray);
thearray[thearraysize] = value;
}
function arraypop(thearray) {
thearraysize = getarraysize(thearray);
retval = thearray[thearraysize - 1];
delete thearray[thearraysize - 1];
return retval;
}
function bbcode(theform,bbcode,prompttext) {
inserttext = prompt(tag_prompt+"\n["+bbcode+"]xxx[/"+bbcode+"]",prompttext);
if ((inserttext != null) && (inserttext != "")) {
theform.comment_text.value += "["+bbcode+"]"+inserttext+"[/"+bbcode+"] ";
theform.comment_text.focus();
}
}
function namedlink(theform,thetype) {
linktext = prompt(link_text_prompt,"");
var prompttext;
if (thetype == "URL") {
prompt_text = link_url_prompt;
prompt_contents = "http://";
}
else {
prompt_text = link_email_prompt;
prompt_contents = "";
}
linkurl = prompt(prompt_text,prompt_contents);
if ((linkurl != null) && (linkurl != "")) {
if ((linktext != null) && (linktext != "")) {
theform.comment_text.value += "["+thetype+"="+linkurl+"]"+linktext+"[/"+thetype+"] ";
}
else {
theform.comment_text.value += "["+thetype+"]"+linkurl+"[/"+thetype+"] ";
}
}
theform.comment_text.focus();
}
function dolist(theform) {
listtype = prompt(list_type_prompt, "");
if ((listtype == "a") || (listtype == "1")) {
thelist = "[list="+listtype+"]\n";
listend = "[/list="+listtype+"] ";
}
else {
thelist = "[list]\n";
listend = "[/list] ";
}
listentry = "initial";
while ((listentry != "") && (listentry != null)) {
listentry = prompt(list_item_prompt, "");
if ((listentry != "") && (listentry != null)) {
thelist = thelist+"[*]"+listentry+"\n";
}
}
theform.comment_text.value += thelist+listend;
theform.comment_text.focus();
}
// Smilie Mod
function smilie(theform,smiliecode) {
theform.comment_text.value += smiliecode;
theform.comment_text.focus();
}
// End Smilie Mod
</script>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="head1">
<table border="0" cellspacing="1" cellpadding="3">
<tr>
<td class="head1">{lang_bbcode}</td>
</tr>
<tr>
<td class="row1">
<input type="button" value=" F " onclick="bbcode(this.form,'B','')" name="button" class="button" />
<input type="button" value=" K " onclick="bbcode(this.form,'I','')" name="button" class="button" />
<input type="button" value=" U " onclick="bbcode(this.form,'U','')" name="button" class="button" />
<input type="button" value="Bild" title="IMG" onclick="bbcode(this.form,'IMG','http://')" name="button" class="button" />
<input type="button" value="http://" title="URL" onclick="namedlink(this.form,'URL')" name="button" class="button" />
<input type="button" value="Code" title="CODE" onclick="bbcode(this.form,'code','')" name="button" class="button" />
<input type="button" value="Liste" title="LIST" onclick="dolist(this.form)" name="button" class="button" />
</td>
</tr>
<!-- Smilie Mod -->
<tr>
<td class="row2">
<input type="button" value=" " onClick="smilie(this.form,' :) ')" name="button" class="smilie" style="background-image: url({template_url}/smiles/happy.gif); width: 20px;" />
<input type="button" value=" " onClick="smilie(this.form,' :)) ')" name="button" class="smilie" style="background-image: url({template_url}/smiles/very_happy.gif); width: 20px;" />
<input type="button" value=" " onClick="smilie(this.form,' :D ')" name="button" class="smilie" style="background-image: url({template_url}/smiles/big_smile.gif); width: 20px;" />
<input type="button" value=" " onClick="smilie(this.form,' :O ')" name="button" class="smilie" style="background-image: url({template_url}/smiles/surprised.gif); width: 20px;" />
<input type="button" value=" " onClick="smilie(this.form,' ;) ')" name="button" class="smilie" style="background-image: url({template_url}/smiles/wink.gif); width: 20px;" />
<input type="button" value=" " onClick="smilie(this.form,' :( ')" name="button" class="smilie" style="background-image: url({template_url}/smiles/sad.gif); width: 20px;" />
<input type="button" value=" " onClick="smilie(this.form,' :*( ')" name="button" class="smilie" style="background-image: url({template_url}/smiles/very_sad.gif); width: 20px;" />
<input type="button" value=" " onClick="smilie(this.form,' :confused: ')" name="button" class="smilie" style="background-image: url({template_url}/smiles/confused.gif); width: 20px;" />
<input type="button" value=" " onClick="smilie(this.form,' :shy: ')" name="button" class="smilie" style="background-image: url({template_url}/smiles/embarrassed.gif); width: 20px;" />
<input type="button" value=" " onClick="smilie(this.form,' :vicious: ')" name="button" class="smilie" style="background-image: url({template_url}/smiles/vicious.gif); width: 20px;" />
<input type="button" value=" " onClick="smilie(this.form,' :| ')" name="button" class="smilie" style="background-image: url({template_url}/smiles/undecided.gif); width: 20px;" /><br />
<input type="button" value=" " onClick="smilie(this.form,' :pig: ')" name="button" class="smilie" style="background-image: url({template_url}/smiles/pig.gif); width: 20px;" />
<input type="button" value=" " onClick="smilie(this.form,' :P ')" name="button" class="smilie" style="background-image: url({template_url}/smiles/tongue.gif); width: 20px;" />
<input type="button" value=" " onClick="smilie(this.form,' B) ')" name="button" class="smilie" style="background-image: url({template_url}/smiles/cool.gif); width: 20px;" />
<input type="button" value=" " onClick="smilie(this.form,' :B ')" name="button" class="smilie" style="background-image: url({template_url}/smiles/nerd.gif); width: 20px;" />
<input type="button" value=" " onClick="smilie(this.form,' X( ')" name="button" class="smilie" style="background-image: url({template_url}/smiles/angry.gif); width: 20px;" />
<input type="button" value=" " onClick="smilie(this.form,' :X ')" name="button" class="smilie" style="background-image: url({template_url}/smiles/in_love.gif); width: 20px;" />
<input type="button" value=" " onClick="smilie(this.form,' |) ')" name="button" class="smilie" style="background-image: url({template_url}/smiles/asleep.gif); width: 20px;" />
<input type="button" value=" " onClick="smilie(this.form,' =; ')" name="button" class="smilie" style="background-image: url({template_url}/smiles/talk_to_hand.gif); width: 20px;" />
<input type="button" value=" " onClick="smilie(this.form,' @};- ' )" name="button" class="smilie" style="background-image: url({template_url}/smiles/rose.gif); width: 20px;" />
<input type="button" value=" " onClick="smilie(this.form,' ):) ')" name="button" class="smilie" style="background-image: url({template_url}/smiles/cowboy.gif); width: 20px;" />
</td>
</tr>
<!-- End Smilie Mod -->
</table>
</td>
</tr>
</table>
<br />
Note: thereīs a little mistake with this smiley
) itīll also print this
out -> I used the same smilys from the images file of pm2