Advanced search  

News:

cpg1.5.46 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter recently discovered vulnerabilities. It is important that all users who run version cpg1.5.44 or older update to this latest version as soon as possible.
[more]

Pages: 1 [2] 3 4 5 6 ... 41   Go Down

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

0 Members and 1 Guest 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 #20 on: October 01, 2006, 11:48:21 pm »

Yes it's possible
- I'll add it to the next version
« Last Edit: October 02, 2006, 05:06:53 pm by Sami »
Logged
‍I don't answer to PM with support question
Please post your issue to related board

mEErEck

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Captcha (Visual Confirmation) for adding comments
« Reply #21 on: October 02, 2006, 03:47:55 pm »

ok, keep on great work.
I am looking forward to the new release.
Cheers
Logged

Zarzal

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 40
    • Biker-Reise.de - Picturegallery
Re: Captcha (Visual Confirmation) for adding comments
« Reply #22 on: October 05, 2006, 09:38:57 am »

(running 1.4.9)
I encounter a language problem. I run the gallery in german. So I copy the lang/english.php to lang/german.php and edit the file but all outputs still be in english. It seems that my german language file is ignored. Any ideas?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: Captcha (Visual Confirmation) for adding comments
« Reply #23 on: October 05, 2006, 09:51:33 am »

There's some text hard-coded into the files. You'll have to edit the mod files as well.
Logged

Zarzal

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 40
    • Biker-Reise.de - Picturegallery
Re: Captcha (Visual Confirmation) for adding comments
« Reply #24 on: October 05, 2006, 10:54:42 am »

It seems that the language function is disabled by default in captcha.php:
//require("include/init.inc.php");

But language strings are still used. I try to enable it but it doesnt work so I replace the language strings vars in codebase.php with my plain text outputs and it work.
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Captcha (Visual Confirmation) for adding comments
« Reply #25 on: October 05, 2006, 11:11:57 am »

okey here is the quick fix for that :
- open up codebase.php and add this
Code: [Select]
require ('plugins/captcha/include/init.inc.php');
to line 29
the your aptcha_main($html) function should be look like this:
Code: [Select]
function captcha_main($html) {
global $lang_display_comments, $thisplugin;
require ('plugins/captcha/include/init.inc.php');
$exper='(<input type="submit" class="comment_button" name="submit" value="'.$lang_display_comments['OK'].'" />)';
if(preg_match($exper,$html)){
$newcpch='<input type="submit" class="comment_button" name="submit" id="submit" value="'.$lang_display_comments['OK'].'" /></td></tr><tr><td class="tableb_compact" colspan="2">'.$lang_plugin_captcha_confirmation.'</td><td class="tableb_compact" colspan="2"><input type="text" name="confirmCode" id="confirmCode" size="5" class="textinput"> <img src="'.$thisplugin->fullpath.'/captcha.php" align="middle">';
$html = preg_replace($exper,$newcpch,$html);
}
return $html;
}

this way the lang file would works
I'll add it to next version

@Zarzal: Thank you for pointing that out :)
Logged
‍I don't answer to PM with support question
Please post your issue to related board

Sami

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

New release of Captcha

@mEErEck: feature added to new version
@Zarzal: bug fixed
Logged
‍I don't answer to PM with support question
Please post your issue to related board

Zarzal

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 40
    • Biker-Reise.de - Picturegallery
Re: Captcha (Visual Confirmation) for adding comments
« Reply #27 on: October 05, 2006, 12:58:18 pm »

thank you, worked for me
Logged

Zarzal

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 40
    • Biker-Reise.de - Picturegallery
Re: Captcha (Visual Confirmation) for adding comments
« Reply #28 on: October 05, 2006, 05:02:52 pm »

Me again. There is now another big problem when enabling this plugin. I cant use some functions in cpg1.49 anymore:

- While batch uploading I cant use interactive directory browsing mode, just an empty window.
- Admin Tools Bridge Assistent give blank page
- Admin Tools Version Check give blank page
- Admin Tools Log file view give blank page

