Hi.
Please, read:
www.jomsocial.com/forum/facebook-connect...s-read-stream#138129
Hi.
Did you customized anything in template code?
I COMPLETED THE STEP 1 AS REFERRED :
/components/com_community/controllers/connect.php line 32
from
$facebook->hasPermission('read_stream');
to
$facebook->hasPermission('user_posts');
/components/com_community/templates/jomsocial/layouts/facebook.button.php line 57
from
$fbScope[] = 'read_stream';
to
$fbScope[] = 'user_posts';
/components/com_community/templates/jomsocial/layouts/profile.edit.details.php from 131
from
<input<?php echo $readPermission ? ' checked="checked" disabled="true"' : '';?> type="checkbox" id="facebookread" name="connectpermission" onclick="FB.Connect.showPermissionDialog('read_stream', function(x){if(!x){ joms.jQuery('#facebookread').attr('checked',false);}}, true );">
to
<input<?php echo $readPermission ? ' checked="checked" disabled="true"' : '';?> type="checkbox" id="facebookread" name="connectpermission" onclick="FB.Connect.showPermissionDialog('user_posts', function(x){if(!x){ joms.jQuery('#facebookread').attr('checked',false);}}, true );">
BUT I AM UNABLE TO DO THIS STEP 2 AS THE COMMAND LINE IS NOT THERE IN FACEBOOK.PHP
2. and then open this file components/com_community/libraries/facebook.php, find this code :
$result = $this->facebook->api('/me/statuses');
change to :
$result = $this->facebook->api('/me/feed');
Hi.
Try in line 261:
prntscr.com/85c9pa
in components/com_community/libraries/facebook.php it's there for sure.
OK DONE I CHANGED THE COMMAND LINE :
components/com_community/libraries/facebook.php, find this code :
$result = $this->facebook->api('/me/statuses');
change to :
$result = $this->facebook->api('/me/feed');
BUT STILL ON FACEBOOK LOGIN ITS SHOWING THE ERROR MESSAGE (SCRNSHT ATTACHED)
ALSO HOW CAN I MOVE THE FB BUTTON INSIDE THE COMMUNITY TOOLBAR ?
Hi.
Button is showing in wrong place because you assigned module JS connect to position "header-search". Button should appear in toolbar and JS login form automatically. But it seems you modified this file:
/components/com_community/templates/jomsocial/layouts/facebook.button.php
Could you roll back your changes? Also if you modified toolbar files regarding FB button.
Hi.
But invalid scope issue was fixed. I was able to register on your site without any issue or FB notices:
prntscr.com/85k2hs
You may check my profile created via FB account.
Please, test it.
So the only issue now is to display FB button properly.
Yes, you are correct. FB login is working...
Please tell me about the FB button, its not placing properly in the toolbar. As u said i roll backd the changes in /components/com_community/templates/jomsocial/layouts/facebook.button.php
I assigned module JS connect to position "Top header".
Hi.
/templates/jomsocial/layouts/facebook.button.php cod war right so I corrected it again.
You should rather disable JS connect module.
You also enabled JFBC integration while you don't have this component. I disabled it, cleared browser cache and buttons appeared on page.
You have enabled site caching somewhere... that may cause your issues sometimes as your changes will be not displayed after apply. You'll need to clear Joomla! cache each time you change something.
Thats was awesome... Thanks a lot..
If you can see, there is no colour in login button tab, the deep red colour comes in hover when i put the cursor over it. The sign up button is displaying fine.