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 ... 41   Go Down

Author Topic: Captcha (Visual Confirmation) for comments/registration/reporting/login/ecard  (Read 848078 times)

0 Members and 3 Guests are viewing this topic.

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Captcha (Visual Confirmation) for adding comments
« Reply #60 on: October 26, 2006, 02:59:40 am »

sorry ,Yes there is only captcha.class.php
Please check the new one attached to this post
Logged
‍I don't answer to PM with support question
Please post your issue to related board

kofi

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Captcha (Visual Confirmation) for adding comments
« Reply #61 on: October 26, 2006, 05:21:10 am »

thanks, now it is working.

the only thing I am curious about is that guests can edit and delete each other comments now.
I made a test post from a wireless LAN spot in my university and later on I visited the same
comment from my LAN connection in my room at home. I don't think that I was recognised as
the same "guest" with the same IP, but I could manipulate the comment.

therefore, you should be able to edit/delete this guest post here as well.
http://www.unihockey-deitingen.ch/gallery/coppermine/displayimage.php?pos=-923
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Captcha (Visual Confirmation) for adding comments
« Reply #62 on: October 26, 2006, 07:50:10 am »

No I'm not !
I'm sure you are using same computer , cause your comment info stored on cookie
you can check it this way:
- post a comment with guest account
- clear your cookie
- you'll see that you can't edit your comment
Logged
‍I don't answer to PM with support question
Please post your issue to related board

kofi

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Captcha (Visual Confirmation) for adding comments
« Reply #63 on: October 26, 2006, 11:11:12 am »

yeah, that solved the issue.
I didn' know that cookie thing.

thanks for all. everything is going smoothly now.
Logged

Hein Traag

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 2166
  • A, B, Cpg
    • Personal website - Spintires.nl
Re: Captcha (Visual Confirmation) for adding comments
« Reply #64 on: November 02, 2006, 12:50:52 pm »

removed a load of c***

Forgot about turning on the comments option for the group Guests...

Thanks Sami!
« Last Edit: November 02, 2006, 01:06:00 pm by Hein »
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Captcha (Visual Confirmation) for adding comments
« Reply #65 on: November 02, 2006, 12:58:44 pm »

did you disable comment for guest ? if yes then please post a test account ...
Logged
‍I don't answer to PM with support question
Please post your issue to related board

Hein Traag

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 2166
  • A, B, Cpg
    • Personal website - Spintires.nl
Re: Captcha (Visual Confirmation) for adding comments
« Reply #66 on: November 02, 2006, 01:04:32 pm »

did you disable comment for guest ? if yes then please post a test account ...

There are times when you just want to go out, buy a big rubber hammer, and hit yourself...  ::)

Thanks Sami ;) Your tip did the trick.

The group Guest indeed had comments disabled. Enabling this worked, Captcha is now working a 100%.

Except when i enter a wrong confirmation code. It displays this
Code: [Select]
Confirmation code didn't matched

Bestand: /home/fototest/public_html/plugins/captcha/codebase.php - Regel: 51

How do i get rid of the extra line which says on which row a "error" is occuring.
Line 51 is :
Code: [Select]
cpg_die(ERROR, "$lang_plugin_captcha_error", __FILE__, __LINE__);What displays the Bestand: etc line ?
« Last Edit: November 02, 2006, 01:21:29 pm by Hein »
Logged

Hein Traag

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 2166
  • A, B, Cpg
    • Personal website - Spintires.nl
Re: Captcha (Visual Confirmation) for adding comments
« Reply #67 on: November 02, 2006, 01:13:38 pm »

Here's the dutch.php plugin for the Captcha plugin.
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Captcha (Visual Confirmation) for adding comments
« Reply #68 on: November 02, 2006, 01:32:02 pm »

Quote
How do i get rid of the extra line which says on which row a "error" is occuring.
That is the debug output , disable debug mode
Thank you for Contributions , I'll add it to package ...
Logged
‍I don't answer to PM with support question
Please post your issue to related board

Hein Traag

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 2166
  • A, B, Cpg
    • Personal website - Spintires.nl
Re: Captcha (Visual Confirmation) for adding comments
« Reply #69 on: November 02, 2006, 02:03:28 pm »

That is the debug output , disable debug mode
Thank you for Contributions , I'll add it to package ...

