![]() |
Sent author payment via Pay Pal, was never contacted......still cant log-in via VBAdvanced.
|
Quote:
sigh |
getting yet another error using this mod. now I have the "message is too short" error when replying.
is there a fix for this? |
I've gotten FB connect with Vbull, and now I'd like to integrate FB connect fully with the rest of my site, so I can have feeds published from other actions on my site.
Has anyone accomplished this successfully using the files installed on the forum? So far, I have added the appropriate connect tags to my common footer (outside of vbull): Code:
<!-- fbconnect --> Code:
<script> |
Quote:
PHP Code:
|
I'd like to have you install this on my forum!
|
will this work on a php4 system?
|
Quote:
|
Quote:
|
Quote:
Anyone that can rewrite it to work with php4? I'd upgrade my box but i'm afraid that upgrading it might break something. |
test environments FTW!
|
Quote:
serious question :) |
"I'll take center square, for the win."
|
"Fetch data like name, location, profile picture and use it on your forums! (NOTE: Some data may not be available for some users)"
can you explain this a bit more. it seems everything is working but when i did a test run NONE of the data was fetched. i do have it enabled in the fb connect settings. |
i got it figured out... sry
|
Ok checked back after 2 months. Saw there a new version. Tried it and STILL GET:
Code:
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 ' '; } |
Let me just say that this script is amazing! Thanks so much for all the work.
Almost the only reason for ANY site not to use it is that they just don't know about it yet and what it can do. I love the way it integrates into the site and works seemlessly! Great work! |
Any Plans To Work With Anything Other Than Php5???
|
I currently have over 500 facebook members since installing this!
|
When I tried to assign a username i got the following error
Fatal error: Call to a member function query_read() on a non-object in /home/chatsuk/public_html/DOMAIN/forums/includes/class_dm_user.php(2899) : eval()'d code on line 9 It did seem to make it fine just will not log me in :( HELP |
php4 here :( Would love this, easy MOTM but can't be for me.`
|
How do I edit the templates?
|
Is there a way to prevent private forums from showing up on the Facebook pages? We have a "board room", where we discuss site issues and various problems......I happened to check out my FaceBook page, and there was some very sensitive information posted in public for everyone to see.
|
Quote:
I've been able to do it with <if> conditions around the code and it all works apart from if you click preview post and then submit (on the quick reply it works perfectly). |
Quote:
|
Hey, got an issue. Hopefully it is a small one.
I click on the Facebook connect Icon and enter my email address and password. The very next screen is blank in the registration process. Any ideas? |
If you get a continues this means there is a javascript error. Make sure you've done all the template edits correctly (especially footer & navbar). Clear your cache and reload the page.
so how is there a fix for this ???? yes, I have edited the templates correctly. now what? :( |
How do I inquire about a professional install?
|
Clean Install Thank you very much ,, see it in action here.. http://www.simplementetodo.com/colombia/index.php website is on spanish.
|
Anyone get this to work on v. 3.6.8? I just get the little https://vborg.vbsupport.ru/ thingy going back and forth forever.
|
I am having problems in AdminCP - the Facebook links return this error message:
Parse error: syntax error, unexpected $end in /home/*********/public_html/includes/facebook/facebookapi_php5_restlib.php on line 2482 What does this mean and how can I fix it ?? :( EDIT ________________ I reuploaded the file and it works now :) |
Installed on 3.8 and so far, works a treat!
|
OK - upon testing - I've come across my first problem:
When logged in through FBConnect - all of my non-forum site pages (VBAdvanced) state 'you do not have permissions to view this page' - etc etc (the generic message) Why can a member signed in through FB only view the forum - but none of the other pages inside my VBAdvanced site will work..? Any help is MUCH appreciated |
Quote:
|
Hey guys,
I keep getting this error at the top of my forum after installing this product: Parse error: parse error, unexpected '{' in /home/content/b/e/f/befit4free/html/befit4free/includes/functions.php(5576) : eval()'d code on line 9 Any ideas? http://BeFit4Free.net |
I also get this error message when I try to log out...
Warning: Unknown([path]/includes/facebook/facebook.php): failed to open stream: No such file or directory in [path]/includes/functions_login.php(409) : eval()'d code on line 1 Fatal error: (null)(): Failed opening required '/home/content/b/e/f/befit4free/html/befit4free/includes/facebook/facebook.php' (include_path='.:/usr/local/lib/php') in /home/content/b/e/f/befit4free/html/befit4free/includes/functions_login.php(409) : eval()'d code on line 1 |
Quote:
|
Quote:
|
Quote:
|
Quote:
|
All times are GMT. The time now is 05:02 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:
|