Register only with facebook connect

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Stabatha
    Member
    • May 2007
    • 36

    [Forum] 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.
  • Trevor Hannant
    vBulletin Support
    • Aug 2002
    • 24359
    • 5.7.X

    #2
    If you disable registration, I believe you disable it for FB Connect also although I haven't tried this...
    Vote for:

    - Admin Settable Paid Subscription Reminder Timeframe (vB6)
    - Add Admin ability to auto-subscribe users to specific channel(s) (vB6)

    Comment

    • Stabatha
      Member
      • May 2007
      • 36

      #3
      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>

      Comment

      • luism
        Member
        • Aug 2008
        • 64
        • 5.1.x

        #4
        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
        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>
        -Luis M

        http://www.appstorerevealed.com

        Comment

        • luism
          Member
          • Aug 2008
          • 64
          • 5.1.x

          #5
          Should I add this to the bottom of the template titled
          facebook_footer
          ?
          -Luis M

          http://www.appstorerevealed.com

          Comment

          • luism
            Member
            • Aug 2008
            • 64
            • 5.1.x

            #6
            Originally posted by Stabatha
            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
            -Luis M

            http://www.appstorerevealed.com

            Comment

            widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
            Working...