Jump to content
Latest News: (loading..)

Recommended Posts

Hi all,
 

 

I have started figure out Facebook Login and put into the Facebook APP interface

 

https://github.com/Gergely/facebook-app

 

 

Any proposal appreciated. Testers wanted.


Facebook Login enable to log in with facebook account and create a social account in the shop.

 

FBLogin registrate the user with origin facebook email address.

 

 

Thanks


:blink:
osCommerce based shop owner with minimal design and focused on background works. When the less is more.
Email managment with tracking pixel, package managment for shipping, stock management, warehouse managment with bar code reader, parcel shops management on 3000 pickup points without local store.

Share this post


Link to post
Share on other sites

@@Gergely

.

 

 
Warning: require_once(/home/userid/public_html//ext/api/Facebook/autoload.php): failed to open stream: No such file or directory in /home/userid/public_html/includes/modules/content/login/cm_facebook_login.php on line 17
 
Fatal error: require_once(): Failed opening required '/home/userid/public_html//ext/api/Facebook/autoload.php' (include_path='.:/usr/lib/php:/usr/local/lib/php:/home/userid/php') in /home/userid/public_html/includes/modules/content/login/cm_facebook_login.php on line 17
Edited by altoid

I am not a professional webmaster or PHP coder by background or training but I will try to help as best I can.

I remember what it was like when I first started with osC. It can be overwhelming.

However, I strongly recommend considering hiring a professional for extensive site modifications, site cleaning, etc.

There are several good pros here on osCommerce. Look around, you'll figure out who they are.

Share this post


Link to post
Share on other sites

@@altoid did you read the readme? its need to upload Facebook API


:blink:
osCommerce based shop owner with minimal design and focused on background works. When the less is more.
Email managment with tracking pixel, package managment for shipping, stock management, warehouse managment with bar code reader, parcel shops management on 3000 pickup points without local store.

Share this post


Link to post
Share on other sites

Sorry, didn't understand what was going on there.  Got it now.

 

enabled module, signed in and on this page:

 

https://www.myshop.com/create_account_social.php#_=_

 

At the bottom I see this:

 

Your Password
Password

Fatal error: Call to undefined function tep_draw_password_field() in/home/usderid/public_html/create_account_social.php on line 509

I am not a professional webmaster or PHP coder by background or training but I will try to help as best I can.

I remember what it was like when I first started with osC. It can be overwhelming.

However, I strongly recommend considering hiring a professional for extensive site modifications, site cleaning, etc.

There are several good pros here on osCommerce. Look around, you'll figure out who they are.

Share this post


Link to post
Share on other sites

When disabling module, on the log in page I get this:

 

Fatal error: Call to a member function getRedirectLoginHelper() on a non-object in /home/userid/public_html/includes/modules/content/login/cm_facebook_login.php on line 105


I am not a professional webmaster or PHP coder by background or training but I will try to help as best I can.

I remember what it was like when I first started with osC. It can be overwhelming.

However, I strongly recommend considering hiring a professional for extensive site modifications, site cleaning, etc.

There are several good pros here on osCommerce. Look around, you'll figure out who they are.

Share this post


Link to post
Share on other sites

After uninstalling the app, in the Facebook box under configure I see this:

 

Fatal error: Class 'OSCOM_Facebook_Cfg_version' not found in /home/userid/public_html/includes/apps/facebook/OSCOM_Facebook.php on line 276


I am not a professional webmaster or PHP coder by background or training but I will try to help as best I can.

I remember what it was like when I first started with osC. It can be overwhelming.

However, I strongly recommend considering hiring a professional for extensive site modifications, site cleaning, etc.

There are several good pros here on osCommerce. Look around, you'll figure out who they are.

Share this post


Link to post
Share on other sites

Installed, when I went to activate the module this came up

Parse error: syntax error, unexpected '[', expecting ')' in /home/myhouse/public_html/edge/includes/modules/content/login/cm_facebook_login.php on line 68
PHP Version: 5.3.29

Let's make things easier for new osCommerce users http://forums.oscommerce.com/topic/402638-discussion-about-hard-coded-database-tables/?p=1718900  Getting there with osCommerce 2.4! :thumbsup:

Share this post


Link to post
Share on other sites

Thanks for reporting. This afternoon I will fix first problems.

This version of the Facebook SDK for PHP requires PHP 5.4 or greater.


:blink:
osCommerce based shop owner with minimal design and focused on background works. When the less is more.
Email managment with tracking pixel, package managment for shipping, stock management, warehouse managment with bar code reader, parcel shops management on 3000 pickup points without local store.

Share this post


Link to post
Share on other sites

 

Sorry, didn't understand what was going on there.  Got it now.

 

enabled module, signed in and on this page:

 

https://www.myshop.com/create_account_social.php#_=_

 

At the bottom I see this:

 

Your Password
Password

Fatal error: Call to undefined function tep_draw_password_field() in/home/usderid/public_html/create_account_social.php on line 509

 

Did you remove the origin oscommerce function from catalog/includes/functions/html_output.php ?

 


:blink:
osCommerce based shop owner with minimal design and focused on background works. When the less is more.
Email managment with tracking pixel, package managment for shipping, stock management, warehouse managment with bar code reader, parcel shops management on 3000 pickup points without local store.

Share this post


Link to post
Share on other sites

@@Gergely tep_draw_password_field was deprecated in Responsive version.  Instead use HTML5 password field.

 

eg:

 

echo tep_draw_password_field('password', NULL, 'id="inputPassword" placeholder="' . ENTRY_PASSWORD . '"');

 

to:

 

echo tep_draw_input_field('password', NULL, 'id="inputPassword" placeholder="' . ENTRY_PASSWORD . '"', 'password');
Edited by burt

This is a signature that appears on all my posts.  
IF YOU MAKE A POST REQUESTING HELP...please state the exact version
of osCommerce that you are using. THANKS

 
Get the latest current code (community-supported responsive 2.3.4.1BS Edge) here

 

Share this post


Link to post
Share on other sites

After uninstalling the app, in the Facebook box under configure I see this:

 

Fatal error: Class 'OSCOM_Facebook_Cfg_version' not found in /home/userid/public_html/includes/apps/facebook/OSCOM_Facebook.php on line 276

 

do you mean that you delete all files from includes/apps/facebook directory?


:blink:
osCommerce based shop owner with minimal design and focused on background works. When the less is more.
Email managment with tracking pixel, package managment for shipping, stock management, warehouse managment with bar code reader, parcel shops management on 3000 pickup points without local store.

Share this post


Link to post
Share on other sites

@@burt thanks the notice

Deprecated means that wont used in next version. Which is the next?

 

I will add BS and official branch for developing


:blink:
osCommerce based shop owner with minimal design and focused on background works. When the less is more.
Email managment with tracking pixel, package managment for shipping, stock management, warehouse managment with bar code reader, parcel shops management on 3000 pickup points without local store.

Share this post


Link to post
Share on other sites

I have also tried too install and getting these errors..

 

 

Warning: in_array() expects parameter 2 to be array, null given in /bladiebla/bladiebla/options/includes/apps/facebook/OSCOM_Facebook.php on line 80

 
Warning: in_array() expects parameter 2 to be array, null given in /bladiebla/bladiebla/options/includes/apps/facebook/OSCOM_Facebook.php on line 80
 
Warning: in_array() expects parameter 2 to be array, null given in /bladiebla/bladiebla/options/includes/apps/facebook/OSCOM_Facebook.php on line 80
 
Warning: in_array() expects parameter 2 to be array, null given in /bladiebla/bladiebla/options/includes/apps/facebook/OSCOM_Facebook.php on line 80
 
Warning: in_array() expects parameter 2 to be array, null given in /bladiebla/bladiebla/options/includes/apps/facebook/OSCOM_Facebook.php on line 80
 
Warning: in_array() expects parameter 2 to be array, null given in /bladiebla/bladiebla/options/includes/apps/facebook/OSCOM_Facebook.php on line 80
 
Warning: in_array() expects parameter 2 to be array, null given in /bladiebla/bladiebla/options/includes/apps/facebook/OSCOM_Facebook.php on line 80
 
Warning: Cannot modify header information - headers already sent by (output started at /bladiebla/bladiebla/options/includes/apps/facebook/OSCOM_Facebook.php:80) in /bladiebla/bladiebla/options/includes/functions/general.php on line 49

 

Already done comments from #10

Share this post


Link to post
Share on other sites


////

// Output a form password field

function tep_draw_password_field($name, $value = '', $parameters = 'maxlength="40"') {

trigger_error("tep_db_password_field() is depracated in BS version", E_USER_DEPRECATED);

return tep_draw_input_field($name, $value, $parameters, 'password', false);

}


:blink:
osCommerce based shop owner with minimal design and focused on background works. When the less is more.
Email managment with tracking pixel, package managment for shipping, stock management, warehouse managment with bar code reader, parcel shops management on 3000 pickup points without local store.

Share this post


Link to post
Share on other sites

Thanks @@Fiber I will commit


:blink:
osCommerce based shop owner with minimal design and focused on background works. When the less is more.
Email managment with tracking pixel, package managment for shipping, stock management, warehouse managment with bar code reader, parcel shops management on 3000 pickup points without local store.

Share this post


Link to post
Share on other sites

This is a signature that appears on all my posts.  
IF YOU MAKE A POST REQUESTING HELP...please state the exact version
of osCommerce that you are using. THANKS

 
Get the latest current code (community-supported responsive 2.3.4.1BS Edge) here

 

Share this post


Link to post
Share on other sites

Find a little detail;

 

In /images/apps/facebook name of the image is/facebook_logo.png

but is defined in admin/facebook as;

<a href="<?php echo tep_href_link('facebook.php', 'action=' . $action); ?>"><img width="200px" src="<?php echo tep_catalog_href_link('images/apps/facebook/facebook.png', '', 'SSL'); ?>" /></a>

also in modules/content/login/templates/facebook_login.php;

<img src="images/apps/facebook/facebook.png" width="200px">

Share this post


Link to post
Share on other sites

Did you remove the origin oscommerce function from catalog/includes/functions/html_output.php ?

 

@@Gergely

I am using this on a BS shop.  In catalog/includes/functions/html_output.php ?

 

I show:

/*
////
// Output a form password field
// DEPRECATED AS OF 12 June 2015
  function tep_draw_password_field($name, $value = '', $parameters = '') {
    return tep_draw_input_field($name, $value, $parameters, 'password', false);
  }
*/

////
Edited by altoid

I am not a professional webmaster or PHP coder by background or training but I will try to help as best I can.

I remember what it was like when I first started with osC. It can be overwhelming.

However, I strongly recommend considering hiring a professional for extensive site modifications, site cleaning, etc.

There are several good pros here on osCommerce. Look around, you'll figure out who they are.

Share this post


Link to post
Share on other sites

@@Gergely

do you mean that you delete all files from includes/apps/facebook directory?

 

No. that directory is still in place.

 

To reproduce...clicking the blue uninstall button in the app and then going to the Facebook box in admin, then click configure.

 

That's when the error appears.


I am not a professional webmaster or PHP coder by background or training but I will try to help as best I can.

I remember what it was like when I first started with osC. It can be overwhelming.

However, I strongly recommend considering hiring a professional for extensive site modifications, site cleaning, etc.

There are several good pros here on osCommerce. Look around, you'll figure out who they are.

Share this post


Link to post
Share on other sites

Thanks to all
@@altoid @@Fiber @@burt @@frankl

 

I think issues are fixed.

Edited by Gergely
tanks to thanks :)

