Hey everyone,

I realize that this module is still quite new, but with the beta release of Drupal 7 right around the corner, I wanted to see if anyone had begun planning a Drupal 7 port.

Our shop has mostly shifted to Drupal 7 development and I 'm interested to learn if any work has begun on D7....

Thanks,
Ben

Comments

chia’s picture

+1

mchelen’s picture

subscribing

davebv’s picture

+1

dre2phresh’s picture

+1

ramper’s picture

+1

will_in_wi’s picture

Version: 6.x-1.0-beta2 » 6.x-1.x-dev
Category: support » task

Subscribing

max6166’s picture

+23

kodo’s picture

Its will be very nice! +1

tsvenson’s picture

+1 Like

daniel wentsch’s picture

Subscribing

sammyman’s picture

subscribing.

luco’s picture

+1
and if there were an "I like" button here I'd totally press it ;]

Anonymous’s picture

Subscribing.

We could also just being a port of the module. There is clearly a lot of interest and I'm sure there are a few talented coders among us.

ferdi’s picture

I'm going to do some code changes in a 6--2 branch and porting to D7 soon

jbfelix’s picture

+1

jeffl8n’s picture

+1

mileZ’s picture

+1

olax’s picture

+1

jscm’s picture

+1000

This is a GREAT Module...
I will wait D7 porting.

wilgrace’s picture

+1

negatifo’s picture

+1

jaakko’s picture

+1

sea4’s picture

+1

joelbindi’s picture

+1 ! thanks

yareckon’s picture

thank you!

saratt’s picture

subscribe

jscm’s picture

hi,
I'm waiting this porting before upgrade all my websites at Drupal 7.
How mutch time is required to complete porting?
Can you say us when it will be available?
thank you for your important module.

pragnatek’s picture

+1

ccheu’s picture

+1

cpaks’s picture

Subscribing

elgandoz’s picture

great module. Sub

Cliffy’s picture

+1

dgastudio’s picture

+1

tomceek’s picture

+1

flokli’s picture

subscribe

Aso’s picture

+1

jscm’s picture

Priority: Normal » Major

+1

andrea.corelli’s picture

+1
(wonderful job so far!)

TribalMan’s picture

subscribing

bluegray’s picture

+1

luco’s picture

StatusFileSize
new18.47 KB

I don't have barely any experience with PHP whatsoever, let alone Drupal's API.

tinkering with the code, I was able to make the module appear, but not work, in D7 - except that you can't turn on all submodules (only comments, like and share) because of a conflict with line 2317 of theme.inc.

other than changing drupal core version in .info files, I replaced node_get_types('names') with node_type_get_names().

'page callback' => 'drupal_get_form' must be replaced with something else, but I wasn't able to make much from http://drupal.org/node/224333#unrendered.

anyone else wanna have a look at it? see the attachment.

BenK’s picture

For those who need to integrate with Facebook right away, you should check out the Janrain Engage module (http://drupal.org/project/rpx). There's already been one stable release for Drupal 7 and the development of new features is proceeding very quickly.

The Janrain Engage module supports integration with Facebook, Twitter, Myspace, Google, Yahoo!, and many other identity providers. (Currently, 18 different social networks and service providers are supported.) You can also choose to just use the Facebook integration features if you prefer.

The great thing about the module is that both authentication (logging in via Facebook) and social sharing (posting content and comments back to Facebook) is supported out of the box if you enable those features.

Cheers,
Ben

luco’s picture

@BenK thanks! but in my case I prefer not to rely on a third-party service to integrate with facebook.

it's just me, I'm a ctrl+freak ;] great module though.

cheers

dre2phresh’s picture

Especially a third-party service you'd have to pay for to get any real use out of. I use the Service Links module for now for Facebook like/share. Hopefully the developer of this module will have a D7 version up soon.

robert broen’s picture

Version: 6.x-1.x-dev » 6.x-6.x-dev

+1

dre2phresh’s picture

D7 Dev version posted http://drupal.org/node/1067828

luco’s picture

@dre2phresh @ferdi thanks :]] gonna test it right away ~/o/

luco’s picture

@dre2phresh I installed the module and got some error messages relating to blocks.

here's the errors I got from enabling the module:

    * Notice: Undefined variable: blocks in fb_social_block_info() (line 102 of (...) /sites/all/modules/fb_social/fb_social.module).
    * Warning: Invalid argument supplied for foreach() in _block_rehash() (line 386 of (...) /modules/block/block.module).

and social comments:

    * Notice: Undefined variable: presets in fb_social_comments_block_info() (line 30 of (...) /sites/all/modules/fb_social/modules/fb_social_comments/fb_social_comments.module).
    * Warning: Invalid argument supplied for foreach() in fb_social_comments_block_info() (line 30 of (...) /sites/all/modules/fb_social/modules/fb_social_comments/fb_social_comments.module).
    * Notice: Undefined variable: blocks in fb_social_comments_block_info() (line 37 of (...) /sites/all/modules/fb_social/modules/fb_social_comments/fb_social_comments.module).
    * Warning: Invalid argument supplied for foreach() in _block_rehash() (line 386 of (...) /modules/block/block.module).

when you edit a preset, here's what you get:

    * Warning: call_user_func(_fb_social_comments_fb_attrs_form) [function.call-user-func]: First argument is expected to be a valid callback in fb_social_attrs_form() (line 337 of (...) /sites/all/modules/fb_social/fb_social.module).
    * Warning: call_user_func(_fb_social_comments_fb_defaults) [function.call-user-func]: First argument is expected to be a valid callback in fb_social_attrs_defaults() (line 327 of (...) /sites/all/modules/fb_social/fb_social.module).
    * Warning: Invalid argument supplied for foreach() in fb_social_ctools_export_ui_form() (line 102 of (...) /sites/all/modules/fb_social/plugins/export_ui/fb_social_ctools_export_ui.inc).
    * Warning: call_user_func(_fb_social_comments_settings_form) [function.call-user-func]: First argument is expected to be a valid callback in fb_social_settings_form() (line 347 of (...) /sites/all/modules/fb_social/fb_social.module).
    * Warning: Invalid argument supplied for foreach() in fb_social_ctools_export_ui_form() (line 116 of (...) /sites/all/modules/fb_social/plugins/export_ui/fb_social_ctools_export_ui.inc).
    * Notice: Undefined index: always_post_to_friends in fb_social_ctools_export_ui_form() (line 104 of (...) /sites/all/modules/fb_social/plugins/export_ui/fb_social_ctools_export_ui.inc).

changing the preset yields the following errors:

