Topic-icon User registration using Twitter

Active Subscriptions:

None
9 years 2 months ago #51615 by sougatab
Hi,

I have configured JFBConnect in my website. If I register a new user using twitter account I got below message.

" Your account has been created and an activation link has been sent to the email address you entered. Note that you must activate the account by clicking on the activation link when you get the email before you can login.

Facebook profile successfully connected."

And I checked the mail user name is "twitter" and password is "username"(username that entered while registration).

I'm not able to login with this user account and password.

Attached screenshots

1. Profile successfully created.

File Attachment:


2. Username and password received in mail.

File Attachment:


Help me to resolve this issue.

Regards,
Ashwin KS
The topic has been locked.
Support Specialist
9 years 2 months ago #51619 by mel
Replied by mel on topic User registration using Twitter
Please verify 1) after clicking the activation link in the email that the user is enabled in the Joomla Users Manager and 2) both the JFBConnect authentication and user plugins are enabled.

Also, I'm confused, you say that you're authenticating with a Twitter account, but that it says the Facebook profile is connected?

-Melissa
The topic has been locked.
Support Specialist
9 years 2 months ago #51623 by alzander
You've been using JFBConnect for quite some time. Can you tell me if this is the first time you've configured Twitter, or if this is something that just broke recently? That will help us narrow things down.

The message shown in the blue box indicates that you have email activation enabled in Joomla. Can you tell me:
* Does the email you receive have an activation link?
* If you go to the Joomla User Manager, is the user already activated?
* Do you have any 3rd party profile extensions, like Community Builder, JomSocial, EasySocial or others?

Let us know and we'll gladly help however we can.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
9 years 2 months ago #51644 by sougatab
Hi Alex,

Previously we have only configured only facebook. I recently configured twitter in JFBConnect.
After successfully registered with Twitter its showing "Facebook profile successfully connected".

Thanks,
Ashwin KS
The topic has been locked.
Support Specialist
9 years 2 months ago #51646 by mel
Replied by mel on topic User registration using Twitter
Could you PM me super admin credentials to your backend, and if possible, also FTP credentials? I was able to reproduce the strange behavior on your site - the username that was created was twitter (and not what I entered), logging in again gives me a popup on on the JomSocial page that when I close it gives an error about an invalid user ID, message about Facebook profile even though Twitter was used.

Could you also verify the following language file entries in language/en-GB/en-GB.com_jfbconnect.ini to make sure the Facebook hasn't been hardcoded in your file:
COM_JFBCONNECT_MAP_USER_SUCCESS="%s profile successfully connected."
and
COM_JFBCONNECT_EMAIL_REGISTERED_WITH_ADMIN_ACTIVATION_BODY="Hello %s,\n\nThank you for registering at %s. Your account is created and must be verified before you can use it.\nTo verify the account click on the following link or copy-paste it in your browser:\n %s \n\nAfter verification an administrator will be notified to activate your account. You'll receive a confirmation when it's done.\nOnce that account has been activated you may login to %s using your %s credentials or the following username and password:\n\nUsername: %s\nPassword: %s"

-Melissa
The topic has been locked.
Active Subscriptions:

None
9 years 2 months ago #51648 by sougatab
Hi Mel.

I have checked the language file its not hard coded. I got below result from my search :

COM_JFBCONNECT_MAP_USER_SUCCESS
%s profile successfully connected.

COM_JFBCONNECT_EMAIL_REGISTERED_WITH_ADMIN_ACTIVATION_BODY
Hello %s,\n\nThank you for registering at %s. Your account is created and must be verified before you can use it.\nTo verify the account click on the following link or copy-paste it in your browser:\n %s \n\nAfter verification an administrator will be notified to activate your account. You'll receive a confirmation when it's done.\nOnce that account has been activated you may login to %s using your %s credentials or the following username and password:\n\nUsername: %s\nPassword: %s

Thanks,
Ashwin KS
The topic has been locked.
Support Specialist
9 years 2 months ago #51652 by alzander
Also, have you made any edits to JFBConnect core files at all? One recommendation would be to re-install the latest release (v6.2.4) to ensure that all files are up to date.

I can't think of any reason that the username would be fixed to "twitter". There's nothing in our code that would try to set the username to the name of the social network, and I can't think of any extensions that could conflict with JFBConnect to try to do that either.

Thanks,
Alex
The topic has been locked.
Support Specialist
9 years 2 months ago #51703 by mel
Replied by mel on topic User registration using Twitter
Issue 1: Language Strings
After some investigation, your language strings are incorrect because you have created an override language file at /language/overrides/en-GB.override.ini and had hard-coded the provider to Facebook. This may have worked previously when you were just using Facebook, but won't anymore since you are trying to use multiple providers. I have updated the COM_JFBCONNECT_EMAIL_REGISTERED_WITH_ACTIVATION_BODY and COM_JFBCONNECT_MAP_USER_SUCCESS keys, but you will need to go through this file and fix all of the items that are hardcoded improperly.

Issue 2: Logging in again
After creating and activating a user, your site will not log in properly via either Joomla credentials or social network credentials. I have verified that this not caused by JFBConnect by disabling all of JFBConnect's plugins (which effectively disables JFBConnect from working). The strange behavior still exists when those are disabled, indicating that it's another extension or your Joomla configuration causing the issue. You will need to narrow down why this isn't working, but it does not seem to be related to us at all. FYI - after my test, I have re-enabled our plugins and re-enabled your caching.

-Melissa
The topic has been locked.