• Index
  • » Users
  • » yasmagic
  • » Posts

Posts

Posts

Thanks Alex. This code repeats in all pages. We want to remove it after login if possible.

<script type="text/javascript">
 
  window.fbAsyncInit = function() {
    FB.init({version: 'v2.3',appId: '1XXXXX', status: false, cookie: true, xfbml: false});
FB.Event.subscribe('comment.create', jfbc.social.facebook.comment.create);
FB.Event.subscribe('comment.remove', jfbc.social.facebook.comment.remove);
FB.Event.subscribe('edge.create', jfbc.social.facebook.like.create);
FB.Event.subscribe('edge.remove', jfbc.social.facebook.like.remove);
  };
  (function(d, s, id){
     var js, fjs = d.getElementsByTagName(s)[0];
     if (d.getElementById(id)) {return;}
     js = d.createElement(s); js.id = id;
     js.src = "//connect.facebook.net/en_GB/sdk.js";
     fjs.parentNode.insertBefore(js, fjs);
   }(document, 'script', 'facebook-jssdk'));
</script>

Thank you. We are still troubleshooting cURL issue.

The FB related JavaScript code seem to have been repeated in all internal web pages after login. This should appear only on the logon page, and should disappear after user is  loggeded in. What do I need to do to make this happen?

Thanks!

Facebook authentication works fine with Joomla/JomSocial, but both Google and twitter has issues.

Google gives this error "Cannot use a stream transport when fopen() is not available or "allow_url_fopen" is disabled." We have fopen disabled for security reasons. Is there anyway to use curl instead?

For Twitter, it is not auto logging in users when signed up for the first time. It always redirects to the registration page. How to enable Twitter to auto login similar to Facebook?

  • Index
  • » Users
  • » yasmagic
  • » Posts

Board Info

Board Stats
 
Total Topics:
11808
Total Polls:
0
Total Posts:
49592
Posts this week:
3
User Info
 
Total Users:
48229
Newest User:
tobhas
Members Online:
0
Guests Online:
1030

Online: 
There are no members online
Social Stream
Hide, Seek & Defuse

Handheld Electronic Game

Alex from SourceCoast is working on a new electronic game for kids called Countdown. It's a timed game of Hide & Seek with mini-games (Whack-a-Mole, Simon, etc) to complete when you find it.

Learn More About The Crowdfunding Campaign