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)

mikeB 03-14-2009 07:39 PM

Quote:

Originally Posted by smnet (Post 1768137)
This mod is dead. Everyone who has installed it is basically screwed because you cannot uninstall it otherwise your members who signed up via facebook wont be able to login.

The author released this mod with bugs, fixed a few... then abandoned it.

What's worse is that this is in the running for mod of the month - I cant believe it. I voted it 'terrible'.

For anyone who disagrees, I would suggest you read this thread properly and then ask yourself if this thread deserves a 'supported' flag. This is the least supported mod I've ever seen.

I'm not being ungrateful - I know releasing mods takes hard work.... but releasing them is easy - supporting them harder. I see no point in releasing a mod, not patching the holes and leaving everyone who has installed it 'trapped' - this sucks.

/rant


It was working fine for me I love it and so do my members - I hired the dev to install and he was there to do it and he couldnt have forseen fb making an internal change the way they did so Im sure he'll fix it

thats my opinion - I have 250 monthly users now so I see this as invaluable and because its so new, you have to cut some slack - its something someone made for free!

sllik 03-14-2009 11:54 PM

It seems there is a problem with the news-feeds after the last facebook update. There is nothing I can do about it, but facebook IS aware of the issue and hopefully they'll fix it soon.

I would suggest you guys disable the news-feeds in your vbconnect settings (set Enable Feeds to No) for now.

fattony69 03-15-2009 08:46 AM

Quote:

Originally Posted by smnet (Post 1768137)
This mod is dead. Everyone who has installed it is basically screwed because you cannot uninstall it otherwise your members who signed up via facebook wont be able to login.

The author released this mod with bugs, fixed a few... then abandoned it.

What's worse is that this is in the running for mod of the month - I cant believe it. I voted it 'terrible'.

For anyone who disagrees, I would suggest you read this thread properly and then ask yourself if this thread deserves a 'supported' flag. This is the least supported mod I've ever seen.

I'm not being ungrateful - I know releasing mods takes hard work.... but releasing them is easy - supporting them harder. I see no point in releasing a mod, not patching the holes and leaving everyone who has installed it 'trapped' - this sucks.

/rant

Jeez, calm down. I have been following this mod and he is doing he can. I don't see you being nice. Maybe a thank you. Even donating to help him out? Instead you complain. He has updated the mod many times and talking to facebook, what else do you want?

FireStorMZ 03-15-2009 01:14 PM

When i use http://mysite.com it works but when i use http://www.mysite.com it does not work .. What may be the problem ?

Thank you

cory_booth 03-15-2009 01:38 PM

Cookies probably -
Use .htaccess to redirect all non-www to www

ULSS 03-15-2009 05:00 PM

sllik.. are you still offereing professional installs? I've done most of the steps, but somethings not right, so i've disabled it for now. But i'd like to have you finish it and get it working. Let me know and i'll PP you.. the site is http://BowlingTracker.com

Thanks..

ljcaswell 03-15-2009 08:44 PM

Installed yesterday and works very well, but noticed two issues:

1. When I tried to use the "Use your existing Login" link, it simply let me login with my existing login. It didn't update my Facebook profile or update it when I posted a test post.

2. When I created a new ID on the forum, it asked me if I wanted to grant permission to update Facebook. I tried to click the Publish button, but nothing happened. I clicked cancel, and it logged me in fine, but no messages appeared on my Facebook profile. I went into Facebook and manually granted the app permissions to publish, and now it works fine. I get messages on my Facebook profile when I post, reply etc, but this is obviously not ideal.

Wakey 03-16-2009 12:57 AM

Quote:

Originally Posted by sllik (Post 1768349)
It seems there is a problem with the news-feeds after the last facebook update. There is nothing I can do about it, but facebook IS aware of the issue and hopefully they'll fix it soon.

I would suggest you guys disable the news-feeds in your vbconnect settings (set Enable Feeds to No) for now.

What I did was go through all the Facebook Connect Templates looking for calls to FB.Connect.showFeedDialog

Inside all those functions I changed FB.FeedStorySize.oneLine to null. Its not ideal as it now wants to post short stories rather than the one line ones but its a temp fix that works

cngrock 03-16-2009 08:57 AM

Hi

When data mapping I get this show, and it also shows when loading the posts:

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]; $vbulletin->session->set('fbuserinfo', $fbuserinfo); } catch(FacebookRestClientException $ex) { } //print_r($vbulletin->session->vars['fbuserinfo']); } function set_fb_data(&$target, $userid = '', $profilefield = false) { require_once(DIR . '/includes/facebook/facebook.php'); global $vbulletin, $db, $show, $vbphrase, $fb_field_map, $avatarurl; if ($userid) $target['userid'] = $userid; if ($vbulletin->options['fbconnect_importdata'] && $target['userid'] != '') { $fbuserinfo = $vbulletin->session->vars['fbuserinfo']; if (!is_array($fbuserinfo[$target['userid']])) { $fbuid = get_fb_uid($target['userid']); if ($fbuid) { if ($vbulletin->facebook == null) $vbulletin->facebook = new Facebook($vbulletin->options['fbconnect_apikey'], $vbulletin->options['fbconnect_secret']); try { $fbuser = $vbulletin->facebook->api_client->users_getInfo($fbuid, 'name, first_name, last_name, affiliations, pic, pic_small, pic_square'); $fbuserinfo[$target['userid']] = $fbuser[0]; $vbulletin->session->set('fbuserinfo', $fbuserinfo); } catch(FacebookRestClientException $ex) { } } } if (is_array($fbuserinfo[$target['userid']])) { if (!is_array($fb_field_map)) { $fb_field_map = array(); $profile_fields = $db->query_read(" SELECT * FROM " . TABLE_PREFIX . "fbdatamap "); while ($field = $db->fetch_array($profile_fields)) { $fb_field_map[$field['vbfield']] = $field['fbfield']; } } $not_profile_field = array('avatarurl', 'profilepicurl'); foreach ($fb_field_map as $vbfield => $fbfield) { if ($profilefield && $target['value'] && $target['value'] != $vbphrase['n_a']) continue; if ($target[$vbfield] && pathinfo($target[$vbfield], PATHINFO_BASENAME) != 'unknown.gif') continue; if ($fbfield == 'affiliations') { if (is_array($fbuserinfo[$target['userid']][$fbfield])) { foreach ($fbuserinfo[$target['userid']][$fbfield] as $network) { if ($network['type'] == 'region') { $fbuserinfo[$target['userid']][$fbfield] = $network['name']; break; } } } } if ($profilefield) { if ($vbfield == ('field' . $target['profilefieldid'])) { $target['value'] = $fbuserinfo[$target['userid']][$fbfield]; break; } } else $target[$vbfield] = $fbuserinfo[$target['userid']][$fbfield]; } if ($target['avatarurl']) { $avatarurl = $target['avatarurl']; $show['avatar'] = true; } } } } function print_datamap_row($vbdata, $fbdata, $vbselected = "", $fbselected = "") { global $vbphrase; echo ' '; if ($vbselected) echo '[ '.$vbphrase['delete'].' ]'; echo ' '; }

Any ideas on how to fix.

when I disable the facebook connect - the forums work fine.

Cheers

smnet 03-16-2009 11:38 AM

I honestly presumed that this mod had been abandoned. As such I was annoyed because we've over 100 new members via facebook, so was feeling rather 'trapped' in using a mod that only half works.

I apologise for my outburst sllk.


All times are GMT. The time now is 08:27 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.02408 seconds
  • Memory Usage 1,758KB
  • 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
  • (3)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