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
  #782  
Old 11-25-2012, 06:44 AM
RyanFabbro's Avatar
RyanFabbro RyanFabbro is offline
 
Join Date: Aug 2012
Location: MI, USA
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i have also made this similar to all the other fb connect so when a user is logged in with fb it will display their fb avatar, just like vb4 or that old fb connect.

i will only provide the code, feel free to edit it to your theme as you wish

this is just standard vb3 theme placement, and may not be the perfect spot for you but try it out:

open template navbar

find:
Code:
<img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_start.gif" alt="" border="0" /></a> <strong>$vboptions[bbtitle]</strong></div>
		</if>
	</td>
below add:
Code:
<if condition="$bbuserinfo[fbuid]">
                    <td class="alt2" align="center" style="width:51px;padding:4px;">
                <div style="position:relative;padding:3px;">
                    <a target="_new" href="http://www.facebook.com/profile.php?id=$bbuserinfo[fbuid]">
                        <img width="40" height="40" alt="Connected with Facebook" src="https://graph.facebook.com/$bbuserinfo[fbuid]/picture" title="Connected with Facebook" border="0" >
                        <img style="width: 15px; height: 15px; position: absolute; left: 2px; top: -3px; z-index: 2;" alt="Connected with Facebook" src="$vboptions[bburl]/fbb/facebook_logo_16x16.gif" title="Connected with Facebook" border="0" />
                    </a>
                </div>
            </td>
</if>

for people who know what theyre doing:
so with that snippit you shoud catch the main condition for the fb id and the if condition for fb users.

if condition for fb logged in users being
Code:
<if condition="$bbuserinfo[fbuid]">
and this snippet for users fb id
Code:
$bbuserinfo[fbuid]
with knowing these you can expand on this even further, i have only begun to play around with this and will keep you updated if i find anything else

note: i will not provide support for the code placement in your theme, i gave placement for stock theme, which is the best spot for the main theme. any highly customized themes were the vb navbar looks TOTALLY different you may have to play with it to get it perfect but if your navbar looks kinda default it should work good.

also my question in the previous post still stands if anyone could help with that.
Attached Images
File Type: jpg Capture.jpg (76.7 KB, 0 views)
Reply With Quote
  #783  
Old 11-26-2012, 03:17 PM
diretur diretur is offline
 
Join Date: Sep 2005
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RyanFabbro View Post
is there anyway to make it so when users log out of my site they dont log out of facebook also?
Same question from me
Reply With Quote
Благодарность от:
RyanFabbro
  #784  
Old 11-26-2012, 09:43 PM
RyanFabbro's Avatar
RyanFabbro RyanFabbro is offline
 
Join Date: Aug 2012
Location: MI, USA
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hey diretur, i think i solved this, i removed the plugin for the logout process. i havent really tested it excessively, but it seems to be working how were wanting it to.

with this, your user is on facebook decides to goto your site and hits login with facebook, and there good to go. now when they logout, and try to log back in (it normally requires re log into facebook also) but not now! =) it will just relog them right back in if they click the button.

like i said i havent tested it a whole lot just loged into facebook once and kept logging in and out of my site (about 5 times)
seems to work, but if you notice anything not working please let me know.

you can either use this attachment when you install

or just goto your plugin manager under YAFB find
Logout Process (includes/functions_login.php)
and disable only that plugin not the whole system
Attached Files
File Type: xml product-yafb.xml (37.7 KB, 11 views)
Reply With Quote
  #785  
Old 11-27-2012, 08:26 PM
bada_bing's Avatar
bada_bing bada_bing is offline
 
Join Date: Feb 2004
Location: Michigan
Posts: 1,698
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have now noticed that I am getting this message when trying to login using the facebook login option

An error occurred while connect with Facebook. Please try again later.

Not sure when this started or what I can do to fix it, can anyone please assist please

Thank You
Reply With Quote
  #786  
Old 11-29-2012, 09:02 AM
RyanFabbro's Avatar
RyanFabbro RyanFabbro is offline
 
Join Date: Aug 2012
Location: MI, USA
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

at least im not alone i kept quite, not knowing if it was a setting i messed up or a product conflict, but i too am getting this error. weird thing is it was working perfect for a while then all of a sudden no more.

i wonder if facebook updated something within the last few days?
Reply With Quote
  #787  
Old 11-29-2012, 05:42 PM
bada_bing's Avatar
bada_bing bada_bing is offline
 
Join Date: Feb 2004
Location: Michigan
Posts: 1,698
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RyanFabbro View Post
at least im not alone i kept quite, not knowing if it was a setting i messed up or a product conflict, but i too am getting this error. weird thing is it was working perfect for a while then all of a sudden no more.

i wonder if facebook updated something within the last few days?
Now hopefully we can get some help to fix it
Reply With Quote
Благодарность от:
RyanFabbro
  #788  
Old 11-30-2012, 05:03 AM
RyanFabbro's Avatar
RyanFabbro RyanFabbro is offline
 
Join Date: Aug 2012
Location: MI, USA
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

im actually trying to fix it myself, probally end up with a whole new product. but ill let you know how it goes
Reply With Quote
  #789  
Old 12-03-2012, 02:33 AM
ChiNa ChiNa is offline
 
Join Date: Jul 2012
Posts: 457
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RyanFabbro View Post
im actually trying to fix it myself, probally end up with a whole new product. but ill let you know how it goes
Hi Ryan, Long time mate, Finally I got some time to login and update my FB connect.. But this one is not working at all
And the I saw the addon you have made, for the avatar which was awesome, and boom also doesnt work! I tested it with a few boards... And not working at at all... so I think this there is a problem with this addon...

Anyways, I must give it up for the developers hard job and thanks for sharing, else this one is kinda waste of time installing!
Reply With Quote
  #790  
Old 12-06-2012, 01:52 PM
bada_bing's Avatar
bada_bing bada_bing is offline
 
Join Date: Feb 2004
Location: Michigan
Posts: 1,698
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RyanFabbro View Post
im actually trying to fix it myself, probally end up with a whole new product. but ill let you know how it goes
Awesome I appreciate you taking this on, I love the addon and look forward to your new product
Reply With Quote
  #791  
Old 12-06-2012, 06:25 PM
RyanFabbro's Avatar
RyanFabbro RyanFabbro is offline
 
Join Date: Aug 2012
Location: MI, USA
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bada_bing View Post
Awesome I appreciate you taking this on, I love the addon and look forward to your new product
it may not be for some time though...

im also looking into source files of another multi social login product too.
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 10:27 PM.


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.06099 seconds
  • Memory Usage 2,360KB
  • Queries Executed 28 (?)
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
  • (4)bbcode_code
  • (5)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
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (4)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (3)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_postinfo_query
  • fetch_postinfo
  • 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