Topic: Smilies in comments, guestbook, messages, etc...
I am posting this question here in technical support, because I believe there is a problem with including smilies in comments and other areas throughout the vld script. On the Features page it is written that
"Your members can include smilies in their messages, comments and other places in order to personalize their messages even more."
...and this seems to be true, if users have the code memorized in order to include those smilies. For the average user who needs a handy pop-up box with the smilies, however, like what is included in the messaging section, there is a problem. I searched and searched the forums and have found ways to integrate new smilies and how to css the pop-up box in the messaging section, but everywhere someone asked about the pop-up box being included in the other comment areas of the site there was only a brief discussion of finding the code in the other areas where the box exists and copying parts of it where we want the pop-up box to exist. The Features area claims seem misleading to say the least. I read that and expected a pop-up window like the one included in the messaging section.
Instead of discussing how difficult it is, or telling everyone to browse through the files where its included, could someone please "detail" exactly which parts of the code we need to copy, and what text we'll need to change in order to make the smilies pop-up box appear in the other comment areas of the site?
I have copied this from account_messages_compose.tpl: <!-- IF settings.pm_enable_smilies -->
<div class="smilies" style="float: right">
<p class="smilies"><a href="#" onclick="showhide_field('smilies_popup_box');return false;"><img src="{virtual_tpl_path}{session.template}/media/smilies.png" border="0" align="absmiddle" /><br /></a></p>
<div class="smilies-inner">
<div class="smiliesbox" style="display: none" id="smilies_popup_box">
<!-- BEGIN smilies -->
<div class="smiliesitem"><a href="#" onclick="selectSmiley({smiley_id},'field_body');showhide_field('smilies_popup_box');return false;" title="{name}"><img src="{top.virtual_pic_path}{filename}" alt="{name}" border="0" align="absmiddle" /><br /></a></div>
<!-- IF rowcnt > "0" AND rowcnt mod "12" == "12" --><div class="clear"></div><!-- ENDIF -->
<!-- END smilies -->
</div>
</div>
</div>
<!-- ENDIF -->
...and pasted it in the member_guestbook.tpl file. It shows the first smiley like it should, but when clicked, the box that pop-up is empty. I then tried:
<div class="smilies" style="float: right">
<p class="smilies"><a href="#" onclick="showhide_field('smilies_popup_box');return false;"><img src="{virtual_path}media/uploads/smilies.png" border="0" align="absmiddle" /><br /></a></p>
<div class="smilies-inner">
<div class="smiliesbox" style="display: none" id="smilies_popup_box">
<!-- BEGIN smilies -->
<div class="smiliesitem"><a href="#" onclick="selectSmiley({smiley_id},'field_body');showhide_field('smilies_popup_box');return false;" title="{name}"><img src="{virtual_path}media/uploads/{filename}" alt="{name}" border="0" align="absmiddle" /><br /></a></div>
<!-- IF rowcnt > "0" AND rowcnt mod "12" == "12" --><div class="clear"></div><!-- ENDIF -->
<!-- END smilies -->
</div>
</div>
</div>
<div class="clear"></div>
and again the first click-able smiley is there, but the pop-up window is empty.
Can someone offer some actionable assistance please