Support Forum Project Downloads FAQ Documentation About Demo Tutorials Blog Plugins
November 21, 2009, 09:35:12 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: cpg1.5.2 beta released
The brand new cpg1.5.x series that comes with a lot of new features finally has reached the release stage: a first public beta release cpg1.5.2 has been released that is mainly aimed at translators, testers and community members that have contributed in the past. The beta release is not meant to be used in a production environment, but only on testbeds and for evaluation purposes. There is currently no support for cpg1.5.x yet!
[more]
   Home   Help Search Board rules Login Register  
Pages: 1 [2] 3 4 5 6 ... 23   Go Down
  Print  
Author Topic: Captcha (Visual Confirmation) for adding comments  (Read 196829 times)
0 Members and 1 Guest are viewing this topic.
scotty588
Coppermine novice
*
Gender: Male
Posts: 23


« Reply #20 on: July 16, 2006, 04:57:38 am »

Can someone help me with mine. I am still confused about the theme.php file. I am on msn and aim right now if thats easier. Thanks.

Also is there a way to mass delete comment spam?
Logged
antisa33
Coppermine frequent poster
***
Posts: 181


WWW
« Reply #21 on: July 17, 2006, 01:59:02 am »

Hello
Thanks for the mod, i have done all that you say in my cpg148 but i cant see the numbers, i see a cross, why ?
Thanks
Isa
Logged
Abbas Ali Topic starter
Administrator
*****
Gender: Male
India India

Posts: 2087


Spread the PHP Web


WWW
« Reply #22 on: July 17, 2006, 06:25:41 am »

@scotty588: I am attaching the modified theme file. Replace it with your theme.php file. (Remove the .txt extension from attached file)

@antisa33: Did you copied captcha.php, captcha.class.php and fonts directory properly? Also a link to your site might help.
Logged

--- Love is blind, wish it was mute too ---
Visit me @ www.abbasali.net
Gail
Coppermine newbie

Gender: Female
Posts: 6


WWW
« Reply #23 on: July 17, 2006, 11:02:06 pm »

Hi,

I started having problems with spammers and comments last week; I turned off the ability to add comments and then searched this forum for solutions. Thank you so much for this mod - i uploaded/edited my files this afternoon and everything seems to be working. I have since enabled comments again.  Smiley

Thanks to the development team for all of your work.

Gail
Logged

Practice random acts of kindness.
scotty588
Coppermine novice
*
Gender: Male
Posts: 23


« Reply #24 on: July 17, 2006, 11:23:32 pm »

Thanks Abbas I did what you said and it doesn't seem to show up at all. I have enabled guest comments so you can see. Hopefully I won't get mass spammed.
http://scottyk87.dmservers.com
Logged
Abbas Ali Topic starter
Administrator
*****
Gender: Male
India India

Posts: 2087


Spread the PHP Web


WWW
« Reply #25 on: July 18, 2006, 06:03:26 am »

Can't say what's happening.. are you sure that you replaced themes/blackbirch/theme.php with the file i gave?
Logged

--- Love is blind, wish it was mute too ---
Visit me @ www.abbasali.net
antisa33
Coppermine frequent poster
***
Posts: 181


WWW
« Reply #26 on: July 18, 2006, 01:40:20 pm »

@abbas ali : try http://www.mandala-colorier.com/coloriage-2-3.html
I see a cross on IE and nothinbg in firefox.
I copy all the files correctly, and i have done all your modifications
Thanks a lot for all  Smiley
Logged
Nibbler
Dev Team member
****
Gender: Male
United Kingdom United Kingdom

Posts: 19445



WWW
« Reply #27 on: July 18, 2006, 08:37:42 pm »

Split 'new topic' to http://forum.coppermine-gallery.net/index.php?topic=33997
Logged

I don't care about what they say, I won't live or die that way.
scotty588
Coppermine novice
*
Gender: Male
Posts: 23


« Reply #28 on: July 19, 2006, 01:56:56 am »

Abbas: I replaced the theme.php with the one you attached and took off the .txt extention. I overode it and it still does not show up. If you contact me on aim or msn I would be happy to set you up with a temp ftp account to look for the problem if you willing.
Logged
Abbas Ali Topic starter
Administrator
*****
Gender: Male
India India

Posts: 2087


Spread the PHP Web


WWW
« Reply #29 on: July 19, 2006, 06:04:04 am »

@antisa33: I tried the url http://www.mandala-colorier.com/coloriage-2-3.html and the image is shown. Also captcha is working fine..Did you resolved it?

@scotty588: Send me a PM with the ftp details.
Logged

--- Love is blind, wish it was mute too ---
Visit me @ www.abbasali.net
bobby131313
Coppermine novice
*
Posts: 23


WWW
« Reply #30 on: July 26, 2006, 08:21:25 pm »



Beautiful Mod!

Worked perfectly first shot. Thank you!

One stupid little thing though, just grammer...

"Confirmation code didn't matched" in db_input.php probably should be...

"Confirmation code does not match"

I feel silly even mentioning it, but I'm kind of anal and you might be too.  Grin

Logged
Abbas Ali Topic starter
Administrator
*****
Gender: Male
India India

Posts: 2087


Spread the PHP Web


WWW
« Reply #31 on: July 27, 2006, 06:24:12 am »

Because i am not a native english speaker Wink
Logged

--- Love is blind, wish it was mute too ---
Visit me @ www.abbasali.net
jaydj
Coppermine newbie

Posts: 10


« Reply #32 on: July 29, 2006, 02:06:11 am »

Thanks ! You're a xavior !  Now I don't have to delete hundreds of spam messages a day. Smiley
I just want to clarify that if I should use another theme, I should edit the themes/mytheme/theme.php file right ?
If I don't then will my comment area break or will the confirmation code just be absent from the form ?

Thanks again !
Logged
Abbas Ali Topic starter
Administrator
*****
Gender: Male
India India

Posts: 2087


Spread the PHP Web


WWW
« Reply #33 on: July 29, 2006, 06:07:09 am »

Yes you should edit theme/yourtheme/theme.php. If that block of code is not present in your theme then you should copy it from sample theme to your theme.

If you don't edit the other theme then confirmation image will be absent from comment area. But since in db_input.php we are checking whether user has specified correct confirmation code or not..it won't work. So in short every theme you use should have that confirmation code.
Logged

--- Love is blind, wish it was mute too ---
Visit me @ www.abbasali.net
antisa33
Coppermine frequent poster
***
Posts: 181


WWW
« Reply #34 on: August 06, 2006, 01:12:41 am »

Abbas, when your tried my mod on my website, have you clic on ok ?
I always have this message error :
Confirmation code didn't matched 
Can you try to add a comment ?
Logged
Abbas Ali Topic starter
Administrator
*****
Gender: Male
India India

Posts: 2087


Spread the PHP Web


WWW
« Reply #35 on: August 06, 2006, 04:12:13 am »

I was able to add comment on your website. Check http://www.kidsandcolors.com/colorina_colors-1355.html and you will see a comment 'Nice horse' added by me. Make sure that 5 letters are coming in the image. If not then reupload the fonts directory. Also make sure that the image reads different letters every time you refresh a page. If not then that means the image is coming from your cache and is not the correct image.
Logged

--- Love is blind, wish it was mute too ---
Visit me @ www.abbasali.net
Joachim Müller
Administrator
*****
Gender: Male
Germany Germany

Posts: 45051


aka "GauGau"


WWW
« Reply #36 on: August 08, 2006, 08:01:19 am »

@Abbas & devs: should this go into the devel branch as an option? While I'm doing the comment approval clean-up, I could implement it as well.
Things that need checking before doing so:
  • Are we allowed to include the library and fonts with Coppermine (license-wise)
  • Add a check if GD with Freetype is enabled and only allow Captchas if true
Logged
Abbas Ali Topic starter
Administrator
*****
Gender: Male
India India

Posts: 2087


Spread the PHP Web


WWW
« Reply #37 on: August 08, 2006, 08:29:20 am »

Yes this could be a config option. As far as license is concerned, the class has been released under Free BSD license. I don't know about the fonts but those came along with the class. Should I ask author about the fonts?

Here is the website of the author. Do get the latest class if this goes in devel.
Logged

--- Love is blind, wish it was mute too ---
Visit me @ www.abbasali.net
TranzNDance
Dev Team member
****
Gender: Female
United States United States

Posts: 6138



WWW
« Reply #38 on: August 08, 2006, 08:56:54 am »

If the above considerations could be addressed, I think this would be a great addition to the core code. We really need to deter this infestation/plague upon the internet as much as possible.
Logged

maxaxax
Coppermine newbie

Posts: 1


« Reply #39 on: August 14, 2006, 12:16:18 am »

great job Abbas, merci beaucoup !  Wink
Logged
Pages: 1 [2] 3 4 5 6 ... 23   Go Up
  Print  
 
Jump to:  

Powered by SMF 1.1.10 | SMF © 2006-2009, Simple Machines LLC
Page created in 0.089 seconds with 15 queries.