Topic-icon Social Profile Plugins for 5.1.2

Active Subscriptions:

None
10 years 6 months ago #38120 by keenmouse
I haven't seen the social profile plugins included with the download for Joomla 2.5 since JFBConnect 5.0.1. Should I be using the 5.0.1 plugins? If so, it's good that I kept my 5.0.1 download; is there still a download available for anyone who doesn't already have it?
The topic has been locked.
Support Specialist
10 years 6 months ago #38123 by alzander
The installer was completely revamped with the v5.1 release to install everything with the one zip file. Your social profile plugins should be automatically installed or upgraded when you install the component. There are checks in the installer to make sure that you have, for instance, JomSocial installed before we actually install that plugin though.

If it seems like they're not being upgraded, or you're having issues, just let me know.

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

None
10 years 5 months ago - 10 years 5 months ago #38274 by fb_100000157901698
That option is causing me some problems.

I've installed 5.1.2 on J3, and my custom social profile is not working, due to "undefined method JFBConnectProfileLibrary::getInstance()" error.

I need access to either proper documentation, or (as in the past) access to the social profiles source code to study and understand how to keep my code working...
I it is not good policy to force users install JoomSocial, CB or any other component I do not use only to be allowed to access the code...

You should really consider providing proper API documentation... its a HUGE effort to go read your code every time I upgrade, since it's quite common to have my custom social profiles breaking down as a consequence of upgrading :(
Luckly, your code is really nice and clean to read, but even so...

Thanks
Last edit: 10 years 5 months ago by fb_100000157901698.
The topic has been locked.
Support Specialist
10 years 5 months ago #38281 by alzander
Alexandre,
The profile plugins are still all in the component zip file. Unzip it, and you'll find them all in /admin/install/packages/socialprofiles. We understand it'd be nice in limited cases to have them automatically installed, but we've had very good feedback that we aren't installing completely unusable plugins on sites as well. It's a balance we've had to strike between the previous "you install everything manually and tediously" and installing everything automatically.

As for the updates to the socialprofiles, we agree, it's changing a lot recently. Most of that is to support new network providers as easily as possible. Things are stabilizing, and we are planning better developer documentation later this year (after the v5.2/Twitter release comes out in early November). The v5.2 release will also have 2 new plugins that will be always installed:
* CustomDB - This will let you set a database table on your site to store profile information into. You may be able to use this plugin (depending on your needs) without modifying code at all.
* Joomla - This enables integration with the User - Profile plugin from Joomla. It's not the greatest profile system, but we had a decent amount of requests to support it.

The JFBConnectProfileLibrary::getInstance() error is a bug. We added backward compatibility to the v5.1 release, but it's not perfect, as you can see. The easiest way to fix that code, though, is to update it to:
$profileLibrary = JFBCFactory::provider('facebook')->profile;
The nice thing is that that works for 'facebook' or 'google' or 'twitter' (soon). That's the cause of a lot of changes is to simplify things like that, but it's causing a little bit of rough edges during the transition from Facebook-only to all social networks, and I apologize for that.

The good news is that there are many fewer changes in the 5.2 release. The biggest you'll run into, just to warn you, is the move to config.xml (JForm) files for the configuration options in the Social Profile plugins. It makes add/changing options much easier, but you'd need to create that XML file first to use it.

I hope that helps explain, but as always, feedback is welcome.

Thanks,
Alex
The topic has been locked.