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)

Capper5016 02-16-2009 03:01 AM

Sent author payment via Pay Pal, was never contacted......still cant log-in via VBAdvanced.

jlew24asu 02-16-2009 12:21 PM

Quote:

Originally Posted by Capper5016 (Post 1745558)
Sent author payment via Pay Pal, was never contacted......still cant log-in via VBAdvanced.

thats ridiculous. sorry to hear about your troubles.

sigh

jlew24asu 02-16-2009 12:22 PM

getting yet another error using this mod. now I have the "message is too short" error when replying.

is there a fix for this?

swellinfo 02-16-2009 04:12 PM

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 -->
<script type="text/javascript">

<!--
        var bburl = FORUM_URL;
//-->
</script>

<script src="http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php" type="text/javascript"></script>

<script src=FORUM_URL+"/clientscript/fbconnect.js" type="text/javascript"></script>

<script type="text/javascript">
<!--
        // Main Facebook Connect Javascript Initialization

        FB.init(API_ID, "/forum/xd_receiver.htm");
//-->
</script>
<!-- / fbconnect -->

- Show quoted text -

I am able to have people login, but I have not been able to have users publish feeds. This is what I've tried, when users submit a form - onsubmit="on_load()":

Code:

<script>
function on_load() = function {
var template_data = {"blah":"blah"};
FB.Connect.showFeedDialog(142926675440, template_data, null, null, null, FB.RequireConnect.promptConnect);
}

The publish feed window pops up, but it is blank. Am I missing something here?

john_robot 02-16-2009 10:40 PM

Quote:

Originally Posted by Mum (Post 1719845)
Just wondering if there is any update on this :)

PHP Code:

Parse errorsyntax errorunexpected T_STRINGexpecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/gindara.com/httpdocs/includes/facebook/facebook.php on line 38 

yes I am having the same issue, its seems guys have no support ???

BeFit4Free 02-16-2009 10:58 PM

I'd like to have you install this on my forum!

mykkal 02-18-2009 07:47 PM

will this work on a php4 system?

cynthetiq 02-18-2009 08:00 PM

Quote:

Originally Posted by mykkal (Post 1748378)
will this work on a php4 system?

no.

mykkal 02-18-2009 08:10 PM

Quote:

Originally Posted by cynthetiq (Post 1748390)
no.

hmmm anyone here that can rewrite it to work on php4? unfortunately I can just upgrade my box. That will break things...

mykkal 02-18-2009 08:12 PM

Quote:

Originally Posted by sllik (Post 1682143)
Sorry, the Facebook Connect library doesn't support PHP4

man that sucks!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Anyone that can rewrite it to work with php4? I'd upgrade my box but i'm afraid that upgrading it might break something.

cynthetiq 02-18-2009 08:25 PM

test environments FTW!

jlew24asu 02-19-2009 12:47 AM

Quote:

Originally Posted by cynthetiq (Post 1748427)
test environments FTW!

what does FTW stand for?


serious question :)

cynthetiq 02-19-2009 11:53 AM

"I'll take center square, for the win."

testbot 02-19-2009 01:37 PM

"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.

testbot 02-19-2009 04:46 PM

i got it figured out... sry

hydn 02-20-2009 07:25 AM

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 ' '; }
This SUCKS. Still no reply to my original support request.

clubplanet 02-20-2009 01:26 PM

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!

Pokerbanter 02-20-2009 01:46 PM

Any Plans To Work With Anything Other Than Php5???

tpearl5 02-20-2009 01:49 PM

I currently have over 500 facebook members since installing this!

chatzworld 02-20-2009 04:36 PM

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

Mum 02-21-2009 02:09 AM

php4 here :( Would love this, easy MOTM but can't be for me.`

Iwantmymtv35@ya 02-21-2009 02:42 PM

How do I edit the templates?

Capper5016 02-22-2009 07:36 AM

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.

Ross L 02-22-2009 08:08 AM

Quote:

Originally Posted by Capper5016 (Post 1751213)
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.

This is a must!

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).

cynthetiq 02-22-2009 04:31 PM

Quote:

Originally Posted by Ross L (Post 1751221)
This is a must!

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).

can please you share exactly what you did?

mykkal 02-22-2009 08:15 PM

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?

jlew24asu 02-22-2009 10:28 PM

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? :(

mykkal 02-24-2009 03:47 AM

How do I inquire about a professional install?

andres28 02-24-2009 05:28 AM

Clean Install Thank you very much ,, see it in action here.. http://www.simplementetodo.com/colombia/index.php website is on spanish.

mnymaker 02-24-2009 04:05 PM

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.

gweb 02-25-2009 10:42 PM

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 :)

gweb 02-25-2009 11:28 PM

Installed on 3.8 and so far, works a treat!

gweb 02-26-2009 12:07 AM

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

mnymaker 02-26-2009 03:10 PM

Quote:

Originally Posted by mnymaker (Post 1753430)
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.

Never mind. I just upgraded to 3.8.1 and now it works.

BeFit4Free 02-27-2009 06:13 AM

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

BeFit4Free 02-27-2009 06:37 AM

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

Wakey 02-27-2009 02:05 PM

Quote:

* Quarantine Notification *

The following modification has had an exploit reported in it, and has been 'quarantined' by vBulletin.org.
I just got an email stating this about the v3.8 version. Anyone got any information on what the supposed exploit is

mykkal 02-27-2009 02:16 PM

Quote:

Originally Posted by playSocial (Post 1756114)
I just got an email stating this about the v3.8 version. Anyone got any information on what the supposed exploit is

No idea whats going on... I need support on this. The VB 3.8 thread version is totally locked.

Wakey 02-27-2009 02:27 PM

Quote:

Originally Posted by mykkal (Post 1756125)
No idea whats going on... I need support on this. The VB 3.8 thread version is totally locked.

I know its such a stupid action, they give such a vague reason for quarantining it and then lock the thread so it can't be discussed. No doubt if the real reason was known it could be fixed ourselves but I'm not about to shut some of my users out of the forums without more details

mykkal 02-27-2009 03:54 PM

Quote:

Originally Posted by playSocial (Post 1756137)
I know its such a stupid action, they give such a vague reason for quarantining it and then lock the thread so it can't be discussed. No doubt if the real reason was known it could be fixed ourselves but I'm not about to shut some of my users out of the forums without more details

agreed


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
  • Page Generation 0.02200 seconds
  • Memory Usage 1,837KB
  • 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_code_printable
  • (1)bbcode_php_printable
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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