Announcement

Collapse
No announcement yet.

Register only with facebook connect

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • luism
    replied
    Originally posted by Stabatha View Post
    Yeah, I found that out, but I figured out a way to do it after reading a bit more on FB Intergration plug-ins. Putting the code below in the footer template right below the fb connect call. Even with registering off, it still creates an account using your facebook info.





    Code:
    <script>
      window.fbAsyncInit = function() {
        FB.init({appId: 'your-app-id-goes-here', status: true, cookie: true,
                 xfbml: true});
      };
      (function() {
        var e = document.createElement('script'); e.async = true;
        e.src = document.location.protocol +
          '//connect.facebook.net/en_US/all.js';
        document.getElementById('fb-root').appendChild(e);
      }());
    </script>
    So I found the footer template.. but you mentioned the fb connect call.. what would that code look like?

    Is it this code that I should paste it under in the existing footer?

    {vb:raw ad_location.ad_footer_end}
    <vb:if condition="$vboptions['enablefacebookconnect']">
    {vb:raw facebook_footer}
    </vb:if>


    Thanks

    Leave a comment:


  • luism
    replied
    Should I add this to the bottom of the template titled
    facebook_footer
    ?

    Leave a comment:


  • luism
    replied
    Hi Stabatha

    This is my situation..
    I have a landpage which is parked. http://www.gaga.com and the forums which I am developing http://f.gaga.com

    I also want to basically market to the facebook user..
    Will the above script remove the regular login option?
    Can I put a link on my splash page indicating a click directly to facebook?

    Can I see your webpage and how it works?

    And last but not least.. exactly what template did you add this code too? And how do I access it?

    Thanks for any help


    Originally posted by Stabatha View Post
    Yeah, I found that out, but I figured out a way to do it after reading a bit more on FB Intergration plug-ins. Putting the code below in the footer template right below the fb connect call. Even with registering off, it still creates an account using your facebook info.

    Code:
    <script>
      window.fbAsyncInit = function() {
        FB.init({appId: 'your-app-id-goes-here', status: true, cookie: true,
                 xfbml: true});
      };
      (function() {
        var e = document.createElement('script'); e.async = true;
        e.src = document.location.protocol +
          '//connect.facebook.net/en_US/all.js';
        document.getElementById('fb-root').appendChild(e);
      }());
    </script>

    Leave a comment:


  • Stabatha
    replied
    Yeah, I found that out, but I figured out a way to do it after reading a bit more on FB Intergration plug-ins. Putting the code below in the footer template right below the fb connect call. Even with registering off, it still creates an account using your facebook info.

    Code:
    <script>
      window.fbAsyncInit = function() {
        FB.init({appId: 'your-app-id-goes-here', status: true, cookie: true,
                 xfbml: true});
      };
      (function() {
        var e = document.createElement('script'); e.async = true;
        e.src = document.location.protocol +
          '//connect.facebook.net/en_US/all.js';
        document.getElementById('fb-root').appendChild(e);
      }());
    </script>

    Leave a comment:


  • Trevor Hannant
    replied
    If you disable registration, I believe you disable it for FB Connect also although I haven't tried this...

    Leave a comment:


  • Stabatha
    started a topic [Forum] Register only with facebook connect

    Register only with facebook connect

    I am going to start a new forum where my target market is facebook users. I was wondering if I disable account register in admincp, if people could still create accounts using facebook connect as I'd like to require all forum accounts to have a facebook account and use the account to connect to the forum.
    Last edited by Stabatha; Thu 4 Nov '10, 2:09am.
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X