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)

Dean C 01-03-2009 05:27 PM

Quote:

Originally Posted by sllik (Post 1700458)
v2.0.2 is out!
Fixed the notification problem
Login button will be displayed on all vb pages (including vbAdvanced)

Does it fix the bug where it won't let any users post replies or threads because it says the message is always too short?

BrAinZ 01-03-2009 07:42 PM

I've just upgraded to the latest version/. Still won't actually let me log in via the FBconnect button, although it does actually SHOW the button now, so a step in the right direction ;)

Any ideas why it's not allowing the correct log in though? Simply comes back to the log in page :(

cfrench 01-03-2009 10:18 PM

I am having the issue as well. Anything you type in the reply box is to short. You type something again and doesn't say it is to short but will post the last thing you typed. Any idea's? I have shut the site down due to this issue so any quick help I could get would be appreciated.

Thanks

sllik 01-03-2009 10:27 PM

Quote:

Originally Posted by Dean C (Post 1700497)
Does it fix the bug where it won't let any users post replies or threads because it says the message is always too short?

go into the mod settings and click save... see if this helps

cfrench 01-03-2009 10:48 PM

mod settings where you change the min. word?

cfrench 01-03-2009 10:50 PM

That didn't help me. Even change it from min of 3 to 2. Nothing

cfrench 01-03-2009 11:04 PM

ok I went threw all my templates and checked everything over and didn't really do anything but its working now. yay

cfrench 01-03-2009 11:30 PM

Is anything supposed to show up in the profile or in the navbar or anything. The only reason I know there is something going on is cause when I post it asks me to post it to facebook and the button on the login. Other then that I do not see any other signs of things working.

Neutral Singh 01-04-2009 12:27 AM

There seems to an error in upgrade instructions from 2.0.1 to 2.0.2!!

PamelaE 01-04-2009 12:37 AM

This is wonderful, thank you.

Most of it is working just fine but I have a problem when I click on News-Feed in the admincp I get the following error:

Fatal error: Uncaught exception 'FacebookRestClientException' with message 'Session key invalid or no longer valid' in /home/soaps/public_html/testforum/includes/facebook/facebookapi_php5_restlib.php:2403 Stack trace: #0 /home/soaps/public_html/testforum/includes/facebook/facebookapi_php5_restlib.php(672): FacebookRestClient->call_method('facebook.feed.g...', Array) #1 /home/soaps/public_html/testforum/admincp/fbconnect_registertemplates.php(87): FacebookRestClient->feed_getRegisteredTemplateBundles() #2 {main} thrown in /home/soaps/public_html/testforum/includes/facebook/facebookapi_php5_restlib.php on line 2403

Any ideas?

Thanks

Digital Jedi 01-04-2009 01:08 AM

Quote:

Originally Posted by fattony69 (Post 1700337)
I think I got this to work. Do people who are already members get to use this?

Yes, but they have to log out to see the new login options.

Fronty 01-04-2009 09:13 AM

Installed the 2.0.2 version from scrap this morning on my website http://www.yoursiteforums.com

So far so good! Thanks Sllik!

Ross L 01-04-2009 12:22 PM

Excellent plugin! Been using it for a few weeks now flawlessly.

One thing I would like to see in it would be forum permissions. For example: If I posted in a public forum, it would give me the option to post to Facebook but if I posted in a staff forum it wouldn't give me that option. So far I achieved this by using <if> conditions around the code but it would be nice to have the option to change the forums that can use the facebook plugin via the Admin Control Panel.

Many thanks,

Ross

cfrench 01-04-2009 02:17 PM

Another thing I have noticed is when I post with firefox it gives me the option to post it to facebook like it should but if I use ms ie it doesn't give me the option. I have also had reports from a mod when she posts from ie, it will sometimes just sit there and and not do anything. This has not happened to me. I told her to clear out her browser and shut it down and restart it but she said that it still happens. Any suggestions on these issues as well?

kirkmkiv 01-04-2009 02:34 PM

