Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Facebook Login/Register

Asked Modified Viewed 6,639 times
N
NetriX
N
NetriX 10
Need help? Having trouble?
» View our Documentation for guides, functions and more - including the Getting Started section!
» Attach Log Files and Screenshots when reporting issues
» My support days are usually Mon-Thurs. Send me a PM if urgent.
  • Senior Member, joined since
  • Contributed 566 posts on the community forums.
  • Started 93 threads in the forums
  • Started this discussions
asked
Senior Member

www.php-fusion.co.uk/infusions/marketplace/uploads/image/t_1320.jpg
Installation Video
http://phpfusionmods.com/infusions/video/video.php?id=2

Changes:

v2.2.3 - Feb. 7, 2013
Fixed a vulnerability with signed requests
Updated cert bundle to use the current curl bundle
Now uses most recent Facebook SDK code


v2.2.2 - August 15, 2012
Added Logout Functionality. Destroys Facebook login and PHPFusion session for use of panel. Stops user from being re-logged.


v2.2.1 - August 13, 2012
Fixed Redirect Loop associated with Panel. (Only present in cases of sub directory use).
Added Total Facebook Users Connected Count (in Admin)
Small design tweaks
Removed Facebook Image button to Connect, changed with locale text for better translation.


v2.2.0 - August 12, 2012
Extended Tokens
Shared Sessions for Better Security
Login through panel (no need to visit infusion page)
Minor Bug Fixes


v2.1.3
Admin Activation Implemented
Certificate Update (CURL Issue)
Improved Code
New Locales


v2.1.2
Updated Connect Panel for PHPFusion 7.02.05
Tidied the Code Up
Admin Updates Changed, No Longer IFRAME (Report Any Bugs With This)


v2.1.1
Security Fix


v2.1.0
Fixed Characters (UTF8/ISO)
Cleaned up Register Page
Fixed ApiException Error (Long array text on register)
Optimized Locales - <!--USERNAME--> Replaces in Output
More Locales Defined
Small Bug Fixes


v2.0.3
Fixed Redirect Loop Problem
Added new Login System (backend)
New Locale Variables


v2.0.2
Minimized / Cleaned up Code
Added Headers (redirect loop fix)


v2.0.0
Install Using Infuse
New - Admin panel
New - Fetches Facebook Profile Picture, Sets as Avatar



-- View this Addon --

----------------------------------------------------------------
NOTES
----------------------------------------------------------------

You can retrieve the default facebook user image and place it in your server and have it set to an avatar by altering the following code:

Around Line 206 (infusions/connect/index.php):

if ($user && (int)$user_profile['id'] != 0)
                {
                    $fbid = (int)$user_profile['id'];
                    //$avatar = (int)$user_profile['id'].".jpg";
                    $avatar = "";
                    $url = "https://graph.facebook.com/{$fbid}/picture?type=normal";
                    $img = IMAGES . "avatars/{$fbid}.jpg";
                    //file_put_contents($img, file_get_contents($url));
                    //Warning!! Against Facebook policies! They will ban you from using this script.
                    //Un-comment to use!

                }


To:

if ($user && (int)$user_profile['id'] != 0)
                {
                    $fbid = (int)$user_profile['id'];
                    $avatar = (int)$user_profile['id'].".jpg";
                    //$avatar = "";
                    $url = "https://graph.facebook.com/{$fbid}/picture?type=normal";
                    $img = IMAGES . "avatars/{$fbid}.jpg";
                    file_put_contents($img, file_get_contents($url));
                    //Warning!! Against Facebook policies! They will ban you from using this script.
                    //Un-comment to use!

                }
Edited by NetriX on 13-02-2013 21:30,
0 replies

3 posts

M
Martijn78
M
euhh...
  • Member, joined since
  • Contributed 107 posts on the community forums.
  • Started 25 threads in the forums
answered
Member

When entering infusions > connect panel i get this:

Not Found

The requested URL /infusions/facebook_connect_panel/facebook_connect_panel_admin.php was not found on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.


would be nice if enhanced_user_info_panel.php would be build in :G
Edited by Martijn78 on 18-02-2013 00:37,
0 replies
N
NetriX
N
NetriX 10
Need help? Having trouble?
» View our Documentation for guides, functions and more - including the Getting Started section!
» Attach Log Files and Screenshots when reporting issues
» My support days are usually Mon-Thurs. Send me a PM if urgent.
  • Senior Member, joined since
  • Contributed 566 posts on the community forums.
  • Started 93 threads in the forums
  • Started this discussions
answered
Senior Member

Quote

Martijn78 wrote:

When entering infusions > connect panel i get this:

Not Found

The requested URL /infusions/facebook_connect_panel/facebook_connect_panel_admin.php was not found on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.


would be nice if enhanced_user_info_panel.php would be build in :G

Your reference is to the wrong infusion. That would be Ankur's infusion.
0 replies
— 7 months later —
L
lifeguard
L
  • Member, joined since
  • Contributed 113 posts on the community forums.
  • Started 27 threads in the forums
answered
Member

nevermind, already fixed
Edited by lifeguard on 13-10-2013 09:31,
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 3 posts
  • Votes 0 votes
  • Topic users 3 members

0 participants

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet