function isHidden() { $user =& JFactory::getUser(); $params =& $this->getParams(); if ($user->id != 0) { if ($params->get('captcha-showloggedin', 0) == 0) { return true; } } return parent::isHidden(); }