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)

sllik 01-24-2009 10:00 PM

Facebook Connect - Allow your users to login with their Facebook account (for 3.8)
 
Staff Note: Moved to Graveyard - this will never work now that the old style facebook authentication is no longer available.


Facebook Connect
This add-on allows your guests and existing users to login with their Facebook account through Facebook Connect.

There is NO NEED to upgrade or reinstall if you already installed this mod for 3.7

Upgrade to 2.0.6 so that users with the new super long IDs will be able to login.


This mod conflicts with PhotoPost vBGallery!

Quick fix:
Disable the following PhotoPost vBGallery plugins:
  • Userinfo Merge
  • Integrate Postbit Showthread

Benefits of Facebook Connect
  • Users can simply login with their Facebook account without going through the registration process.
  • Increase user interaction and your traffic through Facebook notifications and news-feeds!
Features
Facebook users will be able to receive Facebook notifications when:
  • There is a reply to their thread or a thread that they're subscribing to
  • They receive a new PM
News-Feed will be published on to the user's wall when the user:
  • Logs in for the first time
  • Replies to a thread
  • Creates a new thread
Fetch user data from Facebook
Fetch data like name, location, profile picture and use it on your forums! (NOTE: Some data may not be available for some users)

Automatically befriend user's friends
If any of the user's friends are also registered on the forum, they will automatically be friends!

Professional Install/Upgrade/Support Services
Want this mod professionally installed? It's guaranteed to work on your forum! Download the archive and see INSTALL.html/UPGRADE.html for more details!

Troubleshooting
Server Requirements:
PHP 5

If you get an error:

Code:

The Facebook Connect cross-domain receiver URL http://www.SITEURL.com/xd_receiver.h...%220.699%22%7D must have the application's callback URL http://www.SITEURL.com/forums/ as a prefix. You can configure the callback URL in the application's settings.
Means that there is something wrong with your callback URL. Your callback URL must be where xd_receiver.htm is; so when you enter [callbackurl]/xd_receiver.htm into your browser you should see a blank page (not a 404 page not found error or anything else).

If you get a continues https://vborg.vbsupport.ru/ this means there is a javascript error. Make sure you've done all the template edits correctly (especially footer & navbar). Clear your cache and reload the page.

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.


Many more features may be implemented in the future so keep checking for updates.

sllik 01-25-2009 04:33 PM

- reserved -

XtremeOffroad 01-25-2009 04:42 PM

thanks

tei727 01-25-2009 04:43 PM

thank you

nascartr 01-25-2009 05:16 PM

I'm already using the 3.7 version on 3.8. Is there any changes in this version or should I mark installed here and leave things as they are.

zachb 01-25-2009 05:25 PM

Very, very nice. Thank you.

Installed.

zachb

sllik 01-25-2009 05:50 PM

Quote:

Originally Posted by nascartr (Post 1724438)
I'm already using the 3.7 version on 3.8. Is there any changes in this version or should I mark installed here and leave things as they are.

nop, no changes :)

Roxie 01-25-2009 06:23 PM

How would this work for current members that are facebook users? Do they get moved to the FB group? Or can they remain in their current group?

stonner 01-25-2009 07:12 PM

Installed and it's working!

How can I translate the News-Feed-Templates? Thank you!

koolfire 01-26-2009 12:30 AM

Best Hack of 2009, Without a doubt!@

Brandon Sheley 01-26-2009 12:43 AM

installed and working great
I'm going to setup facebook connect on the wordpress blog as well :D

Barakat 01-26-2009 01:19 AM

great work .

RedTrinity 01-26-2009 02:35 AM

This hack is amazing! I'm about to install it, but I do have one question... how does it work in regards to forum permissions?

Ie. If I am connected to FB via this hack and I post in a staff topic, its not going to publish the name/link of that topic in the news feed on FB, is it?

If your whole forum is set to private (you have to register to view it, and some other areas are set by postcount minimum) then does this mean that topics will still be published? As obviously FB cannot tell which of its users' friends have the same access to read those topics iykwim.

Thanks in advance, waiting for confirmation so I can get this up and going :)

TNCclubman 01-26-2009 03:18 AM

coolio

Phaedrus 01-26-2009 03:26 AM

Quote:

Originally Posted by GamerGirl27 (Post 1724806)
This hack is amazing! I'm about to install it, but I do have one question... how does it work in regards to forum permissions?

Ie. If I am connected to FB via this hack and I post in a staff topic, its not going to publish the name/link of that topic in the news feed on FB, is it?

If your whole forum is set to private (you have to register to view it, and some other areas are set by postcount minimum) then does this mean that topics will still be published? As obviously FB cannot tell which of its users' friends have the same access to read those topics iykwim.

Thanks in advance, waiting for confirmation so I can get this up and going :)

It tries to. You have to tell it "no" or I think it would.

I turned off the publish stories function because the yes or no function was annoying and I had to tell it "no" on some so I couldn't just set it to "always do this"...

RedTrinity 01-26-2009 11:45 AM

Quote:

Originally Posted by Phaedrus (Post 1724832)
It tries to. You have to tell it "no" or I think it would.

I turned off the publish stories function because the yes or no function was annoying and I had to tell it "no" on some so I couldn't just set it to "always do this"...

Thanks for clarifying :)

I just also read through some posts in the 3.7 version topic for this hack and noticed a few people asking for the option in the ACP to exclude certain forums completely from being published to the news feed.

I'd like to also make this request!

For the time being I'm going to keep the news feed option turned off because of the privacy issue, we have too many private forums which I don't want to risk going to the news feed - even some of the topic titles can be too personal.

But hoping to be able to let our members use it soon if a future version has this change :)

Thanks Sllik for such a fantastic hack, I've voted it for MOTM :)

Pip 01-26-2009 12:05 PM

Quote:

Originally Posted by GamerGirl27 (Post 1725116)
I'd like to also make this request!

I join that "request queue" :)

Thanks for that great mod - after installing it I logged out several times just to see it again and again to log in through facebook :)

Voted for MOTM

Armyqt 01-26-2009 12:26 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 are you going to do this? I have a wordpress blog as well as VB.

This is an awesome hack. I can't wait to install later. Thanks! :)

Pip 01-26-2009 12:38 PM

on the ibProArcade page I only get get https://vborg.vbsupport.ru/ icon - does anybody know why? it's only on that page ...

I'll check out the navbar and footer template later today but maybe anybody has a hint to what I have to look :)

Jon_Simmonds 01-26-2009 12:38 PM

wouldnt <if condition="forumid=1"> around the template edits in newreply,newthread and showthread (for quick replies) stop the potential news feeds being posted for hidden forums?

going to setup a test board to test a few things before i put this live, and cant do that now, so maybe someone who is in a position to test this idea could?

brockied 01-26-2009 12:45 PM

When you select a nickname it keeps saying not available in red text is there a fix for this?.

Great hack
Thanks

Phaedrus 01-26-2009 02:26 PM

Quote:

Originally Posted by brockied (Post 1725151)
When you select a nickname it keeps saying not available in red text is there a fix for this?.

Great hack
Thanks

Pick one that isn't used.

;)

Sorry, I couldn't resist.

RvG2 01-26-2009 05:07 PM

It works . . . :)

Thank you so much.

Roxie 01-26-2009 05:53 PM

Some of my members have avatars turned off, but the board still shows the avatars of members who logged in via FB connect.

Calash 01-26-2009 05:59 PM

Quote:

Originally Posted by Jon_Simmonds (Post 1725148)
wouldnt <if condition="forumid=1"> around the template edits in newreply,newthread and showthread (for quick replies) stop the potential news feeds being posted for hidden forums?

going to setup a test board to test a few things before i put this live, and cant do that now, so maybe someone who is in a position to test this idea could?

Basically yes. For a better solution the settings would have to be added to the AdminCP area, the you can have it check against an array, or bitfield in the plugin code.

Roxie 01-26-2009 06:02 PM

The avatar issue is only when Data Mapping is enabled.

stonner 01-26-2009 07:30 PM

How can I set up new news feeds like:
  • {*actor*} uploaded new photos. {*albumtitle*}
  • {*actor*} logged in. {*bbtitle*}
  • {*actor*} joined/created a group. {*groupname*}
  • {*actor*} created a blog. {*blogname*}
  • {*actor*} set a new highscore in the game xyz. {*ibproarcade gamename*}

That would generate Traffic!

Voted for MOTM!

stonner 01-26-2009 07:32 PM

Quote:

Originally Posted by Pip (Post 1725147)
on the ibProArcade page I only get get https://vborg.vbsupport.ru/ icon - does anybody know why? it's only on that page ...

I'll check out the navbar and footer template later today but maybe anybody has a hint to what I have to look :)

I have the same problem..

brockied 01-26-2009 07:43 PM

Quote:

Originally Posted by Phaedrus (Post 1725251)
Pick one that isn't used.

;)

Sorry, I couldn't resist.

haha thats very funny :D.

I select a name that not used but it still says the same anyone know how to fix this?

sllik 01-26-2009 07:51 PM

Quote:

Originally Posted by stonner (Post 1724528)
Installed and it's working!

How can I translate the News-Feed-Templates? Thank you!

You need to create new ones in your language... Use the "Register New Templates" link.

Quote:

Originally Posted by stonner (Post 1725523)
How can I set up new news feeds like:
  • {*actor*} uploaded new photos. {*albumtitle*}
  • {*actor*} logged in. {*bbtitle*}
  • {*actor*} joined/created a group. {*groupname*}
  • {*actor*} created a blog. {*blogname*}
  • {*actor*} set a new highscore in the game xyz. {*ibproarcade gamename*}

That would generate Traffic!

Voted for MOTM!

Thanks for the vote :). I might add these feeds in future release.

Quote:

Originally Posted by brockied (Post 1725151)
When you select a nickname it keeps saying not available in red text is there a fix for this?.

Great hack
Thanks

There is probably a js error. Make sure you have the news-feed templates registered (see the install instructions for details).

Quote:

Originally Posted by Phaedrus (Post 1725251)
Pick one that isn't used.

;)

Sorry, I couldn't resist.

good one :)

Quote:

Originally Posted by Pip (Post 1725147)
on the ibProArcade page I only get get https://vborg.vbsupport.ru/ icon - does anybody know why? it's only on that page ...

I'll check out the navbar and footer template later today but maybe anybody has a hint to what I have to look :)

Does that page have the footer template?

stonner 01-26-2009 08:00 PM

Quote:

Originally Posted by sllik (Post 1725550)
Does that page have the footer template?

My site (having the same error on ibProarcade-page) has the footer-template.

Phaedrus 01-26-2009 09:10 PM

Quote:

Originally Posted by Roxie (Post 1725435)
The avatar issue is only when Data Mapping is enabled.

Couldn't you just turn off that portion of datamapping?

Armyqt 01-26-2009 10:23 PM

I'm a new VB owner and this is my first hack. I've DLed the files and printed out the instructions. Step 2 says to upload the necessary files? :confused: In what directory? Do I just drop the entire folder in the forums directory? Thanks in advance.

Armyqt 01-26-2009 11:00 PM

Ok, I figured out the last question. I've installed the XML file. Now I'm on step 4: Go to FB Connect Options>Settings and set your api key......Where is this located because I don't see it in my Admin CP.

GlamRockTalk 01-26-2009 11:11 PM

Armyqt,

Go to your admincp and click on vBulletinOptions (should be one of the top options on the left hand side) and then click on the dropdown until you find "FB Connect". I haven't installed this yet, but I looked at the screenshot and noticed it there.

scottct1 01-26-2009 11:12 PM

I have installed this but have a few issues...

One is my users who have viewing of avatars turned off see the avatar of the user who logged in with facebook.

Two is on my vBulletin CMPS homepage I do not have a navbar on my page, instead I the login found in useadv_portal_welcomeblock_lean login box and thus the connect with facebook is not shown on the vbadvanced page.

Armyqt 01-26-2009 11:17 PM

Quote:

Originally Posted by GlamRockTalk (Post 1725700)
Armyqt,

Go to your admincp and click on vBulletinOptions (should be one of the top options on the left hand side) and then click on the dropdown until you find "FB Connect". I haven't installed this yet, but I looked at the screenshot and noticed it there.

Thanks Glamrock. I had FINALLY figured that out, now I'm stuck on the next step. While I am very grateful for this hack, the instructions are not comprehensive for a newbie. And I am good at following instructions.

I'm currently stuck on step 5. :rolleyes:

GlamRockTalk 01-26-2009 11:27 PM

Armyqt,

I can see what you mean....

Quote:

Step 5:

Go to FB Connect Options > News-Feed Templates and register default templates. Then Go to FB Connect Options > Settings and save your settings (even if you don't change anything).

......I downloaded this mod last night and I was planning on adding it to a test site to check it out. But, I'd get stuck on that one too. Any further clarification on this Step from anyone that has it working? What does "register default templates" mean and how do you do it?

Armyqt 01-27-2009 01:19 AM

Ok, so edited the templates. However, I still did not complete step 5 and step 7. Where is FB Connect Options>Settings for new settings and FB Connect Options>Data Mapping located?

Please someone help. I have to go to work tomorrow and I don't want the board to be down all day.

Armyqt 01-27-2009 01:32 AM

What is this?


Quote:

Warning: Unknown([path]/includes/facebook/facebook.php): failed to open stream: No such file or directory in [path]/includes/functions_login.php(409) : eval()'d code on line 1

Fatal error: (null)() [function.require]: Failed opening required '/home/lotus14/public_html/forums/includes/facebook/facebook.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/lotus14/public_html/forums/includes/functions_login.php(409) : eval()'d code on line 1
Seriously, someone please help. I would be more than happy to pay to get this done, but how will I ever learn. What has gone wrong here?


All times are GMT. The time now is 06:56 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.03364 seconds
  • Memory Usage 1,841KB
  • 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
  • (1)bbcode_code_printable
  • (19)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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