![]() |
Quote:
Just tried that :eek: Quote:
Quote:
Think it matches the email address from facebook to the one registered on yer forums |
Quote:
Another question is : when login to the forum with fbconnect and choose to use existing user, it automatically mapping the email address registered in facebook to user in the forum. Where can i see the mapping ? or there's a data table for it ? For example : user A (registered user in forum) logged in with his email (his_email address in facebook) using fbconnect, then automatically user A logged in to the forum. Is there a way to change his forum username ? (in case he has 2 registered username in the forum) ? |
Quote:
|
hopefully there are plans for a 3.8 version of this, or should it work just fine
thanks -Brandon |
Quote:
Edit - I've worked out how now too. Seems to be working like a charm at the moment. Great stuff :) |
Quote:
|
the ones having spanish language problems, i didnt just do a fresh install of the mod,, i made a fresh application too. Not sure which solved it though.
|
Quote:
|
are people having to clear their cookies and cache everytime they log into their board?
I get this almost everytime The Facebook Connect cross-domain receiver URL (http://sundeviltalk.com/xd_receiver....%220.711%22%7D) must have the application's callback url (http://www.sundeviltalk.com/) as a prefix. You can configure the callback url in the application's settings. ------------- |
Has anybody played with having other activities outside of Thread stuff report back to Facebook yet? I thought I saw a link to some documentation on how to format requests, but I can not seem to find it. I was thinking of stuff like adding pictures, comments on profiles, and for my own use eFiction actions of story posting and reviews.
|
Quote:
|
Quote:
|
Quote:
|
Quote:
One thing I;ve done on my site is to add the following to the start of the htaccess file to 301 redirect any www.domainname.com addresses to a domainname.com address instead. Code:
RewriteEngine On Hope this helps! |
Quote:
Quote:
|
I have a issues, for some reason my users have the wrong person's picture, it was working fine then this morning it had them all with the profile pic of one of our administrators.
EDIT its only happening with avatars in the posts, their avatars are correct on the memberlist. |
Quote:
|
Quote:
|
ok i gotta post
GREAT MOD! really i am impressed! installed! on a new signup from facebook all is well i can also hit it, enter fb info on the fb login on my forum then click "use existing username" on the nickname popup and login with a existing account just fine BUT when doing that and linking to a existin account i dont get the popups for posts and the fbconnect email settings link in the usercp and all.... anyone know why? |
It is possible that users that have an user in the forum can use their facebook account. Not to register a new one???
|
Quote:
|
Can I get some help?
I installed this plugin and when I try to map facebook data or go to member profile following shows up on the screen 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 ' '; } |
Quote:
|
that said though...
fbconnect doesnt have a certain usergroup to make it work does it? it just makes you pick a default group to add people to... guess im saying, if you were to add these users to that group, i dont think that would fix the issue would it? |
Well the way I understood the instructions was that we had to create a totally separate usergroup, which I did. Thus when you select a username that already exists it doesn't work the same way...
|
Quote:
|
argh dilemma, the facebook connect mod is fantastic...but i have used the process of elimation to find that it stops the facebook status modification working :( My members want the status, but i have had five new members join up using this mod. I cant work out where the conflict is, other than it has something to do with ajax. i dont suppose anyone has any ideas what it could be?
|
I'll install this if it ever does Auto-Template updates. With 30+ skins, it makes it way too daunting of a task. LOL
Great mod though. |
Question: Everything goes okay, till the moment I hit the "Register Default Templates" link. Nothing happens... ? It finds or does nothing. Any suggestions?
|
Has anyone tried this with 3.8?
|
yes, it works on 3.8. my board is 3.7 but I read in this thread of people using it on 3.8.
question: I'd like to add a connect to facebook link in my navigation module on CMPS. does anyone know the http link of this hack? www.sundevilktalk.com |
I know it says 3.7 on the top, but is this working in 3.6.x ? Anyone tried?
This hack is amazing !! |
hey i have the same problem as playsocial
i set up every thing properly and added all the files and done all setting but when i click the connect to face book it does nothing can anyone help me please |
Quote:
|
what error does it give??
|
Quote:
|
i have checked and i cannot see any errors on the site !
which page are you on ? ***************** edit ***************** i see the two errors now but i dont know where the problem is it all seems fine to me ! i dont know where to look for the bburl though |
version 2.0.2 was not working with the old vb 3.6.4 but after removing it and installing the 1.1.3 facebook hack version, is now working 100% with vbulletin 3.6.4
Thanks!!! :D |
ok i fixed that problem it was a human mistake :D ie ME lol
now it comes up but once i login and choose my nickname after that i get this error Code:
Warning: strpos() [function.strpos]: Empty delimiter. in [path]/includes/class_dm_user.php(2894) : eval()'d code on line 11 also i get this as well in the register templates part Code:
Warning: fopen(http://api.facebook.com/restserver.php) [function.fopen]: failed to open stream: HTTP request failed! in [path]/includes/facebook/facebookapi_php5_restlib.php on line 2487 |
I've managed to successfully install this mod on two of my forums running 3.7.4 and 3.8.0 respectively, however, I've tried to add this to another one which uses 3.7.0 and even though the Facebook Connect button appears, nothing happens when I click it.
I've gone over the template edits THREE TIMES and everything is fine and I've also tried removing javascripts from my HEADINCLUDE file one at a time to see if there are any conflicts - however, whatever I do, it won't come up with the popup window. Can someone help here? I'm tearing my hair out! |
All times are GMT. The time now is 04:12 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|