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)

tr03bor 02-06-2009 02:17 PM

Thanks, I am running - PHP Version 5.2.8

KevinL 02-06-2009 02:28 PM

Try re-uploading the files..or even re-download them and re-upload them. It looks like your're missing files or it can't find them.

tr03bor 02-06-2009 02:32 PM

Yep thats what im thinking, will try it again later. :)

Lone Gunman 02-06-2009 04:19 PM

whats the chmod supposed to be for the files? ive changed the settings on a couple and got rid of the errors i was getting, and have got it to go further through the login process, but i now i get a blank (all white) page after selecting whether or not to publish the story to fb (in login process)

lenzo 02-07-2009 02:20 PM

it works for Internet Explorer but not Firefox, any idea why?

lenzo 02-07-2009 02:27 PM

Quote:

Originally Posted by Vaupell (Post 1729389)

In anycase, regardless of which browser im using the botton is there
dont get any errors, all appears to be fine.
but the link is not working.

clicking the botton like mad, ..... nothing .. lol
and the url it links to is different depending on which browser im using

Chrome = http://www.evisystems.org/#
FireFox = http://www.evisystems.org/ some crazy 32bit link but stil local
IE = http://www.evisystems.org/forums/index.php#

Hell im confused.. :p but looks great, and the load botton and all works. haha

Yes, the button appears for me in Firefox, but it doesn't work.

It works for me in IE. Why won't it work in Firefox?

Riccardo83 02-07-2009 04:18 PM

Seems like a great Idea but the editing part on a big forum like mine is too much work... damn... i think about it, once things like Exluding forums from being publsihed and other request are being taken into account....

Ricsca 02-09-2009 05:05 PM

Quote:

Warning: include_once(jsonwrapper/jsonwrapper.php) [function.include-once]: failed to open stream: No such file or directory in [path]/includes/facebook/facebookapi_php5_restlib.php on line 34

Warning: include_once() [function.include]: Failed opening 'jsonwrapper/jsonwrapper.php' for inclusion (include_path='.:/php5/lib/php/') in [path]/includes/facebook/facebookapi_php5_restlib.php on line 34
Why????

superthang 02-10-2009 02:02 AM

I get these error while trying to doing the template edit

(while edit newreply, newthread, showthread, modifyprofile)

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, xxxxxxxxxxxxxxxx and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.2.10 (Unix) mod_ssl/2.2.10 OpenSSL/0.9.8b mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.2.6 Server at

wyldestyle 02-10-2009 03:28 AM

Installed great, but when I reply to a thread or post something it doesnt show it on my facebook? I tried searching the thread but had no luck.

anyone mind helping?

Thanks,
John

Goomzee 02-10-2009 09:47 AM

everything is done but i make newreply or new thread it's show me 1 message about you must have 10 words where i made thread more then 10 words but it still show same message plz help

safakuygur 02-10-2009 11:15 AM

thanks friends very good

Goomzee 02-10-2009 11:21 AM

but dude it's not working

Ricsca 02-10-2009 07:52 PM

"Is there no way to save all the facebook-registered users' emails?

TNCclubman 02-10-2009 09:29 PM

I was going to install this when I realized there is no way to contact any of the people that register this way... Basically, its a great mod for people that just want traffic to come to their site, but the actual memberships are 100% of no value to anyone that wants to make money with their website showing potential investors how many members they have.

Im so sad, I was soooo looking forward to installing this. It may be great for some, but to me it isnt.

Absolutely no offence to the coder, it really is a great mod. I still think its mod of the year.

Mukashi 02-10-2009 09:50 PM

Would it be possible perhaps to set things up so existing users could simply link their accounts to their Facebook accounts, without allowing guests to sign in or post through their Facebook accounts?

I'd also have the same worry a few people have mentioned here regarding the news posts regarding posts made in private forums. Would there be any way to exclude specific forums from that functionality?

wmlvb 02-10-2009 10:35 PM

Quote:

Originally Posted by Phaedrus (Post 1726444)
If they come through using the Facebook Connect it draws information from Facebook and creates an account for them.

They become a registered user.

If you already have a Facebook account and are a member of your board you can connect that Facebook account to the board allowing it to post "stories" or other things like that.


I like this idea but I have about a dozen usergroups created and they have access to certain private areas and features based on those usergroups. I used the registration system for them to tell me what usergroups they should belong to. I still do further screening for private areas. Is there a way to force people who log through Face book have to make an introduction in our community introduction forum and state how they are affiliated with our discussions group before we allow them to start posing and/or see the forums as a registered user? Thanks

wmlvb 02-10-2009 10:38 PM

Do you get credit for new member when people sign in through facebook?

TNCclubman 02-10-2009 10:52 PM

Yep, it creates a new account on your board, but without an email attached to it. Kind of like a fantom account.

Ricsca 02-10-2009 10:55 PM

Quote:

Originally Posted by TNCclubman (Post 1740246)
I was going to install this when I realized there is no way to contact any of the people that register this way... Basically, its a great mod for people that just want traffic to come to their site, but the actual memberships are 100% of no value to anyone that wants to make money with their website showing potential investors how many members they have.

