Advanced search  

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]

Pages: 1 2 3 [4] 5 6 7 8 ... 24   Go Down

Author Topic: Captcha (Visual Confirmation) for adding comments  (Read 500684 times)

0 Members and 2 Guests are viewing this topic.

Nibbler

  • Guest
Re: Captcha (Visual Confirmation) for adding comments
« Reply #60 on: August 28, 2006, 08:22:42 pm »

They are in the file attached to the first post. Download and extract it.
Logged

diane

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 8
  • Diana López
Re: Captcha (Visual Confirmation) for adding comments
« Reply #61 on: August 28, 2006, 08:25:30 pm »

1.5 isn't coming soon.
TranzNDance

hello as these I am diane, please excuseme my ingles is not very good
I like much as you block the unloading of iamgenes if xs do not write msg favor you could send to me the code I already have I cosay of like avoiding the Spam in the commentaries

It´s very important Thank you
Logged

lac

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Captcha (Visual Confirmation) for adding comments
« Reply #62 on: August 28, 2006, 08:57:27 pm »

Which lines are you talking about? The attached files should be placed as it is.

Files modified

    * db_input.php
    * themes/yourtheme/theme.php
    * lang/english.php

Where I put this codes in the .php files? (Edit db_input.php and theme.php, etc...)

I don't know.

Thank you,

Regards,
Logged

diane

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 8
  • Diana López
Re: Captcha (Visual Confirmation) for adding comments
« Reply #63 on: August 29, 2006, 12:49:33 am »

They are in the file attached to the first post. Download and extract it.

you are the best thank you very much these code is very good
:) :) :) :) :) :) :) :) :) :) :) :)

Logged

Abbas Ali

  • Administrator
  • Coppermine addict
  • *****
  • Country: in
  • Offline Offline
  • Gender: Male
  • Posts: 2165
  • Spread the PHP Web
    • Ranium Systems
Re: Captcha (Visual Confirmation) for adding comments
« Reply #64 on: August 29, 2006, 07:09:04 am »

Where I put this codes in the .php files? (Edit db_input.php and theme.php, etc...)

Instructions are given in my first post as to where to copy those lines of code in the files. Please read it carefully.
Logged
Chief Geek at Ranium Systems

diane

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 8
  • Diana López
Re: Captcha (Visual Confirmation) for adding comments
« Reply #65 on: August 29, 2006, 04:22:46 pm »



Thanks, Abbas! I had to disable comments .  ;) congratulation for these code.

Now I like to block pictures to download if the user dont´t writte a comment if you have the code plese help me, i like make any thingink like to the pague of  http://takethu.com/ these is the pague of TranzNDance

TranzNDance please help me I need make these please please please and thanks for your help.

Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Captcha (Visual Confirmation) for adding comments
« Reply #66 on: August 29, 2006, 05:30:52 pm »

Now I like to block pictures to download if the user dont´t writte a comment if you have the code plese help me, i like make any thingink like to the pague of  http://takethu.com/ these is the pague of TranzNDance
This request is not related to the mod in this thread. You will need to search for such a mod though I am unsure if it exists. If you can't find it, please create another thread.

Additionally, my site is not using such a mod so I don't know why you pointed out my site with regards to it. I am flattered that you like my gallery enough to want to emulate it. :)
Logged

diane

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 8
  • Diana López
Re: Captcha (Visual Confirmation) for adding comments
« Reply #67 on: August 29, 2006, 05:56:21 pm »

Thanks TranzNDance really I lilke your site, but my english bad I think that you don´t understand you have in your site what I need.

in your site the link is inactive if the user dont´t writte the comment, and when writte the comment the user can make clic en the picture and see bic, this is what I need please help me  please please please please  :'(


Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Captcha (Visual Confirmation) for adding comments
« Reply #68 on: August 29, 2006, 06:34:04 pm »

If I understand you correctly...

Actually, it's a coincidence that clicking on an image would open the big one and another time it doesn't. Not all my intermediate images are big enough to have the larger size. Looking at the pages where you left comments in my gallery, I can see where you came to the conclusion you did. However, regardless of whether a comment is left, this is how the images are:

Not linked/no big picture:
http://takethu.com/displayimage.php?pos=-396

Linked with big picture:
http://takethu.com/displayimage.php?pos=-608
Logged

diane

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 8
  • Diana López
Re: Captcha (Visual Confirmation) for adding comments
« Reply #69 on: August 30, 2006, 05:33:28 pm »

Thanks TranzNDance i need find tha codo to make this, if you know some one to know something obout it please tell me.

Thanks ;)
Logged

mvyvoda

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Captcha (Visual Confirmation) for adding comments
« Reply #70 on: August 30, 2006, 06:21:42 pm »

Abbas,

Thanks for a mod to help with the comment spam problem. Can you, or some kind soul, help with my issue. I think I followed all the instructions carefully, however the captcha image doesn't show up, and i can comment without entering anything.

Here's a link to a picture: http://www.derpishi.com/gallery/displayimage.php?album=43&pos=3

Thanks in advance!!,
Mark
Logged

kromega

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 47
    • my gallery
Re: Captcha (Visual Confirmation) for adding comments
« Reply #71 on: August 31, 2006, 01:30:52 am »

Guys,
Thanks for that mod, very usefull... at least when it will work 100% fine.
First thing, the behaviour is not similar depending on the language chosen !!! that seems really weird, as the theme doesn't change, right ??? any idea ???

e.g. in english, I've the captcha.php picture
http://www.fabski.com/images/displayimage.php?album=lastup&cat=0&pos=8&lang=english
but not in french, no picture !!!
http://www.fabski.com/images/displayimage.php?album=lastup&cat=0&pos=8&lang=french

second, with explorer, I've a redcross (image not found) but with Firefox, I've the image (at least in all languages but french) !

thanks for your help.

fabien
Logged
fabski - novice

Abbas Ali

  • Administrator
  • Coppermine addict
  • *****
  • Country: in
  • Offline Offline
  • Gender: Male
  • Posts: 2165
  • Spread the PHP Web
    • Ranium Systems
Re: Captcha (Visual Confirmation) for adding comments
« Reply #72 on: August 31, 2006, 08:41:17 am »

@mvyvoda: Did you modified captcha.php file? When http://www.derpishi.com/gallery/captcha.php is opened, it should show an image. But in your case the page comes blank. Also do you have error messages turned off on your server?

@kromega: Try to open http://www.fabski.com/images/captcha.php and you will see the error message. The image is drawn by sending headers to browser. If some characters gets outputted before headers are sent then that kind of error message is thrown. So i suspect that something is getting outputted in your french.php file. Make sure that you don't have a blank line before <?php and after ?> tags in your lang/french.php file.

Also the captcha image comes fine for me in IE.
Logged
Chief Geek at Ranium Systems

kromega

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 47
    • my gallery
Re: Captcha (Visual Confirmation) for adding comments
« Reply #73 on: August 31, 2006, 04:01:20 pm »

@kromega: Try to open http://www.fabski.com/images/captcha.php and you will see the error message. The image is drawn by sending headers to browser. If some characters gets outputted before headers are sent then that kind of error message is thrown. So i suspect that something is getting outputted in your french.php file. Make sure that you don't have a blank line before <?php and after ?> tags in your lang/french.php file.
my browser display just the text below, same as URL. no extra lines in my lang file.
http://www.fabski.com/images/captcha.php

Also the captcha image comes fine for me in IE.
really ??? anyone else could try please...
Logged
fabski - novice

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Captcha (Visual Confirmation) for adding comments
« Reply #74 on: August 31, 2006, 04:30:12 pm »

I see the image in english and french in FF and IE.
Logged

mvyvoda

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Captcha (Visual Confirmation) for adding comments
« Reply #75 on: August 31, 2006, 05:12:18 pm »

@mvyvoda: Did you modified captcha.php file? When http://www.derpishi.com/gallery/captcha.php is opened, it should show an image. But in your case the page comes blank. Also do you have error messages turned off on your server?

Abbas..., admittedly I am quite new to all this. Can you please advise what specific question I should tell my ISP in order to get error messages turned on. I am not sure if they are turned off, but that seems logical.

Thanks for all of your help! It is greatly appreciated.

Cheers,
Mark
Logged

mvyvoda

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Captcha (Visual Confirmation) for adding comments
« Reply #76 on: August 31, 2006, 05:34:03 pm »

oh... and no, i didn't edit the captcha.php file.

thanks,
-m
Logged

kromega

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 47
    • my gallery
Re: Captcha (Visual Confirmation) for adding comments
« Reply #77 on: August 31, 2006, 07:09:48 pm »

I see the image in english and french in FF and IE.
I've changed a bit the theme.inc.php and now I can see them all.
Thanks for your support.

Fabien
Logged
fabski - novice

Pascal YAP

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 13833
  • Hello World :-)
    • CPG 1.5.x ExperiMental website
Re: Captcha (Visual Confirmation) for adding comments
« Reply #78 on: August 31, 2006, 10:22:08 pm »

Kromega,

Touch Theme.in.php is not recommended at all by the Dev Team ! But it's a general rule.
Now, if you know what you do, why not !
Touch your Theme.inc.php is an other possibilty because you do not read carrefully you Theme.php  ;)

PYAP
« Last Edit: August 31, 2006, 11:12:32 pm by PYAP »
Logged

kromega

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 47
    • my gallery
Re: Captcha (Visual Confirmation) for adding comments
« Reply #79 on: August 31, 2006, 10:42:48 pm »

Kromega,

Touch Theme.in.php is met recommended at all by the Dev Team ! But it's a general rule.
Now, if you know what you do, why not !
Touch your Theme.inc.php is an other possibilty because you do not read carrefully you Theme.php  ;)
I use Mac_ox_x theme and couldn't find out the place where to add the new one in the theme.php... but it appears in the theme.inc.php and so I modified that one... seems to work except when modifying subsequently the french.php file... (french2 in the pull-down menu)... any idea why ? french2.php file attached in the french post about captcha...

Doesn't mean I know precisely what I do :)
Logged
fabski - novice
Pages: 1 2 3 [4] 5 6 7 8 ... 24   Go Up
 

Page created in 0.089 seconds with 20 queries.