Topic-icon Registration – Login with Facebook

Active Subscriptions:

None
13 years 4 months ago #30145 by cemfir
Speifikation:
- Joomla! 2.5.8 Stable
- PHP Version: 5.3.3-7 + squeeze14
component:
- JomSocial version: 2.6.2
- gantry
- JFBConnect

Click on "Login with Facebook" for re-registration goes to the registration page. Above with the message:

Warning: explode () expects parameter 2 to be string, array given in / var / www / vhosts / vayvay.at / public_html / components / com_community / libraries / fields / url.php on line 39
Warning: implode (): Invalid arguments passed in / var / www / vhosts / vayvay.at / public_html / components / com_community / libraries / fields / url.php on line 39

Please help.

Greetings from Vienna.

File Attachment:
The topic has been locked.
Support Specialist
13 years 4 months ago #30155 by alzander
Cem,
This is an issue with the JFBConnect JomSocial profile plugin. It will be fixed in the upcoming v5.0 release of JFBConnect. To fix now, you can either:
* Not import any information into URL type fields in JomSocial
* Edit the /plugins/jfbcprofiles/jomsocial/jomsocial.php file. Around line 162, you'll see:
if ($showHiddenField)
                {
Add 2 lines above that, so it looks like the below:
if ($field->type == "url" && is_array($fieldValue))
                      $fieldValue = implode("", $fieldValue);
                if ($showHiddenField)
                {
Hope one of those help. If not, let us know.

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

None
13 years 4 months ago #30168 by cemfir
Hi Alex,
thank you for your reply.
In Jomsocial, Custom Profiles I sat as "COM_COMMUNITY_FIELD_GENDER". When I go to edit profile, as does the translation.

But when registering through Facebook, some texts are not translated. (Registration link: index.php / component / jfbconnect / view = login & return = register L2luZGV4LnBocA ==)
See attached picture.

Request for assistance.
Greetings from Vienna.
Cem.

File Attachment:
The topic has been locked.
Support Specialist
13 years 4 months ago #30173 by alzander
What language file are the COM_COMMUNITY_FIELD_GENDER and FIELD_RELATIONSHIP keys defined in? We load the standard JomSocial language files in our plugin. If those strings are in a different file, we'd need to help you make sure those are loaded on the page too.

Can you let me know if the url fix above worked for you?

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

None
13 years 4 months ago #30179 by cemfir
The language file are the keys defined in COM_COMMUNITY_FIELD_GENDER and FIELD_RELATIONSHIP standard JomSocial language files.

URL fix:
I turned off the chapcha, then I had no more errors.
But I've implemented your suggestion anyway.
Thanks, Cem
The topic has been locked.
Support Specialist
13 years 4 months ago #30282 by alzander
I'm not sure why those strings aren't being picked up properly. Can you let me know where the "Getburstadum" string is defined? If that's in the same file, then there shouldn't be any reason other strings aren't used unless there's an issue with your strings, like an extra quotation mark " or something that's causing problems parsing the file.

Our Profile plugin loads the standard JomSocial language files so if all those strings are defined there, as long as there aren't issues in the file, they should all be used as expected.

Hope that helps,
Alex
The topic has been locked.