Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
YAFB - Yay! Another Facebook Bridge Details »
YAFB - Yay! Another Facebook Bridge
Mod Version: 3.3.2, by mrpaint (Coder) mrpaint is offline
Developer Last Online: Oct 2018 I like it Show Printable Version Email this Page

vB Version: 4.0.x Rating: (49 votes - 4.53 average) Installs: 462
Released: 07 Jan 2010 Last Update: 30 Sep 2011 Downloads: 3643
Not Supported DB Changes Uses Plugins Auto-Template Additional Files Re-usable Code Translations  

This is not just a "port" for vBulletin 4 of this modification, this is the next version of the modification which support both vBulletin 4 and vBulletin 3 family

IMPORTANT: FILE ISSUES HERE: http://code.google.com/p/vbulletinfacebook/issues/list (require a Google Account)

Yay! Another Facebook Bridge 3.3.2
Tested to work with vBulletin 3.7.x and 3.8.x (3.6.x requires some manual edit, contact me for detail instruction)
Tested to work with vBulletin 4.0 (use different .xml import file)
Please note: this product requires PHP5. If you get weird error messages, please check if you PHP version is still 4 (which is very old and you should change to PHP5 as soon as possible). Also, MySQL 5 is strongly recommended

[WHAT IS IT?]
There are many vBulletin - Facebook bridge out there but installing is always the problem for most of forum owner. So I decided to build this product from scratch and provide you the ability to install this Facebook Bridge into your forum in 10 minutes. The detail install instruction can be found below (under the Feature section). A few technical notes: This product uses Facebook Connect to maintance connection between vBulletin forums and complicated (and awesome) Facebook servers. All most everything is automatically done by the script, even the Administrators don't need to do any manual editing (yeah, I'm talking about manual templates editing, you WON'T need to edit templates each time you implement a new style). Once again, most of everything is options which can be enabled/disabled via AdminCP or UserCP interface. All possible type of caching is use to improve performance and reduce heavy PHP load on server side or javascript load on client side. Well, it's quite a long paragraph for introducing. Let's make it work!

[SEE IT IN ACTION]
Screencast:
1. Installation: http://www.youtube.com/watch?v=ComjeipReE4
2. Connecting: http://www.youtube.com/watch?v=i7m85O_iX70
3. Posting and Notifications: http://www.youtube.com/watch?v=vBwwiffLvJ8
Demo board:
vBulletin 3.8: http://daohoangson.com/vb38
vBulletin 4: http://daohoangson.com/vb40
Authentication Username: demo. Password: demo.

[MAIN FEATURE]
*** Damn easy to install!
1. Loaded with long list of actions/notifications: posting thread, posting reply, rating thread, sending pm, sending visitor message, uploading image (avatar/profile picture), uploading pictures, comment on pictures. This list are designed to be expandable easily later by me or other people who loves to develope this product (well, if you do, contact me right now!)
2. Ability to quick register with Facebook credential but Administrator can disable this function via AdminCP. Facebook proxied email addresses are handled completely and vBulletin can send email without any problems (of course, the member must grant the Email extend permission). There is a setting in AdminCP to disallow Facebook proxied email addresses also for boards that need email explicitly
3. Ability to auto login with Facebook session (Administrator can turn this on or off in AdminCP and members can enable or disable this feature on their accounts either)
4. Other abilities: Display a profile block on vBulletin member page. Display a wall tab/box on Facebook profile page. Synchronize avatar from Facebook.
5. [AdminCP] Administrator can "edit" template bundle easily. Actually the old template will be deactivated, the new template will be registered and then all action associated with the old template with be updated with the new template bundle id. Oops, why you need to care about all of it? I did it for you already! Just go the the editing page and click Edit. Yay! All done
6. [AdminCP] Staffs can manage connected users and see basic information about them (including granted permissions)
7. [AdminCP] Administrator can decide to: migrate connected users from other products to YAFB, restrict private forums from being posted to Facebook, view detail log of YAFB in action, send notifications to connected users
*. [Experimental] I have added a fun feature that generate the Fans List, the photo will be posted to new thread with friend tagged (if available). The main purpose of this bonus feature is to demostrate the ability of the bridge. If you have an idea, contact me and I will implement it if I can
*. [Experimental] Friend Inviting functionality is added. Access from UserCP > Facebook Bridge > Invite Friends

[CHANGE LOG]
Version 3.3.2 (released on Jun 10, 2010): Register On-the-fly issue with vBulletin 3.8.4 fixed
Version 3.3.1 (released on Jun 08, 2010): Bug fixes and Migration for vBulletin 4.0.3

Version 3.3 (released on Apr 06, 2010): Auto login related features added. User experience reached a new higher level!

[NEW INSTALLATION]
*. Upload all files/folders in folder "upload" into your forum root (Please upload before importing product)
1. Import Product:
1.1. Go to AdminCP
1.2. Plugins & Products ~> Manage Products ~> Add/Import Product:
1.2.1. Browse to the .xml file (use product-yafb.xml for vBulletin 3 and product-yafb_vb4.xml for vBulletin 4)
1.2.2. Click Import

2. Fill the settings:
2.1. Go to AdminCP
2.2. vBulletin Options ~> vBulletin Options ~> Yay! Another Facebook Bridge
2.2. Create a Facebook Application if you haven't had one for your forum. Refer to the Creating Facebook Application below if you don't know how to do it
2.3. Fill the API key and Secret into the approriate fields. You can leave the Template fields untouch (the will be filled automatically). If you want to use the Account Reclamation feature, please place http://domain.com/forums/register.php?do=fbb_reclaim into Account Reclamation URL field. With other fields, it's your decision to made
2.4. Click Save and you are done!

2.* Creating Facebook Application:
2.*.1. Go to Facebook Developer > Create Application page http://www.facebook.com/developers/createapp.php (login if you didn't)
2.*.2. Enter the Application Name. Suggestion: Put your forum name here. Don't forget to tick the Agree radiobox and then click Save Changes
2.*.3. Now you can get your API Key and Secret (that are needed in step 2.3)
2.*.4. And go to the Connect tab, fill your forum url into Connect URL, fill your domain into Base Domain.
2.*.5. You are done with required information. But you can go through other tab and enter more detail about your forum, your application. I suggest putting a nice icon, banner into it. Happy customizing!

[UPGRADING]
Just upload overwrite files/folders then reimport the xml file. Do not forget to check "Yes" under "Allow Overwrite" to upgrade

[CONFLICT]
Since this product interfere with the registration procedure, I have found some other plugins/products that conficts with this product. Below is the full list of known confict and action taken to resolve the issue
No Spam (Human Verification): Temporary disabled during Facebook registration
vMail (Email Verification): Temporary disabled during Facebook registration

[OTHER PLUGINS/PRODUCTS]
I have developed an easy to use options/permissions system that allow other plugins/products to add it's actions into this bridge and let the forum members experience a whole new era of connections. I did a small demostration with my kBank System (which is a money system with award/thank functionality and a useful hiding feature) and it runs pretty well. If you are interested in testing kBank in action with YAFB, contact me. If you are a developer who wants to integrate your plugins/products with this Bridge, contact me either! You are all welcome
*Also available: Publishing Blog (vBBlog) to Facebook [New! Updated on Jan 10th, 2010]


[KNOWN ISSUES]
FILE HERE: http://code.google.com/p/vbulletinfacebook/issues/list (require a Google Account)

Download Now

Only licensed members can download files, Click Here for more information.

Addons

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Integration with vBulletin YAFB - Yay! Another Facebook Bridge mrpaint vBulletin 3.8 Add-ons 822 16 Jul 2015 17:40

  #886  
Old 10 Apr 2010, 17:07
josh2007 josh2007 is offline
 
Join Date: Mar 2009
Originally Posted by playSocial View Post
Facebook depreciated the App to User Notifications which is why it doesn't work anymore
oh darn so basically its worthless?
Reply With Quote
  #887  
Old 10 Apr 2010, 18:50
TPTP's Avatar
TPTP TPTP is offline
 
Join Date: Aug 2007
Originally Posted by Thug View Post
anyway to make this so when they clic kconnect with facebook it gives them a username auto.. there facebook username
facebook.com/username becomes there username on the forum. saves people hving to still fill out the register form like username email and pass... or a way to remove email and password fields from it
Try the register on the fly setting. However, I haven't tried that yet either. I expect that I might find some issues with registration, since it was brought up earlier in the thread that custom user fields might throw things off. If so, things will have to be tweaked there, too.



Originally Posted by josh2007 View Post
oh darn so basically its worthless?
Well, I wouldn't say that. The mod still has several useful features.


So, the missing avatar issue continues. In fact, after poking around, I found that avatars are physically being removed from the server, and some of them belong to people who don't even have FB accounts. I double checked, and the only change we've made in the past couple days is the addition of this mod. WTF? If the avatar sync is disabled, then...
__________________
Reply With Quote
  #888  
Old 10 Apr 2010, 18:57
josh2007 josh2007 is offline
 
Join Date: Mar 2009
Originally Posted by TPTP View Post
Try the register on the fly setting. However, I haven't tried that yet either. I expect that I might find some issues with registration, since it was brought up earlier in the thread that custom user fields might throw things off. If so, things will have to be tweaked there, too.





Well, I wouldn't say that. The mod still has several useful features.


So, the missing avatar issue continues. In fact, after poking around, I found that avatars are physically being removed from the server, and some of them belong to people who don't even have FB accounts. I double checked, and the only change we've made in the past couple days is the addition of this mod. WTF? If the avatar sync is disabled, then...
I just meant the notification sender i didnt mean the whole thing. I really enjoy this mod :P still trying to find the code to move the button though
Reply With Quote
  #889  
Old 10 Apr 2010, 19:08
TPTP's Avatar
TPTP TPTP is offline
 
Join Date: Aug 2007
Oh, ok.

I haven't looked at moving the button yet, because I'm tied up with some other issues. I'm guessing that the button is in place via a plugin. I don't think there's a hook for placing it near the login box, so it would have to be hard coded. Again, unless someone beats me to it, I'll post what I do on my smaller site, just as soon as I get a chance to do it.

In the mean time, does anyone know exactly what's happening here?

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

That UID shouldn't be blank. That was from my account.
__________________
Reply With Quote
  #890  
Old 10 Apr 2010, 19:18
josh2007 josh2007 is offline
 
Join Date: Mar 2009
I never seen anything like that. On mine, the UIDs are filled in. Also i found the coding for the button and i got it moved. (Told you the code would be right in front of me) Thanks though
Reply With Quote
  #891  
Old 10 Apr 2010, 22:52
Thug's Avatar
Thug Thug is offline
 
Join Date: Feb 2004
Originally Posted by TPTP View Post
Try the register on the fly setting. However, I haven't tried that yet either. I expect that I might find some issues with registration, since it was brought up earlier in the thread that custom user fields might throw things off. If so, things will have to be tweaked there, too.





Well, I wouldn't say that. The mod still has several useful features.


So, the missing avatar issue continues. In fact, after poking around, I found that avatars are physically being removed from the server, and some of them belong to people who don't even have FB accounts. I double checked, and the only change we've made in the past couple days is the addition of this mod. WTF? If the avatar sync is disabled, then...
hey i tryed the fly setting and didnt work. and i havent got any custom fields or anything its a fresh install. so very strange realy in my eyes
Reply With Quote
  #892  
Old 11 Apr 2010, 13:31
Thug's Avatar
Thug Thug is offline
 
Join Date: Feb 2004
ok basicly i have
autologin enabled
in the Auto Register On-the-fly box i have [username]
Activate on System Wide - enabled
Auto Register - enabled

and i still cant make it 1click register where it auto gives them the username. anyone shine a light?
Reply With Quote
  #893  
Old 11 Apr 2010, 15:31
Bacon Butty Bacon Butty is offline
 
Join Date: Jun 2005
Originally Posted by Bacon Butty View Post
Any luck with this?

Will members who have created a account using YAFB be able to login/keep this existing account if they used the new default vBulletin Facebook bridge?
Anyone know this? Would have assumed it would be a sought after answer.

I wanted to remain with YAFB, as truth be told - I'd rather not face the hassle of swopping over to the default vBulletin Facebook Bridge, but since upgrading to YAYB 3.3 - the product just stopped working.

Heres an example.

stevensmith registered on my forum with YAYB;



However, since the upgrade, when stevensmith logs in (login available to mypaint if you want to test...), he is prompted with this Register screen;



Despite already having an account! - as this screen shows;



Now I have two options. Fix this error or migrate the users over to Facebooks default bridge. Could anyone share the answer to either?
Reply With Quote
  #894  
Old 11 Apr 2010, 20:06
TPTP's Avatar
TPTP TPTP is offline
 
Join Date: Aug 2007
So, I'm encountering a major slowdown of my main site and a number of really strange java issues with addonChat. It's not like I have a slacker of a server, as it's eight fast cores, 15K RPM RAID10, and 16GB RAM. The performance hit is bad enough that as it stands, I'm going to have to disable the entire product by Tuesday, when my next big wave of traffic will hit.

Is the performance hit and Java issues a normal thing with this product, or is it due to the hack that had to be installed to get the latest version running on 3.8.x?

Edit: It may be that the Java issues are due to the new release of Firefox, but I'm not sure yet. We're still investigating. The performance issue is definitely the Bridge. I can see it in the server's logs.
__________________

Last edited by TPTP; 11 Apr 2010 at 23:16.
Reply With Quote
  #895  
Old 12 Apr 2010, 18:58
Infopro Infopro is offline
 
Join Date: May 2003
Lightbulb

Originally Posted by mrpaint View Post
It's correct that I put the footer code into process_templates_complete. That code originally was from global_start. In an effort of organizing template related code, I moved it and it stops working in vBulletin 3. My fault. Sorry mates

Going to release new version to fix this soon

PS: Also, the workaround really miss the point of mine because I tried to skip loading Facebook Javascript library as much as possible

Thanks for all your hard work.

I've had to disable this mod completely for now as the 3.3 upgrade has broken connecting at all.
Reply With Quote
  #896  
Old 13 Apr 2010, 17:02
vbreal vbreal is offline
 
Join Date: Dec 2005
Originally Posted by vbreal View Post
curiosity was eating me up

you can't run both at the same time. well i couldn't.

i got the following error

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

so i just turned off vb's fb connect.

whats the status of vb's fb connect working with this one
Reply With Quote
  #897  
Old 14 Apr 2010, 18:00
ViciousCode ViciousCode is offline
 
Join Date: Oct 2008
3.3 is not working for version 3.8.5

please fix this
Reply With Quote
  #898  
Old 15 Apr 2010, 20:43
grahamsmythe grahamsmythe is offline
 
Join Date: Apr 2007
Real name: Graham Smith
When I post a new thread I get this error.

Unfortunately I've had to disable the mod for the time being.

Any ideas?



Database error in vBulletin 4.0.3:

Invalid SQL:

### INSERT QUERY GENERATED BY fetch_query_sql() ###
INSERT INTO fbb_log
(`timeline`, `userid`, `fbuid`, `function`, `result`, `data`, `is_exception`)
VALUES
('1271362916', '24', '1061330228:7d79fea54ba59f4cbd6dfbfa-1061330228', '2001', 'The user hasn\'t authorized the application to perform this action', 'a:3:{s:7:\"message\";s:66:\"has just posted a new thread under Technical Advice: Public Access\";s:9:\"target_id\";N;s:3:\"uid\";N;}', '1');

MySQL Error : Table 'vbulletin.fbb_log' doesn't exist
Error Number : 1146
Request Date : Thursday, April 15th 2010 @ 02:21:56 PM
Error Date : Thursday, April 15th 2010 @ 02:21:57 PM
Script : http://www.myforumname.co.uk/showthr...t-test&p=15706
Referrer : http://www.myforumname.co.uk/newthre...newthread&f=84
IP Address : xxxxxxxxxxxxx
Username : Username
Classname : vB_Database
MySQL Version : 5.1.42
Reply With Quote
  #899  
Old 15 Apr 2010, 22:04
edenx edenx is offline
 
Join Date: Nov 2006
When you'll adress the bugs reported on tracker?
Reply With Quote
  #900  
Old 17 Apr 2010, 01:40
ViciousCode ViciousCode is offline
 
Join Date: Oct 2008
hey everyone, i fixed the 3.8.x problem...

put this code


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

into global complete plugin hook

so it looks like this


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

then disable this hook process_templates_complete

and thats it, it should be working

and if you wanna move the connect button from your navbar and move it some where else... here is the code of that button


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

make sure to disable it in your facebook bridge settings first before adding this code, otherwise you will have two connect buttons

Last edited by ViciousCode; 17 Apr 2010 at 01:55.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 10:10.

Layout Options | Width: Wide Color: