Captcha (Visual Confirmation) for comments/registration/reporting/login/ecard - Page 2 Captcha (Visual Confirmation) for comments/registration/reporting/login/ecard - Page 2
 

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]

Main Menu

Captcha (Visual Confirmation) for comments/registration/reporting/login/ecard

Started by Sami, September 17, 2006, 07:04:22 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Sami

#20
Yes it's possible
- I'll add it to the next version
‍I don't answer to PM with support question
Please post your issue to related board

mEErEck

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

Zarzal

(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?

Joachim Müller

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

Zarzal

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.

Sami

okey here is the quick fix for that :
- open up codebase.php and add this

require ('plugins/captcha/include/init.inc.php');

to line 29
the your aptcha_main($html) function should be look like this:

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 :)
‍I don't answer to PM with support question
Please post your issue to related board

Sami

New release of Captcha

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

Zarzal


Zarzal

#28
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.

Sami

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

Zarzal

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.

Sami

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

Zarzal

#32
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?

Sami

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 ?
‍I don't answer to PM with support question
Please post your issue to related board

Zarzal

#34
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.

Sami

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

Davide Renda

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

Sami

‍I don't answer to PM with support question
Please post your issue to related board

mEErEck

Quote from: Sami on October 05, 2006, 11:53:42 AM
New release of Captcha

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

Sami

New release
- Italian lang added
- bug fix (Zarzal point it)
‍I don't answer to PM with support question
Please post your issue to related board