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: all comments on same picture  (Read 4295 times)

0 Members and 1 Guest are viewing this topic.

ceesjoore

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 23
all comments on same picture
« on: November 06, 2006, 02:20:30 pm »

Hi,

When i added a comment on a picture, all comments are placed by this picture
http://www.ceesjoore.nl/coppermine/displayimage.php?album=lastcom&cat=-32&pos=0

 ???
« Last Edit: November 09, 2006, 07:39:35 pm by Nibbler »
Logged

Nibbler

  • Guest
Re: all comments on same picture
« Reply #1 on: November 06, 2006, 05:22:27 pm »

Looks like you made a mistake adding the capcha image. Review your changes.
Logged

pinpoint222

  • Contributor
  • Coppermine regular visitor
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 77
    • The Rawalpindi Website
Re: all comments on same picture
« Reply #2 on: November 07, 2006, 08:19:26 pm »

Here is a simple thing.

It seems u made somemistake in the db_input.php file which u cant trace.

download the cpg 1.4.10 from coppermine website ..unzip it.. and find the file "db_input.php".. just upload this file and overwrite ur existing db_input.php..

As my hack does not use db_input.php  ..(my hack uses db_input2.php).. So it is a safe thing to do now. overwriting with original file  will fix any mistake u did accidently.


Logged

pinpoint222

  • Contributor
  • Coppermine regular visitor
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 77
    • The Rawalpindi Website
Re: all comments on same picture
« Reply #3 on: November 07, 2006, 08:37:47 pm »

Full steps:
NOTE:  This will fix the problem IF the problem was due to incorrect code in db_input.php and db_input2.php.


it seems u accidently changed something in the db_input.php file and as db_input2.php is its modified copy so both are carrying same error.

So here is what u gotta do..to fix in ur case( ur r using cpg 1.4.10).

STEPS:

1-- Download the original cpg 1.4.10 package.
2-- unzip it.
3-- find db_input.php file and upload/overwrite u current file on server
4-  ON ur computer now make a copy of that db_input.php file and RENAME it to db_input2.php
5-- ADD the 3 lines from my hack to db_input2.php.
6-- upload db_input2.php upload/overwrite ur current db_input2.php on server.


Hope this will fix the problem IF the problem was due to incorrect code in db_input.php and db_input2.php.
Logged

Nibbler

  • Guest
Re: all comments on same picture
« Reply #4 on: November 07, 2006, 08:49:31 pm »

It's not related to db_input. The pid is hardcoded into $template_add_your_comment in the theme.
Logged

pinpoint222

  • Contributor
  • Coppermine regular visitor
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 77
    • The Rawalpindi Website
Re: all comments on same picture
« Reply #5 on: November 07, 2006, 09:51:23 pm »

ceesjoore >> IT would helpful if you paste(or attach) the theme.php u r currently.using.
Logged

ceesjoore

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 23
Re: all comments on same picture
« Reply #6 on: November 09, 2006, 07:08:30 pm »

ceesjoore >> IT would helpful if you paste(or attach) the theme.php u r currently.using.

Thanks for all your input folks, but i have disabeld the comment again because with your mod Pinpoint222 i have already new spam.
So i am moving my site to a new provider and gone use the mod from Abbas, but thanks for your effort.
So this thread can be closed.

Logged

ceesjoore

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 23
Re: all comments on same picture
« Reply #7 on: November 09, 2006, 07:10:59 pm »

Thanks for all your input folks, but i have disabeld the comment again because with your mod Pinpoint222 i have already new spam.
So i am moving my site to a new provider and gone use the mod from Abbas, but thanks for your effort.
So this thread can be closed.



Sorry but i forgot to mention that the problem was in the theme, because i changed the theme and the problem was gone my mistake i think.
Logged

pinpoint222

  • Contributor
  • Coppermine regular visitor
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 77
    • The Rawalpindi Website
Re: all comments on same picture
« Reply #8 on: November 10, 2006, 02:23:44 pm »

This proves

Quote
Sorry but i forgot to mention that the problem was in the theme, because i changed the theme and the problem was gone my mistake i think.


this wrong

Quote
Thanks for all your input folks, but i have disabeld the comment again because with your mod Pinpoint222 i have already new spam.

Proper application of this mod described block addition of bot comment spam.

You are always welcome to check www.pindiplus.com/cpg to see its a mod to prevent comment spam and it does work 100%. :)

cheers..BTW lovely gallery
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 20 queries.