I was trying to add more smileys to chat block, but I found that this block uses bbcb_mg_small.tpl instead the bbcb_smileys_mg.tpl on posting body.

I already modified bbcb_smileys_mg.tpl so may show all smileys, just adding a few html lines and ACP settings. But bbcb_mg_small.tpl is completely different, check the code in it:


Code: [Download] [Hide] [Select]
<!-- BEGIN smilies -->
<img src="{smilies.URL}" onmouseover="this.style.cursor='pointer';" onclick="bbcb_vars_reassign_start(); emoticon('{smilies.CODE}');bbcb_vars_reassign_end();" alt="{smilies.DESC}" title="{smilies.DESC}" />
<!-- END smilies -->



What is the difference between that code and the bbcb_smileys_mg.tpl, besides this last is a table?



Code: [Download] [Hide] [Select]
<!-- BEGIN smilies_col -->
<td align="center"><a href="javascript:emoticon('{smilies_row.smilies_col.SMILEY_CODE}');"><img src="{smilies_row.smilies_col.SMILEY_IMG}" border="0" onmouseover="this.style.cursor='pointer';" alt="{smilies_row.smilies_col.SMILEY_DESC}" title="{smilies_row.smilies_col.SMILEY_DESC}" /></a></td>
<!-- END smilies_col -->



I don't know anything about javascript so, is there some way to change the code on bbcb_small_mg.tpl to add more smileys to be shown?

I hope somebody can help me! :oops:

Regards,