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)

Blacura 07-21-2009 10:45 PM

Hey Tom thanks for installing it for me. he is the best folks. but now i am having issues. some of my usergroups can't post any replies or start threads. i had to turn it off after going through every hack i had installed

Quote:

Originally Posted by wolfstream (Post 1853199)
Kinosabi,
If you want this installed, let me know, I'll be happy to do it. You can see how well it works by looking at the forum link in my sig. The system works beautifully, as long as you follow the instructions step by step.

I've installed this on a number of forums my own and those not, so I know it works quite well. Feel free to drop me a PM if you want me to take care of this for you.


wolfstream 07-21-2009 10:58 PM

Blacura,

This isn't caused by the mod itself, but by the usergroup and the permissions set forth by them, or by other mods on your forum.

I've never had any problems at all with this specific mod not allowing usergroups to post, or anything of the like. This is a usergroup thing, not a mod thing. Go over your usergroup settings, because you have a problem there, not with the mod.

Blacura 07-21-2009 11:19 PM

I just checked all the forum permissions and they match all the other groups. so why is this one group having issues. only when this mod is enabled this issue happens. any other time the forum works fine

floggerss 07-22-2009 12:50 AM

IAM HAVING THIS PROBLEM

If nothing happens when you click the Facebook Connect button make sure your callback url domain is the same as you forum domain (the one set in your forum settings) - more specifically make sure that there is a www (or isn't) in both domains.

bUT i check the link and it is okei...

wolfstream 07-22-2009 05:09 PM

Quote:

Originally Posted by floggerss (Post 1853250)
bUT i check the link and it is okei...

Obviously it's not, otherwise the system would work.

Folks, the plugin works, you just have to follow the instructions. You can't vary one bit from the instructions, otherwise, you get errors.

wolfyman 07-22-2009 06:38 PM

I'm amazed that I'm the first to have a 500 error... am I?

Everything appears to be working, until I choose a nickname and click to continue. Rather than logging me in, I get a

"The website cannot display the page
HTTP 500
Most likely causes:
The website is under maintenance.
The website has a programming error.
"

wolfstream 07-22-2009 06:53 PM

The code doesn't cause a 500 error, settings on your server might, but that's not the fault of the code.

honie 07-22-2009 06:55 PM

I installed this & it seemed fine, but then the button just disappeared. I reinstalled all the edits, but the button is still not showing.

wolfyman 07-22-2009 07:08 PM

Quote:

Originally Posted by wolfstream (Post 1853690)
The code doesn't cause a 500 error, settings on your server might, but that's not the fault of the code.

Any ideas where I might start?

Thanks!

wolfstream 07-22-2009 07:12 PM

Quote:

Originally Posted by honie (Post 1853694)
I installed this & it seemed fine, but then the button just disappeared. I reinstalled all the edits, but the button is still not showing.

Double check your application settings. Also, if you moved your URL, it will be affected as well.

Quote:

Originally Posted by wolfyman (Post 1853706)
Any ideas where I might start?

Thanks!

Check your server's logs, specifically the error log, that will tell you waht you need to do to fix the problem.

honie 07-22-2009 07:36 PM

Quote:

Originally Posted by wolfstream (Post 1853709)
Double check your application settings. Also, if you moved your URL, it will be affected as well.


Check your server's logs, specifically the error log, that will tell you waht you need to do to fix the problem.

Thank you, I went over the settings & redid everything & the button is still not there.

wolfstream 07-22-2009 07:58 PM

Then you're missing something, or not doing something right.
The plugin works fine, but you have to configure it properly, which is where most of the problems come in.

honie 07-22-2009 08:04 PM

Ok, thanks anyway. It was working & then stopped is what was the most confusing. I have redone it from the beginning about 3 times. I will try one more time.

Viral Architect 07-22-2009 09:18 PM

Installed and followed all the instructions. Works fine on my board, although I just created the board.

EXCELLENT mod! I have been reluctant to join so many forums because I had to go through the registration process and now it's easy. Have a facebook? Just pick a user name and join!

Thanks again!

ZiG 07-22-2009 10:39 PM

is it not possible for already registered users to link a pre-existing account to their facebook account? or is this mod more for people who want to quickly register without going through the process? if a user who already has an account wants to connect with their facebook account instead, then they have to create a new nickname which means they will have 2 accounts, that doesnt make much sense...

merk_aus 07-23-2009 01:45 AM

Quote:

Originally Posted by ZiG (Post 1853813)
is it not possible for already registered users to link a pre-existing account to their facebook account? or is this mod more for people who want to quickly register without going through the process? if a user who already has an account wants to connect with their facebook account instead, then they have to create a new nickname which means they will have 2 accounts, that doesnt make much sense...

There was a fix for this posted in the first couple of pages of the thread

bmckinley 07-23-2009 05:20 AM

OK so I am the consumate NOOB. I am struggling to learn even the most basic html, BUT...this mod is installed and working PERFECTLY on http://hearts4horses.net/member_forum/upload/index.php. See, even the link name shows how much of a NOOB I am...but if i can READ THE INSTRUCTIONS...maybe some of the "pros" could too.

I know I'll get flamed for this post, but ask yourself this: If you've been a member on here since "wayback when" and you can't get it to work, and I am a total DUMBa$$, and it's working fine for me...then what the heck is the problem????

Flame away...

dbroomjr 07-23-2009 06:13 AM

---deleted---

honie 07-23-2009 06:24 AM

I think that is a bit harsh. I came looking for help because I thought this was a community that did that. I installed the mod in the first place because it does obviously work. I do not know the reason it was working & not just is not for me or other people, which is why I came here in the first place. To ask the people who knew. Not to be insulted. I am new to vbulletin, after running my site for over 7 years with phpbb. Sometimes you can get help & get it right, sometimes you can't and you move on. But there is no reason to be insulting and rude to people. Since you say you are a noob and a dumbass, I can guarantee a time is going to come when you need help because no matter how many times you try you just cant quit get it right. And I hope people are kinder to you then you just were to them.
And BTW I DID read the instructions, which is why it was working in the first place. Obviously I am missing something and I thought someone may have had a similar experience. Lesson learned....

merk_aus 07-23-2009 02:53 PM

I am having issues with it the button is there but doesn't open anything for people to sign in with?!?

stickyslicks 07-23-2009 08:21 PM

Thanks for a great mod! Installed without problems in about 1 hours. I had a lot more trouble with the Facebook Apps portion of the install than with the vBulletin side but I muddled through and the mod works beautifully on my test forums. I will complete the install on my production forums later today.

wolfstream 07-23-2009 08:51 PM

Quote:

Originally Posted by merk_aus (Post 1854209)
I am having issues with it the button is there but doesn't open anything for people to sign in with?!?

Double, triple check your settings. The mod doesn't do that if it is setup properly.

Something to keep in mind:
I say this every few posts, but it is very important, so it bears repeating countless times.

IF you have installed this mod, do yourself a favor and put the users in a secondary usergroup, not your primary one. This will make debugging issues with users just that much more easy, and it will make it that much easier to recover things if you have issues, say, with the mod not running any more, or with facebook changing things (doubtful, but possible). This way, if something happens, you can easily identify the affected users and set up notices, flags, smoke signals,hand gestures based on the usergroup they're in! It also makes it easy to send out newsletters without bouncebacks (the facebook email address doesn't like normal mail), just leave that usergroup out!

Just a tip that I share every once in a while.

wolfstream 07-24-2009 03:44 PM

Quote:

Originally Posted by BlueChipEarth (Post 1851174)
You must have short tags turned on for this to work!

Just a quick confirmation, clarification:
Short tags are pretty standard on servers , but there is a workaround for this:


Step 1: Open up fblogin.php and includes/functions_fbconnect.php in your text editor
Step 2: look for
PHP Code:

<?

Step 3: change to
PHP Code:

<?php

step 4: re-upload both files to your webserver where they belong.

Please note:
This WON'T affect most people (short tags are very, very common), but it may affect you.
How do you know if you're affected? Go to yourforumurl/fblogin.php . If it spits out text gibberish, you need to follow those steps. I'd upload fixes to that, but then we get into the whole redistribution of code garbage and I'd really rather not go there.

Also, another tip, because it's come up a lot in the past few months on installs I've done.

Quote:

# Set the Callback URL to your vBulletin url (example: http://www.siteurl.com/forum/)
This is the #1 cause of all problems. Follow this exactly. Don't set it to http://www.forumdomain.com/ if your forum url is http://www.forumdomain.com/forum/

Common Problem #2?
Quote:

# Go to the Canvas tab and set the Canvas Page URL (to whatever you want)
This should probably be set to your forum URL

Joshva 07-24-2009 06:40 PM

Hi all,

If you are using vbadvanced and create a new Usergroup for Facebook Connect. Make sure you check that the new usergroup has access to your vbadvanced pages.

Joshva 07-24-2009 06:43 PM

Does this work on IE 6?

btotw 07-24-2009 06:55 PM

Can someone give me a list of what one can put between "{*" and "*}"

???

The default templates have the following:

{*actor*}
{*threadurl*}
{*threadtitle*}
{*bburl*}
{*bbtitle*}

Are there more possible...?

Thanks...

Merriweather 07-24-2009 07:45 PM

FYI: The FaceBook connect mod does not work with the Zoints Anonymous Posting mod because it sends the info prior to the ZAP mod changing the userid, effectively "outing" the anonymous posted in the FB notice.

I actually need some help making it work, if anyone has the ability to help me out. :) For now, I've updated the fbconnect_new_reply_notification template to not include the username, but the problem is that if the FIRST poster clicked anonymous and they are a FB Connect user, when someone replies to the thread, the replier's FB notices says that they've sent a notification to XXX which is the user's name, and of course, that person posted anonymously, so I wouldn't want that happening! Ideally, I can just insert a check to see if the Anonymous Posting box is checked and if it is, change how the notices are handled.... ideas?

CyberXZT 07-25-2009 05:12 AM

Many thanks to wolfstream for assisting me with installation. He fixed a few glitches that I was having on my forums so if you need help, definitely ask him!

bellaa 07-25-2009 04:59 PM

thanks

ZiG 07-25-2009 05:05 PM

im having an issue with this mod, a security issue...

i linked me current existing account (an admin account) to my facebook account, which worked out alright...

then i have reports of another user telling me that when he logs into his facebook account, it logs him into my account (the admin account) automatically. i have no idea what the reason for this could be, but currently disabling the mod until i figure out whats wrong.

when users link their facebook account to their pre-existing account, what are the security features to ensure that they are the proper owner of that account?

wolfstream 07-25-2009 05:57 PM

Quote:

Originally Posted by ZiG (Post 1855289)
when users link their facebook account to their pre-existing account, what are the security features to ensure that they are the proper owner of that account?

You can't link to an account, or create a new account (via the facebook connect plugin) without being logged in to facebook. If you're not logged in, you'll be required to login.

I'm not sure what happened in your case, and I'm not going to say it didn't happen, but it seems a bit fishy.

ZiG 07-25-2009 07:01 PM

well, ill give some more details, as i can't figure this out either

when i connected my facebook acount, to my admin account...i was required to login to facebook via the facebook connect plugin. after logging in, it prompted me to choose a nickname, however i already had an existing account on the rdyup website (my admin account) so i chose the option to use a current existing account instead, and inserted my details into the prompt screen...

