how to configure CB Facebook Connect

9 years 4 months ago - 9 years 4 months ago #167782 by krileon
Replied by krileon on topic Re: how to configure CB Facebook Connect
Please ensure you've latest release of CB Connect installed. Once done you need to create a new field of type "Facebook Social Plugin". Then from the drop-down select "Invite" under the "SITE" scope. This will give you a field that'll allow your users to invite their Facebook friends. Please note they have depreciated the API that the Invite feature uses and may or may not work exactly as expected.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

9 years 3 months ago #167935 by ciolloservice
Replied by ciolloservice on topic Re: how to configure CB Facebook Connect
ok thank you, I updated CB and now it work! How can I modify the language and some parameters of the FB plugins, for example with of the FB Friends Invite plugin?

Please Log in to join the conversation.

9 years 3 months ago #167981 by krileon
Replied by krileon on topic Re: how to configure CB Facebook Connect
Social Plugins are just text files where are parsed and rendered as jQuery. You can find and edit them within the below directory.

components/com_comprofiler/plugin/user/plug_cbconnect/facebook/social_plugins/

Please keep in mind the invite plugin was a painful process to create. It is using depreciated API, which Facebook has yet to replace and you'll have little control in its configuration.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

9 years 3 months ago - 9 years 3 months ago #168050 by ciolloservice
Replied by ciolloservice on topic Re: how to configure CB Facebook Connect
then I can't translate the text that you can see in the attach image, and resize the width of the fb window?

Attachments:

Please Log in to join the conversation.

9 years 3 months ago #168080 by krileon
Replied by krileon on topic Re: how to configure CB Facebook Connect

then I can't translate the text that you can see in the attach image, and resize the width of the fb window?

As far as I am aware none of which you can do without massive work to the plugin. You can try loading a different localization of Facebooks JS API, but that may or may not work. As I've stated this is depreciated API (they no longer support, maintain, fix, etc.. it) and until they've replaced it with a valid social plugin it's in a state of "as good as it gets". Believe me I wasn't pleased with the results, but it was working which makes a lot of difference when users want FB invites.. to achieve working required 3-4 full days.

You can edit the invite.txt and change some of the strings, but not all of them as not all of them are defined by the social plugin it self. Some are just sent back from Facebook, which would require localization of their JS API.

The below strings can be changed.

"content" attribute: (contents of the msg the user will receive at Facebook)
You have been invited to join [site_url]!

"label" attribute: (what the button will say to click to go to your site at Facebook in the msg user will receive)
Website

"aciontext" attribute: (header in invite display)
Invite your friends from Facebook.

Not logged in message:
Please sign in with Facebook to invite.

Aside from the above there's no easy way to translate the rest.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.497 seconds

Facebook Twitter LinkedIn