Maybe there are some other problems, I continue testing. I use spider frindly urls plugin.
« Last Edit: October 05, 2006, 05:16:45 pm by Zarzal »
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Captcha (Visual Confirmation) for adding comments
« Reply #29 on: October 05, 2006, 10:53:43 pm »

oops , sorry , check the coddbase and your lang file for an empty line after ?> tag at the end of file and delete it
Logged
‍I don't answer to PM with support question
Please post your issue to related board

Zarzal

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 40
    • Biker-Reise.de - Picturegallery
Re: Captcha (Visual Confirmation) for adding comments
« Reply #30 on: October 06, 2006, 02:04:23 am »

Checked and found whitespace lines after closing php code and removed it but my problem still exists. Meanwhile I found another problem. My google maps hack stop working too. I continue searching.
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Captcha (Visual Confirmation) for adding comments
« Reply #31 on: October 06, 2006, 06:09:53 am »

New release , Bug fixed
Zarzal , thank you very much for reporting this bug , check the first (initial) post for update
Logged
‍I don't answer to PM with support question
Please post your issue to related board

Zarzal

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 40
    • Biker-Reise.de - Picturegallery
Re: Captcha (Visual Confirmation) for adding comments
« Reply #32 on: October 06, 2006, 10:43:29 am »

I reupload all files from your archive. I see V1.5 in the plugin manager but the problem is still there. Blank screen in the admin section, google maps hack still blank. There must be another bug somewhere. Any Idea how I can search this?
« Last Edit: October 06, 2006, 12:54:08 pm by Zarzal »
Logged

Sami

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

I've this version installed on my online gallery without any blank page issue, first time when you found that issue I've checked my gallery and saw that but this time my gallery is fine !
Are you sure that you upload (overwrite) all files correctly and completely ?

Is there any body else with this issue ?
Logged
‍I don't answer to PM with support question
Please post your issue to related board

Zarzal

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 40
    • Biker-Reise.de - Picturegallery
Re: Captcha (Visual Confirmation) for adding comments
« Reply #34 on: October 06, 2006, 08:22:03 pm »

I'm 100% sure. I do it again and use beyond compare (scootersoft) to verify it. It is the latest version.

For testing I disable spiderfrindly urls plugin but this have no effect. Maybe it's related to my webserver setup, I m not sure. It is a LiteSpeed/2.2.2 Standard Server with mySQL 4.1.11 and PHP Version 5.1.5

I can repeat it. When disabling the captcha plugin all functions include google maps hack work, enabling the captcha plugin I get on some places blank pages with no source code. I hope someone else encounter this and I m not alone with this problem.
« Last Edit: October 06, 2006, 08:40:30 pm by Zarzal »
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Captcha (Visual Confirmation) for adding comments
« Reply #35 on: October 08, 2006, 05:37:56 am »

I can take a look at that if you give me a ftp account to your gallery by PM (if it's ok)
Logged
‍I don't answer to PM with support question
Please post your issue to related board

Davide Renda

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1427
  • aka "Lontano"
    • www.daviderenda.eu
Re: Captcha (Visual Confirmation) for adding comments
« Reply #36 on: October 08, 2006, 11:41:21 pm »

italian translation added (just a few words... but some love reading his native language!) :)

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Captcha (Visual Confirmation) for adding comments
« Reply #37 on: October 09, 2006, 05:42:18 am »

You rock man :)
Logged
‍I don't answer to PM with support question
Please post your issue to related board

mEErEck

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Captcha (Visual Confirmation) for adding comments
« Reply #38 on: October 10, 2006, 01:34:09 am »

New release of Captcha

@mEErEck: feature added to new version
@Zarzal: bug fixed
@Sami : U rulezz!
Logged

Sami

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

New release
- Italian lang added
- bug fix (Zarzal point it)
Logged
‍I don't answer to PM with support question
Please post your issue to related board
Pages: 1 [2] 3 4 5 6 ... 41   Go Up
 

Page created in 0.02 seconds with 21 queries.