forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Miscellaneous => Topic started by: andizotschki on March 02, 2005, 06:56:35 am

Title: Help with Comments "bb (comment)"?
Post by: andizotschki on March 02, 2005, 06:56:35 am
(from Germany)
I need some Help in this Gallery http://www.illcandevilz.de/gallery/index.php

On every Comment i make is a "gg" at first in the text

I have installet a theme like vbulletin

I have no Idea what i can do...

Thanks for all help i become...
Title: Re: Help with Comments "bb (comment)"?
Post by: Joachim Müller on March 02, 2005, 08:25:47 am
This is related to the theme you're using: http://www.illcandevilz.de/gallery/displayimage.php?pos=-537&theme=classic displays fine, while http://www.illcandevilz.de/gallery/displayimage.php?pos=-537&theme=default shows the "gg" in front of every comment. Just go through your theme files, search for "gg" and remove the chars.

Joachim
Title: Re: Help with Comments "bb (comment)"?
Post by: andizotschki on March 02, 2005, 09:05:32 am
Thanks!!!  ;D it works

in the theme.php of vbulletin s theme

on this point:

// HTML template for the display of comments
$template_image_comments = <<<EOT

        <tr>
                <td>
                        <table width="100%" cellpadding="0" cellspacing="0">
                            <tr>
                     <td colspan="3" class="tableh1"><span class="statlink"> </span></td>                  
                     </tr>   
                     <tr>   
                        <td class="tableh2_compact" nowrap>
                                        <b>{MSG_AUTHOR}</b>
<!-- BEGIN ipinfo -->
                                                                                 ({HDR_IP} [{RAW_IP}])
<!-- END ipinfo -->
                                </td>
                                <td class="tableh2_compact" align="right" width="100%">
<!-- BEGIN buttons -->
                                        <a href="javascript:;" onClick="blocking('cbody{MSG_ID}','', 'block'); blocking('cedit{MSG_ID}','', 'block'); return false;" title="{EDIT_TITLE}"><img src="images/edit.gif" border="0" align="absmiddle" alt="" /></a>
                                        <a href="delete.php?msg_id={MSG_ID}&what=comment"  onclick="return confirm('{CONFIRM_DELETE}');"><img src="images/delete.gif" border="0" align="absmiddle" alt="" /></a>
<!-- END buttons -->
                                </td>
                                <td class="tableh2_compact" align="right" nowrap>
                                        <span class="comment_date">[{MSG_DATE}]</span>
                                </td>
                    </tr></table>
                </td>
        </tr>
        <tr>
                <td class="tableb_compact">
                        <div id="cbody{MSG_ID}" style="display:block">
                                gg{MSG_BODY}

delete this "gg"

at coppermines admin... this "gg" is in the original File on your Server in the theme "cpg1.3.x_theme_vbulletin.zip"

Thanks
Title: Re: Help with Comments "bb (comment)"?
Post by: Joachim Müller on September 05, 2005, 07:21:36 am
fixed this issue in the download section