Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

Registration Error

8 years 10 months ago
  • Luna's Avatar
    Topic Author
  • Luna
  • Offline
  • Fresh Boarder
  • Thank you received: 0
Licenses:
JomSocial Expired

ISSUE SUMMARY: I keep getting this login error when using the register with facebook plugin. Please help out with how to fix this issue


STEPS TO REPLICATE:
1
2
3
4
5
RESULT
EXPECTED RESULT
BROWSER

Attachments:
8 years 10 months ago
Licenses:

Hi,

that because some facebook permission has been depreacated.
please edit:
/components/com_community/templates/jomsocial/layouts/facebook.button.php

around line 62, find this code

<?php

    $fbScope = array('offline_access','email');
    $config = CFactory::getConfig();
    if($config->get('fbconnectupdatestatus')){
        $fbScope[] = 'user_status';
        $fbScope[] = 'status_update';
        $fbScope[] = 'read_stream';
    }
    if($config->get('fbconnectpoststatus')){
        $fbScope[] = 'publish_stream';
    }
    if($config->get('fbsignupimport') || $config->get('fbloginimportprofile')){
        $fbScope[] = 'user_birthday';
        $fbScope[] = 'user_about_me';
        $fbScope[] = 'user_website';
        $fbScope[] = 'user_education_history';
    }
?>

changing it to
<?php

    $fbScope = array('email');
    $config = CFactory::getConfig();
    if($config->get('fbconnectupdatestatus')){
        $fbScope[] = 'user_status';
        //$fbScope[] = 'status_update';
        $fbScope[] = 'read_stream';
    }
    if($config->get('fbconnectpoststatus')){
        $fbScope[] = 'publish_actions';
    }
    if($config->get('fbsignupimport') || $config->get('fbloginimportprofile')){
        $fbScope[] = 'user_birthday';
        $fbScope[] = 'user_about_me';
        $fbScope[] = 'user_website';
        $fbScope[] = 'user_education_history';
    }
?>

Regards

The following user(s) said Thank You: Ronnie, Oliver, Steve, Paco, Murad, Luna, SUIRE
Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW