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)

mykkal 06-04-2009 03:46 PM

Quote:

Originally Posted by fulviods (Post 1823338)
Hi, I installed this mod and opened an application on facebook following all the instructions: i can see the connect button on my forum but when i click on it nothing happens !!

I'm reading all the pages of this thread (im actually at the 26th page, but yet not find a solution...). I'll continue reading, but if someone can already help me it would be coooool !

What version of PHP are you using?

slo_chewie 06-04-2009 04:58 PM

So I linked facebook to my vbulletin account in my forum.

To unlink facebook from that account is it safe to assume all you need to do is open your vbulletin db and go to the fbuser table and delete the row with that shows your vbulletin user id?

350Chevy 06-05-2009 12:23 AM

I'm assuming this is because I'm running a MySQL 4 database but I have not seen anywhere in here anything about MySQL 4 giving any issues (Only saw a post about running PHP 5 which I am indeed running.)

Here's my issue, clicking on the "Connect with Facebook" button does nothing.

In Data Mapping, if I try to associate any vBulletin Field with any facebook Field I receive a database error. Here is one of the errors for example:

Code:

Database error in vBulletin 3.8.2:

Invalid SQL:

                                INSERT INTO fbdatamap
                                (vbfield, fbfield) VALUES ('field1', 'uid')
                                ON DUPLICATE KEY UPDATE fbfield = 'uid';

MySQL Error  : 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 = 'uid'' at line 3
Error Number  : 1064
Request Date  : Thursday, June 4th 2009 @ 06:03:41 PM
Error Date    : Thursday, June 4th 2009 @ 06:03:41 PM
Script        : http://www.brain-spew.com/forums/admincp/fbconnect_datamap.php?do=save
Referrer      : http://www.brain-spew.com/forums/admincp/fbconnect_datamap.php
IP Address    : xxx.xxx.xxx.xxx
Username      : 350Chevy
Classname    : vB_Database
MySQL Version : 4.0.27-max-log

Sorry, I've been out of the loop for a while and used to code a bit but now I'm old and forgetful. :D

Does this mean I need to convert my DB to MySQL 5? Or is this something simple. TIA

l3it3r 06-05-2009 10:15 AM

Is there any chance of being able to rewrite this for google friend connect?

fulviods 06-05-2009 05:23 PM

Quote:

Originally Posted by wolfstream (Post 1823349)
@fulviods :
Go through all the application settings again, something isn't setup properly.
Make sure that you've got the right id/secret in the vBulletin settings, and make sure that you've got the right urls/domain in the facebook app settings. Those are the two important things that are missed when this happens.
.



Thanks for your answer. I dont speak perfectly english. Could you tell me if my infos are ok?
Here are infos in my forum admin:
General settings:
Url of my website : http://www.mywebsite.com
Url of my forums : http://www.mywebsite.com/forum
FB Connect options:
Same API and secret key that in the fb application.
Import user data: no
The system generated 3 different template ID.
Data mapping:
Actually i linked only one field : location ->location
Do I have to create fields in vbulletin to match the others fields? (facebook uid,name,first name...)

Here are the infos in the facebook application:
G?n?ral tab: I just put the name of the application & logo and email.
2nd tab authentification: http://www.mywebsite.com/forum in the 2 fields
3rd tab Profiles: Ony the first chapter (name of the tab and url) and http://www.mywebsite.com for the call back
I didnt fill the other fields
Canvas tab : http://apps.facebook.com/myname / Canvas callback url http://www.mywebsite.com/forum
Optional : i put nothing /Canvas settings : Iframe/intelligent/complete/deactivate other fields empty
Connexion tab: connect url : http://www.mywebsite.com / Base domain : http://www.mywebsite.com other fields empty
widgets: empty
advanced settings: empty

Thanks a lot...

JohorBahru 06-06-2009 05:50 PM

I just upgraded my forum from 3.7 to 3.8, and uninstalled all the mods and including facebook connect for 3.7

After reinstall facebook connect for 3.8, I'm wondering could my members who registered via facebook (previously with facebook connect for 3.7) connect log in to their account again with their facebook account?

need help urgently, thank you

busybeeburns 06-07-2009 10:52 AM

Quote:

Originally Posted by skylab (Post 1800730)
These are major issues that I wish I knew earlier. I'm in a difficult position now since many users are using FB Connect.

Quote:

Originally Posted by busybeeburns (Post 1799817)
This is a fantastic mod, however after brutally testing it over the last 24 hours, I have major issues with its neat compatibility with vBulletin. If anyone can help or discuss these I'd be grateful. These are:

1) Changes to Facebook or vBulletin in the future may render this mod incompatible, relying then on support from the developer to bring this mod back in line; if hundreds of administrators are relying on support from a sole developer who decides they are no longer bothered to upgrade for future facebook/vBulletin releases, this will have huge implications for incorrect login functions for potentially millions of registered members across the vBulletin communities.

2) Facebook partially holds registration details of members, eg. email addresses and passwords. If this mod was ever ditched, I could in theory have thousands of members unable to log in to my forum unless each account was manually altered in admincp. Registered members are unable to do this themselves as changes to email addys or passwords would not be possible as vBulletin would not recognise their original/old details. A logistical nightmare for administrators of large vB communities.

3) It appears that facebook Connect users cannot be contacted via mass email or mass PM add-ons as such users are not found within the database. This effectively renders the use of these important functions useless in the long-term. Especially important should the need arise above where they must take action to continue to log in to the messageboard.

4) I would like to see fblogin.php altered to accept Connect for exisiting vBulletin members only, or tweaked to go via a vB registration process where an vB email address and password can be added. The problems 1-3 above wouldn't exist if this was an alternative installation.

Apart from those important issues the mod is perfect!

These are major issues that I wish I knew earlier. I'm in a difficult position now since many users are using FB Connect.

What did you decide to do?

mmoore5553 06-07-2009 05:12 PM

Curious when you log in does the connect with facebook still suppose to stay or should it go away ? i have a custom template and was wondering myself .

Digital Jedi 06-07-2009 05:40 PM

Quote:

Originally Posted by mmoore5553 (Post 1825169)
Curious when you log in does the connect with facebook still suppose to stay or should it go away ? i have a custom template and was wondering myself .

It's supposed to go away along with the traditional login boxes.

skylab 06-08-2009 08:01 AM

Quote:

Originally Posted by busybeeburns (Post 1825005)
What did you decide to do?

Had to keep it. We'll see where this goes. Hopefully it goes well.

Digital Jedi 06-08-2009 09:02 AM

Quote:

Originally Posted by skylab (Post 1825509)
Had to keep it. We'll see where this goes. Hopefully it goes well.

Looking over some of those issues mentioned in that post, I don't know if I totally agree with all of them.


Quote:

1) Changes to Facebook or vBulletin in the future may render this mod incompatible, relying then on support from the developer to bring this mod back in line; if hundreds of administrators are relying on support from a sole developer who decides they are no longer bothered to upgrade for future facebook/vBulletin releases, this will have huge implications for incorrect login functions for potentially millions of registered members across the vBulletin communities.
Well, this much I can agree with. However, this is nothing unique to this mod. Every mod on this site suffers from that one drawback of free thrid-party modifications.

Quote:

2) Facebook partially holds registration details of members, eg. email addresses and passwords. If this mod was ever ditched, I could in theory have thousands of members unable to log in to my forum unless each account was manually altered in admincp. Registered members are unable to do this themselves as changes to email addys or passwords would not be possible as vBulletin would not recognise their original/old details. A logistical nightmare for administrators of large vB communities.
I think the only issue here is if the proxy email address no longer functions, which if I'm not mistaken, is soley the process of the Facebook Developer application. I'm just guessing here, but I would think as long you keep the application active in your Facebook Developer account, this should still always work.


Quote:

3) It appears that facebook Connect users cannot be contacted via mass email or mass PM add-ons as such users are not found within the database. This effectively renders the use of these important functions useless in the long-term. Especially important should the need arise above where they must take action to continue to log in to the messageboard.
I don't understand this one. How are the users able to post, or even exist, if they're not in the database?

fulviods 06-08-2009 12:23 PM

Can someone tell me where i've done wrong in my settings (just a few post above) ?

fulviods 06-09-2009 11:31 AM

Please please please :) Just tell me if my settings are ok because I press on the facebook button and nothing happened.

VanDaMe 06-10-2009 05:01 AM

works so great... thank's

yossie3660 06-10-2009 08:19 AM

My forum use this too.....GREAT!!! but i have a question about the image "F Connect with Facebook" and i have customize at fbconnect_button function and put some image that exactly size at my forum login box, but when its reload, its go back to the image original, and i have customize about this too <span class="fbconnect" style="height:21px"> to <span class="fbconnect" style="height:16px"> so the height of image size is fit in, but same the problem. the picture is load from the first time is fit, but in a second is revert back to the original image size, how does it comes? can i change the image so that button is fit for my login box?

thanks
yossie3660


Sorry...i answer my question again...i have found...i changes the image from that function and in file fbconnect.js so the image still in size that i want.

thanks to TS, its great hack!!! ;)

tldagent 06-10-2009 12:22 PM

One thing I'd like to ask, and I haven't installed this mod yet because of this announcement:
Starting at 12:01 a.m. EDT on Saturday, June 13, you'll be able to choose a username on a first-come, first-serve basis for your profile and the Facebook Pages that you administer by visiting www.facebook.com/username/. You'll also see a notice on your home page with instructions for obtaining your username at that time.
My question is, once this new facebook username comes into effect, will this mod be updated to use the username of the facebook Member and if I decided to install this prior to the new facebook username addition, what will it use? What information will be displayed on the forum currently as their username?

Thanks for this mod, I look forward to installing it on our forum.

scottjonesqpr 06-10-2009 01:08 PM

Sorry, how do people log in?

i've a connect with facebook logo/button but it doesnt do anything?

www.wearetherangersboys.com/forum

cheers for your help - sorry im a bit green

scottjonesqpr 06-10-2009 01:12 PM

sorry i actually get this

The requested URL /forum/xd_receiver.htm was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

TNCclubman 06-10-2009 01:19 PM

you might want to uninstall this before that date until a fix comes out. wouldnt want to risk all kinds of errors come saturday morning.

Digital Jedi 06-10-2009 01:24 PM

I kind of doubt there will be any errors. You'll still be able access your account using your user ID number.

webuser00 06-10-2009 08:50 PM

Hey guys,

I have version 2.0.2 on my forum, that I installed when I had vb 3.7 , now I have 3.8.

I want to upgrade to the latest version.. But I am unsure how to go about doing it. What's the best way to upgrade from 2.0.2 to 2.0.5? Can I upgrade it directly.. or do I have to upgrade from 2.0.2 to 2.0.3, then to 2.0.4 etc..

please let me know :)

dchoi 06-10-2009 11:20 PM

I followed the directions for step 1 to the best of my abilities and got this error.

Code:

Base Domain is not valid. Connect URL must be derived from your Base Domain.
Also, in what tab do I enter the callback url?

I'd appreciate any help. Can't wait to get this thing going!! :)

webgroup 06-11-2009 05:36 AM

I would be really glad if someone could help me
I installed the hack, its working exactly as promised
but after I logged in and publish the story on facebook, nothing else happened, I can't really log in to my forum.

All the process goes as it suppose, but after I logged in , I go to the forums and I'm not logged in.
I checked on the usergroup created for facebook users and I don't appear there, I searched the username I supposedly created, and it was not created.

Digital Jedi 06-11-2009 10:38 PM

Quote:

Originally Posted by webuser00 (Post 1827232)
Hey guys,

I have version 2.0.2 on my forum, that I installed when I had vb 3.7 , now I have 3.8.

I want to upgrade to the latest version.. But I am unsure how to go about doing it. What's the best way to upgrade from 2.0.2 to 2.0.5? Can I upgrade it directly.. or do I have to upgrade from 2.0.2 to 2.0.3, then to 2.0.4 etc..

please let me know :)

Upgrade instructions should be included in the ZIP file.


Quote:

Originally Posted by dchoi (Post 1827318)
I followed the directions for step 1 to the best of my abilities and got this error.

Code:

Base Domain is not valid. Connect URL must be derived from your Base Domain.
Also, in what tab do I enter the callback url?

I'd appreciate any help. Can't wait to get this thing going!! :)

That depends on what you put as your Base Domain. Base domain is what you asked for when you purchased your domain name.

yoursite.net

Callback URL is the full URL to your forums.

http://www.yoursite.net/forums

Or wherever your forums are located under your domain. Could just be

http://www.yoursite.net

dchoi 06-11-2009 10:44 PM

Quote:

Originally Posted by Digital Jedi (Post 1827934)
That depends on what you put as your Base Domain. Base domain is what you asked for when you purchased your domain name.

yoursite.net

Callback URL is the full URL to your forums.

http://www.yoursite.net/forums

Or wherever your forums are located under your domain. Could just be

http://www.yoursite.net

My base domain is davidchoimusic.com so that's what I put in there. However, I still get the same error message. Also, in what tab do I put the callback URL? The reason I'm asking is because there are several instances of the term "callback URL" on the Facebook App Edit page. So to clarify, in which of the following tabs do I enter the callback url?

Basic
Authentication
Profiles
Canvas
Connect
Widgets
Advanced

Digital Jedi 06-11-2009 10:49 PM

Quote:

Originally Posted by dchoi (Post 1827940)
My base domain is davidchoimusic.com so that's what I put in there. However, I still get the same error message. Also, in what tab do I put the callback URL? The reason I'm asking is because there are several instances of the term "callback URL" on the Facebook App Edit page. So to clarify, in which of the following tabs do I enter the callback url?

Basic
Authentication
Profiles
Canvas
Connect
Widgets
Advanced

The instructions specifically say to go to the Canvas Tab.

dchoi 06-11-2009 10:58 PM

Quote:

Originally Posted by Digital Jedi (Post 1827942)
The instructions specifically say to go to the Canvas Tab.

Thanks. I put the callback URL into the Canvas tab. However, I'm still getting the same error message.

Code:

Base Domain is not valid. Connect URL must be derived from your Base Domain.

wolfstream 06-11-2009 11:05 PM

Quote:

Originally Posted by tldagent (Post 1826929)
One thing I'd like to ask, and I haven't installed this mod yet because of this announcement:

I don't think we have anything to worry about with that at all. I strongly doubt they'd change their system enough to cause apps not to work.

Quote:

Originally Posted by tldagent (Post 1826929)
what will it use? What information will be displayed on the forum currently as their username?

When the user uses this to connect to your forum, they choose a username. This has nothing to do with facebook usernames at all

Quote:

Originally Posted by scottjonesqpr (Post 1826944)
i've a connect with facebook logo/button but it doesnt do anything?

Then ya did something wrong. Go over the instructions again, make sure you made the template edits properly and that you've put everything in where it should be.

Digital Jedi 06-11-2009 11:14 PM

Quote:

Originally Posted by dchoi (Post 1827950)
Thanks. I put the callback URL into the Canvas tab. However, I'm still getting the same error message.

Code:

Base Domain is not valid. Connect URL must be derived from your Base Domain.

I just visited your website. There is no forum at that URL. There's nothing to callback.

N-0p3rz 06-11-2009 11:30 PM

Just installed with no problems =]

Instructions were a bit vague, but I eventually figured it all out.

Great modification man.

*Thumbs Up*

dchoi 06-11-2009 11:31 PM

Quote:

Originally Posted by Digital Jedi (Post 1827955)
I just visited your website. There is no forum at that URL. There's nothing to callback.

My callback URL is http://www.davidchoimusic.com/forums/ which is what I entered in the 'canvas' tab. I set my base domain to "davidchoimusic.com" in the 'connect' tab. Is there something I did wrong?

Digital Jedi 06-11-2009 11:45 PM

Quote:

Originally Posted by dchoi (Post 1827964)
My callback URL is http://www.davidchoimusic.com/forums/ which is what I entered in the 'canvas' tab. I set my base domain to "davidchoimusic.com" in the 'connect' tab. Is there something I did wrong?

I've not seen someone try to use this with no active portal, but I would think it shouldn't matter. If the application is not setting up, only thing I can recommend is double/triple check your spelling and if that doesn't work, start over with a new app.

GhoHan 06-12-2009 12:04 AM

When logout in page i get this message.

fblogout_redirect

How to replace this message?

dchoi 06-12-2009 12:37 AM

Quote:

Originally Posted by Digital Jedi (Post 1827970)
I've not seen someone try to use this with no active portal, but I would think it shouldn't matter. If the application is not setting up, only thing I can recommend is double/triple check your spelling and if that doesn't work, start over with a new app.

I've checked the spelling and tried deleting the old app and creating a new one and I still get the same message. I thought maybe it's because my base domain is on "maintenance mode" so I deactivated that and it still doesn't work. I feel like I'm missing something very obvious here. Do you have any thoughts or other possibilities?

350Chevy 06-12-2009 05:33 AM

I'm going to have to uninstall this until it works properly.

wolfstream 06-12-2009 10:04 AM

Quote:

Originally Posted by 350Chevy (Post 1828124)
I'm going to have to uninstall this until it works properly.

This application does work properly, if you set it up properly. If you don't, it won't.

I use this application myself on 2 forums, no problems at all. I've set this application UP on a number of forums, again, no problems at all.

The app works beautifully and does just as it's supposed to.

webuser00 06-12-2009 03:53 PM

Quote:

Originally Posted by webuser00 (Post 1827232)
Hey guys,

I have version 2.0.2 on my forum, that I installed when I had vb 3.7 , now I have 3.8.

I want to upgrade to the latest version.. But I am unsure how to go about doing it. What's the best way to upgrade from 2.0.2 to 2.0.5? Can I upgrade it directly.. or do I have to upgrade from 2.0.2 to 2.0.3, then to 2.0.4 etc..

please let me know :)

Quote:

Originally Posted by Digital Jedi (Post 1827934)
Upgrade instructions should be included in the ZIP file.


I know the instructions are there to upgrade.. but all of them are how to upgrade from 2.0.2 to 2.0.3, or from 2.0.3 to 2.0.4.. etc

I just want to know if I can upgrade to 2.0.5 directly from 2.0.2.. or if I have to upgrade to each version in order until I reach 2.0.5

Please let me know

Thanks!

Digital Jedi 06-12-2009 05:23 PM

Quote:

Originally Posted by webuser00 (Post 1828357)
I know the instructions are there to upgrade.. but all of them are how to upgrade from 2.0.2 to 2.0.3, or from 2.0.3 to 2.0.4.. etc

I just want to know if I can upgrade to 2.0.5 directly from 2.0.2.. or if I have to upgrade to each version in order until I reach 2.0.5

Please let me know

Thanks!

You would just follow the steps that are missing in between. In your case just

•Import the product XML file (set Allow Overwrite to yes)
•Re-Upload admincp/fbconnect_datamap.php

dchoi 06-12-2009 06:14 PM

Quote:

Originally Posted by wolfstream (Post 1828193)
This application does work properly, if you set it up properly. If you don't, it won't.

I use this application myself on 2 forums, no problems at all. I've set this application UP on a number of forums, again, no problems at all.

The app works beautifully and does just as it's supposed to.

Did Facebook change some things recently? I can't even get past step 1 in creating the app and I followed the steps exactly as listed. :confused:

350Chevy 06-13-2009 01:30 AM

Quote:

Originally Posted by wolfstream (Post 1828193)
This application does work properly, if you set it up properly. If you don't, it won't.

I use this application myself on 2 forums, no problems at all. I've set this application UP on a number of forums, again, no problems at all.

The app works beautifully and does just as it's supposed to.

Being a coder myself and having double and triple checked my settings and having modded and added mods to vBulletin since 2001 without any problems, I'm pretty sure I've set it up "properly." But thanks. :)

It could have something to do with the older version of SQL I use but I'm not going to go through the pain of upgrading SQL just to "test" if that resolves the issue. Just because you have it working just fine on a completely separate server as mine with a different database doesn't automatically make it work for everyone. :lol:


All times are GMT. The time now is 08:36 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.02950 seconds
  • Memory Usage 1,879KB
  • 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
  • (5)bbcode_code_printable
  • (28)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