:blink:
osCommerce based shop owner with minimal design and focused on background works. When the less is more.
Email managment with tracking pixel, package managment for shipping, stock management, warehouse managment with bar code reader, parcel shops management on 3000 pickup points without local store.

Share this post


Link to post
Share on other sites

 

 

I think issues are fixed.

Yep it works..nice job!  :thumbsup:

 

Only in admin Facebook box>configure>General i see a error..but login works

Fatal error: Class 'OSCOM_Facebook_Cfg_version' not found in /bla/bla/bla/bla/options/includes/apps/facebook/OSCOM_Facebook.php on line 264

Share this post


Link to post
Share on other sites

@@Gergely

 

After update, all seems good.  I do not see the error message that Fiber mentions above.

 

Could we consider a content width param with this module?  That might work well with another login module, like perhaps Login With Paypal.

 

I think they'd fit nicely side by side as a suggestion.


I am not a professional webmaster or PHP coder by background or training but I will try to help as best I can.

I remember what it was like when I first started with osC. It can be overwhelming.

However, I strongly recommend considering hiring a professional for extensive site modifications, site cleaning, etc.

There are several good pros here on osCommerce. Look around, you'll figure out who they are.

Share this post


Link to post
Share on other sites

Aaaaaaand disregard the above. I found the full/half settings.   :blush:


I am not a professional webmaster or PHP coder by background or training but I will try to help as best I can.

I remember what it was like when I first started with osC. It can be overwhelming.

However, I strongly recommend considering hiring a professional for extensive site modifications, site cleaning, etc.

There are several good pros here on osCommerce. Look around, you'll figure out who they are.

Share this post


Link to post
Share on other sites

:blink:
osCommerce based shop owner with minimal design and focused on background works. When the less is more.
Email managment with tracking pixel, package managment for shipping, stock management, warehouse managment with bar code reader, parcel shops management on 3000 pickup points without local store.

Share this post


Link to post
Share on other sites

@@Gergely

 

After update, all seems good.  I do not see the error message that Fiber mentions above.

 

Could we consider a content width param with this module?  That might work well with another login module, like perhaps Login With Paypal.

 

I think they'd fit nicely side by side as a suggestion.

 

Social logins are different. There are less params..


:blink:
osCommerce based shop owner with minimal design and focused on background works. When the less is more.
Email managment with tracking pixel, package managment for shipping, stock management, warehouse managment with bar code reader, parcel shops management on 3000 pickup points without local store.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×