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.

facebook position and signing

8 years 9 months ago
  • wow's Avatar
    Topic Author
  • wow
  • Offline
  • Fresh Boarder
  • Thank you received: 1
Licenses:
JomSocial Expired Socialize Expired

The facebook sign up tab is positioned in between community toolbar and main menu. I want it placed in community toolbar between remember me and login.

Also when i click sign in facebook, the error comes out. please check attachment screenshot

Attachments:
8 years 9 months ago
Licenses:

- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
8 years 9 months ago
Licenses:

Hi.

Did you customized anything in template code?


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
8 years 9 months ago
  • wow's Avatar
    Topic Author
  • wow
  • Offline
  • Fresh Boarder
  • Thank you received: 1
Licenses:
JomSocial Expired Socialize Expired

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');

The following user(s) said Thank You: Marcelo
8 years 9 months ago
Licenses:

Hi.

Try in line 261: prntscr.com/85c9pa in components/com_community/libraries/facebook.php it's there for sure.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
The following user(s) said Thank You: wow
8 years 9 months ago
  • wow's Avatar
    Topic Author
  • wow
  • Offline
  • Fresh Boarder
  • Thank you received: 1
Licenses:
JomSocial Expired Socialize Expired

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 ?

Attachments:
8 years 9 months ago
  • wow's Avatar
    Topic Author
  • wow
  • Offline
  • Fresh Boarder
  • Thank you received: 1
Licenses:
JomSocial Expired Socialize Expired

I have got a new error message now in facebook sign up. i think its related to url matching with the app. Please check attachment scrnshot

Attachments:
8 years 9 months ago
Licenses:

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.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
8 years 9 months ago
  • wow's Avatar
    Topic Author
  • wow
  • Offline
  • Fresh Boarder
  • Thank you received: 1
Licenses:
JomSocial Expired Socialize Expired

Hi,
How can i fix the error message on facebook sign up. Please assist. I made all changes as you told me before.

8 years 9 months ago
  • wow's Avatar
    Topic Author
  • wow
  • Offline
  • Fresh Boarder
  • Thank you received: 1
Licenses:
JomSocial Expired Socialize Expired

Please see the new error (attached)

Attachments:
8 years 9 months ago
Licenses:

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.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
8 years 9 months ago
  • wow's Avatar
    Topic Author
  • wow
  • Offline
  • Fresh Boarder
  • Thank you received: 1
Licenses:
JomSocial Expired Socialize Expired

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".

8 years 9 months ago
Licenses:

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.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
The following user(s) said Thank You: wow
8 years 9 months ago
  • wow's Avatar
    Topic Author
  • wow
  • Offline
  • Fresh Boarder
  • Thank you received: 1
Licenses:
JomSocial Expired Socialize Expired

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.

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