vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Integration with vBulletin - Facebook Connect - Allow your users to login with their Facebook account (https://vborg.vbsupport.ru/showthread.php?t=198499)

sdsvtdriver 01-25-2009 12:46 AM

Quote:

Originally Posted by sllik (Post 1723419)
fixed!

Thanks! I updated to 2.0.3 today!

Any thoughts on adding an exclusion to certain forums (admin, etc.) so it doesn't update the newsfeed?

Brandon Sheley 01-25-2009 01:43 AM

Quote:

Originally Posted by sdsvtdriver (Post 1723829)
Thanks! I updated to 2.0.3 today!

Any thoughts on adding an exclusion to certain forums (admin, etc.) so it doesn't update the newsfeed?

I would like this as well.
like private forums that wouldn't need to be posted on the news feed :D

updated with no problems

peppy 01-25-2009 02:01 AM

Hi

I just installed 2.0.3 and I get a whole page of SQL appear as text when I try and map the fields

query_first(" SELECT fbuid FROM " . TABLE_PREFIX . "fbuser WHERE userid = " . $userid . " LIMIT 1 "); return intval($user['fbuid']); } function fetch_fbuser_info($query) { require_once(DIR . '/includes/facebook/facebook.php'); global $vbulletin, $db; $fbusers = $db->query_read($query); $fbuids = ""; $vbuids = array(); while ($fbuser = $db->fetch_array($fbusers)) { if ($fbuser['fbuid']) { $fbuids .= $fbuser['fbuid'] . ","; $vbuids[] = $fbuser['userid']; } } $fbuids = rtrim($fbuids, ','); $fbuserinfo = $vbulletin->session->vars['fbuserinfo']; if ($vbulletin->facebook == null) $vbulletin->facebook = new Facebook($vbulletin->options['fbconnect_apikey'], $vbulletin->options['fbconnect_secret']); try { $fbuser = $vbulletin->facebook->api_client->users_getInfo($fbuids, 'name, first_name, last_name, affiliations, pic, pic_small, pic_square'); for ($i = 0; $i < count($fbuser); $i++) $fbuserinfo[$vbuids[$i]] = $fbuser[$i]; $v

etc..

indie2industry 01-25-2009 08:11 AM

Wow!!! Insane!! Works Perfectly!!

Hex_legend 01-25-2009 03:03 PM

Im having a weird problem.

I have set it all up now, so its working apart from one thing.

I have vBA installed and anyone who is a member of the facebook group cannot view the main page due to "usergroup permissions" (which is vba)

I have set all the usergroup permissions.

I am running 3.7.4

sllik 01-25-2009 04:17 PM

Quote:

Originally Posted by peppy (Post 1723859)
Hi

I just installed 2.0.3 and I get a whole page of SQL appear as text when I try and map the fields

query_first(" SELECT fbuid FROM " . TABLE_PREFIX . "fbuser WHERE userid = " . $userid . " LIMIT 1 "); return intval($user['fbuid']); } function fetch_fbuser_info($query) { require_once(DIR . '/includes/facebook/facebook.php'); global $vbulletin, $db; $fbusers = $db->query_read($query); $fbuids = ""; $vbuids = array(); while ($fbuser = $db->fetch_array($fbusers)) { if ($fbuser['fbuid']) { $fbuids .= $fbuser['fbuid'] . ","; $vbuids[] = $fbuser['userid']; } } $fbuids = rtrim($fbuids, ','); $fbuserinfo = $vbulletin->session->vars['fbuserinfo']; if ($vbulletin->facebook == null) $vbulletin->facebook = new Facebook($vbulletin->options['fbconnect_apikey'], $vbulletin->options['fbconnect_secret']); try { $fbuser = $vbulletin->facebook->api_client->users_getInfo($fbuids, 'name, first_name, last_name, affiliations, pic, pic_small, pic_square'); for ($i = 0; $i < count($fbuser); $i++) $fbuserinfo[$vbuids[$i]] = $fbuser[$i]; $v

etc..

double check your server settings... this is php code not mysql... you should never see this.

Quote:

Originally Posted by indie2industry (Post 1724043)
Wow!!! Insane!! Works Perfectly!!

:)

Quote:

Originally Posted by Hex_legend (Post 1724308)
Im having a weird problem.

I have set it all up now, so its working apart from one thing.

I have vBA installed and anyone who is a member of the facebook group cannot view the main page due to "usergroup permissions" (which is vba)

I have set all the usergroup permissions.

I am running 3.7.4

i danno man... seems like a permission issue... you can try and change the default user group for facebook users (in the FB Connect Settings).

Blackhat 01-25-2009 04:24 PM

what about msn connect? :)

sllik 01-25-2009 04:35 PM

Quote:

Originally Posted by Blackhat (Post 1724391)
what about msn connect? :)

lol sorry not yet :)

Hex_legend 01-25-2009 06:53 PM

Any plans to do the instant messenger that facebook has?

Sllik, could you please PM me? I had an idea about a new add-on =]

Blackhat 01-26-2009 08:57 AM

when those guests logs in using facebook, are those accounts just temporary or permanent ?


All times are GMT. The time now is 02:54 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.02435 seconds
  • Memory Usage 1,744KB
  • 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
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)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