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:17 AM

i was under the impression this would make it easyer to register users. but for some reason they still have to fill otu username,password,and email fields, how can i have this like your demo board where they can click once and register and have a username already given

LifesGreatestGift 04-10-2010 09:32 AM

Quote:

Originally Posted by LbR (Post 2018819)
I am to Lazy too remove this one, I would let it go and ignore built-in thing until it comes better than this

+1 :)

Wakey 04-10-2010 09:36 AM

Quote:

Originally Posted by josh2007 (Post 2018726)
hmm all of the other features are fine on our site. Its just that we cannot send notifications without getting that error. Like today our site had a login probelm and i was going to send out a notification saying that we was working on it but i got that error. We would love to get it fixed if possible. Plus we kinda hate where the connect with facebook button is located and we would like to move it

Facebook depreciated the App to User Notifications which is why it doesn't work anymore

Thug 04-10-2010 02:16 PM

anyway to make this so when they clic kconnect with facebook it gives them a username auto.. there facebook username
facebook.com/username becomes there username on the forum. saves people hving to still fill out the register form like username email and pass... or a way to remove email and password fields from it

josh2007 04-10-2010 04:06 PM

Quote:

Originally Posted by TPTP (Post 2018805)
I haven't noticed anything else yet, but I'm getting a few errors in the log. Is there a decoder ring for the errors so that I can tell what they refer to?

As far as moving the facebook button, that shouldn't be too tough. On my main site, moving it will have nothing to do with other sites, since we completely reworked the header and navbar. However, on my other site, that stuff is pretty default, so unless someone beats me to it, I'll be able to at least provide a basic hacked way of moving it.

yeah i looked in the templates to try to find the code so i could move it but i couldnt find it. Knowing me tough its probley right in front of me

josh2007 04-10-2010 04:07 PM

Quote:

Originally Posted by playSocial (Post 2018833)
Facebook depreciated the App to User Notifications which is why it doesn't work anymore

oh darn so basically its worthless?

TPTP 04-10-2010 05:50 PM

Quote:

Originally Posted by Thug (Post 2018939)
anyway to make this so when they clic kconnect with facebook it gives them a username auto.. there facebook username
facebook.com/username becomes there username on the forum. saves people hving to still fill out the register form like username email and pass... or a way to remove email and password fields from it

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.



Quote:

Originally Posted by josh2007 (Post 2019009)
oh darn so basically its worthless?

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...

josh2007 04-10-2010 05:57 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...

I just meant the notification sender i didnt mean the whole thing. I really enjoy this mod :P still trying to find the code to move the button though

TPTP 04-10-2010 06:08 PM

Oh, ok.

I haven't looked at moving the button yet, because I'm tied up with some other issues. I'm guessing that the button is in place via a plugin. I don't think there's a hook for placing it near the login box, so it would have to be hard coded. Again, unless someone beats me to it, I'll post what I do on my smaller site, just as soon as I get a chance to do it.

In the mean time, does anyone know exactly what's happening here?
Code:

Send Notification Facebook UID: ()        Exception: Unknown method
That UID shouldn't be blank. That was from my account.

josh2007 04-10-2010 06:18 PM

I never seen anything like that. On mine, the UIDs are filled in. Also i found the coding for the button and i got it moved. (Told you the code would be right in front of me) Thanks though :D

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

Infopro 04-17-2010 12:59 AM

Yep, that fixed it here. Thanks!

mmacrypt 04-17-2010 03:38 AM

Installed and will play with it for the next few days. Seems pretty powerful.

ViciousCode 04-17-2010 03:42 AM

@mmacrypt

make sure to use my fix, its on the previous page..

mmacrypt 04-17-2010 04:24 AM

DOH, let me see what I can find.

mmacrypt 04-17-2010 04:27 AM

the only fix I'm seeing is post 900 which is for 3.8. I'm using 4.0.2, is this something I should worry about?

Mark.B 04-17-2010 09:06 AM

Quote:

Originally Posted by ViciousCode (Post 2022474)
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

I find when making this change that guests cannot view the site, they just get a white page.

ViciousCode 04-17-2010 12:31 PM

really? that seems strange...

works on my end!

karlm 04-17-2010 07:02 PM

PHP Code:

        DELETE FROM `vbfbb_log`
        
WHERE timeline 1270237864;

MySQL Error   The total number of locks exceeds the lock table size
Error Number  
1206 

I'm getting a vast number of these d/b errors on a daily basis... Any help appreciated :)

Infopro 04-18-2010 10:26 AM

Quote:

Originally Posted by ViciousCode (Post 2022646)
really? that seems strange...

works on my end!


For me as well as a logged in user. I'm getting reports of this error though from others.


"Fatal error: class 'vb_Template' not found in /path/to/file/fbb/hook_process_templates_complete.php on line 24"

