Adding a "posting offending comments" warning Adding a "posting offending comments" warning
 

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

Adding a "posting offending comments" warning

Started by Feargal, September 13, 2006, 10:39:04 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Feargal

Hi,

I'm looking for a plugin thats adds a line that saids: "Posting offending comments will get you banned!"
It needs to be notable for the users posting the comments..
I think its best if its done in the displayimage.php?

Thanks

Gizmo

Probably easier if you just add a line to the theme.php $template_image_comments function. If you don't have this code, copy it from the sample>theme.php and paste it into your theme.php.

Right before
                <td width="100%" class="tableh2_compact"><b>{ADD_YOUR_COMMENT}</b></td>

add your warning and it will appear right before the Add your comment line. You could even have it on the same line.
Did you read the manual first???? Taking 2 minutes to backup your files can save you hours of wondering what you screwed up.
Billy Bullock - BullsEyePhotos Blog of Indecision