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)

delmarva 04-05-2010 09:31 PM

I now have two "Connect with Facebook" links in navbar...

Otherwise, very nice job! Much improved... :up:

archet1337 04-06-2010 02:22 AM

First of all, thank a lot for sharing this mod. It is absolutely brilliant!

I'm having some problems with the share button in postbit.

It looks like this:

http://www.digi-tech.org/images/dive...book_share.png

How do I get rid of the dark bacround around the button / text?

I tried to edit fbb_vb4_postbit_controls but that didn't have any effect at all.

Any pointers on where / what to edit would be much appreciated.

I'm running vB 4.0.2 PL4 if it matters.

shaun2222 04-06-2010 02:40 AM

Can you answer these questions for me please?

https://vborg.vbsupport.ru/showthread.php?t=239847

NickyNet 04-06-2010 07:20 AM

Quote:

Originally Posted by mrpaint (Post 2016399)
Big news today: version 3.3 is out!

Everyone who is running YAFB should upgrade this version right away since it has a killer feature, sorry, 2 killer features:
  1. User doesn't have to go to facebook.php anymore (of course, in a few situations, they will have to as it's necessary)
  2. User who doesn't connected and registered can have their new account with 1 click! New account will be registered "on-the-fly" with pattern predefined in AdminCP
Install the new version and go straight to AdminCP, Settings page to check them out right now. The 2 new settings are: "Activate on System Wide" (for 1st feature) and "Auto Register On-the-fly" (for 2nd feature). Imagine when you enable both these 2 features, it will really become a seamless user experience!

hi, very very nice!
worked like a charm! Thank you for good job!

but only one question:
what will happend if there are [name]_[lname]
same name and lname on facebook?

Wakey 04-06-2010 09:25 AM

Quote:

Originally Posted by Bacon Butty (Post 2015815)
I'm been tweaking my template so this Facebook bridge is more prominent as I think it's kinda disguised, as epitimised by members replying to this thread wondering where the login is once installed...

Anyway, I've stuck the link in the top like so;

https://vborg.vbsupport.ru/

Any chance you can share your template edit to set it up like that?

Bacon Butty 04-06-2010 10:00 AM

Quote:

Originally Posted by playSocial (Post 2016714)
Any chance you can share your template edit to set it up like that?

It's a simple template edit. The new update has kinda messed it up though as it takes it to the 'connect with facebook' page rather than prompting the login box. Once someone answers the below I'll publish it :)

Does anyone know how I can alter a simple link like this;

https://vborg.vbsupport.ru/

To bring up this on click;

https://vborg.vbsupport.ru/

Also, can anyone explain what "Auto Register On-the-fly" is? I dont understand the English or explanation in the admincp :confused:

mrpaint 04-06-2010 10:04 AM

Quote:

Originally Posted by NickyNet (Post 2016671)
hi, very very nice!
worked like a charm! Thank you for good job!

but only one question:
what will happend if there are [name]_[lname]
same name and lname on facebook?

I didn't get your point?
Anyway, if no good username is found (registered already or something), user will have to register by his/herself

Quote:

Originally Posted by Bacon Butty (Post 2016727)
It's a simple template edit. The new update has kinda messed it up though as it takes it to the 'connect with facebook' page rather than prompting the login box. Once someone answers the below I'll publish it :)

Does anyone know how I can alter a simple link like this;

http://img177.imageshack.us/img177/6057/fb1g.jpg

To bring up this on click;

http://img522.imageshack.us/img522/7827/fb2qx.jpg

Also, can any explain what "Auto Register On-the-fly" is? I dont understand the English or explanation in the admincp :confused:

It's hard to explain. You should take a look at a template named "fbb_vb4_navbar_button"

Bacon Butty 04-06-2010 10:16 AM

Thanks mrpaint, appreciated good sir :)

mrpaint 04-06-2010 11:41 AM

In case you want to add the "Connect with Facebook" button up to the top, create new plugin for parse_template and use this code

PHP Code:

if ($vbulletin->fbb['runtime']['navbar_button_needed'] AND $vbulletin->fbb['runtime']['vb4']) {
    
$fbb_navbar_button vB_Template::create('fbb_vb4_navbar_button')->render();
    
$search 'if ($show[\'registerbutton\']) {';
    
$vbulletin->templatecache['header'] = str_replace(
        
$search
        
,$search '$final_rendered .= "' addslashes($fbb_navbar_button) . '";'
        
,$vbulletin->templatecache['header']
    );


*Note: If you are not sure that I'm talking about, it's highly recommend that you shouldn't follow this instruction. The feature will be added in next version of YAFB

CoZmicShReddeR 04-06-2010 01:35 PM

Hey mrpaint I had to revert back to 3.22 All the info in the top right corner vanished so did the navbar links...

I tried disabling every addon and still had the issue... I switched styles and still same...

I am using VB Version 4.02 PL4 CMS


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

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.02144 seconds
  • Memory Usage 1,755KB
  • 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_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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