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)

werewe12 08-11-2009 04:48 PM

Wolfstream, do you think my problems have to do with the custom usergroup i set for facebook connect?

My Facebook fans are starting to complain about the fb connect only sometimes working. It seems like a FB issue, but no one else is complaining. I started a thread in the fb developer forum so well see if they have any answers.

Any ideas why else it would only work half the time?

dkobia 08-11-2009 09:38 PM

For those of you getting this error:

Quote:

* 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
Here's a possible Fix. In your /forums/fblogin.php:

Change:
Code:

$fbuid = intval($vbulletin->facebook->get_loggedin_user());
To:
Code:

$fbuid = $vbulletin->facebook->get_loggedin_user();
if (!is_numeric($fbuid))
{
        $fbuid = 0;
}


REASONS:
Depending on your system, intval(XXX) can return a maximum value of 2147483647. I tried floatval(XXXX), but that has a precision of something like 14 numbers on some systems. Facebook User ID's are up to 15 digits now!! Too many people joining up!

So because of this reason, the UID is rounded off to an invalid ID and fails to return an email address on request.

Hopefully this solves the issue for some of you :p. It might not be the only issue, but it definitely solved mine.

bmckinley 08-12-2009 03:52 AM

Thanks dkobia for the solutions...lots of us need the people like you around that understand a little better.

Upped to 3.8.4 and mod seems perfectly fine so far.

GoodOmens 08-12-2009 02:24 PM

I use navbits on non-vbulletin pages (my wordpress blog)

Is there a way to get this working on other pages? I get the loading image on pages that are not my forum.

My blog is at xxx.com and my forum is xxx.com/forum

I think it's a javascript error but can't figure it out. I've got the footer loaded properly. I'm getting the following errors:

Yahoo is undefined, vbulletin is null or not an object.

Edit: Fixed .. needed to include the yahoo js file.

RedDevil 08-13-2009 01:10 AM

Just reinstalled this again after a server move, however all i get now is HTTP 500 Internal server error.

This was working perfectly prior to the move, any ideas what could be the cause of this error.

running linux VPS

cheers in advance.

Ps i did look though posts but far too many and couldnt find any answers.

wolfstream 08-13-2009 01:33 AM

a 500 error is a server error. Contact your systems admin, have them look over the logs.

GoodOmens 08-13-2009 01:56 AM

Hmm I liked this mod so much I installed it on my second board.

However I'm getting the "click and nothing happens" problem. I've triple checked my settings and everything is like it should be.

Can this mod be installed on two different forums (different domains) on the same server IP? I have set up a second facebook app.

In otherwords its working on xxx.com but not on yyy.com even though xxx and yyy have their own separate facebook apps.

The only thing different I see is my seccond application has an optional "Get Verified" link (where as my first site does not)

Do I need submit my second application for verification? Anyone using more then one install?

wolfstream 08-13-2009 02:48 AM

Quote:

Originally Posted by GoodOmens (Post 1866237)
However I'm getting the "click and nothing happens" problem. I've triple checked my settings and everything is like it should be.

Then you're doing something wrong. Check all your settings, because one of them is off.

Quote:

Originally Posted by GoodOmens (Post 1866237)
Can this mod be installed on two different forums (different domains) on the same server IP? I have set up a second facebook app.

Absolutely, I had it running on 3 at one point. Facebook doesn't care about your ip address @ all, just the domain

Quote:

Originally Posted by GoodOmens (Post 1866237)
Do I need submit my second application for verification? Anyone using more then one install?

This app doesn't care about verification, it cares about proper code and procedures. Follow the instructions and the app works.

I have in the past had it running on 3 domains on the same ip, since I've moved them to separate ip addresses, and added a second to the main install for testing purposes, so yes, this does work with multiple installs on the same ip. Check your configuration on both ends, and make sure that everything is uploaded as it should be.

GoodOmens 08-13-2009 03:34 AM

Yep ... found one tiny error in the footer... so frustrating.

Thanks for letting me know it works with multiple installs.

maclean_cherry 08-13-2009 09:12 AM

I've just installed this and now users can't post.

They keep getting a 'your post is too short, please legthen it to 5 characters' etc (not exact message)

It seems to be happening more in IE, if I use google chrome it doesn't do it.

Is there a fix? Paying members are not so happy at the moment..


All times are GMT. The time now is 05:16 AM.

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.02445 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
  • (2)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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