The forum of the forums

Would you like to react to this message? Create an account in a few clicks or log in to continue.
The forum of the forums
+6
Ape
YoshiGM
Beyonder
tugatech
Stephen-
Shadow
10 posters

    [IMPORTANT] Facebook Connect update for forum Administrators

    Shadow
    Shadow
    Manager
    Manager


    Male Posts : 16208
    Reputation : 1832
    Language : French, English

    Important [IMPORTANT] Facebook Connect update for forum Administrators

    Post by Shadow April 29th 2015, 3:08 pm

    Facebook Connect update for forum Administrators
    Hello Dear Members,

    All forum administrators who have set up the Facebook Connect module, can update the current version of the App.  From April 30th 2015, the old version will no longer work. Therefore, you have to reset the Facebook App, so that the Facebook Connect Module works properly (at least to version v2.2).
    We made our best to update the whole option so that the option still work properly on your forum. However, we had some other urgent updates to send today (transparent for you but essential for the good work of your forum)
    That's why, we cannot send all Facebook modifications today... By consequences, Facebook connect for new members (registration via Facebook) won't work for few days.

    Once all other updates over, we'll modify it. Meanwhile, you can start modifying the API by following our instructions:

    1. Update your Facebook connect App




    To verify, please enter Facebook Developers (in connected mode) and click on "my Apps":
    [IMPORTANT] Facebook Connect update for forum Administrators Apps110

    Then, look at your version:

    OK

    [IMPORTANT] Facebook Connect update for forum Administrators Apps210

    OK  

    [IMPORTANT] Facebook Connect update for forum Administrators Apps310

    • If your version is already v2.2, your Facebook Connect will still work, but we highly recommend you to switch to the V2.3
    • If your version is still v1.0, you've to delete it and reset the App.


    Let's find our Facebook Connect Tutorial Add

    2. Templates modifications (All forum versions)




    If you have personalized your forum templates you have to make the following changes:

    Add index_body.tpl

    Replace the block :

    Code:
    <fb:login-button size="large" onlogin="window.location='/facebook_connect.forum'" v="2" scope="{switch_user_login_form_footer.switch_fb_connect.L_FB_PERMISSIONS}">{switch_user_login_form_footer.switch_fb_connect.L_FB_LOGIN_BUTTON}</fb:login-button>

    By :

    Code:
    <fb:login-button size="large" onlogin="window.location='/facebook_connect.forum'" scope="{switch_user_login_form_footer.switch_fb_connect.L_FB_PERMISSIONS}">{switch_user_login_form_footer.switch_fb_connect.L_FB_LOGIN_BUTTON}</fb:login-button>

    Replace the block :

    Code:

    <!-- BEGIN switch_fb_index_login -->
    <div id="fb-root"></div>
    <script type="text/javascript">
    //<![CDATA[
    FB.init({
     appId: '{switch_fb_index_login.FACEBOOK_APP_ID}',
     status: true,
     cookie: true,
     xfbml: true,
     oauth: true
    });
    //]]>
    </script>
    <!-- END switch_fb_index_login -->

    By:

    Code:

    <!-- BEGIN switch_fb_index_login -->
    <div id="fb-root"></div>
    <script>
     Â   FB.init({
     Â     appId      : {switch_fb_index_login.FACEBOOK_APP_ID},
     Â     cookie     : true,
     Â     xfbml      : true,
     Â     oauth      : true,
     Â     version    : 'v2.3'
     Â   });

     Â (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_US/sdk.js";
     Â    fjs.parentNode.insertBefore(js, fjs);
     Â  }(document, 'script', 'facebook-jssdk'));
    </script>
    <!-- END switch_fb_index_login -->

    Add overall_footer.tpl

    Replace the block :
    Code:
    <!-- BEGIN switch_facebook_login -->
    <div id="fb-root"></div>
    <script type="text/javascript">
    //<![CDATA[
    FB.init({
     appId: '{switch_facebook_login.FACEBOOK_APP_ID}',
     status: true,
     cookie: true,
     xfbml: true,
     oauth: true
    });
    //]]>
    </script>
    <!-- END switch_facebook_login -->

    By :

    Code:
    <!-- BEGIN switch_facebook_login -->
    <div id="fb-root"></div>
    <script type="text/javascript">
     Â   FB.init({
     Â     appId      : {switch_facebook_login.FACEBOOK_APP_ID},
     Â     cookie     : true,
     Â     xfbml      : true,
     Â     oauth      : true,
     Â     version    : 'v2.3'
     Â   });

     Â (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_US/sdk.js";
     Â    fjs.parentNode.insertBefore(js, fjs);
     Â  }(document, 'script', 'facebook-jssdk'));
    </script>
    <!-- END switch_facebook_login -->

    Add overall_footer_end.tpl

    Replace the block:

    Code:
    <!-- BEGIN switch_facebook_login -->
    <div id="fb-root"></div>
    <script type="text/javascript">
    //<![CDATA[
    FB.init({
     appId: '{switch_facebook_login.FACEBOOK_APP_ID}',
     status: true,
     cookie: true,
     xfbml: true,
     oauth: true
    });
    //]]>
    </script>
    <!-- END switch_facebook_login -->

    By :

    Code:
    <!-- BEGIN switch_facebook_login -->
    <div id="fb-root"></div>
    <script type="text/javascript">
     Â   FB.init({
     Â     appId      : {switch_facebook_login.FACEBOOK_APP_ID},
     Â     cookie     : true,
     Â     xfbml      : true,
     Â     oauth      : true,
     Â     version    : 'v2.3'
     Â   });

     Â (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_US/sdk.js";
     Â    fjs.parentNode.insertBefore(js, fjs);
     Â  }(document, 'script', 'facebook-jssdk'));
    </script>
    <!-- END switch_facebook_login -->

    Add profile_add_body.tpl

    Replace the block :

    Code:
    <!-- BEGIN switch_fb_account_not_linked -->
     <fb:login-button size="medium" onlogin="facebook_link()" v="2">{switch_preferences_menu.switch_fb_connect.switch_fb_account_not_linked.L_FB_LOGIN_BUTTON}</fb:login-button>
     <!-- END switch_fb_account_not_linked -->

    By :

    Code:
    <!-- BEGIN switch_fb_account_not_linked -->
     <fb:login-button size="medium" onlogin="facebook_link()" >{switch_preferences_menu.switch_fb_connect.switch_fb_account_not_linked.L_FB_LOGIN_BUTTON}</fb:login-button>
     <!-- END switch_fb_account_not_linked -->

    Replace the block :

    Code:
    <!-- BEGIN switch_preferences_menu -->
    <!-- BEGIN switch_fb_connect -->
    <div id="fb-root"></div>
    <script type="text/javascript">
    //<![CDATA[
    FB.init({
     appId: '{switch_preferences_menu.switch_fb_connect.FACEBOOK_APP_ID}',
     status: true,
     cookie: true,
     xfbml: true,
     oauth: true
    });
    //]]>
    </script>
    <!-- END switch_fb_connect -->
    <!-- END switch_preferences_menu -->

    By:

    Code:
    <!-- BEGIN switch_preferences_menu -->
    <!-- BEGIN switch_fb_connect -->
    <div id="fb-root"></div>
    <script type="text/javascript">
     Â   FB.init({
     Â     appId: '{switch_preferences_menu.switch_fb_connect.FACEBOOK_APP_ID}',
     Â     cookie     : true,
     Â     xfbml      : true,
     Â     oauth      : true,
     Â     version    : 'v2.3'
     Â   });

     Â (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_US/sdk.js";
     Â    fjs.parentNode.insertBefore(js, fjs);
     Â  }(document, 'script', 'facebook-jssdk'));
    </script>
    <!-- END switch_fb_connect -->
    <!-- END switch_preferences_menu -->

     Add mod_login.tpl


    Replace the block:

    Code:
    <fb:login-button size="large" onlogin="window.location='/facebook_connect.forum'" v="2" scope="{switch_login.switch_fb_connect_login.L_FB_PERMISSIONS}" class="margTop4">{switch_login.switch_fb_connect_login.L_FB_LOGIN_BUTTON}</fb:login-button>

    By:

    Code:
    <fb:login-button size="large" onlogin="window.location='/facebook_connect.forum'" scope="{switch_login.switch_fb_connect_login.L_FB_PERMISSIONS}" class="margTop4">{switch_login.switch_fb_connect_login.L_FB_LOGIN_BUTTON}</fb:login-button>

    Replace the block:

    Code:
     align="center"><fb:login-button size="small" onlogin="window.location='/facebook_connect.forum'" v="2" scope="{switch_login_small.switch_fb_connect_login.L_FB_PERMISSIONS}" class="margTop4">{switch_login_small.switch_fb_connect_login.L_FB_LOGIN_BUTTON}</fb:login-button>
     Â                           

    By :

    Code:
     align="center"><fb:login-button size="small" onlogin="window.location='/facebook_connect.forum'" scope="{switch_login_small.switch_fb_connect_login.L_FB_PERMISSIONS}" class="margTop4">{switch_login_small.switch_fb_connect_login.L_FB_LOGIN_BUTTON}</fb:login-button>
     [IMPORTANT] Facebook Connect update for forum Administrators 644535217 Portal > mod_login
    Replace the block:

    Code:
     Â              <!-- BEGIN switch_fb_widget_login -->
    <div id="fb-root"></div>
    <script type="text/javascript">
    //<![CDATA[
    FB.init({
     appId: '{switch_fb_widget_login.FACEBOOK_APP_ID}',
     status: true,
     cookie: true,
     xfbml: true,
     oauth: true
    });
    //]]>
    </script>
    <!-- END switch_fb_widget_login -->

    By:

    Code:
    <!-- BEGIN switch_fb_widget_login -->
    <div id="fb-root"></div>
    <script>
     Â   FB.init({
     Â     appId      : {switch_fb_widget_login.FACEBOOK_APP_ID},
     Â     cookie     : true,
     Â     xfbml      : true,
     Â     oauth      : true,
     Â     version    : 'v2.3'
     Â   });

     Â (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_US/sdk.js";
     Â    fjs.parentNode.insertBefore(js, fjs);
     Â  }(document, 'script', 'facebook-jssdk'));
    </script>
    <!-- END switch_fb_widget_login -->

    Thanks :rose:


    Last edited by APE on May 2nd 2015, 6:59 pm; edited 1 time in total (Reason for editing : added the missing line >> Portal > mod_login)
    Stephen-
    Stephen-
    Hyperactive


    Male Posts : 2542
    Reputation : 326
    Language :

    Important Re: [IMPORTANT] Facebook Connect update for forum Administrators

    Post by Stephen- April 29th 2015, 3:11 pm

    Thanks! @Buttercup Forumotion keeps gettin better and better. thumleft
    tugatech
    tugatech
    Forumember


    Male Posts : 186
    Reputation : 8
    Language : Portuguese
    Location : Portugal

    Important Re: [IMPORTANT] Facebook Connect update for forum Administrators

    Post by tugatech April 29th 2015, 3:53 pm

    @Buttercup , nice to see this.
    But, for itself, this doesn't solve the issue.

    You "fb_login.js" file, responsible for the login, is still with outdated code. 
    This change will help forum owners to change to the new API, but the Facebook connect will still be broken if nothing change in the javascript above...

    Also, the changes described in this announce will also break the login in any forumotion website, becouse (again) of the outdated code in the fb_login javascript...
    Will the javascript be updated as well?

    (I have read again the text. Razz )

    Thanks
    Shadow
    Shadow
    Manager
    Manager


    Male Posts : 16208
    Reputation : 1832
    Language : French, English

    Important Re: [IMPORTANT] Facebook Connect update for forum Administrators

    Post by Shadow April 29th 2015, 4:16 pm

    tugatech wrote:@Buttercup , nice to see this.
    But, for itself, this doesn't solve the issue.

    You "fb_login.js" file, responsible for the login, is still with outdated code. 
    This change will help forum owners to change to the new API, but the Facebook connect will still be broken if nothing change in the javascript above...

    Also, the changes described in this announce will also break the login in any forumotion website, becouse (again) of the outdated code in the fb_login javascript...
    Will the javascript be updated as well?

    (I have read again the text. Razz )

    Thanks
    "fb_login.js" is not responsible of login but registration and it will be sent online next week  
    tugatech
    tugatech
    Forumember


    Male Posts : 186
    Reputation : 8
    Language : Portuguese
    Location : Portugal

    Important Re: [IMPORTANT] Facebook Connect update for forum Administrators

    Post by tugatech April 29th 2015, 4:19 pm

    Nice... Very Happy

    Thanks @Buttercup
    Beyonder
    Beyonder
    Forumember


    Male Posts : 723
    Reputation : 29
    Language : English
    Location : Beyond Realm

    Important Re: [IMPORTANT] Facebook Connect update for forum Administrators

    Post by Beyonder April 29th 2015, 6:35 pm

    Thanks for the update!
    YoshiGM
    YoshiGM
    Active Poster


    Male Posts : 1557
    Reputation : 146
    Language : Spanish & English
    Location : Mexico

    Important Re: [IMPORTANT] Facebook Connect update for forum Administrators

    Post by YoshiGM April 29th 2015, 7:44 pm

    Finally a Facebook Connect Update!

    Thanks #Forumotion Wink
    Ape
    Ape
    Administrator
    Administrator


    Male Posts : 19325
    Reputation : 2005
    Language : fluent in dork / mumbojumbo & English haha

    Important Re: [IMPORTANT] Facebook Connect update for forum Administrators

    Post by Ape April 30th 2015, 1:32 am

    have updated all of the codes all but the last part i just can't find it on my system :O
    where is this part kept lol

    Code:
                   <!-- BEGIN switch_fb_widget_login -->
    <div id="fb-root"></div>
    <script type="text/javascript">
    //<![CDATA[
    FB.init({
     appId: '{switch_fb_widget_login.FACEBOOK_APP_ID}',
     status: true,
     cookie: true,
     xfbml: true,
     oauth: true
    });
    //]]>
    </script>
    <!-- END switch_fb_widget_login -->



    [IMPORTANT] Facebook Connect update for forum Administrators Left1212[IMPORTANT] Facebook Connect update for forum Administrators Center11[IMPORTANT] Facebook Connect update for forum Administrators Right112
    [IMPORTANT] Facebook Connect update for forum Administrators Ape_b110
    [IMPORTANT] Facebook Connect update for forum Administrators Ape1010
    Zorro
    Zorro
    Technician
    Technician


    Male Posts : 1
    Reputation : 3
    Language : French, English
    Location : France

    Important Re: [IMPORTANT] Facebook Connect update for forum Administrators

    Post by Zorro April 30th 2015, 10:01 am

    Hi @APE ,

    This template is for the widget mod_login, you can edit it on :

    Display > Templates > Portal > mod_login

    Wink
    Ape
    Ape
    Administrator
    Administrator


    Male Posts : 19325
    Reputation : 2005
    Language : fluent in dork / mumbojumbo & English haha

    Important Re: [IMPORTANT] Facebook Connect update for forum Administrators

    Post by Ape May 2nd 2015, 6:56 pm

    Zorro wrote:Hi @APE ,

    This template is for the widget mod_login, you can edit it on :

    Display > Templates > Portal > mod_login

    Wink
    Thank you Sad @Zorro lol did not have to do it as i have not made any change to it before Wink



    [IMPORTANT] Facebook Connect update for forum Administrators Left1212[IMPORTANT] Facebook Connect update for forum Administrators Center11[IMPORTANT] Facebook Connect update for forum Administrators Right112
    [IMPORTANT] Facebook Connect update for forum Administrators Ape_b110
    [IMPORTANT] Facebook Connect update for forum Administrators Ape1010
    SarkZKalie
    SarkZKalie
    Support Moderator
    Support Moderator


    Male Posts : 1442
    Reputation : 220
    Language : English

    Important Re: [IMPORTANT] Facebook Connect update for forum Administrators

    Post by SarkZKalie May 4th 2015, 5:58 am

    What about them? overall_footer.tpl and overall_footer_end.tpl. Are they same?



    [IMPORTANT] Facebook Connect update for forum Administrators Sarkzk10
    Shadow
    Shadow
    Manager
    Manager


    Male Posts : 16208
    Reputation : 1832
    Language : French, English

    Important Re: [IMPORTANT] Facebook Connect update for forum Administrators

    Post by Shadow May 4th 2015, 2:57 pm

    Hello

    For your information the second update is now online Smile Your new members can register via Facebook Connect thumleft
    tugatech
    tugatech
    Forumember


    Male Posts : 186
    Reputation : 8
    Language : Portuguese
    Location : Portugal

    Important Re: [IMPORTANT] Facebook Connect update for forum Administrators

    Post by tugatech May 4th 2015, 7:20 pm

    @Buttercup
    Awesome!
    Michael_vx
    Michael_vx
    Forumember


    Male Posts : 659
    Reputation : 29
    Language : Arabic and some English
    Location : Egypt

    Important Re: [IMPORTANT] Facebook Connect update for forum Administrators

    Post by Michael_vx May 6th 2015, 12:54 pm

    im a bit confused
    is the template edits is the SDK update ?
    or i need to do something with in the app dashboard from facebook page
     
    avatar
    (Tech.snop.tv)
    New Member


    Posts : 3
    Reputation : 1
    Language : farsi

    Important Re: [IMPORTANT] Facebook Connect update for forum Administrators

    Post by (Tech.snop.tv) May 6th 2015, 1:07 pm

    i need best skin
    my forum is very bad Sad
    please help me
    i need
    (1think)skin
    avatar
    (Tech.snop.tv)
    New Member


    Posts : 3
    Reputation : 1
    Language : farsi

    Important Re: [IMPORTANT] Facebook Connect update for forum Administrators

    Post by (Tech.snop.tv) May 6th 2015, 1:09 pm

    i need best skin
    my forum is very bad Sad
    please help me
    i need
    (1think)skin
    Shadow
    Shadow
    Manager
    Manager


    Male Posts : 16208
    Reputation : 1832
    Language : French, English

    Important Re: [IMPORTANT] Facebook Connect update for forum Administrators

    Post by Shadow May 6th 2015, 3:43 pm

    (Tech.snop.tv) wrote:i need best skin
    my forum is very bad Sad
    please help me
    i need
    (1think)skin

    (Tech.snop.tv) wrote:i need best skin
    my forum is very bad Sad
    please help me
    i need
    (1think)skin
    Please create a new topic! There is no assistance into announcement. Thanks

      Current date/time is September 22nd 2024, 9:19 pm