Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons
Facebook Connect - Allow your users to login with their Facebook account Details »»
Facebook Connect - Allow your users to login with their Facebook account
Version: 2.0.5, by sllik sllik is offline
Developer Last Online: Dec 2011 Show Printable Version Email this Page

Category: Integration with vBulletin - Version: 3.7.x Rating:
Released: 12-09-2008 Last Update: 03-23-2009 Installs: 499
DB Changes Uses Plugins Template Edits
Additional Files Translations  
No support by the author.

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

WORKS WITH 3.8!

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!

How to Upgrade From 2.0.0 to 2.0.1
  • Upgrade the product. (Import the product XML again and set overwrite to yes).
  • Update Feed Template IDs in the settings (make sure they are the same as at: FB Connect Options -> News-Feed Templates)
How to Upgrade From 2.0.1 to 2.0.2
See UPGRADE.html
  • Fixed the notification problem (notifications were sent to wrong people)
  • Login button will now be displayed on vbAdvanced pages
How to Upgrade From 2.0.2 to 2.0.3
See UPGRADE.html
  • Fixed the Facebook avatar displayed for the wrong people problem.
  • Added Facebook UID & Profile URL field to data map.
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 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.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #952  
Old 01-19-2009, 06:16 AM
dxlwebs dxlwebs is offline
 
Join Date: Jun 2008
Posts: 237
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dxlwebs View Post
i know i keep askingbut it would be great if i could get an answer i updated last night to 3.8 but still the same problem

please help me my users are getting cranky

Quote:
Originally Posted by GigaSb View Post
im using Facebook Pro template and i cant make the next steps because i dont have this templates:

Template: navbar (the code isnt here!)
Find:
<!-- / login form -->

Insert After:
<!-- fbconnect -->
<center>
<span class="fbconnect" style="height:21px">
<img src="http://static.ak.fbcdn.net/images/loaders/indicator_white_small.gif" alt="Connect with Facebook" />
</span>
</center>
<!-- / fbconnect -->


AND

Template: USERCP_SHELL
Find:
<tr><td class="$navclass[password]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editpassword">$vbphrase[edit_email_and_password]</a></td></tr>

Replace With:
<if condition="$bbuserinfo[fbemail]">
<tr><td class="$navclass[password]" nowrap="nowrap"><a class="smallfont" href="#" onclick="facebook_prompt_permission('email'); return false;">$vbphrase[fbconnect_email_settings]</a></td></tr>
<else />
<tr><td class="$navclass[password]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editpassword">$vbphrase[edit_email_and_password]</a></td></tr>
</if>


anyway when i didnt edited this and i continued the install process i had BIG scrolling issue (Explorer) at the bottom.. u can see it here: http://www.freepchelp.co.il
just do a template search for the code and it will be there its not a problem if its in a differant template file like header it will still work
Reply With Quote
  #953  
Old 01-19-2009, 06:55 AM
GigaSb GigaSb is offline
 
Join Date: Aug 2006
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dxlwebs View Post
just do a template search for the code and it will be there its not a problem if its in a differant template file like header it will still work
i edited the default template instead of the "Facebook Pro" template.

1. I still have the scrolling error.
2. I cant login with my facebook account.
Reply With Quote
  #954  
Old 01-19-2009, 07:06 AM
nMIK-3 nMIK-3 is offline
 
Join Date: Dec 2004
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by turbosatan View Post
basically add this

Code:
Options +FollowSymLinks
AllowOverride FileInfo
RewriteEngine on
RewriteCond %{HTTP_HOST} ^example\.com
RewriteRule (.*) http://www.example.com/$1 [R=301,L]
if you already have rewriting on then you may already have the

Code:
Options +FollowSymLinks
RewriteEngine on
in which case just add
Code:
RewriteCond %{HTTP_HOST} ^example\.com
RewriteRule (.*) http://www.example.com/$1 [R=301,L]
on the end of whatever is in there
Thanks for the reply, as I already said I fix the problem.

I ended up editing the .htaccess file.
I decided to redirect all the non-www addreses to www. So in the .htaccess file located in the root of my site I added the following

Code:
Options +FollowSymLinks 
RewriteEngine on 
RewriteCond %{HTTP_HOST} ^mysite.com [NC] 
RewriteRule ^(.*)$ http://www.mysite.com/$1 [L,R=301]
That redirected all non-www addresses to www.

All exept one! mysite.com/forum was still directing to the non-www address. This was happening because I had vbSEO installed. So note that if you have vbSEO you have to edit both .htaccess files. The one located in the main root and the second one located inside the forum directory.

So I solve this by editing the .htaccess file within the forum directory as well.
In the very top I added the following code:
Code:
RewriteEngine on
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteRule .? http://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
Now everything works smoothly :up:

Quote:
Originally Posted by sllik View Post
I think there is actually a better way than editing the .htaccess file. In the facebook app settings under the Connect tab set the Base Domain setting.
I tried this, with no luck at all... But my problem was solved as I describing above.
Reply With Quote
  #955  
Old 01-19-2009, 11:54 AM
Vinyljunky's Avatar
Vinyljunky Vinyljunky is offline
 
Join Date: Feb 2007
Posts: 383
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello,

I am running PHP 5.2.5

Will this work with VB3.8 and MySQL Version 4.1.20-log ?

Hope so

Thanks

VJ
Reply With Quote
  #956  
Old 01-19-2009, 12:07 PM
Cheertobi Cheertobi is offline
 
Join Date: Aug 2004
Location: Germany
Posts: 178
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

does this Plugin only works with allow_url_fopen = on?!

Regards,

Tobi
Reply With Quote
  #957  
Old 01-19-2009, 02:04 PM
Phaedrus Phaedrus is offline
 
Join Date: Jul 2006
Location: Colorado
Posts: 617
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does this work with the promotions? If I have them come in as a Registered user then promote them later to Verified user will it work normally?
Reply With Quote
  #958  
Old 01-19-2009, 04:19 PM
joluis joluis is offline
 
Join Date: Mar 2006
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you enable the multi-invite system from facebook like the facebook applications?. This will enhace and improve the registration ratio in our forums.
Reply With Quote
  #959  
Old 01-19-2009, 06:54 PM
GCC LLC GCC LLC is offline
 
Join Date: Oct 2005
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a way to actually get the pop up back after you choose it to not show up on a new reply?

I would like a way to have the option of publishing new threads, but not every post. I declined to publish a new post, clicked "Always do this for..." and now I can't get it back at all.

Any suggestions? Is this right in front of my face? lol
Reply With Quote
  #960  
Old 01-19-2009, 07:37 PM
sllik sllik is offline
 
Join Date: Apr 2004
Posts: 223
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Cheertobi View Post
Hi,

does this Plugin only works with allow_url_fopen = on?!

Regards,

Tobi
yes

Quote:
Originally Posted by GCC LLC View Post
Is there a way to actually get the pop up back after you choose it to not show up on a new reply?


I would like a way to have the option of publishing new threads, but not every post. I declined to publish a new post, clicked "Always do this for..." and now I can't get it back at all.


Any suggestions? Is this right in front of my face? lol
unfortunately there is no way to bring the popup back after the user chose to never post news-feeds but if you set New Reply Feed Template ID to 0 the user won't be prompted for a new reply.

Quote:
Originally Posted by fmckinnon View Post
I'm very excited to have found this mod, and hope to install it. A couple of questions first:

1 - is there any known conflict with the vbulletin/wordpress bridge mod? We use this so that our forum members can also comment on the wordpress-driven portion of the site, etc. The mod basically shares VB users as WP users.

2 - just to make sure I'm understanding ... we require registration (which includes email activation) to create new threads or respond to threads. If someone comes along and logs in w/ their FaceBook account - will they be able to post immediately, or will the email activation go to them (or I assume, their FaceBook email account?)

Thanks in advance - will likely pay to have this installed if the answers are favorable.
http://www.theworshipcommunity.com/forums/
1. not sure, try and see I think it should be fine.
2. the mod assumes that the user has a valid email since the user confirmed his/her email when they registered for a facebook account.

Quote:
Originally Posted by Big-K View Post
Hi Slikk,

This is working great on my site. Thanks for helping with the install. Three questions

1. I have a vb login on the homepage of my site (non-vb page). Is there any way I can have Facebook Connect on this login page?

2. I don't have the vbconnect link like you have in the fourth screenshot. Is that an omission?

3. How can I re-associate a user an existing user with a different facebook account if its already associated with another.
sent you a PM
Reply With Quote
  #961  
Old 01-19-2009, 07:38 PM
sllik sllik is offline
 
Join Date: Apr 2004
Posts: 223
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Vinyljunky View Post
Hello,

I am running PHP 5.2.5

Will this work with VB3.8 and MySQL Version 4.1.20-log ?

Hope so

Thanks

VJ
let me know how it goes
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:11 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.10356 seconds
  • Memory Usage 2,334KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (6)bbcode_code
  • (10)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete