Jump to content

jimmylaz

Members
  • Content count

    16
  • Joined

  • Last visited

1 Follower

Profile Information

  • Real Name
    Jimmy Laz
  1. Hi Spooks: How to do I make it so inside the dropdown the first choice is a specific folder. I added subfolders but it defaults to the first one I made. Thanks Bro!
  2. Big shame out of an entire community of programmers none of us can seem to get this module working. At least my login via Twitter code still works. I also hired programmers to fix this contribution and no luck. They got back to me after days of analysis and said it was impossible. UGH!
  3. @@thejudge99 Seems like the entire module has stopped working. Also your demo site http://ocraw.conzept.de/login.php is returning many 'deprecated' errors. As mentioned by previous commentors on this thread @@AllThingsTrendy @@vinitthakre @@polphoenix etc. And I have to report the module has stopped working on my site as well. Facebook returns a "Website Redirect Loop". @@thejudge99 If you happen to still be around and can give some tips that would be great. @@vourlismenos I noticed on your site http://www.walkincloset.gr/index.php your facebook login works, how did you fix it?
  4. Hi Everyone: I added to this contribution concerning the twitter issue @@thejudge99 mentioned and I also experienced. This also applies to fb accounts and google accounts. Basically it runs a check to make sure address is a valid one and if it is not returns the Update Address page with an alert saying "You have logged in using a social media account that does not give us required information. Please fill in the required fields to create an account or continue to browse" The user can at this point add their address or be sent to a browsing mode. So as thanks for contribution in the first place, here is as promised my "force address" mod for it: 1) Please add the below function to includes/functions/general.php ############################################## function tep_check_valid_address() { global $messageStack; if( !isset($_SESSION['customer_id'])) return; if(!strstr($_SERVER['PHP_SELF'],CONTENT_ADDRESS_BOOK_PROCESS.'.php') && !strstr($_SERVER['PHP_SELF'],CONTENT_LOGOFF.'.php') && !strstr($_SERVER['PHP_SELF'],CONTENT_ACCOUNT_EDIT.'.php') ) { /* first make sure the user does have a valid email address */ $valid_email_query = tep_db_query(" SELECT customers_email_address FROM ".TABLE_CUSTOMERS." WHERE customers_id = " .(int)$_SESSION['customer_id']); $valid_email_result = tep_db_fetch_array($valid_email_query); if( $valid_email_result['customers_email_address'] == '' ) { $messageStack->add_session('account_edit', sprintf(IS_VALID_ACCOUNT, tep_href_link(FILENAME_LOGOFF, 'to=home', 'NONSSL', false) ), 'error'); tep_redirect(tep_href_link(FILENAME_ACCOUNT_EDIT, '', 'NONSSL', false)); } $addresses_query = tep_db_query("select count(*) as total from " . TABLE_ADDRESS_BOOK . " where customers_id = '" . (int)$_SESSION['customer_id'] . "'"); $addresses = tep_db_fetch_array($addresses_query); if($addresses['total'] == 1) { $single_address_query = tep_db_query("select * from " . TABLE_ADDRESS_BOOK . " where customers_id = '" . (int)$_SESSION['customer_id'] . "'"); $single_address_res = tep_db_fetch_array($single_address_query); if( $single_address_res['entry_street_address'] == '' || $single_address_res['entry_street_address'] == 'default' || $single_address_res['entry_postcode'] == '' || $single_address_res['entry_postcode'] == 'default' || $single_address_res['entry_city'] == '' || $single_address_res['entry_city'] == 'default' ) { $messageStack->add_session('addressbook', sprintf(IS_VALID_ACCOUNT, tep_href_link(FILENAME_LOGOFF, 'to=home', 'NONSSL', false) ), 'error'); tep_redirect(tep_href_link(FILENAME_ADDRESS_BOOK_PROCESS, 'edit='.$single_address_res['address_book_id'], 'NONSSL', false)); } } elseif($addresses['total'] == 0) { $messageStack->add_session('addressbook', sprintf(IS_VALID_ACCOUNT, tep_href_link(FILENAME_LOGOFF, 'to=home', 'NONSSL', false) ), 'error'); tep_redirect(tep_href_link(FILENAME_ADDRESS_BOOK_PROCESS, '', 'NONSSL', false)); } } } 2) Add the below function to the includes/application_top.php file at last ############################################ tep_check_valid_address(); 3) Add the following code to includes/english/core.php ########################################### define('IS_VALID_ACCOUNT','You have logged in using a social media account that does not give us required information. Please fill in the required fields to create an account or <a href="%s">browse without account.</a>');
  5. I only installed the first version package, didn't see the updates as relevant for beta testing, yet as none addressed the double pop up, so unfortunately it cant be as easy as the sexy popup version. Hmmm...wonder what is going on. Jquery is active but for other things, wonder how to debug this. I'll double check the instructions on this but just to double check this is what I have, x is the ID I got which I also put in developer key because I was thinking those are the same things (couldn't find anything that actually said developer key on the google side): // OAuth2 Settings, you can get these keys at [url="https://code.google.com/apis/console"]https://code.google.com/apis/console[/url] 'oauth2_client_id' => 'xxxxxxxxxxxx.apps.googleusercontent.com', 'oauth2_client_secret' => 'yyyyyyyyyyyyyyyyyyyyyyyyyyy', 'oauth2_redirect_uri' => 'http://www.sitename.com/sandbox/catalog/googleloader.php' // The developer key, you get this at [url="https://code.google.com/apis/console"]https://code.google.com/apis/console[/url] 'developer_key' => 'xxxxxxxxxxxx', I've already coded a work around to this by forcing a user who just logged in without email data or address data (in the case of facebook and twitter) to be shown the update fields page. There only option if logged in with an account without email address or address is this page. I will try to zip it up and make it a contriibution to the package.
  6. Hello: Great contribution! I was tackling this facebook connect issue for a while using an sdk2 contribution that was ripping my hair out. This worked pretty much out the box and I integrated twitter in as well. Although i am noticing 2 problems: (1) Double pop-up : Seems when user clicks that browser pop-up two logins one on top of another. They both disappear once user logs in but it's a bit disconcerting. Anyone having this issue? (2) Google Login goes through the motions when user clicks. The pop-up login opens asking for permission. But when user continues it simply turns into a white screen (in the pop-up) as if frozen. It doesn't update the store with the user info. Any ideas on how to debug this? Thanks in advance for a great contribution! I will share my twitter function once complete to be part of the contr.
  7. jimmylaz

    Facebook Connect Support Thread

    Hate to beat a dead horse here but did anyone ever get this working on 2.3.1? Seems like our only option is the LoginRadius solution which is totally not cool. Would be great if this worked.
×