*sigh* *thud*  :-[

Your welcome  ;D
Logged

joeboxer

  • Coppermine newbie
  • Offline Offline
  • Posts: 13
    • RealAdventures
Re: Captcha (Visual Confirmation) for adding comments
« Reply #70 on: November 02, 2006, 10:02:38 pm »

I've downloaded the captcha.class.zip, but am not sure where to put the captcha.php and captcha.class.php files. I have tired installing them in /gallery, /gallery/include, /plugins/captcha and /plugins/captcha/include. But I still have the missing image problem. Where should I place these files.

Here is a sample of where the confirmation image is broken:
http://www.realadventures.com/gallery/displayimage.php?album=lastup&cat=0&pos=0

Thanks for your help, Joe

Nibbler

  • Guest
Re: Captcha (Visual Confirmation) for adding comments
« Reply #71 on: November 02, 2006, 10:16:50 pm »

You need GD2 with freetype support to use this plugin. You don't have that.
Logged

Hein Traag

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 2166
  • A, B, Cpg
    • Personal website - Spintires.nl
Re: Captcha (Visual Confirmation) for adding comments
« Reply #72 on: November 06, 2006, 11:54:42 am »

Sami,

would it be possible to use convert this plugin so it can also be used to add a Captcha confirmation to the register page of CPG ?

Cheers!
Hein
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Captcha (Visual Confirmation) for adding comments
« Reply #73 on: November 06, 2006, 02:36:05 pm »

Try new codebase (attached to this post) and confirm if it's working.
Sorry I don't have much time to test it

[update:]
- additional checking for other forms added
« Last Edit: November 06, 2006, 05:10:04 pm by Sami »
Logged
‍I don't answer to PM with support question
Please post your issue to related board

Hein Traag

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 2166
  • A, B, Cpg
    • Personal website - Spintires.nl
Re: Captcha (Visual Confirmation) for adding comments
« Reply #74 on: November 06, 2006, 03:44:09 pm »

Try new codebase (attached to this post) and confirm if it's working.
Sorry I don't have much time to test it

Sami, it does add a Captcha code to the registration form but now miniCMS also gives a message that the code is not valid when i edit or create a page and hit submit.

Can you perhaps take a look at that ? Besides that little bump it seems to be working.

Cheers!
Hein
« Last Edit: November 06, 2006, 04:31:55 pm by Hein »
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Captcha (Visual Confirmation) for adding comments
« Reply #75 on: November 06, 2006, 05:12:38 pm »

okey check the new one, attached to previous post
Logged
‍I don't answer to PM with support question
Please post your issue to related board

Hein Traag

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 2166
  • A, B, Cpg
    • Personal website - Spintires.nl
Re: Captcha (Visual Confirmation) for adding comments
« Reply #76 on: November 06, 2006, 05:19:19 pm »

okey check the new one, attached to previous post

Bingo! It seems to work now. So far i tested miniCMS while using this codebase.php
Will test other options tomorow and let you know if all checks out ok.

Thanks again for the quick work!

Cheers!
Hein
Logged

claude258

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 150
    • Album photos Brière
Re: Captcha (Visual Confirmation) for adding comments
« Reply #77 on: November 07, 2006, 04:00:51 am »

I installed the plugin a few days ago and I notice that if a wrong code or a blank code is submited I get a ''template error'' white page.
http://claudebriere.net/coppermine/displayimage.php?pos=-1697

Do you know the problem?

Thanks
claude
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Captcha (Visual Confirmation) for adding comments
« Reply #78 on: November 07, 2006, 06:13:22 am »

You are using cpg v1.4.3 !
First you need to upgrade to most recent version (currently 1.4.10)
Logged
‍I don't answer to PM with support question
Please post your issue to related board

claude258

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 150
    • Album photos Brière
Re: Captcha (Visual Confirmation) for adding comments
« Reply #79 on: November 08, 2006, 01:00:11 am »

Ok I will try to update to the most recent version as soon as I have the time... ;)
But I thought this plugin was for 1.4X?  ??? Anyway...

Another question, is it possible to change the display of the comment box. In my theme (eyeball), the comment box is beside the name box and it is appearing small. can I put the comment box below the name box? This way it will take all the space from the left to the right.

http://claudebriere.net/coppermine/displayimage.php?pos=-1697&PHPSESSID=aa633cb40c4535680cce9ca26c87fcf0

Thanks.
Claude
Logged
Pages: 1 2 3 [4] 5 6 7 8 ... 41   Go Up
 

Page created in 0.03 seconds with 20 queries.