Im so sad, I was soooo looking forward to installing this. It may be great for some, but to me it isnt.

Absolutely no offence to the coder, it really is a great mod. I still think its mod of the year.

I also believe what you believe.
There is no way to add users in addition to its nickname also their password and their email?

skol 02-10-2009 10:55 PM

Quote:

Originally Posted by wmlvb (Post 1740289)
I like this idea but I have about a dozen usergroups created and they have access to certain private areas and features based on those usergroups. I used the registration system for them to tell me what usergroups they should belong to. I still do further screening for private areas. Is there a way to force people who log through Face book have to make an introduction in our community introduction forum and state how they are affiliated with our discussions group before we allow them to start posing and/or see the forums as a registered user? Thanks

You would have too create a new usergroup specifically for facebook..How you set permissions for that usergroup is up to you..How can you force someone to post?You can entice them but not force them.

skol 02-10-2009 11:02 PM

Quote:

Originally Posted by TNCclubman (Post 1740246)
I was going to install this when I realized there is no way to contact any of the people that register this way... Basically, its a great mod for people that just want traffic to come to their site, but the actual memberships are 100% of no value to anyone that wants to make money with their website showing potential investors how many members they have.

Im so sad, I was soooo looking forward to installing this. It may be great for some, but to me it isnt.

Absolutely no offence to the coder, it really is a great mod. I still think its mod of the year.

Why can you not contact people? If you send a mass email then those who are allowing emails on facebook will recieve the email from facebook will they not?

TNCclubman 02-11-2009 01:30 AM

Their email is not stored on your board. If you pm them on your board they do not get notified. Its basically a one way member. They can come to your site, but they receive zero messages, notices from you or your board. There is no way to communicate with them unless they decide to come back on their own to your site.

I would install this in a second if immediately after the mod copied all their info from facebook, if it went to a new screen that said "please enter your email" and provided a rectangle which then stored their email in their new account on your board.

KevinL 02-11-2009 01:41 AM

Well if you create a new usergroup and make the new usergroup update their email then you would be good to go? No? I'm asking because I would like to know myself...I just haven't really played with it yet haha

I would really like to know if anyone else has come across this though? Or am I the only one? haha

Quote:

Originally Posted by KevinL (Post 1735251)
I just noticed, there is an uncached template when viewing a thread. fbconnect_qr_prepare_submit this is throwing my queries through the roof! For some reason it's adding over 8 queries to my showthread. Which is weird... hahah


Goomzee 02-11-2009 02:46 AM

Quote:

Originally Posted by Goomzee (Post 1739601)
everything is done but i make newreply or new thread it's show me 1 message about you must have 10 words where i made thread more then 10 words but it still show same message plz help

help plz showthread,newthread,reply thread face coding is show me error

skol 02-11-2009 08:16 AM

Quote:

Originally Posted by Goomzee (Post 1740420)
help plz showthread,newthread,reply thread face coding is show me error


I had this problem many times, in the end it was my mistake forgot to upload the functions_fbconnect.php to the includes folder.

Firestar.chkn 02-11-2009 11:02 AM

Hi Sllik,

Thanks for an awesome mod! Good job! I installed this mod last night, and it went relatively smooth! After a couple of double checks, everything was running perfectly.

Now, last night, I had a couple of problems with the message too short issues that other people has also mentioned here. I then went and double checked all my template edits, and redid them all, especially the newthread, newreply and SHOWTHREAD ones. After a while, it just fixed itself, though, and I deleted my message posted here for some help.

However, a couple of hours ago, my users started complaining that they once again cannot post in threads using the quick reply to a thread. Full reply works perfect. I then went again, and double checked all my template edits, and confirmed that they are fine. What bothers me, is that there is sporadic problems with this feature now... Here is one user's post.

Quote:

testing... 1 2 3

----------

This is weird.

What i did was, I typed 'testing... 1 2 3', and it tossed me the 2chars error. I hit the browser's back button, typed in something completely different, and it posted 'testing... 1 2 3'

:?

^this posted using 'advanced'

----------

and if i reply to my own post it appends it to the rpevious, which i admit is pretty cool
The applying new post to existing post is another addon that I installed, so that's not to do with your mod. However, it could likely be messing around with your mod. The mod is called "Doublepost Prevention".

My forum URL is:
http://forums.prophecy.co.za

Your addon is installed on the default skin, and you can log in with your facebook id. Lastly, here is a thread where you can test in. This is obviously all assuming that you can get some time to help me. I do appreciate it if you can.

Thanks


EDIT:
Fixed this by uninstalling the doublepost prevention. I see there's a doublepost prevention plus from another author, but haven't tested to see if that works. I don't think it's worth it. So, nothing needs to be done from my side. It works perfectly. Thanks! :)

Derekclarke 02-11-2009 01:15 PM

I posted this on the 3.7 thread...

I have installed it on 3.8 and used the 2.03 file... but get the following error... Please can someone help out?

I get this error when i Import the product.

Parse error: syntax error, unexpected '{' in /home/site/public_html/includes/functions_fbconnect.php on line 79

it also stops anyone being able to view any threads.

Any Idea how to resolve?

Thanks
Derek

Wakey 02-11-2009 01:47 PM

Quote:

Originally Posted by TNCclubman (Post 1740385)
Their email is not stored on your board. If you pm them on your board they do not get notified. Its basically a one way member. They can come to your site, but they receive zero messages, notices from you or your board. There is no way to communicate with them unless they decide to come back on their own to your site.

I would install this in a second if immediately after the mod copied all their info from facebook, if it went to a new screen that said "please enter your email" and provided a rectangle which then stored their email in their new account on your board.

It stores a valid email address. Sending an email to that address goes to facebook and is then forwarded to the email address that person has in their facebook account

Potlocator 02-12-2009 02:50 AM

Hey guys, installed this mod this morning and it works slick. Only issue I'm seeing so far is that I no longer am able to show the "new images" from Photopost on my Forum Home. Anyone else having this issue? I know Photopost is projecting a 2.5 release any day now but who knows if that has anything to do with it.

razgriz 02-12-2009 11:13 AM

is there any registered users that login using their facebook account?

AyeCapn 02-12-2009 02:21 PM

Quote:

Originally Posted by playSocial (Post 1740863)
It stores a valid email address. Sending an email to that address goes to facebook and is then forwarded to the email address that person has in their facebook account

so if someone signs up through FB, and they receive a PM, they WILL receive email notification about it? Thread subscriptions? Admin emails, etc?

johndiaz 02-13-2009 12:50 AM

Any idea why this is happening?
I get this when I look at the main app page on Facebook...

PHP Code:

Errors while loading page from application
Parse errors
:

FBML Error (line 361): illegal tag "body" under "fb:canvas"

FBML Error (line 2238): illegal tag "noscript" under "fb:canvas"

FBML Error (line 2338): illegal tag "noscript" under "fb:canvas"

Runtime errors:

URLExceptionInvalid scheme for url (javascript:openRadioAndTV()) 


Goomzee 02-13-2009 03:15 AM

how to i set Data Maping or i just leave this option

sllik 02-13-2009 03:20 AM

Quote:

Originally Posted by Derekclarke (Post 1740841)
I posted this on the 3.7 thread...

I have installed it on 3.8 and used the 2.03 file... but get the following error... Please can someone help out?


I get this error when i Import the product.

Parse error: syntax error, unexpected '{' in /home/site/public_html/includes/functions_fbconnect.php on line 79

it also stops anyone being able to view any threads.

Any Idea how to resolve?

Thanks
Derek

try to reupload the file

Quote:

Originally Posted by Potlocator (Post 1741426)
Hey guys, installed this mod this morning and it works slick. Only issue I'm seeing so far is that I no longer am able to show the "new images" from Photopost on my Forum Home. Anyone else having this issue? I know Photopost is projecting a 2.5 release any day now but who knows if that has anything to do with it.

It's conflicting with Photopost for some reason!

Quote:

Originally Posted by johndiaz (Post 1742433)
Any idea why this is happening?
I get this when I look at the main app page on Facebook...

PHP Code:

Errors while loading page from application
Parse errors
:

FBML Error (line 361): illegal tag "body" under "fb:canvas"

FBML Error (line 2238): illegal tag "noscript" under "fb:canvas"

FBML Error (line 2338): illegal tag "noscript" under "fb:canvas"

Runtime errors:

URLExceptionInvalid scheme for url (javascript:openRadioAndTV()) 


set your convas page to iframe in the facebook app settings.

Goomzee 02-13-2009 03:28 AM

Is this imporant to put Facebook Application Secret?

RvG2 02-13-2009 03:39 AM

hope to include activities in groups as well :)

VampireG 02-13-2009 08:32 AM

Hi wonder if someone can help me, I have installed the Mod as per the instructions, and when I enable the mod I get this written out to the screen:

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 ' '; }
Any ideas. Seems to show in "Showthread" and also within "FB Connect Options >Data Mapping".

Wakey 02-13-2009 09:55 AM

Quote:

Originally Posted by AyeCapn (Post 1741915)
so if someone signs up through FB, and they receive a PM, they WILL receive email notification about it? Thread subscriptions? Admin emails, etc?

Yep, as long as they grant the 'facebook' application the right to email and send them facebook notifications (which is done at signup or through usercp if they choose no at signup) then all the emails that normal users will be sent to their email listed in facebook via the facebook mail proxy

Vaupell 02-13-2009 10:53 AM

Quote:

Originally Posted by AyeCapn (Post 1741915)
so if someone signs up through FB, and they receive a PM, they WILL receive email notification about it? Thread subscriptions? Admin emails, etc?

again, only if they have accepted to recive notifications, but they wont recive a mail
they will recive notification on facebook.

I got my facebook registrants in a different usergroup, cause they should
not be generated on a mailing list, this is will annoy the post server.


All times are GMT. The time now is 07:19 PM.

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.02217 seconds
  • Memory Usage 1,868KB
  • 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
  • (1)bbcode_code_printable
  • (2)bbcode_php_printable
  • (17)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