vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Integration with vBulletin - Facebook Connect - Allow your users to login with their Facebook account (for 3.8) (https://vborg.vbsupport.ru/showthread.php?t=203064)

wolfstream 07-25-2009 05:57 PM

Quote:

Originally Posted by ZiG (Post 1855289)
when users link their facebook account to their pre-existing account, what are the security features to ensure that they are the proper owner of that account?

You can't link to an account, or create a new account (via the facebook connect plugin) without being logged in to facebook. If you're not logged in, you'll be required to login.

I'm not sure what happened in your case, and I'm not going to say it didn't happen, but it seems a bit fishy.

ZiG 07-25-2009 07:01 PM

well, ill give some more details, as i can't figure this out either

when i connected my facebook acount, to my admin account...i was required to login to facebook via the facebook connect plugin. after logging in, it prompted me to choose a nickname, however i already had an existing account on the rdyup website (my admin account) so i chose the option to use a current existing account instead, and inserted my details into the prompt screen...

all seemed to work out fine, as i was now able to login to my account via the normal vbulletin login method, and when connecting with facebook it automatically logged me into the admin account i had linked it to.

however, it seems that this same account was then somehow linked with another user account. they are logging in with their facebook details, and being logged in directly to my admin account which i linked up with my facebook details. so it doesnt really make sense to me.

is there a database that i can check to see what the problem could be, to see if his account is somehow linked to my administrative account. i cant understand why his account would have linked up to it in the first place.

wolfstream 07-25-2009 07:26 PM

Quote:

Originally Posted by ZiG (Post 1855331)
is there a database that i can check to see what the problem could be, to see if his account is somehow linked to my administrative account. i cant understand why his account would have linked up to it in the first place.

Yes, but it's a mess. I'll see if I can put a quick hack together to pull information out, but can't really guarantee much. In the meantime, fire up phpmyadmin, look in the fbuser table, look for duplicate userids.

Like I said, I'll see if I can put something together to better interpret this, we'll see if it can be done.

cad2go 07-25-2009 10:33 PM

Getting a 500 error after hitting Publish or Skip.

I've read this thread from start to finish btw.

wolfstream 07-25-2009 11:02 PM

500 errors mean there's something wrong with how the server is handling something. Most likely phpsuexec, or suphp, or some garbage. check the error logs.

wolfstream 07-25-2009 11:05 PM

Quote:

Originally Posted by ZiG (Post 1855331)
is there a database that i can check to see what the problem could be, to see if his account is somehow linked to my administrative account. i cant understand why his account would have linked up to it in the first place.

I have put together a very simple mod to do this here. It's pretty straightforward, and I think the mod will benefit anyone here, not just those in your position.

If/When the author decides to put out an update to this, I more than welcome them to incorporate this into the mod, it really isn't that hard to do.

This, by no means uses this code. I simply made an adjustment to the xml navbits (to include the page), and put up a quick hack to do this.

This will allow users to see who is who (real user wise) through facebook connect, and in the event that something goes wrong, they can very, very easily be modified, even without using a separate usergroup now!

Enjoy

ZiG 07-25-2009 11:21 PM

i appreciate the effort, this is a great mod however lacking some features...

i would like to see this mod continued once vb4 arrives

wolfstream 07-25-2009 11:26 PM

Right now, we don't know what vB4 is going to have in store, honestly, so let's just focus on vB3. Since alpha's not even out for vB4, theoretically it could be a year or better (we really don't know, and yeah, that's just speculation), the best focus is on what is here in front of us.

You say this mod is lacking features. Honestly, I don't see it as such, but what do you see it lacking? If it is possible to add them (without stepping on toes), I can add them as a new mod, or an addon, possibly. However, my hands are tied with license garbage here, so I can't redistribute the OP's code.

cad2go 07-25-2009 11:57 PM

Quote:

Originally Posted by wolfstream (Post 1855418)
500 errors mean there's something wrong with how the server is handling something. Most likely phpsuexec, or suphp, or some garbage. check the error logs.

ie was showing a 500 error - it hides errors apparently - on chrome I get

"Fatal error:
Please complete the required field "Email".
Unable to proceed with save while $errors array is not empty in class vB_DataManager_User in [path]/includes/class_dm.php on line 810"

Same error GoTTi was getting and he also got the 500 from ie.

wolfstream 07-26-2009 12:09 AM

cad2go:

Is this on the forums you have in your sig (rletc)? I was able to get to them and connect just fine using FF3, and IE8 didn't give me any issues either.

Most likely, this is a browser specific problem, and I'd lay 10:1 that browser isn't going to work with any facebook app outside of their page, not just the vB connection.

The code is pretty much facebook owned stuff, obviously fblogin.php is custom, but the rest of the user handling stuff is all facebook classes and whatnot. It's universal across god knows how many sites.

I'm not saying that your error didn't happen, but a bit mroe information would be good to help figure it out. If the latest version of the browsers work, then chances are it has something to do with the earlier, older version of the browsers


All times are GMT. The time now is 05:09 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02212 seconds
  • Memory Usage 1,747KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete