Re: [xwiki-users] CAPTCHA for comments and registration

2007-11-06 Thread Guillaume Lerouge
You can use this (with the plugin enabled): #if ($xwiki.jcaptcha.verifyCaptcha(CaptchaName)) The code for the action that needs to be captcha protected goes here (like for sending a form for instance) form ... ##$xwiki.jcaptcha.displayCaptcha(CaptchaName, ) br / #if

Re: [xwiki-users] Disable and hide comments

2007-11-06 Thread Vincent Massol
Would be great if you guys could summarize all this on xwiki.org. I'd put it in the existing configuration guide (in the Admin space). WDYT? Any volunteer? Thanks -Vincent On Nov 6, 2007, at 11:37 AM, V. Harikrishnan Nair wrote: Just for your information - After following Sergiu's steps,

Re: [xwiki-users] Login counter

2007-11-06 Thread Arnaud Bourree
Hi, If you activate statistic, you will have Login Counter See http://www.xwiki.org/xwiki/bin/view/AdminGuide/Configuration section Enabling/Disabling Statistics And a sample code: 1.1 Last user connected % sql = select stats.name, max(stats.endDate) from VisitStats as stats group by

Re: [xwiki-users] CAPTCHA for comments and registration

2007-11-06 Thread marlon hendred
Thanks for the response. So I got the captcha to show up but I still have some questions. what is CaptchaName? Just an arbitrary string? and what args does displayCaptcha() take? What other methods does jcaptcha have? Is there some sort of documentation somewhere that I could look at on this?