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)

paintballer.ie 03-20-2009 02:53 AM

I have it installed and he seems to be working now.

How ever, how can users change the new feed settings in the future? They may have it on now but may want to turn it off in the future.

Burnt 03-20-2009 03:14 AM

Okay so I thought I had fixed.. I'm trying to use a different group for when you sign up using the facebook. I have it set to 12 which is for facebook users. And Facebook Users is the exact same as Registered Users however when those that sign in and they are in group facebook they get that they don't have access but if I move them to the Registered Users they can see it. What did I do wrong?

Ted S 03-20-2009 03:16 AM

Awesome mod. One of the best tools I've seen in a long, long time.

Quick question though. It looks like the user has to click the "Connect to Facebook" link every time they visit the site or it's assumed they aren't an FB user. Is this correct or am I missing something?

paintballer.ie 03-20-2009 10:49 AM

Quote:

Originally Posted by Burnt (Post 1772332)
Okay so I thought I had fixed.. I'm trying to use a different group for when you sign up using the facebook. I have it set to 12 which is for facebook users. And Facebook Users is the exact same as Registered Users however when those that sign in and they are in group facebook they get that they don't have access but if I move them to the Registered Users they can see it. What did I do wrong?

I created a new usergroup based of registered members permissions and called it 'Facebook Registered'. This group had an ID of 24.

I entered 24 into the FBconnect settings.


At first when I signed up, it didnt not move my first attempt into the user group, but I went to bed and when I got it, it was there so there much have been some cron job done to update it over night.

Burnt 03-20-2009 04:01 PM

Well I figured why it wasn't showing. I have 3 pages for the portal and vbulletin. I didn't have the permissions setup for the usergroup to see it so i had to go to each one and set it up. It now works.

Burnt 03-20-2009 04:13 PM

Quote:

Originally Posted by paintballer.ie (Post 1772466)
I created a new usergroup based of registered members permissions and called it 'Facebook Registered'. This group had an ID of 24.

I entered 24 into the FBconnect settings.


At first when I signed up, it didnt not move my first attempt into the user group, but I went to bed and when I got it, it was there so there much have been some cron job done to update it over night.

Your site has the same problems I did I signed in using my facebook account to yours and you need to setup all the permissions for the new usergroup. Dunno what portal you are using or what but you need to find the permissions and add the usergroup you have so they can see things.

I used vBA cmps and I had to go to quick permissions and click them on for the things I wanted them to see and now everything works like a champ.

drsli 03-20-2009 10:13 PM

Quote:

Originally Posted by dadymac (Post 1729293)
i got that the message is too short error as well.

Me too. :( I noticed that, when I tried to post a message with quickreply.
I had to disable the template-edits for the newsfeed-capability. Now I can post again with no hassle. Maybe this can be fixed?

Anyway, thank you very much for this great addon! :)

drsli 03-21-2009 12:25 PM

I have to answer myself...:D
Unfortunately I forgot to search within the vb3.7-thread of this modification and there I found a workaround. The mentioned solution worked for me too in 3.81 (Firefox - I couldn?t test other browsers so far). I had to switch off the wysiwyg-mode in the editors and now it seems to work without hassle. No "message too short..."-error any more.

jGas 03-21-2009 01:04 PM

hi great mod!!

what about a Windows Live Messenger connector ?

thanks :D

skylab 03-21-2009 01:37 PM

Quote:

Originally Posted by playSocial (Post 1770970)
Just do a search in the Facebook Connect templates for the term FB.Connect.showFeedDialog

Anywhere that appears in the templates replace it with the term null

Rather than posting a one line story this will make it post a short story, a short story is the one line story proceeded by a comment from you (Which you get to choose when publising the story). You can ofc leave the comment blank and it will post like a normal short story.

This didn't seem to fix the issue on my side.

Code Monkey 03-21-2009 06:26 PM

Does this allow people to bypass the forum rules agreement?

Brandon Sheley 03-21-2009 06:59 PM

thanks for the update, I'll update our setup as soon as I get time :up:

jacobi 03-21-2009 07:34 PM

Quote:

Originally Posted by Code Monkey (Post 1773588)
Does this allow people to bypass the forum rules agreement?

Thanks for asking this... I've been wondering, too. That's an important factor for the forum/community I run and a real "deal breaker" for using this mod :)

Ted S 03-21-2009 07:44 PM

The default templates don't check for the TOS but you could easily add this once you have it installed. I've done this for my client installs and can post some code if you need it but basically just edit the template fbconnect_login and the register routine in fblogin.php. it's about 3 lines of code.

GetGamer.com 03-22-2009 01:47 AM

I've installed this mod (just updated to the latest version), and I've got a question about how this mod is supposed to handle existing forum members who want to link up their Facebook account.

What should happen
A person with an existing forum account clicks the Connect with Facebook button. They authorize my Facebook app. They are then presented with an option of selecting a nickname for the forum, or linking to an existing forum account. They choose existing, enter their forum credentials and are now signed in.

Posts that they make are updated on their Facebook Wall.

They leave my site, shut down their computer for the day. The next day, they sign-in to Facebook. Then in another browser tab, they open my forums. The forums should detect that they are signed-in to Facebook and automatically sign them into the forums, using their original forum account (which is now connected to Facebook).

What actually happens
Every time an existing user visits the forums, if they don't select Connect with Facebook, they get logged in the "old way" (no Facebook connection). And if they do select Connect with Facebook, they are prompted (again) to select a nickname or choose an existing account. This should not happen, right?

Is there something wrong with my install of this mod, or is this the way it "works?" Because this seems very wrong.

For what it's worth, this mod seems to work great for Facebook users who don't already have a forum account; the problem is really only with existing forum users.

If you'd like to check it out, I'm using the mod at this site: http://www.bigblueball.com/forums/

drsli 03-22-2009 10:05 AM

Quote:

Originally Posted by jacobi (Post 1773638)
Thanks for asking this... I've been wondering, too. That's an important factor for the forum/community I run and a real "deal breaker" for using this mod :)

I catch this point, but I think, that in most cases the rules are just let through on the nod and if there is someting fishy afterwards with a user, moderation has to be placed anyway.

Crystal Shards 03-22-2009 04:25 PM

Some styles don't use the code you want us to replace and the like. Adobe Blue is one example. Any way around this?

EDIT: Sorry, should have given an example:

Find:
<form action="newreply.php?do=postreply&amp;t=$threadid" name="vbform" method="post"<if condition="!is_browser('webtv')"> onsubmit="return vB_Editor['$editorid'].prepare_submit(0, $vboptions[postminchars])"</if>>
Replace With:
$fb_prepare_submit
<form action="newreply.php?do=postreply&amp;t=$threadid" name="vbform" method="post"<if condition="!is_browser('webtv')"> onsubmit="return fb_prepare_submit(this, 0)"</if>>

I can't do that with some of the templates.

Also, how are they supposed to add the application on Facebook if it goes straight back to the site?

drsli 03-22-2009 04:57 PM

I had to uninstall unfortunately, cause I didn´t get my existing vb-account to connect to facebook.

Hopefully I´m not wrong: if new users are connecting via facebook and if their new vb-accounts are solely related to the addon, their vb-accounts would break, if the addon isn´t compatible any more or is uninstalled?

Or does the addon create a regular vb-account (with the facebook-password), which is independent from the addon in the future, that means a login without connecting to facebook would be possible for the users too, who initially connected via facebook?

Code Monkey 03-22-2009 05:08 PM

Quote:

Originally Posted by drsli (Post 1774063)
I catch this point, but I think, that in most cases the rules are just let through on the nod and if there is someting fishy afterwards with a user, moderation has to be placed anyway.


You're missing the point. It's so later you can say "you agreed to the rules of registration" when you joined or connected with FB the first time. It's an important legal issue for some.

Ted S 03-22-2009 05:26 PM

Quote:

Originally Posted by Code Monkey (Post 1774360)
You're missing the point. It's so later you can say "you agreed to the rules of registration" when you joined or connected with FB the first time. It's an important legal issue for some.

Definitely is. I imagine the rules tool will be added shortly to this awesome mod but in the mean time for those who need it today, here's how to do it:

Part I - Check that the TOS was agreed to

Step 1: Open fblogin.php
Step 2: Go to line 93 or just after the code:

Code:

$vbulletin->input->clean_array_gpc('p', array(
  'username'            => TYPE_STR
 ));

Step 3: Add the following code:

Code:

// add tos check -- HACK
 $pagenumber = $vbulletin->input->clean_gpc('p', 'agree', TYPE_BOOL);
 if (!$vbulletin->GPC['agree'])
 {
  eval(standard_error(fetch_error('register_not_agreed')));
 }
 // end tos check

Part II - Asking the user to agree

Step 1 - Open the template fbconnect_login
Step 2 - Find the code

Code:

</fieldset>
Step 3 - After this code add:

Code:

<input type="checkbox" name="agree" value="1" checked="checked" style="font-size:11px;" />
  I agree to abide by the XYZ <a href="#" onclick="window.open('/XXXX.php','review','resizable=yes,scrollbars=yes,height=480,width=640');">Terms of Service</a>.

Step 4 - Change the above code to reflect your forum name and the path to your forum rules. The rules will be shown in a popup window.

Hope I'm not stepping on any toes here. Just thought this could help some people who have concerns get by until the mod can be upgraded.

jacobi 03-22-2009 07:10 PM

It's indeed a legal issue, particularly when you're providing an educational community for high school-age students!

drsli 03-22-2009 07:18 PM

Since the facebook-activity and the forum-activity are in synchronicity somehow with this mod, the facebook-rules and the forum-rules should be in complete synchronicity too to meet any legal issue IMO. Anyway: it should be possible to inform any facebook-connected guest/user afterwards about the forum-conditions and be safe with uprising legal outcomes.
But I´m fine with a "agreement before joining" too for sure.

WildAmbitions 03-23-2009 01:10 AM

Nothing happens when I click the Facebook Connect button. My callback url domain is the same as my forum domain (the one set in your forum settings) - more specifically, there is a www in both domains.

Any other ideas as to what the problem is? :confused: Please help.

dnicu26 03-23-2009 08:07 AM

Quote:

Originally Posted by GetGamer.com (Post 1773848)
I've installed this mod (just updated to the latest version), and I've got a question about how this mod is supposed to handle existing forum members who want to link up their Facebook account.

What should happen
A person with an existing forum account clicks the Connect with Facebook button. They authorize my Facebook app. They are then presented with an option of selecting a nickname for the forum, or linking to an existing forum account. They choose existing, enter their forum credentials and are now signed in.

Posts that they make are updated on their Facebook Wall.

They leave my site, shut down their computer for the day. The next day, they sign-in to Facebook. Then in another browser tab, they open my forums. The forums should detect that they are signed-in to Facebook and automatically sign them into the forums, using their original forum account (which is now connected to Facebook).

What actually happens
Every time an existing user visits the forums, if they don't select Connect with Facebook, they get logged in the "old way" (no Facebook connection). And if they do select Connect with Facebook, they are prompted (again) to select a nickname or choose an existing account. This should not happen, right?

Is there something wrong with my install of this mod, or is this the way it "works?" Because this seems very wrong.

For what it's worth, this mod seems to work great for Facebook users who don't already have a forum account; the problem is really only with existing forum users.

If you'd like to check it out, I'm using the mod at this site: http://www.bigblueball.com/forums/


Yes, they get logged in the old way with the old details but that account will still be paired to Facebook and the user will still get the alerts and notifications on Facebook. I just checked this and it's working fine. I don't think it's meant to sign you into the forums automatically.

paintballer.ie 03-23-2009 04:41 PM

Ok, mod works great and associates accounts, however...

How do members turn off the stories being feed to facebook once they initially set it to 'always do this'. If it driving them mad as some are getting up to 90 notifications per day.

Help!!

tpearl5 03-23-2009 05:02 PM

Quote:

Originally Posted by paintballer.ie (Post 1775146)
Ok, mod works great and associates accounts, however...

How do members turn off the stories being feed to facebook once they initially set it to 'always do this'. If it driving them mad as some are getting up to 90 notifications per day.


Help!!

In facebook, they need to click on:
  • Applications (bottom left) -> Edit (top right of applications box)
  • Show - applications that are 'authorized' (your site should be in that list)
  • Edit Settings for your site
  • Set to whatever person wants (4 options)

paintballer.ie 03-23-2009 09:12 PM

Quote:

Originally Posted by tpearl5 (Post 1775165)
In facebook, they need to click on:
  • Applications (bottom left) -> Edit (top right of applications box)
  • Show - applications that are 'authorized' (your site should be in that list)
  • Edit Settings for your site
  • Set to whatever person wants (4 options)

Cheers, that did the trick

GrendelKhan{TSU 03-24-2009 03:01 AM

hmm... first install and have some problems:

* no errors but its only publishing pms, replies and new threads to the NOTIFICATIONS area of fb. Nothing is appearing on the wall.


any ideas what's up with that? sooo close. yet so far :(

smnet 03-24-2009 06:56 AM

Quote:

Originally Posted by dnicu26 (Post 1774859)
Yes, they get logged in the old way with the old details but that account will still be paired to Facebook and the user will still get the alerts and notifications on Facebook. I just checked this and it's working fine. I don't think it's meant to sign you into the forums automatically.

This will not pair an EXISTING vbulletin user with facebook. Read this thread there are loads of people for whom this is not working. If it IS working for you then you are one of the lucky few.


Can other people with this issue please confirm this so we can (hopefully) get the developer to fix it?

Code Monkey 03-24-2009 10:58 PM

Thanks Ted S, that saves some time.

I personally don't use Facebook so it's a tough mod to test. I set up an account just to use this. One problem I have is that there are far more options to set up an app than are listed in these instructions. It would be nice if every option is covered.

m0nde 03-25-2009 03:31 AM

Quote:

Originally Posted by smnet (Post 1775627)
This will not pair an EXISTING vbulletin user with facebook. Read this thread there are loads of people for whom this is not working. If it IS working for you then you are one of the lucky few.


Can other people with this issue please confirm this so we can (hopefully) get the developer to fix it?

Version 2.0.5 fixed this for me. I can use my existing vBulletin administrator user with this app and it has posted several of my threads and informed me of personal messages.

Now that it IS working, several of my users have commented on how much they like it.

GrendelKhan{TSU 03-25-2009 04:53 AM

yay! thx sllik!! working great. :)



btw, how does one UNconnect if they want?

Mr.samy 03-25-2009 12:07 PM

thanks for good mod

i install it ...

but work only in firefox and opera not work in ie7 or ie8 :(


and make my style very stretch ...

how can fixed this ?

x YNWA x 03-25-2009 12:16 PM

This has just stopped working for me. I dont know why. My settings are all correct but on the top right corner it just doesnt show up, it has some sort of loading thing in the top right. My board is www.wdwplanningforum.com/forum#

I have recently upgraded my board from 3.73 to the latest version but it says there is no need to upgrade? I am using fbconnect 2.02

Any ideas?

x YNWA x 03-25-2009 12:42 PM

How do I uninstall this?

Jah-Hools 03-25-2009 12:50 PM

Can a default be set to disable transmission of anything not 'publicly' viewable?

To avoid privacy / security issues for admins using PM's or posting in moderator only or member only forums?

Thanks

nymyth 03-25-2009 07:47 PM

I keep on getting that "4 character" error when I use quick reply........

mizamlar 03-25-2009 07:48 PM

thank you

nymyth 03-25-2009 08:31 PM

Quote:

Originally Posted by smnet (Post 1775627)
This will not pair an EXISTING vbulletin user with facebook. Read this thread there are loads of people for whom this is not working. If it IS working for you then you are one of the lucky few.


Can other people with this issue please confirm this so we can (hopefully) get the developer to fix it?

that part actually works for me too....none of my existing members had problems connecting via the facebook button...

smnet 03-25-2009 09:33 PM

Quote:

Originally Posted by nymyth (Post 1776977)
that part actually works for me too....none of my existing members had problems connecting via the facebook button...

None of my members have a problem connecting via facebook... however they receive no notifications and are not given the option to post a story when they reply or when they start a new thread.... therefore, one has to admit this isnt the same level of integration for existing members, as it is for new users.

If anyone can confirm a true link is established for existing members and not just the ability to log in, then I will remove this mod right now (despite having over a hundred users who have signed up via facebook) and start from scratch.


All times are GMT. The time now is 05:25 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.02239 seconds
  • Memory Usage 1,854KB
  • 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
  • (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