Page 1 of 7 123 ... LastLast
Results 1 to 10 of 65
  1. #1
    Join Date
    Feb 2010
    Posts
    27
    Plugin Contributions
    0

    Default f/connect help needed

    hi all you zen cart php guru's

    we have a zencart site http://www.ultracheapauto.com.au and would like to add a facebook connect option in the log-in screen , "ie let users sine up for a account useing there facebook account" i have seen sample code for this in a few places but i am unable to get it to work ... i can get the f/connect button into the site and it just doesnot make a account for the customer or intergrate into the cart ... can anyone help me please :)

    does anyone know how to get zencart to accept/talk to facebook to recive the customers name , address, phone number , email.

    the less places that people have to sine up on the net makes happer buyers

    can someone point me in the right direction please :)

    ps the sample code just for the facebook login is
    PHP Code:
    PHP Code:
    <p><fb:login-button autologoutlink="true"></fb:login-button></p>
       <
    p><fb:like></fb:like></p>

      <
    div id="fb-root"></div>
       <
    script>
          
    window.fbAsyncInit = function() {
            
    FB.init({appId'XXXXXXXXXXXXX'statustruecookietrue,
                    
    xfbmltrue});
          };
          (function() {
            var 
    document.createElement('script');
            
    e.type 'text/javascript';
            
    e.src document.location.protocol +
              
    '//connect.facebook.net/en_US/all.js';
            
    e.async true;
            
    document.getElementById('fb-root').appendChild(e);
          }());
        
    </script> 
    i'm useing 1.3.9a
    help needed :)

  2. #2
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,196
    Plugin Contributions
    0

    Default Re: f/connect help needed

    X,
    Please do not double post..
    Be patient, help will come soon...

  3. #3
    Join Date
    Feb 2010
    Posts
    27
    Plugin Contributions
    0

    Default Re: f/connect help needed

    soz i didn't realy know where to put this post , admin ppl please move to the right area please :) . no offence ment

  4. #4
    Join Date
    Feb 2010
    Posts
    27
    Plugin Contributions
    0

    Default Re: f/connect help needed

    after much looking i found a site that does do it

    http://facebook.sistem.com.my
    no contact info
    but it does it!!!!

  5. #5
    Join Date
    Nov 2004
    Posts
    77
    Plugin Contributions
    0

    Default Re: f/connect help needed

    f/connect isn't really applicable to a zencart store since out of the box you cannot checkout as a guest. f/connect works on the premise of authenticating a user against your websites own auth/acl. Since zencart requires specific information to create an account, and not all facebook users have that information in their profiles to begin with, your really beating a dead horse.

    The best approach you can take here is throw 15 - 20 hours of work at it and strip registration from zencart, us f/connect to authenticate, then modify the checkout process to register an account while they fill out there shipping/payment information. You could auto populate some fields, not many using the f/connect API.

    Hope this helps, no small task.
    Dan - statuscontrols.com/web
    web programming and design

  6. #6
    Join Date
    Feb 2010
    Posts
    27
    Plugin Contributions
    0

    Default Re: f/connect help needed

    oh ok , it looked like it could get most fealds it needed , facebook upgraded its api and from a working test i found that used f/connect as well as zen carts , it got email, name, DoB , and then it asked for a shipping addres at checkout time . but there is no info on that site , url in post above ^^^^ . if any zener knows the admin /maker can you let me now please :) ..... oh well , i'll just forget about it atm , i'm not skilled enuf in php codeing and don't want to brake zen :)


    cheers all

  7. #7
    Join Date
    Jul 2009
    Location
    Esperance Western Australia
    Posts
    10
    Plugin Contributions
    0

    Default Re: f/connect help needed

    I have contacted you via the contact page on your webby.
    As I am in the process of doing facebook stuff for http://www.wastelandapparel.com.

  8. #8
    Join Date
    Jan 2011
    Posts
    9
    Plugin Contributions
    5

    Default Re: f/connect help needed

    [QUOTE=IGD;885848]f/connect isn't really applicable to a zencart store since out of the box you cannot checkout as a guest. f/connect works on the premise of authenticating a user against your websites own auth/acl. Since zencart requires specific information to create an account, and not all facebook users have that information in their profiles to begin with, your really beating a dead horse.

    Having the facebook connect isn't necessarily in-applicable. As people can pay as a guest through paypal express and set the option to add their paypal information to automatically create accounts for their customers.

    The code above works to log into facebook when you paste it in includes/templates/template_default/templates/tpl_login_default.php

    immediately after this code
    <div class="centerColumn" id="loginDefault">

    <h1 id="loginDefaultHeading"><?php echo HEADING_TITLE; ?></h1>


    The problem is though that it only logs them into facebook
    and they would have to know to use the express checkout option in order to pay as a guest and does not use the stores checkout routine. Which is all fine and dandy if they purchase something at which point it will grab their info from paypal. But the thing to do for those who log in with facebook would be to grab a minimum of their email and name and enter them into a seperate customer category to keep your store in fromt of them

    How to do that is the question.

    At which point this would be a great thing o have for building lists

  9. #9
    Join Date
    Jan 2011
    Posts
    9
    Plugin Contributions
    5

    Default Re: f/connect help needed

    But the thing to do for those who log in with facebook would be to grab a minimum of their email and name and enter them into a separate customer category to keep your store in front of them

    I meant to say that:

    but the thing to do for those who log in with facebook and do not complete a purchase would be to grab a minimum of their email and name and enter them into a separate customer category to keep your store in front of them

  10. #10
    Join Date
    Apr 2011
    Posts
    3
    Plugin Contributions
    0

    Default Facebook Connect Integration

    Demo: http://www.batterylaptops.co.uk

    facebook apps: facebook.com/developers/apps.php

    --------------------------------
    Installation
    --------------------------------
    1. backup following files: "includes/modules/pages/login/header_php.php", "includes/modules/pages/logoff/header_php.php"
    2. import "install_sql.sql".
    3. upload all files to the server.
    4. edit login template file: "tpl_login_default.php", Add the following code at the top of the blank:

    <div id="fb-root"></div>
    <script>
    window.fbAsyncInit = function() {
    FB.init({
    appId : '<?php echo $facebook->getAppId(); ?>',
    session : <?php echo json_encode($session); ?>, // don't refetch the session when PHP already has it
    status : true, // check login status
    cookie : true, // enable cookies to allow the server to access the session
    xfbml : true // parse XFBML
    });

    // whenever the user logs in, we refresh the page
    FB.Event.subscribe('auth.login', function() {
    window.location = "<?php echo zen_href_link('facebook', '', 'SSL'); ?>"
    });
    };

    (function() {
    var e = document.createElement('script');
    e.src = document.location.protocol + '//connect.facebook.net/en_US/all.js';
    e.async = true;
    document.getElementById('fb-root').appendChild(e);
    }());
    </script>
    <div>Have a Facebook account? <fb:login-button perms="email"></fb:login-button></div>

    5. finally, Edit "includes/extra_configures/facebook-config.php" , replace "appId" and "secret" field.
    Attached Files Attached Files

 

 
Page 1 of 7 123 ... LastLast

Similar Threads

  1. v153 Facebook: Shop Online tab integration
    By EagleEye in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 26 Jun 2017, 05:43 PM
  2. v151 How do i Connect with Hdfc Payment Integration
    By sonydaman in forum Addon Payment Modules
    Replies: 1
    Last Post: 12 Jul 2013, 10:13 AM
  3. Facebook Integration?
    By jewin in forum General Questions
    Replies: 7
    Last Post: 15 Aug 2012, 05:12 PM
  4. Facebook Connect + Zen + PhpBB
    By Hydrox in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 27 Jun 2012, 06:36 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg