March 12, 2010, 02:37:13 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Announcing Coppermine 1.5.3 Release Candidate
It is with great joy that we present Coppermine 1.5.3 [RC]. After over 2 years of work and thousands of lines of code we now have a superb and feature packed product. It has been a long and challenging journey but with the help of you, the community, and our team of dedicated supporters and developers we are almost there.
[more]
   Home   Help Search Board rules Login Register  
Pages: 1 [2] 3 4 5 6 ... 40   Go Down
  Print  
Author Topic: Captcha (Visual Confirmation) for comments/registration/reporting/login/ecard  (Read 258250 times)
0 Members and 1 Guest are viewing this topic.
Sami Topic starter
VIP
***
Gender: Male
Iran, Islamic Republic of Iran, Islamic Republic of

Posts: 3689


BMossavari


WWW
« Reply #20 on: October 01, 2006, 10:48:21 pm »

Yes it's possible
- I'll add it to the next version
« Last Edit: October 02, 2006, 04: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

Posts: 5


« Reply #21 on: October 02, 2006, 02:47:55 pm »

ok, keep on great work.
I am looking forward to the new release.
Cheers
Logged
Zarzal
Coppermine novice
*
Gender: Male
Germany Germany

Posts: 40


WWW
« Reply #22 on: October 05, 2006, 08: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
Administrator
*****
Gender: Male
Germany Germany

Posts: 46172


aka "GauGau"


WWW
« Reply #23 on: October 05, 2006, 08: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
*
Gender: Male
Germany Germany

Posts: 40


WWW
« Reply #24 on: October 05, 2006, 09: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 Topic starter
VIP
***
Gender: Male
Iran, Islamic Republic of Iran, Islamic Republic of

Posts: 3689


BMossavari


WWW
« Reply #25 on: October 05, 2006, 10:11:57 am »

okey here is the quick fix for that :
- open up codebase.php and add this
Code:
require ('plugins/captcha/include/init.inc.php');
to line 29
the your aptcha_main($html) function should be look like this:
Code:
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 Smiley
Logged

‍I don't answer to PM with support question
Please post your issue to related board
Sami Topic starter
VIP
***
Gender: Male
Iran, Islamic Republic of Iran, Islamic Republic of

Posts: 3689


BMossavari


WWW
« Reply #26 on: October 05, 2006, 10: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
*
Gender: Male
Germany Germany

Posts: 40


WWW
« Reply #27 on: October 05, 2006, 11:58:18 am »

thank you, worked for me
Logged
Zarzal
Coppermine novice
*
Gender: Male
Germany Germany

Posts: 40


WWW
« Reply #28 on: October 05, 2006, 04: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, 04:16:45 pm by Zarzal » Logged
Sami Topic starter
VIP
***
Gender: Male
Iran, Islamic Republic of Iran, Islamic Republic of

Posts: 3689


BMossavari


WWW
« Reply #29 on: October 05, 2006, 09: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
*
Gender: Male
Germany Germany

Posts: 40


WWW
« Reply #30 on: October 06, 2006, 01: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 Topic starter
VIP
***
Gender: Male
Iran, Islamic Republic of Iran, Islamic Republic of

Posts: 3689


BMossavari


WWW
« Reply #31 on: October 06, 2006, 05: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
*
Gender: Male
Germany Germany

Posts: 40


WWW
« Reply #32 on: October 06, 2006, 09: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, 11:54:08 am by Zarzal » Logged
Sami Topic starter
VIP
***
Gender: Male
Iran, Islamic Republic of Iran, Islamic Republic of

Posts: 3689


BMossavari


WWW
« Reply #33 on: October 06, 2006, 04: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
*
Gender: Male
Germany Germany

Posts: 40


WWW
« Reply #34 on: October 06, 2006, 07: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, 07:40:30 pm by Zarzal » Logged
Sami Topic starter
VIP
***
Gender: Male
Iran, Islamic Republic of Iran, Islamic Republic of

Posts: 3689


BMossavari


WWW
« Reply #35 on: October 08, 2006, 04: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
****
Gender: Male
France France

Posts: 1341


aka "Lontano"


WWW
« Reply #36 on: October 08, 2006, 10:41:21 pm »

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

* italian.php.zip (0.65 KB - downloaded 236 times.)
Logged

Sami Topic starter
VIP
***
Gender: Male
Iran, Islamic Republic of Iran, Islamic Republic of

Posts: 3689


BMossavari


WWW
« Reply #37 on: October 09, 2006, 04:42:18 am »

You rock man Smiley
Logged

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

Posts: 5


« Reply #38 on: October 10, 2006, 12:34:09 am »

New release of Captcha

@mEErEck: feature added to new version
@Zarzal: bug fixed
@Sami : U rulezz!
Logged
Sami Topic starter
VIP
***
Gender: Male
Iran, Islamic Republic of Iran, Islamic Republic of

Posts: 3689


BMossavari


WWW
« Reply #39 on: October 10, 2006, 05: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 ... 40   Go Up
  Print  
 
Jump to:  

Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC
Page created in 0.075 seconds with 18 queries.