This is on a 3.8.5 forum.

ViciousCode 04-18-2010 04:28 PM

ill try to fix this...

but if i cant, we will have to wait until the original coder for this mod stops being lazy and fixes this issue!

Xencored 04-19-2010 03:03 PM

all i get is "Please establish the connection to Facebook before continue " plz help

ViciousCode 04-19-2010 04:20 PM

mrpaint just disappeared, he said he would fix this, but he didnt, at least not yet

vbreal 04-19-2010 06:26 PM

Quote:

Originally Posted by ViciousCode (Post 2023869)
mrpaint just disappeared, he said he would fix this, but he didnt, at least not yet

yeah i am very surprised

one of the reasons i switched to this mod was because of how much he supported it.

maybe he is working with vb.com for the official fb connect and can't say much about it. at least thats what im hoping. haaaaaa

Mark.B 04-19-2010 09:00 PM

Certainly this version is not an option for 3.8 and below, at the moment.

Not sure about 4.0 as I don't go near that.

Wakey 04-20-2010 08:51 AM

Quote:

Originally Posted by ViciousCode (Post 2023258)
ill try to fix this...

but if i cant, we will have to wait until the original coder for this mod stops being lazy and fixes this issue!

That really is very harsh, infact i would go as far as saying you are being rude and ignorant.

While some bugs can be fixed in an hour some aren't as simple to fix, especially if its something you can't recreate locally. And the mod developers here generally do so out the goodness of their hearts because they don't get paid for the mods they develop (they may get a few donations but its safe to say the likes of mrpaint don't get anywhere near enough to really justify the time they spend on their mods. And due to this they no doubt have other more pressing matters to handle first in doing their 'day job' that pays their bills.

Certainly alot of the mod developers fix bugs quicker on their free mods than the vbulletin team (or Microsoft, Adobe and pretty much every software developer) fix theres and we each pay hundreds of dollars for their software

cory_booth 04-20-2010 10:44 AM

Quote:

Originally Posted by playSocial (Post 2024227)
That really is very harsh, infact i would go as far as saying you are being rude and ignorant.

While some bugs can be fixed in an hour some aren't as simple to fix, especially if its something you can't recreate locally. And the mod developers here generally do so out the goodness of their hearts because they don't get paid for the mods they develop (they may get a few donations but its safe to say the likes of mrpaint don't get anywhere near enough to really justify the time they spend on their mods. And due to this they no doubt have other more pressing matters to handle first in doing their 'day job' that pays their bills.

Certainly alot of the mod developers fix bugs quicker on their free mods than the vbulletin team (or Microsoft, Adobe and pretty much every software developer) fix theres and we each pay hundreds of dollars for their software


Agreed.

Megatr0n 04-20-2010 10:59 AM

I agree to.

Some of you guys sound as if you paid for this modification? These morons should be banned from the thread.

mrpaint is a good mate of mine and I think it is unacceptable with some of the things being said in this thread about him. He's actually been very ill this past week or so hence why he hasn't been online much at all. Plus he's a full time student too so he has his future to think of instead of striving to please some of you ungrateful loons.

Grow up and learn to exercise a little bit of patience otherwise keep it shutl

Mark.B 04-20-2010 04:43 PM

Quote:

Originally Posted by Megatr0n (Post 2024270)
I agree to.

Some of you guys sound as if you paid for this modification? These morons should be banned from the thread.

mrpaint is a good mate of mine and I think it is unacceptable with some of the things being said in this thread about him. He's actually been very ill this past week or so hence why he hasn't been online much at all. Plus he's a full time student too so he has his future to think of instead of striving to please some of you ungrateful loons.

Grow up and learn to exercise a little bit of patience otherwise keep it shutl

I haven't been at all rude. The developer can fix it when they are able, or not at all, I have no problem with that.

I merely pointed out that, as things stand, this modification doesn't work fully on 3.8. It may well do so for 4.0, I don't know.

I personally hope mrpaint fixes it, as it's an excellent mod, but there is no rush - whenever he is ready and able is fine.

ViciousCode 04-20-2010 07:02 PM

im not being rude, im just being realistic, he said he changed alot of things around and thats what caused those errors, well if it aint broke, dont fix it? isnt how that expression goes?

well mrpaint did make a great mod, i just hope he fixes it :)

hope he gets well :)

Aeropars 04-20-2010 07:22 PM

Hi Guys,

Just installed this on VB 3.8.4 and there was no errors during installation. I have clicked on my user CP and slected facebook bridge options however I dont see any facebook connect button as shown on the youtube videos.

Can anyone tell me what is wrong?


All times are GMT. The time now is 05:49 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.02657 seconds
  • Memory Usage 1,902KB
  • 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
  • (3)bbcode_code_printable
  • (6)bbcode_php_printable
  • (17)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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