forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: clove on June 11, 2006, 06:59:31 pm

Title: Smilies Don't show.
Post by: clove on June 11, 2006, 06:59:31 pm
My smilies don't show up in commen area. Ex: http://jarlylove.com/gallery/displayimage.php?pos=-468

But, they are in the smilies folder: http://jarlylove.com/gallery/images/smilies
Title: Re: Smilies Don't show.
Post by: Sami on June 11, 2006, 08:17:39 pm
I think this is Template issue ! check your theme.php
you should have this under your theme.php
Code: [Select]
if (!isset($template_add_your_comment))  //{THEMES}
$template_add_your_comment = <<<EOT
        <form method="post" name="post" action="db_input.php">
                <table align="center" width="{WIDTH}" cellspacing="1" cellpadding="0" class="maintable">
                        <tr>
                                        <td width="100%" class="tableh2_compact"><b>{ADD_YOUR_COMMENT}</b></td>
                        </tr>
                        <tr>
                <td colspan="1">
                        <table width="100%" cellpadding="0" cellspacing="0">

<!-- BEGIN user_name_input -->
                                                        <tr>
                                                                <td class="tableb_compact">
                                        {NAME}
                                </td>
                                <td class="tableb_compact">
                                        <input type="text" class="textinput" name="msg_author" size="10" maxlength="20" value="{USER_NAME}" />
                                </td>
<!-- END user_name_input -->
<!-- BEGIN input_box_smilies -->
                                <td class="tableb_compact">
                                {COMMENT}
                                                                </td>
                                <td width="100%" class="tableb_compact">
                                <input type="text" class="textinput" id="message" name="msg_body" onselect="storeCaret_post(this);" onclick="storeCaret_post(this);" onkeyup="storeCaret_post(this);" maxlength="{MAX_COM_LENGTH}" style="width: 100%;" />
                                                                </td>
<!-- END input_box_smilies -->
<!-- BEGIN input_box_no_smilies -->
                                <td class="tableb_compact">
                                {COMMENT}
                                                                </td>
                                <td width="100%" class="tableb_compact">
                                <input type="text" class="textinput" id="message" name="msg_body"  maxlength="{MAX_COM_LENGTH}" style="width: 100%;" />
                                </td>
<!-- END input_box_no_smilies -->
                                <td class="tableb_compact">
                                <input type="hidden" name="event" value="comment" />
                                <input type="hidden" name="pid" value="{PIC_ID}" />
                                <input type="submit" class="comment_button" name="submit" value="{OK}" />
                                </td>
                                                        </tr>
                        </table>
                </td>
        </tr>
<!-- BEGIN smilies -->
        <tr>
                <td width="100%" class="tableb_compact">
                        {SMILIES}
                </td>
        </tr>
<!-- END smilies -->
                </table>
        </form>
EOT;
also check your {Admin mode}=>config =>comment setting =>Allow smiles in comments value to be "yes"
Title: Re: Smilies Don't show.
Post by: Nibbler on June 11, 2006, 08:21:00 pm
Please enable anonymous commenting or post a test account, we can't see the smilies box otherwise.
Title: Re: Smilies Don't show.
Post by: clove on June 12, 2006, 09:21:11 am
I've created a test account. username test pw test
Title: Re: Smilies Don't show.
Post by: Sami on June 12, 2006, 09:43:07 am
you should rename folder smilies to smiles
that's it ;)
Title: Re: Smilies Don't show.
Post by: clove on June 12, 2006, 09:31:16 pm
lol. Thanks! It's always the little things isn't it.  ;D