× Joomla Facebook Connect support forum

Topic-icon Problem after switching from Community Builder to JomSocial

Active Subscriptions:

None
15 years 9 months ago - 15 years 9 months ago #4499 by Xianti
Hello.

I have successfully installed JFBConnect and placed the JFBLogin module into a page on my site. I had previously installed Community Builder and successfully integrated JFBConnect to work with it. I have since switched to JomSocial and uninstalled Community Builder. I've now integrated JFBConnect with JomSocial. Problem now occurs after the FB authentication and JFBLogin's new user registration is completed. I get the below error:

Warning: require_once(/home2/shaggyd1/public_html/administrator/components/com_comprofiler/plugin.foundation.php) [function.require-once]: failed to open stream: No such file or directory in /home2/shaggyd1/public_html/components/com_jfbconnect/libraries/communitybuilder.php on line 30

Fatal error: require_once() [function.require]: Failed opening required '/home2/shaggyd1/public_html/administrator/components/com_comprofiler/plugin.foundation.php' (include_path='.:/home2/shaggyd1/public_html/plugins/system:.:/usr/lib64/php:/usr/lib/php') in /home2/shaggyd1/public_html/components/com_jfbconnect/libraries/communitybuilder.php on line 30

The integration with JomSocial and profile import/connection with JS and FB appear to be working, as when I go back to the main page after the above error shows, the profile has been created in JomSocial, along with the profile avatar/info from Facebook.

How do I correct what appears to be legacy code remaining from the former Community Builder integration?

Thank you.


www.urbanoutbacker.com/

Click "Login" to get to the JFBCLogin form.
Last edit: 15 years 9 months ago by Xianti.
The topic has been locked.
Active Subscriptions:

None
oh... here's the site:
www.urbanoutbacker.com/

Click "Login" to get to the JFBCLogin form.
The topic has been locked.
Support Specialist
Yes, this problem can occur if you have enabled Community Builder integration and then uninstalled CB. To fix, please do the following:
  • Edit the file /administrator/components/com_jfbconnect/views/communitybuilder/tmpl/default.php
  • At about line 21, there's an "if ($communityBuilderDetected)" statement. Change this to "if (true)"
  • Now, in the administrator area, go to the Community Builder tab in JFBConnect and turn Off CB integration

  • If this doesn't make sense or you'd like assistance doing this, let us know. We may try to add a bypass in the future to allow access to these settings even if we don't detect CB, JS, or Kunena installed to prevent this type of problem.

    Let us know how it goes!
    The topic has been locked.
    Active Subscriptions:

    None
    That worked! Thanks so much.
    The topic has been locked.
    Support Specialist
    Glad to hear it helped! Hope you continue to enjoy JFBConnect. As always, if you're satisfied with the component and our support, we'd love a review on the JED.

    If you need anything else, you know where to find us :)
    The topic has been locked.