Icy Phoenix


Post new topic  Reply to topic 
Page 1 of 1
Reply with quote Download Post
Post Adding More Smileys To Chat Block 
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!  


"God will give me justice..."
ExauSend private message  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
Post new topic  Reply to topic  Page 1 of 1

Display posts from previous:    

HideWas this topic useful?

Link this topic

Permissions List
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events