forum.coppermine-gallery.net
Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: Pizzaa on October 26, 2003, 03:58:31 pm
-
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.
-
http://coppermine.sourceforge.net/faq.php?q=removeFeature#removeFeature
In your special case, find // HTML template for the image rating box
in /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
-
Thanks Gau Gau!