Don't show Vote box Don't show Vote box
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Don't show Vote box

Started by Pizzaa, October 26, 2003, 03:58:31 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Pizzaa

Can someone please tell me if there's a way to get rid of the votes box? I only want people to comment on the picture but no voting.

Thanks for your help.

Joachim Müller

http://coppermine.sourceforge.net/faq.php?q=removeFeature#removeFeature

In your special case, find // HTML template for the image rating boxin /themes/yourtheme/theme.php and edit/comment out (using html comment tags <!-- and -->) the stuff that comes after it. Do not delete the whole thing! Just change it to something like $template_image_rating = <<<EOT

        <!--<tr>
                <td colspan="6" class="tableh2_compact"><b>{TITLE}</b> {VOTES}</td>
        </tr>
        <tr>
                <td class="tableb_compact" width="17%" align="center"><a href="{RATE0}" title="{RUBBISH}"><img src="images/rating0.gif" alt="{RUBBISH}" border="0" /><br /></a></td>
                <td class="tableb_compact" width="17%" align="center"><a href="{RATE1}" title="{POOR}"><img src="images/rating1.gif" alt="{POOR}" border="0" /><br /></a></td>
                <td class="tableb_compact" width="17%" align="center"><a href="{RATE2}" title="{FAIR}"><img src="images/rating2.gif" alt="{FAIR}" border="0" /><br /></a></td>
                <td class="tableb_compact" width="17%" align="center"><a href="{RATE3}" title="{GOOD}"><img src="images/rating3.gif" alt="{GOOD}" border="0" /><br /></a></td>
                <td class="tableb_compact" width="17%" align="center"><a href="{RATE4}" title="{EXCELLENT}"><img src="images/rating4.gif" alt="{EXCELLENT}" border="0" /><br /></a></td>
                <td class="tableb_compact" width="17%" align="center"><a href="{RATE5}" title="{GREAT}"><img src="images/rating5.gif" alt="{GREAT}" border="0" /><br /></a></td>
        </tr>-->

EOT;
GauGau

Pizzaa