BIG PROBLEM!!!!!!! BIG PROBLEM!!!!!!!
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

BIG PROBLEM!!!!!!!

Started by purepersian, April 11, 2004, 05:09:03 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

purepersian

ok iv just realised that users can post comments, then go and EDIT their comment and change the name, so that it looks like someone else posted that comment
how can i correct this?

Casper

Open your themes/yourtheme/theme.php.

Find ;
<input type=text name=msg_author value="{MSG_AUTHOR}" class="textinput" size=10>


Change it to;
<input type="hidden" name=msg_author value="{MSG_AUTHOR}">

There are 2 times you need to do this, in the '<!-- BEGIN edit_box_smilies -->' section, and also the '<!-- BEGIN edit_box_no_smilies -->

ps.Please do not use subject headings such as 'big problem'.  Please actually describe the problem briefly in the title, such as 'user able to edit name in comments'.

If you allow choice of themes, you will need to do this for all themes.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

Joachim Müller

take a look at http://forum.coppermine-gallery.net/index.php?topic=5300 as well.

GauGau

P.S. Next time, use a better subject than "BIG PROBLEM". Capital letters mean "shouting", and I don't like being shouted at. Have a look at http://forum.coppermine-gallery.net/index.php?topic=3997