all seemed to work out fine, as i was now able to login to my account via the normal vbulletin login method, and when connecting with facebook it automatically logged me into the admin account i had linked it to.

however, it seems that this same account was then somehow linked with another user account. they are logging in with their facebook details, and being logged in directly to my admin account which i linked up with my facebook details. so it doesnt really make sense to me.

is there a database that i can check to see what the problem could be, to see if his account is somehow linked to my administrative account. i cant understand why his account would have linked up to it in the first place.

wolfstream 07-25-2009 07:26 PM

Quote:

Originally Posted by ZiG (Post 1855331)
is there a database that i can check to see what the problem could be, to see if his account is somehow linked to my administrative account. i cant understand why his account would have linked up to it in the first place.

Yes, but it's a mess. I'll see if I can put a quick hack together to pull information out, but can't really guarantee much. In the meantime, fire up phpmyadmin, look in the fbuser table, look for duplicate userids.

Like I said, I'll see if I can put something together to better interpret this, we'll see if it can be done.

cad2go 07-25-2009 10:33 PM

Getting a 500 error after hitting Publish or Skip.

I've read this thread from start to finish btw.

wolfstream 07-25-2009 11:02 PM

500 errors mean there's something wrong with how the server is handling something. Most likely phpsuexec, or suphp, or some garbage. check the error logs.

wolfstream 07-25-2009 11:05 PM

Quote:

Originally Posted by ZiG (Post 1855331)
is there a database that i can check to see what the problem could be, to see if his account is somehow linked to my administrative account. i cant understand why his account would have linked up to it in the first place.

I have put together a very simple mod to do this here. It's pretty straightforward, and I think the mod will benefit anyone here, not just those in your position.

If/When the author decides to put out an update to this, I more than welcome them to incorporate this into the mod, it really isn't that hard to do.

This, by no means uses this code. I simply made an adjustment to the xml navbits (to include the page), and put up a quick hack to do this.

This will allow users to see who is who (real user wise) through facebook connect, and in the event that something goes wrong, they can very, very easily be modified, even without using a separate usergroup now!

Enjoy

ZiG 07-25-2009 11:21 PM

i appreciate the effort, this is a great mod however lacking some features...

i would like to see this mod continued once vb4 arrives

wolfstream 07-25-2009 11:26 PM

Right now, we don't know what vB4 is going to have in store, honestly, so let's just focus on vB3. Since alpha's not even out for vB4, theoretically it could be a year or better (we really don't know, and yeah, that's just speculation), the best focus is on what is here in front of us.

You say this mod is lacking features. Honestly, I don't see it as such, but what do you see it lacking? If it is possible to add them (without stepping on toes), I can add them as a new mod, or an addon, possibly. However, my hands are tied with license garbage here, so I can't redistribute the OP's code.

cad2go 07-25-2009 11:57 PM

Quote:

Originally Posted by wolfstream (Post 1855418)
500 errors mean there's something wrong with how the server is handling something. Most likely phpsuexec, or suphp, or some garbage. check the error logs.

ie was showing a 500 error - it hides errors apparently - on chrome I get

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

Same error GoTTi was getting and he also got the 500 from ie.

wolfstream 07-26-2009 12:09 AM

cad2go:

Is this on the forums you have in your sig (rletc)? I was able to get to them and connect just fine using FF3, and IE8 didn't give me any issues either.

Most likely, this is a browser specific problem, and I'd lay 10:1 that browser isn't going to work with any facebook app outside of their page, not just the vB connection.

The code is pretty much facebook owned stuff, obviously fblogin.php is custom, but the rest of the user handling stuff is all facebook classes and whatnot. It's universal across god knows how many sites.

I'm not saying that your error didn't happen, but a bit mroe information would be good to help figure it out. If the latest version of the browsers work, then chances are it has something to do with the earlier, older version of the browsers


All times are GMT. The time now is 05:32 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.01996 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
  • (2)bbcode_php_printable
  • (15)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