× Joomla Facebook Connect support forum

Topic-icon Require Admin Approval set to "NO", but it continues to ask for it...

Active Subscriptions:

None
... but it keeps asking for both. (Using Community Builder)

I want people to be able to register using facebook, by only pressing the button, but it keeps telling me
"This user has not yet confirmed his email address and account!
This user has not yet been approved by a moderator!"

I just can't find the problem!
The topic has been locked.
Support Specialist
Usually, that's caused by a required field in CB that isn't getting any data imported into it. CB is extremely picky and won't save the user if there is no data for a field marked as required. So, you'll need to either unmark your field as required, make sure there is a mapping setup for it, or use the Normal Registration flow to let the user fill that field out. For more information on that, see:
www.sourcecoast.com/jfbconnect/docs/thir...or-community-builder

Finally, make sure the "Skip CB Activation" setting is enabled, not just the Require Admin Approval. CB has it's own activation system in addition to Joomla's, so you need to disable that in JFBConnect as well.

Hope that helps,
Alex
The topic has been locked.
Active Subscriptions:

None
Hi! Thanks for the quick reply!
I unmarked all fields as required, (including username, password..), "Skip CB Activation" is also enabled...
... but I'm still getting the same result!
The topic has been locked.
Active Subscriptions:

None
One more thing at "Profiles>communitybuilder> Skip CB Activation: " the Info tab uses the expression "Set to yes", but the options are "Skip" and "Show", so it's not very clear (at least for me that I'm not a English Native Speaker) if the "Set to yes" refers to "Skip" or "Show". Maybe it would be a nice idea to change the text in one next update.
The topic has been locked.
Support Specialist
Francisco,
Sorry about the naming there. Not sure why it's like that, but it will be fixed in the next release. To skip, you should set that value to 'Skip'.

Not sure what else would be causing that problem. We haven't heard of other causes for that problem, but CB can be picky sometimes. Would it be possible to send us a set of Super Admin credentials so we can get in and understand your configuration? You can Private Message me by clicking the arrow under my name (<
) and hitting the mail icon.

Thanks,
Alex
The topic has been locked.
Support Specialist
Francisco,
Thanks for the credentials. We've done *a lot* of testing and found the cause, but aren't sure of why your site is behaving different than others. For some reason, CB on your site won't save the email address that we're providing from Facebook. I've never seen anything like that before. However, we implemented a very easy fix with a minor mod to CB. For now, things work. But if you upgrade CB, you'll need to make the same change if we can't figure out the cause of the problem and implement a workaround on our side.

The fix is in the /administrator/components/com_comprofiler/library/cb/cb.tables.php file at line 999. We added the "$this->email = $array line. So, with a few lines above and below, the code now looks like:
$this->_cbTabs					=	new cbTabs( 0, $ui, null, false );
		$this->_cbTabs->saveTabsContents( $this, $array, $reason );
		$errors							=	$_PLUGINS->getErrorMSG( false );
                $this->email = $array['email']; /////////// WE ADDED THIS
		if ( count( $errors ) > 0 ) {
			$this->_error				=	$errors;
			return false;
		}
That line basically just forces the email to what we provided, though CB normally does this automatically.

Do you know of any ways your CB is configured differently than a standard installation? Any CB plugins that are different or anything else regarding registration that may help us understand more would be great.

Anyways, you are setup for now. We'll try a little more to recreate the issue on our end, but for now, this is just an unknown for us. Hopefully the simple solution above will continue to work for you without any issues.

Keep us posted, and best of luck!
Alex
The topic has been locked.
Active Subscriptions:

None
Dear Alex,

Thank you very much for solving the problem.
I don't have a clue about what can be wrong or different in my site... But I'll leave the admin account on, so feel free to test what you need there, if you want to find the problem so it doesn't happen to more people in the future.

Cheers,
Francisco
The topic has been locked.