comments plugin:
[also, page won't load.]

    * Notice: Undefined variable: tags in fb_social_like_init() (line 35 of (...) /sites/all/modules/fb_social/modules/fb_social_like/fb_social_like.module).
    * Notice: Undefined index: node_types in fb_social_comments_type() (line 153 of (...) /sites/all/modules/fb_social/modules/fb_social_comments/fb_social_comments.module).
    * Warning: array_filter() [function.array-filter]: The first argument should be an array in theme_fb_social_preset() (line 223 of (...) /sites/all/modules/fb_social/fb_social.module).
    * Warning: array_merge() [function.array-merge]: Argument #1 is not an array in theme_fb_social_preset() (line 224 of (...) /sites/all/modules/fb_social/fb_social.module).
    * Recoverable fatal error: Argument 1 passed to drupal_attributes() must be an array, null given, called in (...) /sites/all/modules/fb_social/fb_social.module on line 225 and defined in drupal_attributes() (line 2258 of (...) /includes/common.inc).

Likebox:

Notice: Undefined variable: tags in fb_social_like_init() (line 35 of (...) /sites/all/modules/fb_social/modules/fb_social_like/fb_social_like.module).

livestream button:

Notice: Undefined variable: tags in fb_social_like_init() (line 35 of (...) /sites/all/modules/fb_social/modules/fb_social_like/fb_social_like.module).

recommendations button:

Notice: Undefined variable: tags in fb_social_like_init() (line 35 of (...) /sites/all/modules/fb_social/modules/fb_social_like/fb_social_like.module).

hope this helps.

cheers

ferdi’s picture

The 7--2 version is more stable now. It would be great to give it a try and do some testings.
thanks!

luco’s picture

@ferdi will do. I just use the like button (and also I'm very busy lately) but I'll make some time for it.

3rdLOF’s picture

Errors in #48 persist in latest dev version, though they only seem to happen in a few occasions such as running cron, clearing the cache, installing modules and a few others.

perandre’s picture

Version: 6.x-6.x-dev » 7.x-2.x-dev

I also get the errors in #48 as stated by kannary. Any thoughts on the further dev of this module on d7?

Roavei’s picture

getting the same errors like in #48 - any news on this?

bluegray’s picture

StatusFileSize
new3.21 KB

Open Graph meta tags weren't added because of changes in D7. Fixed that and added option to add a default og:image tag in settings.
Just a quick diff, it works for me, but I'm sure it can be improved on.

BTW. Tried to add a file upload field in the settings form for the default og:image but looks like fb_social uses ctools for forms and I have no experience with that, so it's just a text field ;)

electroponix’s picture

getting the same errors. will have to go back to my homegrown for now.

gloomcheng’s picture

Same error with #48, subscribing

ferdi’s picture

Note that "comments" is not been upgraded to D7 yet. I'm not sure why drupal is ignoring core = 6.x in the info file.

andrea.corelli’s picture

Here is what I get when enabling a likebox:

    Warning: call_user_func() expects parameter 1 to be a valid callback, function '_fb_social_comments_fb_attrs_form' not found or invalid function name in fb_social_attrs_form() (line 312 of [...]/sites/all/modules/fb_social/fb_social.module).
    Warning: call_user_func() expects parameter 1 to be a valid callback, function '_fb_social_comments_fb_defaults' not found or invalid function name in fb_social_attrs_defaults() (line 302 of [...]/sites/all/modules/fb_social/fb_social.module).
    Warning: Invalid argument supplied for foreach() in fb_social_ctools_export_ui_form() (line 105 of [...]/drupal-7.0/sites/all/modules/fb_social/plugins/export_ui/fb_social_ctools_export_ui.inc).
    Warning: call_user_func() expects parameter 1 to be a valid callback, function '_fb_social_comments_settings_form' not found or invalid function name in fb_social_settings_form() (line 322 of [...]/sites/all/modules/fb_social/fb_social.module).
    Warning: Invalid argument supplied for foreach() in fb_social_ctools_export_ui_form() (line 119 of [...]/sites/all/modules/fb_social/plugins/export_ui/fb_social_ctools_export_ui.inc).
    Notice: Undefined index: event_app_id in fb_social_ctools_export_ui_form() (line 107 of [...]/sites/all/modules/fb_social/plugins/export_ui/fb_social_ctools_export_ui.inc).

When I assign the likebox block to a visible region it shows nothing in the block content area (just the block title). Here is the example: http://www.modamusicgroup.com/

Am I doing something wrong?
Thanks for your help.
Andrea

ferdi’s picture

@andrea ,no you are not doing anything wrong. It looks like it's a bug. The module is outputing 'likebox' instead of 'like-box'. Will fix asap.
Thanks!

laVera’s picture

+1

bennash’s picture

+1

Carlos Miranda Levy’s picture

Tested last version.
Once enabled it doesn't show under config or anything. Tried core and likebox modules.

liupascal’s picture

Works fine for me, under admin/structure menu

kifuzzy’s picture

#58 like

i have a subdomain with a garland minimal installation / testing out this module again.
it works yesterday.

i have installed the module via online link - "installing new module - copying the link
form drupal.org to the dev file - paste it and run install the module.

errors errors... trying trying ..

look to status reports - seen that a version from date 28 of Juny was installed.
just updating to the one from july solved some problems.

crazy :-)

p.s.:
some .. else ..like http://drupal.org/node/1219678#comment-4740106 helped.
nice module

edit:
sometimes, a message popup is there where is to read "error: please change the user" :)

yareckon’s picture

Title: Drupal 7 port » Drupal 7 port - Facebook Social Plugins

changing title to make scannable from d.o. dashboard

Laza’s picture

subscribe

feconroses’s picture

Suscribe!

ferdi’s picture

Status: Active » Closed (fixed)

alpha2 is released. Please test and open specific issues. Closing this one for now.