I am also receiving the Message too short error on any thread or reply I make.......

sllik 01-04-2009 04:57 PM

if you get the message too short error please post the forum url so i can take a look at the site!

hollosch 01-04-2009 08:55 PM

Hi,
I get the following database-errors when mapping the data. I turned on the "Import User Data From Facebook" option:

Code:

Datenbankfehler in vBulletin 3.8.0 Release Candidate 2:

Invalid SQL:

                                INSERT INTO vb3_fbdatamap
                                (vbfield, fbfield) VALUES ('avatarurl', 'pic')
                                ON DUPLICATE KEY UPDATE fbfield = 'pic';

MySQL-Fehler  : You have an error in your SQL syntax.  Check the manual that corresponds to your MySQL server version for the right syntax to use near 'ON DUPLICATE KEY UPDATE fbfield = 'pic'' at line 3
Fehler-Nr.    : 1064

Code:

Datenbankfehler in vBulletin 3.8.0 Release Candidate 2:

Invalid SQL:

                                INSERT INTO vb3_fbdatamap
                                (vbfield, fbfield) VALUES ('field2', 'affiliations')
                                ON DUPLICATE KEY UPDATE fbfield = 'affiliations';

MySQL-Fehler  : You have an error in your SQL syntax.  Check the manual that corresponds to your MySQL server version for the right syntax to use near 'ON DUPLICATE KEY UPDATE fbfield = 'affiliations'' at line 3
Fehler-Nr.    : 1064

What is the problem?

sllik 01-04-2009 09:45 PM

wierd.. what mysql version do you have?

Quote:

Originally Posted by hollosch (Post 1701698)
Hi,
I get the following database-errors when mapping the data. I turned on the "Import User Data From Facebook" option:

Code:

Datenbankfehler in vBulletin 3.8.0 Release Candidate 2:

Invalid SQL:

                                INSERT INTO vb3_fbdatamap
                                (vbfield, fbfield) VALUES ('avatarurl', 'pic')
                                ON DUPLICATE KEY UPDATE fbfield = 'pic';

MySQL-Fehler  : You have an error in your SQL syntax.  Check the manual that corresponds to your MySQL server version for the right syntax to use near 'ON DUPLICATE KEY UPDATE fbfield = 'pic'' at line 3
Fehler-Nr.    : 1064

Code:

Datenbankfehler in vBulletin 3.8.0 Release Candidate 2:

Invalid SQL:

                                INSERT INTO vb3_fbdatamap
                                (vbfield, fbfield) VALUES ('field2', 'affiliations')
                                ON DUPLICATE KEY UPDATE fbfield = 'affiliations';

MySQL-Fehler  : You have an error in your SQL syntax.  Check the manual that corresponds to your MySQL server version for the right syntax to use near 'ON DUPLICATE KEY UPDATE fbfield = 'affiliations'' at line 3
Fehler-Nr.    : 1064

What is the problem?


hollosch 01-04-2009 09:55 PM

PHP 5.2.6
MySQL 4.0.27-standard

PamelaE 01-04-2009 10:07 PM

Hi Sllik,

Any ideas to my issue, its a couple of posts back.

Any help would be appreciated. Its on my test forum <snip>.

Thanks

sllik 01-04-2009 11:26 PM

Quote:

Originally Posted by hollosch (Post 1701763)
PHP 5.2.6
MySQL 4.0.27-standard

i suggest you upgrade to mysql 5
Quote:

Originally Posted by PamelaE (Post 1701778)
Hi Sllik,

Any ideas to my issue, its a couple of posts back.

Any help would be appreciated. Its on my test forum <snip>.

Thanks

I'll look into it

verino 01-05-2009 01:58 AM

Quote:

Originally Posted by verino (Post 1700228)
Hi sllik,

I followed your installation instructions, but on step 5 :

Step 5:

Go to FB Connect Options > News-Feed Templates and register default templates.

I got this error :

Quote:

Warning: fopen() [function.fopen]: URL file-access is disabled in the server configuration in [path]/includes/facebook/facebookapi_php5_restlib.php on line 2487

Warning: fopen(http://api.facebook.com/restserver.php) [function.fopen]: failed to open stream: no suitable wrapper could be found in [path]/includes/facebook/facebookapi_php5_restlib.php on line 2487
I decide to stop and not to go to template edit before this problem fixed.

Any idea ?

Thank's.

anyone knows how to fix this problem ?

other thing is : I have edit my templates for the custom style, not default vb style, and when I try to login with fbconnect, it will ask to register new nickname for the forum, but then it gives me error. Is it because the news feed template error ?

Quote:

Warning: fopen() [function.fopen]: URL file-access is disabled in the server configuration in [path]/includes/facebook/facebookapi_php5_restlib.php on line 2487

Warning: fopen(http://api.facebook.com/restserver.php) [function.fopen]: failed to open stream: no suitable wrapper could be found in [path]/includes/facebook/facebookapi_php5_restlib.php on line 2487

Fatal error:

* Please complete the required field "Email".

Unable to proceed with save while $errors array is not empty in class vB_DataManager_User in [path]/includes/class_dm.php on line 810
It will succeed if I choose to use already registered id for the forum. So if i logout from the forum, it will logout also from facebook. :confused:

Mythor 01-05-2009 03:17 AM

Question for sllik: If one of my existing members decides to sign-in via Facebook Connect and links their existing forum account to their Facebook name, is there any way to get at that information from the forum side of things? e.g. profile information, mod/admincp or the database? Or is it all handled in such a way that the forum doesn't receive that information?
I'm sure some of my members wouldn't care in the slightest, but some would care a great deal. I'd like to know if I need to put a warning on it or not, should I install it. :)

And a general question for anyone: Tried it in 3.8.0 RC2? If I'd've known this existed earlier I'd've stopped at a 3.7 version. ;)
If you've tried it in 3.8.0, did it work? Thanks.

Goomzee 01-05-2009 08:34 AM

i tried to add this Mod but it's not working so i leave it

jlew24asu 01-05-2009 10:35 AM

a CMPS module would be awesome for this if anyone wants to take a stab at it. I really wish I knew how.

jlew24asu 01-05-2009 01:26 PM

has anyone been successful with 2.0.2 ?? users can not log in (at all) from my CMPS page.

edit: 2.0.2 does not fix log in issues for vbAdvanced. (CMPS)

Calash 01-05-2009 05:19 PM

Very cool idea, thanks for posting the mod.

My site is a bit unique in that I not only run vbadvanced, but I have a bridge to eFiction installed. The bridge reads the session information from VB to determine the login status. I move over the header, header include, and footer templates.

Do you think this mod will function with this type of setup?

sllik 01-05-2009 09:04 PM

Quote:

Originally Posted by Calash (Post 1702473)
Very cool idea, thanks for posting the mod.

My site is a bit unique in that I not only run vbadvanced, but I have a bridge to eFiction installed. The bridge reads the session information from VB to determine the login status. I move over the header, header include, and footer templates.

Do you think this mod will function with this type of setup?

should work, but you never know until you try :)

sllik 01-05-2009 09:05 PM

Quote:

Originally Posted by Mythor (Post 1702009)
Question for sllik: If one of my existing members decides to sign-in via Facebook Connect and links their existing forum account to their Facebook name, is there any way to get at that information from the forum side of things? e.g. profile information, mod/admincp or the database? Or is it all handled in such a way that the forum doesn't receive that information?
I'm sure some of my members wouldn't care in the slightest, but some would care a great deal. I'd like to know if I need to put a warning on it or not, should I install it. :)

And a general question for anyone: Tried it in 3.8.0 RC2? If I'd've known this existed earlier I'd've stopped at a 3.7 version. ;)
If you've tried it in 3.8.0, did it work? Thanks.

the fbuser mysql table contains a map of fbusers to vbusers. I've heard several people installed on 3.8 with no problems.

sllik 01-05-2009 09:09 PM

Quote:

Originally Posted by Goomzee (Post 1702146)
i tried to add this Mod but it's not working so i leave it

Professional installation services are available that guarantee the mod to work on your forums. See the INSTALL / UPGRADE files

sllik 01-05-2009 09:12 PM

Quote:

Originally Posted by PamelaE (Post 1701778)
Hi Sllik,

Any ideas to my issue, its a couple of posts back.

Any help would be appreciated. Its on my test forum <snip>.

Thanks

change your callback url to: <snip>.

PamelaE 01-05-2009 09:19 PM

Ok I will try this but when I originally had this as the url there were errors because it said it didnt match <snip>.

Bounce 01-05-2009 09:20 PM

Quote:

Originally Posted by PamelaE (Post 1701778)
Hi Sllik,

Any ideas to my issue, its a couple of posts back.

Any help would be appreciated. Its on my test forum <snip>.

Thanks

Test forums are not supposed to be public viewable and be password protected as per vb's T&C's :up:

PamelaE 01-05-2009 09:22 PM

Quote:

Originally Posted by hIBEES (Post 1702654)
Test forums are not supposed to be public viewable and be password protected as per vb's T&C's :up:

Thanks for that. I'm sure you were also very popular at school.

Mythor 01-05-2009 09:33 PM

Quote:

Originally Posted by sllik (Post 1702645)
the fbuser mysql table contains a map of fbusers to vbusers. I've heard several people installed on 3.8 with no problems.

Excellent, thanks a lot. Will post again if everything goes fine for me. :)

swantonio 01-05-2009 09:44 PM

Excellent, thanks 3.8 instaled

Bounce 01-05-2009 10:26 PM

Quote:

Originally Posted by playSocial (Post 1682317)
Ok I got my initial issue resolved. However now when I try and connect I get the following after I click the button and ok the facebook request

How did you resolve it?, I get the same

Click the connect with facebook does nothing:confused:

Bounce 01-05-2009 10:27 PM

Quote:

Originally Posted by PamelaE (Post 1702655)
Thanks for that. I'm sure you were also very popular at school.

Yea top o the class :rolleyes:

mofeu 01-05-2009 10:34 PM

Do we have to fill the following?


Facebook Application API Key
The API Key of the application through which vBulletin and Facebook will be communicating.

Facebook Application Secret
The secret of the application through which vBulletin and Facebook will be communicating.

First Login Feed Template ID
The ID of the news-feed template bundle that will be posted to the user's news-feed after the user has logged in with Facebook Connect for the first time. Click here to manage news-feed template bundles.

New Thread Feed Template ID
The ID of the news-feed template bundle that will be posted to the user's news-feed when the user create a thread. Click here to manage news-feed template bundles.

New Reply Feed Template ID
The ID of the news-feed template bundle that will be posted to the user's news-feed when the user replied to a thread. Click here to manage news-feed template bundles.

Best regards and happy new year

Bounce 01-05-2009 10:39 PM

Quote:

Originally Posted by mofeu (Post 1702723)
Do we have to fill the following?


Facebook Application API Key
The API Key of the application through which vBulletin and Facebook will be communicating.

Facebook Application Secret
The secret of the application through which vBulletin and Facebook will be communicating.


You need to get these from http://www.facebook.com/developers/

Quote:

Originally Posted by From Install Instructions
:

Set up a new Facebook Application through which vBulletin and Facebook will be communicating. When setting up the application set the Callback URL to your vBulletin url (example: http://www.siteurl.com/forum/).
Set up a new Facebook Application here: http://www.facebook.com/developers/ (no coding skills required)
Step 2:


Go to FB Connect Options > Settings and set your application API Key and Secret (available from step 1).



All times are GMT. The time now is 04:57 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.02273 seconds
  • Memory Usage 1,851KB
  • 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
  • (4)bbcode_code_printable
  • (20)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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