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)

Thug 04-10-2010 09:52 PM

Quote:

Originally Posted by TPTP (Post 2019074)
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

Thug 04-11-2010 12:31 PM

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?

Bacon Butty 04-11-2010 02:31 PM

Quote:

Originally Posted by Bacon Butty (Post 2018790)
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;

http://img576.imageshack.us/img576/9227/32362767.jpg

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

http://img177.imageshack.us/img177/1331/89636307.jpg

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

http://img62.imageshack.us/img62/8158/85459413.jpg

Now I have two options. Fix this error or migrate the users over to Facebooks default bridge. Could anyone share the answer to either?

TPTP 04-11-2010 07:06 PM

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.

Infopro 04-12-2010 05:58 PM

Quote:

Originally Posted by mrpaint (Post 2018591)
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 :D

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 :D


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.

vbreal 04-13-2010 04:02 PM

Quote:

Originally Posted by vbreal (Post 2018219)
curiosity was eating me up

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

i got the following error
PHP Code:

Fatal error:  Cannot redeclare class facebook in /home/trudail/public_html/fbb/fbplatform/facebook.php on line 37 

so i just turned off vb's fb connect.


whats the status of vb's fb connect working with this one

ViciousCode 04-14-2010 05:00 PM

3.3 is not working for version 3.8.5

please fix this

grahamsmythe 04-15-2010 07:43 PM

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

edenx 04-15-2010 09:04 PM

When you'll adress the bugs reported on tracker?

ViciousCode 04-17-2010 12:40 AM

hey everyone, i fixed the 3.8.x problem...

put this code

PHP Code:

require(DIR '/fbb/hook_process_templates_complete.php'); 

into global complete plugin hook

so it looks like this

PHP Code:

require(DIR '/fbb/iframe/hook_global_complete.php'); 

require(
DIR '/fbb/hook_process_templates_complete.php'); 
             
                if (isset(
$vbulletin->fbb['runtime']['javascript_code'])) { 
                    
$vbulletin->fbb['runtime']['javascript_needed'] = true
                } 
                if (
$vbulletin->fbb['runtime']['javascript_needed']) { 
                    
//tell browsers to skip fb:xxx tags 
                    
$output preg_replace('/\<html (xmlns="[^"]+")?/i','$0 xmlns:fb="http://www.facebook.com/2008/fbml"',$output); 
                    
//include footer 
                    
if (isset($vbulletin->fbb['runtime']['javascript_code'])) { 
                        
//include our php-based javascript code 
                        
$vbulletin->fbb['runtime']['footer'] = str_replace
                            
'//FBB-JAVASCRIPT-FROM-PHP-PLACEHOLDER-PLEASE-DO-NOT-REMOVE-ME' 
                            
,$vbulletin->fbb['runtime']['javascript_code'
                            ,
$vbulletin->fbb['runtime']['footer'
                        ); 
                    } 
                    
$search = array('</body>'); 
                    
$replace = array($vbulletin->fbb['runtime']['footer'] . "\n" '</body>'); 
                    
$output str_replace($search,$replace,$output); 
                } 

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

Code:

<a id="navbar_fbb_link" href="$vboptions[bburl]/facebook.php" rel="nofollow"<if condition="$vbulletin->fbb['config']['activated_system_wide']"> onClick="FB.Connect.requireSession(); return false;"</if>>
                                        <img src="$vboptions[bburl]/fbb/facebook_logo_16x16.gif" width="16" height="16" border="0"/>
                                        $vbphrase[fbb_navbar_button_text]
                                </a>

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


All times are GMT. The time now is 02:51 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.04006 seconds
  • Memory Usage 1,773KB
  • 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
  • (3)bbcode_php_printable
  • (4)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