Advanced search  

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

Pages: [1]   Go Down

Author Topic: BIG PROBLEM!!!!!!!  (Read 2697 times)

0 Members and 1 Guest are viewing this topic.

purepersian

  • Coppermine newbie
  • Offline Offline
  • Posts: 13
BIG PROBLEM!!!!!!!
« on: April 11, 2004, 05:09:03 pm »

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?
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
BIG PROBLEM!!!!!!!
« Reply #1 on: April 11, 2004, 06:56:13 pm »

Open your themes/yourtheme/theme.php.

Find ;
Code: [Select]
<input type=text name=msg_author value="{MSG_AUTHOR}" class="textinput" size=10>


Change it to;
Code: [Select]
<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.
Logged
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

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
BIG PROBLEM!!!!!!!
« Reply #2 on: April 12, 2004, 07:17:07 am »

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
Logged
Pages: [1]   Go Up
 

Page created in 0.023 seconds with 19 queries.