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)

cad2go 07-26-2009 12:27 AM

Quote:

Originally Posted by wolfstream (Post 1855439)
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

yeah rletc

:D It worked for you!:confused:

I'm on chrome latest (2.0.172.37), ff3.0.12 and ie8.0.6001.18763 - all up to date.

Very weird.

I wonder could it just be a cookie issue or something with being logged in and out of fb on all 3 browsers and with a couple of accounts?

I looked through the logs and I didn't see any 500 errors tbh. Let me reboot, clear cache etc and report back

cad2go 07-26-2009 12:49 AM

No joy. Got the same error
Quote:

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
However I was able to join http://www.necrotania.com/ (a site on this thread) using fb.

wolfstream 07-26-2009 12:58 AM

Quote:

Originally Posted by cad2go (Post 1855442)
:D It worked for you!:confused:

Ayep
No problems at all here.
One thought might be the flash ad you've got running, as it does interfere with the fbconnect interaction. This might be part of the issue here, however I've never seen a 500 error on any install.

cad2go 07-26-2009 01:05 AM

Cheers wolf! Great to get that working. Appreciate the help.

Think you might be right about flash. I've had some odd issues with it and vista.

Anyway I'll see what I hear back from fb-ers.

Thanks

Bounce 07-26-2009 02:35 PM

Quote:

Originally Posted by Loco.M (Post 1724776)
installed and working great
I'm going to setup facebook connect on the wordpress blog as well :D

how did you do that mate?

ZiG 07-26-2009 03:30 PM

Quote:

Originally Posted by wolfstream (Post 1855423)
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.

well, there should be more of an indication that a user has either connected with facebook (made an account with facebook), or that a user has linked his/her current membership up with their facebook acount in the user profile or in the postbit. i realize you can bring over data from facebook, but this isn't really a clear indication that the user has connected with their facebook account.

to me it seems like this mod is really only for people who are very lazy to sign up for vbulletin on their own, which is good because most people are very lazy to sign up for vbulletin so it would probably bring in more memberships. however, as it is it's just a simpler way to register.

digg.com shows how this mod can work better, for example digg.com automatically figured out that the e-mail address you provide for your facebook login details could be similar to the e-mail address you used when signing up, so it immediately asks you to login with your current account rather than even giving you the option to create a new username which makes you end up with 2 accounts. it then also presents you with the option to friend other users on digg.com who are using facebook automatically, as well as asking you if you would like your avatar/profile photo transferred over to digg rather than automatically doing it. then when you have your user account linked together with your facebook account there is a clear indication of this reflected in the avatar, that hovers the facebook icon a little above and to the left of your actual digg.com avatar. a clear indication that you are logged in via connect with facebook, and that your facebook/digg membership have been linked together. when you go to settings, your facebook connect settings allows you to invite other friends via facebook to join digg, as well as a full buddy list of who is your friend on digg.com that also uses facebook. you can then also choose via checkboxes what you want automatically fed to your facebook wall...

this mod should take the usage of facebook connect on digg.com as an example, this mod already has some of these features but definitely not as well implemented as they should be. i also never figured out what that security hole was about...

template edits should also be reduced, there is a template modification engine available and most good plugins use it. there should be no need for all of these template edits...

Bounce 07-26-2009 03:39 PM

:) anyone know if its possible to change the image colour of the "connect with facebook" image, can the image be changed to my own custom one?

edit: found it, changed the url of the image in clientscript/fbconnect.js

bahrainonline 07-27-2009 09:54 AM

i manage to install this product, but i am still getting this https://vborg.vbsupport.ru/, i edited the all template twice but still getting this

any idea

wolfstream 07-27-2009 07:00 PM

Quote:

Originally Posted by ZiG (Post 1855935)
well, there should be more of an indication that a user has either connected with facebook

There is, right here:
Quote:

Originally Posted by ZiG (Post 1855935)
you can bring over data from facebook

Quote:

Originally Posted by ZiG (Post 1855935)
this isn't really a clear indication that the user has connected with their facebook account.

Uhh, yeah, it is.

Quote:

Originally Posted by ZiG (Post 1855935)
to me it seems like this mod is really only for people who are very lazy to sign up for vbulletin on their own, which is good because most people are very lazy to sign up for vbulletin so it would probably bring in more memberships. however, as it is it's just a simpler way to register.

It's not a matter of being 'too lazy', it's a matter of being 'more secure'. Think of it. One password, one login, multiple forums. no spam!!! Facebook handles everything, including password and email changes. Now THAT is unique. It's not about being 'too lazy', but keeping everything under one roof. Now, if that one roof caves in, you're screwed, but you still have that one roof

Quote:

Originally Posted by ZiG (Post 1855935)
... automatically figured out that the e-mail address you provide for your facebook login details could be similar to the e-mail address you used when signing up

That's good for dig, but the way the facebook API works , the email address is hashed, and the end user (developer) doesn't actually SEE that email address

Quote:

Originally Posted by ZiG (Post 1855935)
template edits should also be reduced

Nonsense. It takes all of 5 minutes to edit the templates. Why use an "auto template parser" which forces a linkback on every page to a pathetic author? Take 5 minutes, edit the templates, and you're done. This way you KNOW what you're doing, and can actually LEARN from it.


Quote:

Originally Posted by hIBEES (Post 1855939)
edit: found it, changed the url of the image in clientscript/fbconnect.js

Be careful when playing with that, because you can very easily screw up the setup. The button and link and all that come directly from facebook

Quote:

Originally Posted by bahrainonline (Post 1856409)
i manage to install this product, but i am still getting this https://vborg.vbsupport.ru/, i edited the all template twice but still getting this

See my screenshots a few posts back, make sure your app configuration follows that EXACTLY. That is the #1 reason people get that error

moonclamp 07-28-2009 01:32 AM

What happens to the user if they decide to disable or delete their facebook account? Will they still show on the memberlist, and will their forum account be disabled too?

... and similarily, what happens to facebook connect member if you get rid of the addon at a later date?

Oh, and what happens if two members are on each others facebook ignore/block list?

webuser00 07-28-2009 02:19 AM

I have your facebook connect plugin installed on my board. My main forum URL is a subdomain http://forums.xxxx.com , which is where I originally installed it. I created a vbadvanced page on my homepage,. xxxx.com . I have a facebook connect button also located there, and it used to always work.. and then all of a sudden it stopped working properly. When I click the facebook connect button from the vbadvanced page it no longer works, and I have to go to the forum root (forums.xxxx.com) for facebook connect to actually work.

Please let me know if you can help me fix this.. it's becoming such a pain.. On my facebook API settings I have the base url set to xxxx.com, so I thought it would work.

btotw 07-28-2009 06:57 PM

Is it possible to force the "Connect with Facebook" dialog box to a different location? Like I want mine to be 100px from the top of the screen INSTEAD of center screen...

...yes, Im nit picking, but for me...hey its what I need :)

wolfstream 07-28-2009 07:13 PM

Quote:

Originally Posted by moonclamp (Post 1856849)
What happens to the user if they decide to disable or delete their facebook account? Will they still show on the memberlist, and will their forum account be disabled too?

Since facebook controls their account, they will only be able to not login. Facebook does not control 3rd party apps, nor does it pass that information on to them.

Quote:

Originally Posted by moonclamp (Post 1856849)
... and similarily, what happens to facebook connect member if you get rid of the addon at a later date?

They cease to be able to login, unless you change their profile and manually add an email and password for them. This is WHY it's imperative to keep users from facebook in their own usergroup

Quote:

Originally Posted by moonclamp (Post 1856849)
Oh, and what happens if two members are on each others facebook ignore/block list?

I wouldn't think anything, however I haven't seen that situation.
Quote:

Originally Posted by btotw (Post 1857362)
...yes, Im nit picking, but for me...hey its what I need :)

This isn't what you "need", but what you "want". There is a difference between the two.
Can it be done ? I'm sure it can. Go through the files provided by the author and see where this is called.

Quote:

Originally Posted by webuser00 (Post 1856865)
I have your facebook connect plugin installed on my board. My main forum URL is a subdomain http://forums.xxxx.com , which is where I originally installed it. I created a vbadvanced page on my homepage,. xxxx.com

This isn't going to work at all, you need to pick one and stick with it. Facebook allows you to use one url for your app to "connect" to, and only one. This can either be www.domain or forums.domain.

bahrainonline 07-29-2009 12:53 PM

still facing the same problem, i checked the template 4 times, and checked the facebook application 4 times but still getting that picture

any things to do to find where is the problem exactely

Thanks

wolfstream 07-29-2009 03:24 PM

Then you're doing something wrong, because the app works.

Joshva 07-29-2009 05:17 PM

Hi,

When it automatically friends new fbconnect users's friends. Those friends don't get a friendship back to the new fbconnect user. Is there anyway to resolve this?

bahrainonline 07-29-2009 06:03 PM

Quote:

Originally Posted by wolfstream (Post 1857911)
Then you're doing something wrong, because the app works.

Yes thats what i am saying, if i configure the facebook application exactely as you said in your screens shoot, and the templates done as you explained, how can i know where am wrong?

Thanks

seaweed 07-29-2009 06:37 PM

my brain hurts from trying to read all of these post.
I installed and so far I like it an it works.

One problem I have is post in privat forums can be posted to Facebook. This is a problem as I dont want posts from my mod section ending up on Facebook. Id there a way to restrict or set permisions controlling/limiting private forums from being able to post to Face book?

Im sorry if an answer has already been posted, I feel cross eyed from trying to read all the posts.

Kudos to wolfstream for stepping up.

tia
Seaweed

Wakey 07-29-2009 06:41 PM

Quote:

Originally Posted by seaweed (Post 1858018)
my brain hurts from trying to read all of these post.
I installed and so far I like it an it works.

One problem I have is post in privat forums can be posted to Facebook. This is a problem as I dont want posts from my mod section ending up on Facebook. Id there a way to restrict or set permisions controlling/limiting private forums from being able to post to Face book?

Im sorry if an answer has already been posted, I feel cross eyed from trying to read all the posts.

Kudos to wolfstream for stepping up.

tia
Seaweed

The posts can't be read so its not a massive issue. Personally I have tried to hack it so it will exclude forums but at the moment I haven't been able to get it to work and if I do will post details here

ZiG 07-29-2009 07:11 PM

Quote:

Originally Posted by wolfstream (Post 1856713)
There is, right here:



Uhh, yeah, it is.


It's not a matter of being 'too lazy', it's a matter of being 'more secure'. Think of it. One password, one login, multiple forums. no spam!!! Facebook handles everything, including password and email changes. Now THAT is unique. It's not about being 'too lazy', but keeping everything under one roof. Now, if that one roof caves in, you're screwed, but you still have that one roof


That's good for dig, but the way the facebook API works , the email address is hashed, and the end user (developer) doesn't actually SEE that email address


Nonsense. It takes all of 5 minutes to edit the templates. Why use an "auto template parser" which forces a linkback on every page to a pathetic author? Take 5 minutes, edit the templates, and you're done. This way you KNOW what you're doing, and can actually LEARN from it.



Be careful when playing with that, because you can very easily screw up the setup. The button and link and all that come directly from facebook


See my screenshots a few posts back, make sure your app configuration follows that EXACTLY. That is the #1 reason people get that error

you seem really concerned with picking apart everyones suggestions and criticism of this mod, and im under the impression you believe this mod is perfect. my entire post was pretty much deflected by you, and i notice you doing it to others in this thread as well. whats the reason for this?

if your not willing to accept constructive criticism then...................

SoFresh 07-29-2009 07:13 PM

I have it installed. I set the settings but when I go to the News Feed Templates, I get this:

Code:

Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /path/to/sofreshforums.com/html/includes/facebook/facebook.php on line 38

wolfstream 07-29-2009 08:10 PM

Quote:

whats the reason for this?
There's a difference between criticism and ignorance. I have no problem with criticism, but can not stand ignorance. Your comments were based on ignorance of the mod, and how it works. I understand you use the mod, and are looking to make it better, but not understanding how the mod works is no reason to try to take it down.

Quote:

Originally Posted by SoFresh (Post 1858040)
I have it installed. I set the settings but when I go to the News Feed Templates, I get this:
[/CODE]

This happens when you haven't met the requirements.
You can not run this with php4 anywhere on the server. Even if you're running both php4 and php5, it won't work.

Lastly, this shouldn't need to be said, but, apparently it does:

I am not the developer of this mod. Please do not pm me for free help. I do provide assistance here in the thread when I can, and for issues that I can help with, but I can not provide free support via PM for another person's mod.

I only say that because I've received numerous requests over the past few days requesting me to "test their mod", "help for free", or "respond to posts". I'm not the developer here. While I am interested in the future of this mod, I can not provide free private support for someone else's mod, when they won't even do it themselves

ZiG 07-29-2009 08:21 PM

lol, now im getting called ignorant. alright dude, thats cool. good luck to you then.
anyway, if that actual developer of this mod reads my posts please take the consideration into some of the suggestions i made as to how it can be further improved in an updated version. its a good mod, deserves mod of the month but it could use more improvements. thanks.

SoFresh 07-29-2009 08:33 PM

well it's a good thing I didn't ask you. hmm. alright then.

wolfstream 07-29-2009 09:28 PM

Quote:

Originally Posted by ZiG (Post 1858099)
lol, now im getting called ignorant.

Wrong
I said your post was ignorant, as it is. I never said you were ignorant.

As far as your requests:
All you have to do is look at the mod, and understand it to see that what you're after is already there (sans the email, which is going to be rather hard, if not impossible, to do, given that Facebook doesn't actually give out email addresses). I understand you're new at using it, but that doesn't mean that what you're after isn't already there, as I pointed out.

Quote:

Originally Posted by SoFresh (Post 1858105)
well it's a good thing I didn't ask you. hmm. alright then.

If you had to deal with the number of requests (5-10/day) for 'free' support, you'd do something too. I'm happy to help out in this thiread, but at some point, common sense must come into play. MOST people respect the fact that I do what I do here for this mod for nothing, but there are a few that just can't understand that and push the point.

JohnnieOO 07-30-2009 11:56 AM

Yesterday the mod was installed on my forum by the developer. I paid the $25, he was responsive and the mod was installed in a timely manner. No problems so far and it seems to be working fine. Very nice mod in my opinion.

Johnnie

wolfstream 07-30-2009 08:23 PM

The dev is STILL supporting this privately, it just takes a while, and after providing public support for this product as I have, I can understand why.

Here's something new and interesting that may cause a problem with this product. If someone could test and confirm, I'd be greatly appreciated:

It would appear that if you've got the thread (reply/qr/etc) template mods installed, at least temporarily, that your users will not be able to make replies or new threads. I woudln't say this is a permament thing at all, because it appears to be on facebook's end.

How did I verify/find this?

Well, with two themes on the forum, both working 100% an hour ago, the forum stopped allowing posts or threads.

I took one of the themes, reversed the newreply/newthread mods , and that one suddenly allows posts/threads.

How to fix this?

Download the mod, and reverse the newthread/newreply/showthread mods.

Alternatively, you can just wait for facebook to fix it, if they can.

Again, this is just my testing for now, if someone could confirm this is actually a problem at this time (could be resolved in an hour, a half hour, etc), it'd be nice to know.

wolfstream 07-30-2009 09:27 PM

The last issue I reported seems to have cleared up, with no help from me, so this is definitely a facebook thing.

Just keep that in mind if you have the mod installed. This CAN affect posting abilities, maybe not so often, and maybe not too long, but it CAN affect them.

bposner 07-31-2009 02:51 AM

I see this area has calmed down a bit. First of all, I paid the small fee to have the author install this on our system. It worked perfectly. We were really happy with it... as with most of the mods on this board it was free. Free software is great and I appreciate it.
Now in post 851 I posted:

Facebook Connect staff:
We've had this on our site, www.stangsofsouthflorida.com/forum for quite sometime and has worked perfectly. Recently users are complaining that the request to post message pops up every time now. There is no option to shut it off, accept just once. Did something change of Facebook... I only work on this forum occasionally as it is pretty basic and runs itself. I have made no updated or changes to the forum software.


I was wondering if there was ever a solution to this somewhere...
Thanks

wolfstream 07-31-2009 03:06 AM

bposner:

This is the way the system should have always handled things. When a thread or reply is posted, the user should be given the popup to post it to facebook. It hasn't happened every time before?

Realistically, there's no other way to do this one except turn it off permamently (via their usercp).

tafreeh 07-31-2009 03:07 AM

i m having a trouble on step 1.
when i set base domain
Code:

Click on the Connect tab and set the Base Domain to your domain (siteurl.com) without the http or www.
i get this error
Quote:

Validation failed.

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

Please help me out.

wolfstream 07-31-2009 03:20 AM

Quote:

Originally Posted by tafreeh (Post 1858864)
Please help me out.

See the screens I posted here, make sure your setup is exactly like that (sans the url/domain of course).

bposner 07-31-2009 03:20 AM

Quote:

Originally Posted by wolfstream (Post 1858863)
bposner:

This is the way the system should have always handled things. When a thread or reply is posted, the user should be given the popup to post it to facebook. It hasn't happened every time before?

Realistically, there's no other way to do this one except turn it off permamently (via their usercp).

I only used this a few times, I installed (or you did ;) ) mainly because users were asking for some kind of interface... So what I remember and from what they tell me, the box that came up use to have a check box, that basically said don't ask this again. Sound familiar? btw I show nothing in the userCP for this mod -- this isn't high priority btw
Thanks

webuser00 07-31-2009 03:45 AM

Quote:

Originally Posted by wolfstream (Post 1857368)
This isn't going to work at all, you need to pick one and stick with it. Facebook allows you to use one url for your app to "connect" to, and only one. This can either be www.domain or forums.domain.

I am almost positive that this used to work on my board. What's the point of the baseURL then? I just want people to be able to click the facebook connect button off of my vbadvanced page. The vbadvanced page is my homepage, and the actual forums are located on forums.domain.com

The whole site is just a vbulletin forum, nothing else.

Please let me know if it should work, or if I can use some kind of workaround.

Here's a link to my original problem post, just in case you dont remember what I'm talking about:
https://vborg.vbsupport.ru/showpost....&postcount=971

tafreeh 07-31-2009 06:58 AM

well, i just install this hack followed all the step except for the option template editing.

and guess what. i dun see a bit change at my forum, not even a "connect with facebook" button at my page.

Any idea whats wrong?

Edited:

for navbar template changes, i didnt have that code in navbar it was in header
Quote:

Template: navbar

Find:
<!-- / login form -->

tomsor 07-31-2009 03:24 PM

I also did not have a navbar template in my theme, the "<!-- / login form -->" was in my header template..

So I just installed the code ABOVE <!-- / login form --> in the header template.. And everthing works perfectly ! :)

Thanx for this mod!

matthewhotdude 07-31-2009 05:53 PM

Uninstalled I get this error on my site
Fatal error: Cannot redeclare class Facebook in /home/chattabo/public_html/includes/facebook/facebook.php on line 37

Any Ideas?

wolfstream 07-31-2009 06:42 PM

matthew:
This happens when you have another app using the facebook class setup. Somehow, another one of your plugins is using the facebook class, and it can't be defined twice.

tafreeh:
Make sure you have BOTH the navbar (or header) AND the footer code edits installed, and any other required edits, as well as your settings match what I posted earlier.

webuser00:
This isn't an application problem, but a facebook problem. I'd suggest you post the issue to their forums, not here. As I said before, you can only run the app on one domain (including subdomains), so, you need to fix that. Maybe earlier they DIDN'T have this requirement, but as it is now, that's how the setup works. You need to get further clarification from the facebook application team.

bposner:
I've never seen this app have a "remember this choice" option. That would be very spam prone, honestly, and I don't see that as happening. Facebook DOES care about spam, as compared to the other guys. You don't want your app banned for spam, so, just turn off notifications then.

matthewhotdude 07-31-2009 06:46 PM

But ive only just uploaded the facebook files! so how can something else be using it

matthewhotdude 07-31-2009 08:31 PM

Figured out what it is, it's the open invitor mod :( Any chance of a workaround?


All times are GMT. The time now is 06:13 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.02575 seconds
  • Memory Usage 1,901KB
  • 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_code_printable
  • (30)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