|
View:
New views
15 Messages
—
Rating Filter:
Alert me
|
|
|
captcha for coreHi,
i thought about integration of captcha in core (sysext) and integration in formmail, so it can be used, if it's installed. I would use the improved version of captcha from Bernhard Kraft [1] with little bugfix. Maybe a hook could be integrated, so sr_freecab could use it and replaces captcha. Before doing this i want to hear you're opinion, if this is a good enhancement or not. thx, vg Steffen [1] http://www.sk-typo3.de/News-Details.43+M5fa870cc6b0.0.html _______________________________________________ TYPO3-dev mailing list TYPO3-dev@... http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev |
|
|
Re: captcha for coreHi Steffen,
+1 for the idea and a +1 for using Bernhards captch. A kind of hook is a must for me because it would allow to change the captcha to an alternative one (e.g. the calculating thing or anything else) georg _______________________________________________ TYPO3-dev mailing list TYPO3-dev@... http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev |
|
|
Re: captcha for coreHi,
Also +1 on that. > A kind of hook is a must for me because it would allow to change the > captcha to an alternative one (e.g. the calculating thing or anything else) And fully agree with this. Cheers -- Francois Suter Cobweb Development Sarl - http://www.cobweb.ch _______________________________________________ TYPO3-dev mailing list TYPO3-dev@... http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev |
|
|
Re: captcha for coreSteffen Kamper schrieb:
> Hi, > > i thought about integration of captcha in core (sysext) and integration in > formmail, so it can be used, if it's installed. > I would use the improved version of captcha from Bernhard Kraft [1] with > little bugfix. I thought about addiing captchas as a TYPO3 service so you can accomodate for any captha you want. The idea is that an extension (or even the FORM CE) could request a captcha and would get one if another extension provides it as a service. SO you won't need any hooks. Masi _______________________________________________ TYPO3-dev mailing list TYPO3-dev@... http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev |
|
|
Re: captcha for core"Martin Kutschker" <martin.t.kutschker@...> schrieb im Newsbeitrag news:mailman.1.1200171512.14034.typo3-dev@...... > Steffen Kamper schrieb: >> Hi, >> >> i thought about integration of captcha in core (sysext) and integration >> in formmail, so it can be used, if it's installed. >> I would use the improved version of captcha from Bernhard Kraft [1] with >> little bugfix. > > I thought about addiing captchas as a TYPO3 service so you can accomodate > for any captha you want. The idea is that an extension (or even the FORM > CE) could request a captcha and would get one if another extension > provides it as a service. SO you won't need any hooks. > > Masi Hi Masi, service is indeed a more "advanced" method for overriding it, i like the idea. So any further captcha simply adds a service with a higher priority. Do you have started any codings? vg Steffen _______________________________________________ TYPO3-dev mailing list TYPO3-dev@... http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev |
|
|
Re: captcha for coreSteffen Kamper schrieb:
> "Martin Kutschker" <martin.t.kutschker@...> schrieb im > Newsbeitrag > news:mailman.1.1200171512.14034.typo3-dev@...... >> Steffen Kamper schrieb: >>> Hi, >>> >>> i thought about integration of captcha in core (sysext) and integration >>> in formmail, so it can be used, if it's installed. >>> I would use the improved version of captcha from Bernhard Kraft [1] with >>> little bugfix. >> I thought about addiing captchas as a TYPO3 service so you can accomodate >> for any captha you want. The idea is that an extension (or even the FORM >> CE) could request a captcha and would get one if another extension >> provides it as a service. SO you won't need any hooks. >> >> Masi > > Hi Masi, > > service is indeed a more "advanced" method for overriding it, i like the > idea. So any further captcha simply adds a service with a higher priority. > > Do you have started any codings? No, but I did a small research on which PHP bases captchas are available. Suprisingly few, but using "php" in Google finds for some reasons also ".php" in the URL, so the results are crap. Masi _______________________________________________ TYPO3-dev mailing list TYPO3-dev@... http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev |
|
|
Re: captcha for core"Martin Kutschker" <martin.t.kutschker@...> schrieb im Newsbeitrag news:mailman.1.1200172439.16679.typo3-dev@...... > Steffen Kamper schrieb: >> "Martin Kutschker" <martin.t.kutschker@...> schrieb im >> Newsbeitrag >> news:mailman.1.1200171512.14034.typo3-dev@...... >>> Steffen Kamper schrieb: >>>> Hi, >>>> >>>> i thought about integration of captcha in core (sysext) and integration >>>> in formmail, so it can be used, if it's installed. >>>> I would use the improved version of captcha from Bernhard Kraft [1] >>>> with little bugfix. >>> I thought about addiing captchas as a TYPO3 service so you can >>> accomodate for any captha you want. The idea is that an extension (or >>> even the FORM CE) could request a captcha and would get one if another >>> extension provides it as a service. SO you won't need any hooks. >>> >>> Masi >> >> Hi Masi, >> >> service is indeed a more "advanced" method for overriding it, i like the >> idea. So any further captcha simply adds a service with a higher >> priority. >> >> Do you have started any codings? > > > No, but I did a small research on which PHP bases captchas are available. > Suprisingly few, but using "php" in Google finds for some reasons also > ".php" in the URL, so the results are crap. > > Masi ok, but Bernhard's Code could be used for that because it's long time used captcha that works. I really like the configuration option, where you can configure really everything. I did also some resarch and found very differing approaches, starts with math. (what is 20 + 7) up to audio captcha. Good ressource is found here: http://www.ejeliot.com/pages/2 vg Steffen _______________________________________________ TYPO3-dev mailing list TYPO3-dev@... http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev |
|
|
Re: captcha for coreHi Masi,
Martin Kutschker schrieb: > No, but I did a small research on which PHP bases captchas are > available. Suprisingly few, but using "php" in Google finds for some > reasons also ".php" in the URL, so the results are crap. You can search for intext:php instead. cheers Ingmar -- Ingmar Schlecht TYPO3 Association Active Member _______________________________________________ TYPO3-dev mailing list TYPO3-dev@... http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev |
|
|
Re: captcha for coreSteffen Kamper schrieb:
> "Martin Kutschker" <martin.t.kutschker@...> schrieb im > Newsbeitrag > news:mailman.1.1200172439.16679.typo3-dev@...... >> Steffen Kamper schrieb: >>> "Martin Kutschker" <martin.t.kutschker@...> schrieb im >>> Newsbeitrag >>> news:mailman.1.1200171512.14034.typo3-dev@...... >>>> Steffen Kamper schrieb: >>>>> Hi, >>>>> >>>>> i thought about integration of captcha in core (sysext) and integration >>>>> in formmail, so it can be used, if it's installed. >>>>> I would use the improved version of captcha from Bernhard Kraft [1] >>>>> with little bugfix. >>>> I thought about addiing captchas as a TYPO3 service so you can >>>> accomodate for any captha you want. The idea is that an extension (or >>>> even the FORM CE) could request a captcha and would get one if another >>>> extension provides it as a service. SO you won't need any hooks. >>>> >>>> Masi >>> Hi Masi, >>> >>> service is indeed a more "advanced" method for overriding it, i like the >>> idea. So any further captcha simply adds a service with a higher >>> priority. >>> >>> Do you have started any codings? >> >> No, but I did a small research on which PHP bases captchas are available. >> Suprisingly few, but using "php" in Google finds for some reasons also >> ".php" in the URL, so the results are crap. >> >> Masi > > ok, but Bernhard's Code could be used for that because it's long time used > captcha that works. I really like the configuration option, where you can > configure really everything. It's probably a good one, but the idea of a service is that you can use any implemenmtation you want. Masi _______________________________________________ TYPO3-dev mailing list TYPO3-dev@... http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev |
|
|
Re: captcha for core"Martin Kutschker" <martin.t.kutschker@...> schrieb im Newsbeitrag news:mailman.1.1200217843.3219.typo3-dev@...... > Steffen Kamper schrieb: >> "Martin Kutschker" <martin.t.kutschker@...> schrieb im >> Newsbeitrag >> news:mailman.1.1200172439.16679.typo3-dev@...... >>> Steffen Kamper schrieb: >>>> "Martin Kutschker" <martin.t.kutschker@...> schrieb im >>>> Newsbeitrag >>>> news:mailman.1.1200171512.14034.typo3-dev@...... >>>>> Steffen Kamper schrieb: >>>>>> Hi, >>>>>> >>>>>> i thought about integration of captcha in core (sysext) and >>>>>> integration in formmail, so it can be used, if it's installed. >>>>>> I would use the improved version of captcha from Bernhard Kraft [1] >>>>>> with little bugfix. >>>>> I thought about addiing captchas as a TYPO3 service so you can >>>>> accomodate for any captha you want. The idea is that an extension (or >>>>> even the FORM CE) could request a captcha and would get one if another >>>>> extension provides it as a service. SO you won't need any hooks. >>>>> >>>>> Masi >>>> Hi Masi, >>>> >>>> service is indeed a more "advanced" method for overriding it, i like >>>> the idea. So any further captcha simply adds a service with a higher >>>> priority. >>>> >>>> Do you have started any codings? >>> >>> No, but I did a small research on which PHP bases captchas are >>> available. Suprisingly few, but using "php" in Google finds for some >>> reasons also ".php" in the URL, so the results are crap. >>> >>> Masi >> >> ok, but Bernhard's Code could be used for that because it's long time >> used captcha that works. I really like the configuration option, where >> you can configure really everything. > > It's probably a good one, but the idea of a service is that you can use > any implemenmtation you want. > > Masi yes, but one initial has to be there. I tried it with service, but i have the problem, that you normally call a php-file to generate a pic like <img src="captcha.php" /> I don't have a good idea providing this by a service. Generating and saving the pic before means all integration of stdraphics. Do you have an idea for that? vg Steffen _______________________________________________ TYPO3-dev mailing list TYPO3-dev@... http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev |
|
|
Re: captcha for coreSteffen Kamper schrieb:
> > yes, but one initial has to be there. > I tried it with service, but i have the problem, that you normally call a > php-file to generate a pic like > <img src="captcha.php" /> > I don't have a good idea providing this by a service. Generating and saving > the pic before means all integration of stdraphics. > Do you have an idea for that? eg $srvInst->getImgUrl() Masi _______________________________________________ TYPO3-dev mailing list TYPO3-dev@... http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev |
|
|
Re: captcha for coreMartin Kutschker schrieb:
> Steffen Kamper schrieb: >> >> yes, but one initial has to be there. >> I tried it with service, but i have the problem, that you normally >> call a php-file to generate a pic like >> <img src="captcha.php" /> >> I don't have a good idea providing this by a service. Generating and >> saving the pic before means all integration of stdraphics. >> Do you have an idea for that? > > eg $srvInst->getImgUrl() But some captchas don't have a direct script for an img tag. So the service API would probably have a getCaptcha() method which should render the image or whatever is necessary (eg recaptcha works differently). Masi _______________________________________________ TYPO3-dev mailing list TYPO3-dev@... http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev |
|
|
Re: captcha for coreHi,
>>> yes, but one initial has to be there. >>> I tried it with service, but i have the problem, that you normally >>> call a php-file to generate a pic like >>> <img src="captcha.php" /> >>> I don't have a good idea providing this by a service. Generating and >>> saving the pic before means all integration of stdraphics. >>> Do you have an idea for that? >> >> eg $srvInst->getImgUrl() > > But some captchas don't have a direct script for an img tag. So the > service API would probably have a getCaptcha() method which should > render the image or whatever is necessary (eg recaptcha works differently). yes, there has to be a abstraction layer in the service controller. Just have a look at lib/div for inspiration - there is already a captcha controller present. -- Greetings, Franz _______________________________________________ TYPO3-dev mailing list TYPO3-dev@... http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev |
|
|
Re: captcha for coreFranz Koch schrieb:
> > yes, there has to be a abstraction layer in the service controller. Just > have a look at lib/div for inspiration - there is already a captcha > controller present. Two questions: Do you think it can be turned into a TYPO3 service? And are there any extensions around that couple an external captcha code with this controller? Bonus question: Are you talking about the TER version or the SVN version of lib/div? Masi _______________________________________________ TYPO3-dev mailing list TYPO3-dev@... http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev |
|
|
Re: captcha for coreHi Masi,
>> yes, there has to be a abstraction layer in the service controller. >> Just have a look at lib/div for inspiration - there is already a >> captcha controller present. > > Two questions: > > Do you think it can be turned into a TYPO3 service? sorry, I'm not familiar with the generation of services. > And are there any extensions around that couple an external captcha code > with this controller? as far as I know, unfortunately not. In my case I always used the default 'calculation question' captcha as it is more userfriendly in my eyes. > Bonus question: > > Are you talking about the TER version or the SVN version of lib/div? TER: (http://typo3.org/extensions/repository/view/lib/0.1.0/info/class.tx_lib_captcha.php/); I just noticed, that the captcha class is no controller - sorry for the wrong information - it's been a while since I had a look at that file itself and had it wrong in my mind. But in the class you see, that there are only 2 methods for communication with the calling object (createTest() and ok(), which should better be called isOk() or something). You now might say - hmmm, looks a bit clean, not much configuration options - but as I see it, the methods don't need any further configuration. The label (plus label tag) of the captcha field f.e. is something that has to be handled by the form class calling the captcha service, and something like word length, colors etc. for graphical captchas is something the service object itself has to care about. The only additional parameters given to the captcha service might be the $_POST data for the isOK() method and probably a 'prefix' for the captcha fieldname, which is handled a bit different in lib/div and therefore didn't have to be passed. I'm not sure, but probably Elmar already has improved the captcha class for his new SPL and whatever driven framework 'cool' - but I haven't followed the development of that. Probably somebody should ask him. Hope that helps. -- Greetings, Franz _______________________________________________ TYPO3-dev mailing list TYPO3-dev@... http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev |
| Free embeddable forum powered by Nabble | Forum Help |