[ABD] Facebook graph/connect logins and registration

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
Locked
Jan Christensen
Registered User
Posts: 140
Joined: Sun May 16, 2004 10:42 am
Location: Denmark

Re: [BETA] Facebook graph/connect logins and registration

Post by Jan Christensen » Thu Aug 05, 2010 7:08 pm

Looks like a great mod.
Jan Christensen • Danish language package author • Olympus DK Team

Skinny Vinny
Registered User
Posts: 230
Joined: Tue Dec 01, 2009 7:10 pm

Re: [BETA] Facebook graph/connect logins and registration

Post by Skinny Vinny » Fri Aug 06, 2010 4:29 am

I actually owe an apology. During the changes through testing/beta here, I did in fact break linking with existing accounts.... .... but it was for the best in the end, because I re did a lot of it in the fix. There are now more info screen to tell the user what's going on as the hook acts.

Linking accounts now points off to standard login on submit. If correct user/pass, you'll see the standard phpbb-you're-logged-in-message, then the hook will inform them they've linked.

Revoke button has been added to the board preferences screen in ucp. If no access token is available, it just says to go to fb app settings. If one is present, it send the command itself. If user is not fb connected, a connect your fb account button is displayed instead.

I've tested and retested in svmods and it seems to be running pretty smoothly. Test away, let me know if anything is wrong.

Special thanks are due to 'Saugata Datta' for doing some work for me: he threw a modx in with the beta files, and confirmed it was all auto mod compatible. I just need to replace the file and edit/add a little to the modx file and we can call it an RC :)

Skinny Vinny
Registered User
Posts: 230
Joined: Tue Dec 01, 2009 7:10 pm

Re: [BETA] Facebook graph/connect logins and registration

Post by Skinny Vinny » Fri Aug 06, 2010 4:46 am

Latest version of file is available at http://svmods.com/download/file.php?id=3
For those users that had previously installed and are simply replacing the hook file, you'll need to add the new template additions to ucp_prefs_personal that are on the install instructions for the ucp revoke option.

User avatar
heredia21
Registered User
Posts: 942
Joined: Sun Apr 18, 2010 6:14 pm
Contact:

Re: [BETA] Facebook graph/connect logins and registration

Post by heredia21 » Fri Aug 06, 2010 3:34 pm

The connect to facebook stays on the header. After being logged in.
Best BlackBerry website for all users! BlackBerry News - http://blackberryempire.com

Skinny Vinny
Registered User
Posts: 230
Joined: Tue Dec 01, 2009 7:10 pm

Re: [BETA] Facebook graph/connect logins and registration

Post by Skinny Vinny » Fri Aug 06, 2010 4:09 pm

Because you added it to overall header.
Feel free to twist the mod however you like, but I'm not supporting it outside of how it was instructed.

In your case, you would want to wrap it in overall header with something like<!-- IF not SVMODS_FACEBOOK_UID --><!-- ENDIF -->
Last edited by Skinny Vinny on Fri Aug 06, 2010 4:13 pm, edited 1 time in total.

User avatar
heredia21
Registered User
Posts: 942
Joined: Sun Apr 18, 2010 6:14 pm
Contact:

Re: [BETA] Facebook graph/connect logins and registration

Post by heredia21 » Fri Aug 06, 2010 4:13 pm

Go to my page so you can see. Let me try to get an image.
Best BlackBerry website for all users! BlackBerry News - http://blackberryempire.com

Skinny Vinny
Registered User
Posts: 230
Joined: Tue Dec 01, 2009 7:10 pm

Re: [BETA] Facebook graph/connect logins and registration

Post by Skinny Vinny » Fri Aug 06, 2010 4:14 pm

I saw it, editted post above.

User avatar
heredia21
Registered User
Posts: 942
Joined: Sun Apr 18, 2010 6:14 pm
Contact:

Re: [BETA] Facebook graph/connect logins and registration

Post by heredia21 » Fri Aug 06, 2010 4:14 pm

Image
Best BlackBerry website for all users! BlackBerry News - http://blackberryempire.com

Skinny Vinny
Registered User
Posts: 230
Joined: Tue Dec 01, 2009 7:10 pm

Re: [BETA] Facebook graph/connect logins and registration

Post by Skinny Vinny » Fri Aug 06, 2010 4:37 pm

See post above.

User avatar
heredia21
Registered User
Posts: 942
Joined: Sun Apr 18, 2010 6:14 pm
Contact:

Re: [BETA] Facebook graph/connect logins and registration

Post by heredia21 » Fri Aug 06, 2010 4:43 pm

But im logged in already. Before with the previous hook it would go away after being logged in. Now it stays there.
Best BlackBerry website for all users! BlackBerry News - http://blackberryempire.com

Skinny Vinny
Registered User
Posts: 230
Joined: Tue Dec 01, 2009 7:10 pm

Re: [BETA] Facebook graph/connect logins and registration

Post by Skinny Vinny » Fri Aug 06, 2010 4:52 pm

Because it was changed to make the button available in the ucp to users that have not connected their fb accounts. Again, wrap the thing as stated above. For everyone else: if you use the mod in a fashion other than intended or installed in a way other than instructed.... it can be made to do all kinds of things but I'll only be supporting the unmodified versions.

This will be the support prerequisite:
Latest version of the hook file installed?
Installed as described/instructed?
If the answer to either of these is no, I won't touch it until it is so.
I'll help it if it's something simple like this if time permits.

User avatar
heredia21
Registered User
Posts: 942
Joined: Sun Apr 18, 2010 6:14 pm
Contact:

Re: [BETA] Facebook graph/connect logins and registration

Post by heredia21 » Fri Aug 06, 2010 4:55 pm

Skinny Vinny wrote:Because it was changed to make the button available in the ucp to users that have not connected their fb accounts. Again, wrap the thing as stated above. For everyone else: if you use the mod in a fashion other than intended or installed in a way other than instructed.... it can be made to do all kinds of things but I'll only be supporting the unmodified versions.

This will be the support prerequisite:
Latest version of the hook file installed?
Installed as described/instructed?
If the answer to either of these is no, I won't touch it until it is so.
I'll help it if it's something simple like this if time permits.
So you pretty much want the facebook button there even though you are already logged in with facebook and you are already connected through facebook? Wouldnt you want it to dissappear after you are logged in?
Best BlackBerry website for all users! BlackBerry News - http://blackberryempire.com

Skinny Vinny
Registered User
Posts: 230
Joined: Tue Dec 01, 2009 7:10 pm

Re: [BETA] Facebook graph/connect logins and registration

Post by Skinny Vinny » Fri Aug 06, 2010 5:03 pm

No, I don't want it there at all.
I never said put it in overall header (though I did offer you how to fix it in overall header above).

User avatar
heredia21
Registered User
Posts: 942
Joined: Sun Apr 18, 2010 6:14 pm
Contact:

Re: [BETA] Facebook graph/connect logins and registration

Post by heredia21 » Fri Aug 06, 2010 5:10 pm

Done. Thank you
Best BlackBerry website for all users! BlackBerry News - http://blackberryempire.com

Danielx64
Registered User
Posts: 1369
Joined: Wed Nov 04, 2009 5:51 am
Location: In a server room in Australia
Name: Daniel
Contact:

Re: [BETA] Facebook graph/connect logins and registration

Post by Danielx64 » Sat Aug 07, 2010 12:45 am

Dumb question, is it possable to change the connect logo so that it fit with the rest of the site/forum design?
Please note that I will not be porting any of my mods to phpBB 3.1. Sorry for the inconvenience this may cause.
Image

Locked

Return to “[3.0.x] Abandoned MODs”