Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
YAFB - Yay! Another Facebook Bridge Details »»
YAFB - Yay! Another Facebook Bridge
Version: 5.0.4b, by mrpaint mrpaint is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Integration with vBulletin - Version: 3.8.7 Rating:
Released: 09-18-2009 Last Update: 09-29-2011 Installs: 232
DB Changes Uses Plugins Auto-Templates
Re-useable Code Additional Files Translations Is in Beta Stage  
No support by the author.

The add-on has been updated to reflect Facebook new policy starting October 1st (read more here). Basically this is a maintenance update for user of this add-on from the past. The add-on now supports vBulletin 3.8.x only. In this new version, there are only the basic features: register and login (some simple sharing too). It keeps old settings so you don't need to re-configure.

How to update (this is important):
1. Disable the add-on in AdminCP
2. Upload files in the package (make sure you disable the add-on before uploading)
3. Import the xml in the package, choose Yes to rewrite.
4. Re-enable the add-on
5. Done

Just remember to disable the add-on before uploading files and you will be okie.

A little note for attachment downloads:
- YAFB v1.4 had been downloaded 36 times before I removed it
- YAFB v1.5: 4 downloads, YAFB v1.5.1: 26 downloads, YAFB v1.6: 29 downloads, YAFB v1.7: 22 downloads, YAFB v1.8: 48 downloads
- YAFB v1.9: 150 downloads
- YAFB v2.0: 31 downloads, YAFB v2.0.1: 10 downloads, YAFB v2.0.2: 49 downloads, YAFB v2.1: 55 downloads; YAFB v2.2: 1210 downloads; YAFB v2.2.5: 661 downloads

Download Now

File Type: zip YAFB 5.0.4b Installation.zip (69.0 KB, 807 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
2 благодарности(ей) от:
dartho, dtv100

Comments
  #252  
Old 10-14-2009, 04:22 AM
mrpaint's Avatar
mrpaint mrpaint is offline
 
Join Date: Sep 2004
Location: Hanoi Capital
Posts: 630
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bada_bing View Post
mrpaint

I wanted to thank you for this great plugin as its one of its kind and really sweet.

I noticed that in the last release you included the ability to not allow the facebook posting feature in hidden forums or area that non-registered members can access. This is great but I was hoping that this was a bit more flexible for example I may have forums that are not accessible from the general members but available for premium members where I want then to use the facebook posting feature. I thing to make this happen you will have to be able to allow the ability to include/exclude forums ID's to be more exact....
I will add a override option for each forum in the next release

Quote:
Originally Posted by Calash View Post
Love what you have done with the mod so far. Great job.

I may have to see about migrating over at some point. Hate to lose the Google Connect feature of vBnexus but you have a ton of interesting functions
Hmm, look like I should start building migration tool to help people using this product. Hehe

Quote:
Originally Posted by matthewhotdude View Post
How do I edit the Navbar so it doesnt have the black border around "connect with Facebook"

Also if someone is already registered on my site, how do they link there facebook account?

And nothing is appearing on peoples Facebook walls

Screenshot
Open the Style Manager and edit template named "fbb_navbar_button"
If someone registered in vBulletin system, they can connect their Facebook accounts in UserCP > Facebook Bridge > Options

Quote:
Originally Posted by Matt Lathrop View Post
Any word about compadability with vb 4?
Not yet but soon. I'm very excited with vBulletin 4.0 right now Can't wait to test it out

Quote:
Originally Posted by devilsown View Post
anytime i click on a link to connect to facebook i get this

The page you requested was not found.
Please make sure you upload the file named "facebook.php" to your forum root
Reply With Quote
  #253  
Old 10-14-2009, 10:17 AM
matthewhotdude matthewhotdude is offline
 
Join Date: Jul 2009
Posts: 560
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Open the Style Manager and edit template named "fbb_navbar_button"
If someone registered in vBulletin system, they can connect their Facebook accounts in UserCP > Facebook Bridge > Options

That option is not in the Usercp

Oh and also my other question I posted? about things not getting posted onto Facebook?? Did you see the screenshot?
Reply With Quote
  #254  
Old 10-14-2009, 12:59 PM
Calash's Avatar
Calash Calash is offline
 
Join Date: Jun 2006
Location: East Coast, USA
Posts: 297
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Hmm, look like I should start building migration tool to help people using this product. Hehe
I know going from Facebook Connect to vBnexus was fairly easy. It just requires a query to migrate the Fbid -> vbid table, then a second to create the settings.

Going from vBnexus to here should not be that difficult. The key will be to filter out the Google Connect information.

Ill take a look at it on my test site and see what would need to be done.


Edit:

This query gets the info from vBnexus to your fields in the user table. Facebook users still have to reconnect so the default settings on Facebook side work but it is pretty painless. Still testing, but feel free to use the code if it will help.

Code:
UPDATE vb_users as a, vb_vbnexus_nonvbuser as b
SET a.fbuid = b.nonvbid
WHERE b.type=1 AND a.userid = b.userid
vb_ should be replaced with your table prefix. I tested this on my test site, linking to a new FB application and it worked.

A similar query should work for migrating from Facebook Connect

Code:
UPDATE vb_users as a, vb_fbuser as b
SET a.fbuid = b.fbuid
WHERE b.type=1 AND a.userid = b.userid
This block is untested but should work.



On a side note, this seems to have some issues with scripts outside of the vb forum path. The Navbar link should probably have the bburl variable in it to correct the problem.


Double Edit:


The fbb_navbar_button template is to blame for this. By adding the bburl variable to the facebook.php path it now works outside of the vBulletin directory.


Code:
            <td id="navbar_fbb" class="vbmenu_control">
                <a id="navbar_fbb_link" href="$vboptions[bburl]/facebook.php" rel="nofollow">
                    <img src="$vboptions[bburl]/fbb/facebook_logo_16x16.gif" width="16" height="16" border="0"/>
                    $vbphrase[fbb_navbar_button_text]
                </a>
            </td>


Sorry if I went overboard there. When I get on a roll it is hard to stop me sometimes
Reply With Quote
  #255  
Old 10-14-2009, 04:40 PM
mrpaint's Avatar
mrpaint mrpaint is offline
 
Join Date: Sep 2004
Location: Hanoi Capital
Posts: 630
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@Calash: You did a great thing up there. Thank you, I will include your script and your name in the next release. Is it okie?
Reply With Quote
  #256  
Old 10-14-2009, 04:43 PM
mrpaint's Avatar
mrpaint mrpaint is offline
 
Join Date: Sep 2004
Location: Hanoi Capital
Posts: 630
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by matthewhotdude View Post
That option is not in the Usercp

Oh and also my other question I posted? about things not getting posted onto Facebook?? Did you see the screenshot?
Please make sure you put the API Key and Secret in the Options page (AdminCP > Facebook Bridge > Edit Settings).

I looked at your screenshot, it showed that the user was connected but he/she didn't grant any extend permissions (this can prevent post being published in the future)
Reply With Quote
  #257  
Old 10-14-2009, 05:15 PM
matthewhotdude matthewhotdude is offline
 
Join Date: Jul 2009
Posts: 560
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes I have inputted the API key and the secret, nothing still shows up in the usercp
Reply With Quote
  #258  
Old 10-14-2009, 05:37 PM
mrpaint's Avatar
mrpaint mrpaint is offline
 
Join Date: Sep 2004
Location: Hanoi Capital
Posts: 630
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by matthewhotdude View Post
Yes I have inputted the API key and the secret, nothing still shows up in the usercp
Please take screenshots of your settings page (in AdminCP) and your UserCP page (especially the left column). I will try to figure out what's wrong
Reply With Quote
  #259  
Old 10-14-2009, 05:40 PM
Calash's Avatar
Calash Calash is offline
 
Join Date: Jun 2006
Location: East Coast, USA
Posts: 297
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<a href="http://www.chattaboxforums.com/profile.php?do=fbb" target="_blank">http://www.chattaboxforums.com/profile.php?do=fbb</a>

If I was to guess, I would say your skin is missing the template hook in the Usercp. For kicks I signed up on your site and, by putting the path above in by hand, was able to set my permissions correctly.
Reply With Quote
  #260  
Old 10-14-2009, 05:44 PM
matthewhotdude matthewhotdude is offline
 
Join Date: Jul 2009
Posts: 560
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So how do I solve it ?
Reply With Quote
  #261  
Old 10-14-2009, 05:48 PM
Calash's Avatar
Calash Calash is offline
 
Join Date: Jun 2006
Location: East Coast, USA
Posts: 297
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Check your USERCP_SHELL template and make sure it has the $template_hook["usercp_navbar_bottom"] hook in it.
Reply With Quote
Reply


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 12:28 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07705 seconds
  • Memory Usage 2,352KB
  • Queries Executed 26 (?)
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
  • (3)bbcode_code
  • (9)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (2)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete