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)

sllik 12-12-2008 06:21 AM

Quote:

Originally Posted by blanky (Post 1683630)
Great mod, but I'm gonna wait untill it's stable, still some errors (try logging in and out then clicking the button again, nothing will happen, or, it will say "thanks for logging in", and log you out

whats your forum url

Quote:

Originally Posted by Kel-D (Post 1683656)
Mine only works in IE and not Firefox which is a shame cos I don't use IE. :o

what your forum url

yinyang 12-12-2008 06:22 AM

i did all the upgrades and followed the steps, but nothing is coming up. i don't see the facebook connect when logged out on the navbar.

yinyang 12-12-2008 06:34 AM

ok, i changed the usergroup permission for unregistered so no forums can be viewed. in this case, i see the facebook connect logo, but when i click on it, nothing happens.

tunistunis 12-12-2008 07:25 AM

the Facebook Connect library doesn't support PHP4

Wakey 12-12-2008 10:54 AM

Even with the upgrade done I am still getting the error I was when you click the login button

Please if someone could look at the attached image and give me som clues as to what might be causing this problem I would really appreciate it. I have spent hours upon hours trying to sort it, including completly reinstalling the forum.

TriMe 12-12-2008 11:22 AM

Quote:

Originally Posted by sllik (Post 1683612)
Version 1.1.1 is up. Please let me know if this solved the js & login popup problems. Thanks!

I never had the login problem, but the error is still there.

Im attaching a TMS file for all the latest template edits. Just to to your Template Modification Mangaer and import this file. Feel free to add it with your zip file

Boots 12-12-2008 11:28 AM

Good to see existing users can now use the feature! I notice the created user has the facebook app email address. Any way we can get their proper email address in that field?

TriMe 12-12-2008 11:34 AM

Quote:

Originally Posted by Boots (Post 1683771)
Good to see existing users can now use the feature! I notice the created user has the facebook app email address. Any way we can get their proper email address in that field?

That would be great.

jlew24asu 12-12-2008 11:35 AM

this is getting unbearably frustrating. what is my callback URL??

Invalid Argument
The Facebook Connect cross-domain receiver URL (http://sundeviltalk.com/xd_receiver....%220.755%22%7D) must have the application's callback url (http://sundeviltalk.com/forums/xd_receiver.htm) as a prefix. You can configure the callback url in the application's settings.

macc 12-12-2008 11:52 AM

your callback url is http://sundeviltalk.com/forums


reg

macc

jlew24asu 12-12-2008 12:05 PM

Quote:

Originally Posted by macc (Post 1683780)
your callback url is http://sundeviltalk.com/forums


reg

macc

I tried that many times, didnt work

Quote:

Originally Posted by sllik (Post 1683469)
DJScorpio is right, make sure your Callback URL is set so that callbackurl/xd_receiver.htm can be found.

:confused::confused:

TriMe 12-12-2008 12:20 PM

Quote:

Originally Posted by jlew24asu (Post 1683783)
I tried that many times, didnt work



:confused::confused:

Did you try with a forward slash at the end? http://sundeviltalk.com/forums/

Did you upload the xd_receiver.htm file into your root forum directory?

I'm not sure if this means anything, but If you enter http://sundeviltalk.com/forums/xd_receiver.htm your site comes up. On my site the Addon is working and if you do http://Globalhockeynetwork.com/xd_receiver.htm you get a blank page.

jlew24asu 12-12-2008 12:29 PM

Quote:

Originally Posted by TriMe (Post 1683787)
Did you try with a forward slash at the end? http://sundeviltalk.com/forums/

yes, still nothing

Quote:

Originally Posted by TriMe (Post 1683787)
Did you upload the xd_receiver.htm file into your root forum directory?

yes.

Quote:

Originally Posted by TriMe (Post 1683787)
I'm not sure if this means anything, but If you enter http://sundeviltalk.com/forums/xd_receiver.htm your site comes up. On my site the Addon is working and if you do http://Globalhockeynetwork.com/xd_receiver.htm you get a blank page.

:( well not for me. at this point I cant even log into my forum anymore. i'm working with slik to try and get that fixed :(:(

macc 12-12-2008 12:33 PM

your site - mean forum is http://www.sundeviltalk.com/forums.php and your callback url should be also http://www.sundeviltalk.com/forums.php - test this

reg

macc

jlew24asu 12-12-2008 12:36 PM

Quote:

Originally Posted by macc (Post 1683792)
your site - mean forum is http://www.sundeviltalk.com/forums.php and your callback url should be also http://www.sundeviltalk.com/forums.php - test this

reg

macc

so ignore this?

Originally Posted by sllik View Post

DJScorpio is right, make sure your Callback URL is set so that callbackurl/xd_receiver.htm can be found.

jlew24asu 12-12-2008 12:39 PM

Quote:

Originally Posted by macc (Post 1683792)
your site - mean forum is http://www.sundeviltalk.com/forums.php and your callback url should be also http://www.sundeviltalk.com/forums.php - test this

reg

macc

Invalid Argument
The Facebook Connect cross-domain receiver URL (http://sundeviltalk.com/xd_receiver....%220.808%22%7D) must have the application's callback url (http://sundeviltalk.com/forums.php) as a prefix. You can configure the callback url in the application's settings.

macc 12-12-2008 12:40 PM

where you have your board - forum ?

where is your index.php ? there should be your xd_reciver.htm - maybe your upload wrong ... was on your site and see that some pictures have "red x" - wrong path


callback url must be same url what you have in your admincp - for your board !


reg

macc

jlew24asu 12-12-2008 12:53 PM

Quote:

Originally Posted by macc (Post 1683797)
where you have your board - forum ?

not sure I know what you mean. I think my issues started because I'm using CMPS.

www.sundeviltalk.com is my CMPS page, www.sundeviltalk.com/forums are my forums

Quote:

Originally Posted by macc (Post 1683797)
where is your index.php ? there should be your xd_reciver.htm - maybe your upload wrong ... was on your site and see that some pictures have "red x" - wrong path

index.php and xd_receiver.htm are both in my root directory. but I'm not sure if there is some trype of conflict because I use CMPS.


Quote:

Originally Posted by macc (Post 1683797)
callback url must be same url what you have in your admincp - for your board !

my callback url is http://sundeviltalk.com/forums in admincp

TomJames 12-12-2008 01:35 PM

I put, 'www.mysiteurl.com/forums/xd_receiver.htm' as my callback URL and it seems to have fixed all my problems.

jlew24asu 12-12-2008 01:37 PM

Quote:

Originally Posted by TomJames (Post 1683817)
I put, 'www.mysiteurl.com/forums/xd_receiver.htm' as my callback URL and it seems to have fixed all my problems.

in your admincp however do you have this www.mysiteurl.com/forums ?

jlew24asu 12-12-2008 01:45 PM

side note. I was able to log in this morning, long enough to try and install the new version 1.1.1

I did notice however that the product is still version 1.1.0 in the products and plug in manager in admincp

TomJames 12-12-2008 02:01 PM

Quote:

Originally Posted by jlew24asu (Post 1683818)
in your admincp however do you have this www.mysiteurl.com/forums ?

I can't see an option that asks for that in the admin CP (under FB Options), unless you mean the one in General Settings, if so yep.

jlew24asu 12-12-2008 02:14 PM

Quote:

Originally Posted by TomJames (Post 1683832)
I can't see an option that asks for that in the admin CP (under FB Options), unless you mean the one in General Settings, if so yep.

yes I meant in general settings.


at this point, something is wrong with my db. that, and CMPS is causing some sort of conflict. (both educated guesses)

slik has been been working with me to fix, and its my fault for not doing a backup before installing, but this mod has basically taken down my board. :(

yinyang 12-12-2008 02:16 PM

After some sleep last night, I took a look at the upgrade I did and everything looks right. I still can't figure out why when I click on the facebook connect, nothing happens.

anyone have any ideas?

jlew24asu 12-12-2008 02:19 PM

Quote:

Originally Posted by yinyang (Post 1683842)
After some sleep last night, I took a look at the upgrade I did and everything looks right. I still can't figure out why when I click on the facebook connect, nothing happens.

anyone have any ideas?

what browser are you using? maybe try a different one. I was getting different results with firefox, IE, and Chrome.

but then again, I have bigger issues if you havent noticed ;)

yinyang 12-12-2008 02:27 PM

okay, i got it to bring up the facebook login window.

but after i input the necessary information, nothing happens. it just reloads the fblogin.php page. i actually had that problem in the very beginning and it was a php4 issue. since then i did upgrade to php5 as it is now, but still no joy.

TomJames 12-12-2008 02:36 PM

Quote:

Originally Posted by yinyang (Post 1683842)
After some sleep last night, I took a look at the upgrade I did and everything looks right. I still can't figure out why when I click on the facebook connect, nothing happens.

anyone have any ideas?

Indeed, try with different browsers (and pages), for example on mine it works perfectly with Firefox but with IE and Opera nothing happens unless you navigate to another page, for example Calendar.

Quote:

okay, i got it to bring up the facebook login window.

but after i input the necessary information, nothing happens. it just reloads the fblogin.php page. i actually had that problem in the very beginning and it was a php4 issue. since then i did upgrade to php5 as it is now, but still no joy.
What's your forum URL? I wouldn't mind trying to login to see if I have any better luck.

blazinthu 12-12-2008 02:54 PM

[QUOTE=TomJames;1683863]Indeed, try with different browsers (and pages), for example on mine it works perfectly with Firefox but with IE and Opera nothing happens unless you navigate to another page, for example Calendar.

I am having sort of the Same issue everything was working yesterday till I did the upgrade this morning. I cannot get the pop up from my main page where I am running CMPS, but if I got the the forum or calendar or register It will open the popup... anyone having this same issue??

nascartr 12-12-2008 02:59 PM

I had to recheck the templates for the 1.1.1 upgrade. Something minor has changed from 1.1.0 to 1.1.1 and at first all I did was re-upload the files and import the XML and then the pop up wouldn't work on any page at all. I then checked the template edits and searched for what was already there and just copied them over. Something changed in the edits that now allows the popup on all pages but without the edits causes it not to display on any page.

Digital Jedi 12-12-2008 03:08 PM

So far I have this running on a forum in a forums directory with none of the issues that have been reported. I still haven't gone in and try to add the connect links to the vBadvanced pages, but that's only a matter of adding some lines of code another style.

The only thing I am noticing is there doesn't appear to be any difference in my User CP where I believe there's supposed to be something different for FaceBook users in the Change Email and Password setting. Is that right, or is that just a background change in effect? It could be that because I use the GT Private Message enhancements its not showing. That mod generates different templates for the USECP_SHELL, but normally I can make the same edits to those templates with no problems.

Oh, there does appear to be a javascript error on the Arcade page even before you try to login. 'xdChannelUrl' is null or not an object

I've also noted that in FireFox, logging out of one site or the other tries to redirect you to the home page of your forum where you end up at http://www.cogonline.net/fblogin.php. You can't navigate to the homepage at all without being taken here, unless you close FireFox and reopen it.

Other then that, nothing real egregious for a BETA.

stryka 12-12-2008 03:45 PM

This is definetly getting closer to completion... keep it up

sllik 12-12-2008 04:12 PM

Those who are upgrading from 1.1.0 to 1.1.1 please don't forget to modify a template:
Edit Template - footer
Find:
FB.init("$vboptions[fbconnect_apikey]", "$fbconnect_xd_receiver");
Replace With:
FB.init("$vboptions[fbconnect_apikey]", "$vboptions[fbconnect_xd_receiver]");

Booth 12-12-2008 04:13 PM

Excellent mod :up: Installed.

nascartr 12-12-2008 04:14 PM

Quote:

Originally Posted by sllik (Post 1683944)
Those who are upgrading from 1.1.0 to 1.1.1 please don't forget to modify a template:
Edit Template - footer
Find:
FB.init("$vboptions[fbconnect_apikey]", "$fbconnect_xd_receiver");
Replace With:
FB.init("$vboptions[fbconnect_apikey]", "$vboptions[fbconnect_xd_receiver]");

That's what I didn't do at first and I couldn't get the pop-up on any page. After doing that however it works on all pages now! I can't find any errors at all now!

sllik 12-12-2008 04:14 PM

Quote:

Originally Posted by yinyang (Post 1683853)
okay, i got it to bring up the facebook login window.

but after i input the necessary information, nothing happens. it just reloads the fblogin.php page. i actually had that problem in the very beginning and it was a php4 issue. since then i did upgrade to php5 as it is now, but still no joy.

whats you're forum url, maybe i can help

alv22 12-12-2008 04:18 PM

This mod is very interesting.

When you login through Facebook and create a username for yourself, what will it set as the password? I can login through facebook later, but if I want to login through the forums own login form, it won't (obviously) accept the password used to login through facebook.

What happens to the people who register through FB? Are they forever offlimits to their username through the native login form?

sllik 12-12-2008 04:25 PM

Quote:

Originally Posted by alv22 (Post 1683957)
This mod is very interesting.

When you login through Facebook and create a username for yourself, what will it set as the password? I can login through facebook later, but if I want to login through the forums own login form, it won't (obviously) accept the password used to login through facebook.

What happens to the people who register through FB? Are they forever offlimits to their username through the native login form?

the admin can always set their password to whatever...

sllik 12-12-2008 04:51 PM

Quote:

Originally Posted by playSocial (Post 1683753)
Even with the upgrade done I am still getting the error I was when you click the login button

Please if someone could look at the attached image and give me som clues as to what might be causing this problem I would really appreciate it. I have spent hours upon hours trying to sort it, including completly reinstalling the forum.

I think there is something really wrong with your server... this should never happen!

Booth 12-12-2008 05:08 PM

Oh damn, this isn't working on my VBAdvanced pages.

Works perfectly on everything in my VB folder however.

Any ideas?

Boots 12-12-2008 05:21 PM

I'm so on the fence on this lol

The only thing stopping me is having users who register via Facebook being required to use their Facebook login from that point on. Perhaps if they could choose a password at the time of registration, that would give them the choice of the native login if they so choose.


All times are GMT. The time now is 11:01 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.02373 seconds
  • Memory Usage 1,850KB
  • 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
  • (25)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