vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Integration with vBulletin - YAFB - Yay! Another Facebook Bridge (https://vborg.vbsupport.ru/showthread.php?t=232457)

mrpaint 01-06-2010 10:00 PM

YAFB - Yay! Another Facebook Bridge
 
1 Attachment(s)
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 :D
*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)

mrpaint 01-07-2010 02:07 PM

Reserved

haothiencz 01-07-2010 02:25 PM

First installed ! ^^

digitaldome 01-07-2010 02:37 PM

i got this notice before from facebook,what that means?

To the development team,

We've been reviewing our logs, and see that you're still using some of the Feed APIs that are being deprecated. In order to provide you with ample time to complete this transition, we are delaying the deprecation date to January 5, 2010 at 10AM PST.

We want to remind you that starting on that day, the only way to publish Feed stories into the stream will be via the stream publishing methods (stream.publish, FB.Connect.streamPublish, and Facebook.streamPublish). Posts published using the stream publishing methods contain only structured plain text data, which makes them easier to render on a variety of devices, including mobile phones and gaming consoles.

This means that we will discontinue support for the following:

* Template bundles. You should start using stream attachments with the stream publishing methods instead.
* feed.publishUserAction
* feed.publishTemplatizedAction
* Facebook.showFeedDialog and FB.Connect.showFeedDialog
* The FBFeedDialog class on Facebook Connect for iPhone. Please use FBStreamDialog instead.
* Publisher stories that use templates (please transition them to use stream attachments).
* Feed forms that reference the feedStory form and the multiFeedStory form.
* One-line stream stories.

We will still publish stories that call users.setStatus and status.set, but encourage all developers to migrate to the stream publishing methods, as they let you set a user's status easily.
We originally announced these changes on our Developer blog on October 23rd, 2009, and included another reminder on December 2nd, 2009. Stay up to date on our upcoming changes by referring to our Developer Roadmap. You can also subscribe to our blog posts via email, where we announce major upcoming changes.

Thank you,
The Facebook Developer Network

Gnoll 01-07-2010 02:48 PM

Awsome :) , finally thx installed on local worked well going to install live

cory_booth 01-07-2010 02:48 PM

Quote:

Originally Posted by digitaldome (Post 1949629)
i got this notice before from facebook,what that means?

Was that with this app????

further...

Does this app not support the Facebook popup login window?

Does this app support account linking?

Saw on your demo site Javascript Error
Line 395
Char 4
facebook.php
FB is undefined

Same file
Line 2
Char 1
Syntax error

Delilahs 01-07-2010 02:59 PM

It's just killed my site, so am going to have to work a few hours to get it up and running again.

everything was working fine until I installed this mod. EWrror logs from my server are below. my advice is to not install this mod. and as I can't even log into my site, then I'm going to have to do a full backup

Quote:

href='function.require'>function.require</a>]: Failed opening required '/home/sites/delilahs.co.uk/public_html/forum/fbb/hook_init_startup.php' (include_path='.:/usr/share/pear5') in /home/sites/delilahs.co.uk/public_html/forum/includes/init.php(331) : eval()'d code on line 23
delilahs.co.uk [Thu Jan 07 16:49:05 2010] [error] [client 90.194.134.26] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required '/home/sites/delilahs.co.uk/public_html/forum/fbb/hook_init_startup.php' (include_path='.:/usr/share/pear5') in /home/sites/delilahs.co.uk/public_html/forum/includes/init.php(331) : eval()'d code on line 23
delilahs.co.uk [Thu Jan 07 16:49:11 2010] [error] [client 90.194.134.26] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required '/home/sites/delilahs.co.uk/public_html/forum/fbb/hook_init_startup.php' (include_path='.:/usr/share/pear5') in /home/sites/delilahs.co.uk/public_html/forum/includes/init.php(331) : eval()'d code on line 23
delilahs.co.uk [Thu Jan 07 16:49:15 2010] [error] [client 81.134.64.226] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required '/home/sites/delilahs.co.uk/public_html/forum/fbb/hook_init_startup.php' (include_path='.:/usr/share/pear5') in /home/sites/delilahs.co.uk/public_html/forum/includes/init.php(331) : eval()'d code on line 23
delilahs.co.uk [Thu Jan 07 16:49:16 2010] [error] [client 90.194.134.26] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required '/home/sites/delilahs.co.uk/public_html/forum/fbb/hook_init_startup.php' (include_path='.:/usr/share/pear5') in /home/sites/delilahs.co.uk/public_html/forum/includes/init.php(331) : eval()'d code on line 23
delilahs.co.uk [Thu Jan 07 16:49:21 2010] [error] [client 90.194.134.26] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required '/home/sites/delilahs.co.uk/public_html/forum/fbb/hook_init_startup.php' (include_path='.:/usr/share/pear5') in /home/sites/delilahs.co.uk/public_html/forum/includes/init.php(331) : eval()'d code on line 23
delilahs.co.uk [Thu Jan 07 16:49:27 2010] [error] [client 90.194.134.26] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required '/home/sites/delilahs.co.uk/public_html/forum/fbb/hook_init_startup.php' (include_path='.:/usr/share/pear5') in /home/sites/delilahs.co.uk/public_html/forum/includes/init.php(331) : eval()'d code on line 23

Zaiaku 01-07-2010 03:07 PM

I've been waiting on this for a long time. Now its time to watch videos and start reading.

setubal 01-07-2010 03:18 PM

No other languages ? French, Portuguese available for this plugin ?....
Thx !

Zaiaku 01-07-2010 03:31 PM

OK Just got done watching all the videos but it doesn't answer my question. I know the notifications show up on facebook but how does it appear on a facebook wall when a new thread is made and when it is replied to?

saviola8x 01-07-2010 03:41 PM

Installed.
But If you can combine with this Mod will be great : https://vborg.vbsupport.ru/showthread.php?t=203064
Thank

Gnoll 01-07-2010 03:49 PM

1 Attachment(s)
Works nice but with FireFox not showing "Connect with Facebook" image ( yes i was logged Facebook @ facebook.com )

Rickeo 01-07-2010 03:54 PM

How do we increase the friend invite limit it is currently set to 6 per day.

Rick

zombietom 01-07-2010 04:03 PM

Quote:

Originally Posted by Delilahs (Post 1949653)
It's just killed my site, so am going to have to work a few hours to get it up and running again.

everything was working fine until I installed this mod. EWrror logs from my server are below. my advice is to not install this mod. and as I can't even log into my site, then I'm going to have to do a full backup

What version did you install this on?

thanks

Delilahs 01-07-2010 04:07 PM

vB4.0

and my site is still not working

not very happy at all. it won't now let me un-install any other products, so there is a major fault somewhere along the line.

zombietom 01-07-2010 04:09 PM

Did you use the right Xml File?
3.0.1 Support vBulletin 4.0 (using separated .xml import file)

NO deadliner 01-07-2010 04:24 PM

Installed and looks great.

But i get a Error at my Home Site (CMS)

Warning: fetch_template() calls should be replaced by the vB_Template class in [path]/includes/functions.php on line 3895

Parse error: syntax error, unexpected T_STRING in /homepages/...................../fbb/hook_global_start.php(254) : eval()'d code on line 3

WeBeef 01-07-2010 05:19 PM

Quote:

Originally Posted by NO deadliner (Post 1949713)
Installed and looks great.

But i get a Error at my Home Site (CMS)

Warning: fetch_template() calls should be replaced by the vB_Template class in [path]/includes/functions.php on line 3895

Parse error: syntax error, unexpected T_STRING in /homepages/...................../fbb/hook_global_start.php(254) : eval()'d code on line 3

I get the same error so I currently have the product disabled

dale09 01-07-2010 06:19 PM

I really cant wait for the bugs to be worked out on this. Definetly a great addon

KristerSwe 01-07-2010 06:57 PM

Quote:

Originally Posted by dale09 (Post 1949822)
I really cant wait for the bugs to be worked out on this. Definetly a great addon

+1 :)

soulface 01-07-2010 07:10 PM

getting this error in forum

Quote:

Warning: fetch_template() calls should be replaced by the vB_Template class in [path]/includes/functions.php on line 3895

Parse error: syntax error, unexpected T_STRING in /home/xxxxxx/public_html/fbb/hook_global_start.php(254) : eval()'d code on line 3


gyaronn 01-07-2010 07:27 PM

going to install when the bugs are fixed :-)

mrpaint 01-07-2010 07:55 PM

Quote:

Originally Posted by haothiencz (Post 1949624)
First installed ! ^^

Thank you :D

zombietom 01-07-2010 07:56 PM

are these bug currently only in the 4.0 version?
I'm stilling running 3.7 and don't plan on got to 4.0 but i don't want to update this MOD if it is going to crash my site.

so i guess i'll wait until i find out more info

thanks

mrpaint 01-07-2010 07:57 PM

Quote:

Originally Posted by digitaldome (Post 1949629)
i got this notice before from facebook,what that means?


To the development team,

We've been reviewing our logs, and see that you're still using some of the Feed APIs that are being deprecated. In order to provide you with ample time to complete this transition, we are delaying the deprecation date to January 5, 2010 at 10AM PST.

We want to remind you that starting on that day, the only way to publish Feed stories into the stream will be via the stream publishing methods (stream.publish, FB.Connect.streamPublish, and Facebook.streamPublish). Posts published using the stream publishing methods contain only structured plain text data, which makes them easier to render on a variety of devices, including mobile phones and gaming consoles.

This means that we will discontinue support for the following:

* Template bundles. You should start using stream attachments with the stream publishing methods instead.
* feed.publishUserAction
* feed.publishTemplatizedAction
* Facebook.showFeedDialog and FB.Connect.showFeedDialog
* The FBFeedDialog class on Facebook Connect for iPhone. Please use FBStreamDialog instead.
* Publisher stories that use templates (please transition them to use stream attachments).
* Feed forms that reference the feedStory form and the multiFeedStory form.
* One-line stream stories.

We will still publish stories that call users.setStatus and status.set, but encourage all developers to migrate to the stream publishing methods, as they let you set a user's status easily.
We originally announced these changes on our Developer blog on October 23rd, 2009, and included another reminder on December 2nd, 2009. Stay up to date on our upcoming changes by referring to our Developer Roadmap. You can also subscribe to our blog posts via email, where we announce major upcoming changes.

Thank you,
The Facebook Developer Network

Hi,

This is a letter from Facebook Team which every webmaster who used the previous version of YAFB will receive since those old versions still use Template Bundles. Facebook stops supporting Template Bundles on January 5th, 2010 (that why this new version is released)

Thank you

mrpaint 01-07-2010 08:02 PM

Quote:

Originally Posted by Delilahs (Post 1949653)
It's just killed my site, so am going to have to work a few hours to get it up and running again.

everything was working fine until I installed this mod. EWrror logs from my server are below. my advice is to not install this mod. and as I can't even log into my site, then I'm going to have to do a full backup

Please upload files/directories inside `upload` before import the xml

mrpaint 01-07-2010 08:05 PM

Quote:

Originally Posted by Zaiaku (Post 1949673)
OK Just got done watching all the videos but it doesn't answer my question. I know the notifications show up on facebook but how does it appear on a facebook wall when a new thread is made and when it is replied to?

When user post a thread, there will be options to select if he wants to publish it to Facebook. The same procedure applies to replying

Quote:

Originally Posted by saviola8x (Post 1949678)
Installed.
But If you can combine with this Mod will be great : https://vborg.vbsupport.ru/showthread.php?t=203064
Thank

Webmaster who used Facebook Connect before can migrate users using the tool in AdminCP

mrpaint 01-07-2010 08:08 PM

Quote:

Originally Posted by Gnoll (Post 1949689)
Works nice but with FireFox not showing "Connect with Facebook" image ( yes i was logged Facebook @ facebook.com )

It's probably a problem with local cache on Facebook. Try Ctrl+F5 to refresh the page (clearing cache) to see if your login status is detected :D

mrpaint 01-07-2010 08:11 PM

Quote:

Originally Posted by Rickeo (Post 1949693)
How do we increase the friend invite limit it is currently set to 6 per day.

Rick

After installing this product for a while, Facebook Team will increase your limitations (there are a few, not just inviting limitation). It depends on how users react with the Facebook connection. Normally, it will increase soon. In my forums, I can invite up to 20 friends per day

WNYorker 01-07-2010 08:24 PM

Installed and working on 4.0, but will stay disabled until the CMS issue is fixed. Nice work though! Been waiting for this.

mrpaint 01-07-2010 08:43 PM

1 Attachment(s)
This issue has been addressed and a quick fix is attached with this post

@zombietom: This problem only occurs in vBulletin 4

goblues 01-07-2010 08:58 PM

Working Great other than the template call error. Good work.

mediax 01-07-2010 09:01 PM

Quote:

We need Facebook Permissions to the magic, below is the permissions list. You can grant any "Not Permitted" permission by clicking the status

* Connection Established - Not Permitted
Can't change the permissions?

zhenyu86 01-07-2010 09:25 PM

installed in 3.8.4, but after connect my facebook to my forum account, send message will shows empty page, as well as when i click the msg that's in my inbox

when testing in your demo 3.8.4 forum, it's same thing Fatal error: Call to a member function register() on a non-object in /home/daoxxxxxxxx/daoxxxxxxxx/vb38/fbb/hook_private_complete.php on line 43

RDX1 01-07-2010 10:51 PM

I'm getting this error in the header in showthread

Code:

Warning: tempnam() [function.tempnam]: open_basedir restriction in effect. File() is not within the allowed path(s): (/home/removed/:/tmp:/var/tmp:/usr/local/lib/php/) in [path]/includes/class_upload.php on line 275

Warning: fopen() [function.fopen]: Filename cannot be empty in [path]/includes/class_upload.php on line 281

Also, I get this template issue on vB4 Gold.

https://vborg.vbsupport.ru/external/2010/01/108.jpg

MikalMirkas 01-08-2010 01:24 AM

Your 4.0 site has a Database error.

Matt Lathrop 01-08-2010 01:31 AM

The installation went fine. BUT....

Is there a way for me to import the fc connect data from my old board? (I had to use Impex because of some complications)

Also when I try to connect in settings I can click the blue button I see my profile pic and name but when I click save it doesn't save (I also can't change not-permitted to permitted)

Thanks,
Matt

MikalMirkas 01-08-2010 01:34 AM

Double Post; Connect in NavBar doesn't show.
To fix this error, please set your Connect URL in the application settings editor. Once it has been set, users will be redirected to that URL instead of this page after logging in.
RAGE

principino1984 01-08-2010 08:17 AM

not working at all this version ... I was so happy with the 2.2 :(

This is an example:

Private message:

x URL Removed x

Fatal error: Call to a member function register() on a non-object in /home/xxx/public_html/forum/fbb/hook_private_complete.php on line 42

Marco

KevinGupta 01-08-2010 09:11 AM

Tagged for future reference :) Looks like a very nice MOD :D but I have to wait for any updates etc :D So there are absolutely NO bugs
Using vB 4 latest version...:)


All times are GMT. The time now is 05:21 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.02063 seconds
  • Memory Usage 1,881KB
  • 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
  • (14)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