Page 1 of 1

Captcha and Registered users

Posted: 29 Jan 2009, 16:21
by DiStefano
Hi,

I have a small community website running and have recently started experimenting with phoca guestbook. I Like it a lot, but I would like to know if it's possible to not display the captcha once people are logged in and are Registered. I do want to have the captcha for guests, but for the people that are already logged in it is inconvenient and less usefull. Therefor I would to know if this is possible to achieve? Guests get to see captcha, Registered users not...

Greetings,
Fabian

Re: Captcha and Registered users

Posted: 30 Jan 2009, 23:59
by DiStefano
I have tried making the outcome of the $require['captcha'] tag dependent on the id of the user with this code, but it doesn't solve the issue at hand.

Code: Select all

		if ($params->get( 'enable_captcha' ) != '')				{
			if ( $user->id > 0 )
			{
				$require['captcha'] = 0;
			}
			else
			{
				$require['captcha'] = $params->get( 'enable_captcha' );}
		}
		else 												{$require['captcha'] = 1;}


Am I overlooking something? I am clueless like Shaggy and Scooby before the commercial break!

Re: Captcha and Registered users

Posted: 01 Apr 2009, 11:17
by Vlistomatic
I'm also waiting for a feature like this. Unfortunately, I don't understand a single line of PHP code, so i can't make it myself or help you. keep me updated in case you managed it to work

Re: Captcha and Registered users

Posted: 01 Apr 2009, 19:55
by Jan
Hi, added into the feature request list, Jan