vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Integration with vBulletin - YAFB - Yay! Another Facebook Bridge (https://vborg.vbsupport.ru/showthread.php?t=223555)

TNCclubman 09-23-2009 06:43 PM

I think this facebook login mod has become the official good one. Supported, features added by request, this guy is sick!

principino1984 09-23-2009 07:00 PM

yeah! this is THE Vbulletin Facebook bridge! Everything works awesome!

I can't wait for the newxt release! :D

Marco

redlabour 09-23-2009 07:19 PM

Agree - the best Facebook Bridge that exists.

fluentdesigns 09-23-2009 08:19 PM

Yep I give it my +2

malfuncion 09-23-2009 08:22 PM

I'm getting a syntax error in the admincp...

Parse error: syntax error, unexpected '{' in /***/forums/fbb/functions.php on line 89

Help?

Veer 09-23-2009 08:24 PM

Count me as well, 10/10, Simply awesome mod.
Name should be change vBulletin Facebook Bridge :D

Megatr0n 09-23-2009 09:41 PM

Dao, what about adding MSN/Google/AOL to this plugin? Much like the other one but that is not supported:

This one

m03 09-23-2009 09:42 PM

Excellent piece of work, one small problem for me is that I cannot get the Recent activity to show in the profile page I've tried playing around with it but to no success, I don't use the side profile boxes so need to display it in the main vertical row, although I've added the right tags to the profile template it's still not showing.

Could you make the profile position an option in the next release?

Thanks.

Deimos 09-23-2009 10:51 PM

Installed the latest version, but on occasion I'm still getting the error

Warning: file_put_contents(fbb_showthread_complete.txt) [function.file-put-contents]: failed to open stream: Permission denied in [path]/fbb/hook_showthread_complete.php on line 52

malfuncion 09-23-2009 11:48 PM

Quote:

Originally Posted by malfuncion (Post 1889622)
I'm getting a syntax error in the admincp...

Parse error: syntax error, unexpected '{' in /***/forums/fbb/functions.php on line 89


Help?

Anyone have any suggestions? I can't figure out what the problem is, and I'd really like to install this.

RWerksman 09-23-2009 11:53 PM

Quote:

Originally Posted by mrpaint (Post 1889250)
Well, this is Facebook's policy since each application only work within a base domain. This is necessary to prevent abuse and protect members privacy I think. So, maybe there is no solution for this issue. I'm sorry

Understandable, but how does the bridge do user validation? I.E. if I create a user for myself, and I try to sign up again, the system automatically knows that it's me and logs me right in.

mrpaint 09-24-2009 12:36 AM

Quote:

Originally Posted by malfuncion (Post 1889622)
I'm getting a syntax error in the admincp...

Parse error: syntax error, unexpected '{' in /***/forums/fbb/functions.php on line 89


Help?

Please upload files again. Sound like a corrupted upload attemp

Quote:

Originally Posted by Megatr0n (Post 1889643)
Dao, what about adding MSN/Google/AOL to this plugin? Much like the other one but that is not supported:

This one

Well, other services are not in my list currently. But I will see if I can do something ;)

Quote:

Originally Posted by m03 (Post 1889644)
Excellent piece of work, one small problem for me is that I cannot get the Recent activity to show in the profile page I've tried playing around with it but to no success, I don't use the side profile boxes so need to display it in the main vertical row, although I've added the right tags to the profile template it's still not showing.

Could you make the profile position an option in the next release?

Thanks.

Are you using vBulletin 3.6.x?

Quote:

Originally Posted by Deimos (Post 1889666)
Installed the latest version, but on occasion I'm still getting the error

Warning: file_put_contents(fbb_showthread_complete.txt) [function.file-put-contents]: failed to open stream: Permission denied in [path]/fbb/hook_showthread_complete.php on line 52

This weird warning has been removed in the latest version. Check it out man :D

Quote:

Originally Posted by RWerksman (Post 1889687)
Understandable, but how does the bridge do user validation? I.E. if I create a user for myself, and I try to sign up again, the system automatically knows that it's me and logs me right in.

Well, it's an ajax check running behind the scene ;)

mrpaint 09-24-2009 12:38 AM

Quote:

Originally Posted by TNCclubman (Post 1889583)
I think this facebook login mod has become the official good one. Supported, features added by request, this guy is sick!

Hey man, I'm not sick :D Just wanna make time goes faster these days... OMG, it's still running too slow :(

Anyway, if you haven't noticed yet. I have release the version 1.9. The important feature in 1.9 is Avatar Synchronizing. Check it out and give me feedbacks (as you always do) ;)

mrpaint 09-24-2009 12:40 AM

Special note to redlabour: I improved the register/login interface. The flow is changed a little bit, so... do the test and tell me if it's better now. Thank you

webrats 09-24-2009 12:49 AM

updating now. :)

mrpaint 09-24-2009 01:04 AM

Quote:

Originally Posted by webrats (Post 1889714)
updating now. :)

Hope it works :D

RWerksman 09-24-2009 01:27 AM

Quote:

Originally Posted by mrpaint (Post 1889709)
Well, it's an ajax check running behind the scene ;)

Ok, but what does it compare to:from? It looks like it compares the Facebook pulled userid to the stored fbuid in the user table, but something doesn't quite match up.

For instance, if I setup two identical applications, and repoint the application to use the second one, you would have to setup a new user as it wouldn't recognize my login correctly.

webrats 09-24-2009 01:40 AM

Quote:

Originally Posted by mrpaint (Post 1889717)
Hope it works :D

it does great job

the fan page still freezes my browser. but im happy

mrpaint 09-24-2009 01:41 AM

Quote:

Originally Posted by RWerksman (Post 1889725)
Ok, but what does it compare to:from? It looks like it compares the Facebook pulled userid to the stored fbuid in the user table, but something doesn't quite match up.

For instance, if I setup two identical applications, and repoint the application to use the second one, you would have to setup a new user as it wouldn't recognize my login correctly.

If no check had been done before, the check will be implement as a javascript scope. The flow is below
  1. Check for Facebook session
  2. If session found, send the associated facebook uid via ajax to our server
  3. Server check to see if that facebook uid is connected and the forum member enabled the auto-login feature. If everything is found and matched, server return a positive flag, otherwise, server will send a negative one
  4. The javascript code receives the response and redirect to login page (do the cookie, forum's session things) if it found a positive flag
  5. The javascript code marked (using cookie) as the check has been done and store a time note to prevent future check

That's how things are going

Edit: Oops. If you replace the API key with the 2nd application's one, from our forum, we won't able to check for connected user who connected with us using the 1st application's API key. Everything should be done using only one API key. The relationship is 1-to-1. If you decide to change, I suggest you to uninstall the product and import the xml file again... :(

mrpaint 09-24-2009 01:43 AM

Quote:

Originally Posted by webrats (Post 1889728)
it does great job

the fan page still freezes my browser. but im happy

If you disable the Experimental settings from AdminCP, the link will not be shown up (and it won't work either, opening that link will result in a blank page). I haven't improve that script, yet :P

m03 09-24-2009 02:42 AM

Quote:

Originally Posted by mrpaint
Are you using vBulletin 3.6.x?

No, 3.8.4 but the sideboxes don't really fit in with the style of our site so they were removed from the template, I've been able to fix the sideblocks for gifts & albums so they show vertically instead which is much more in keeping with the rest of the site. I've tried doing that with the facebook sidebox but had no success as when I change the hook location it vanishes..

mrpaint 09-24-2009 03:25 AM

Quote:

Originally Posted by m03 (Post 1889746)
No, 3.8.4 but the sideboxes don't really fit in with the style of our site so they were removed from the template, I've been able to fix the sideblocks for gifts & albums so they show vertically instead which is much more in keeping with the rest of the site. I've tried doing that with the facebook sidebox but had no success as when I change the hook location it vanishes..

Can you give me a fullpage screenshot after your changes made in template?

redlabour 09-24-2009 04:02 AM

BUG still exists at 1.9:

1. Connect your Account at Forum and logout. Then log in at your Facebook Profile.

2. Try to log in at Forum with the "Connect with Facebook" Link at Forum.

3. The Bridge wants still register you again at the Forum.

The Bridge should save which Facebook Profil is allready connected to a Forumuser and has to prove this at "Connect with Facebook" Link.

Just to make sure that you understand what i mean:

If a User has connected once with the Bridge the next Time he use the Bridge he should be logged in automatically at Forums without asked again if he wants to register or log in.

In the best Way the Bridge should prove at the first Time if the Mail from Facebook was allready registered at a Forumaccount and ask only for the Forumpassword to validate and connect the Accounts.

FOUND A SIMPLE SOLUTION:

Auto Authentication (login and logout automatically) at UserCP should be ON automatically at every Userprofile if this Setting is ON at ACP.

redlabour 09-24-2009 04:30 AM

Feature Request:

Please allow us to edit and create Templates directly from ACP like at vB Nexus. ;)

Phrase request:

Quote:

Thank you for logging in, xxxx.
Note: The system logged you in automatically with your Facebook Session.

mrpaint 09-24-2009 04:56 AM

Well, ideally after registration via the Facebook procedure, all options will be enabled automatically (with a few exceptions because they depends on other config/settings). From what you reported, I think you registered normally then connect your account with Facebook, right? Well, I don't turn them on with existing account connection (maybe will be added a setting soon)

About the link. I changed to a landing page (root/facebook.com). After Facebook session confirmed, there will 2 links (register and login). If user registered, clicking both links will result in auto-login. If member enabled auto-login feature. They will get through automatically

I can't provide further convenience for the landing page. I really thing it's enogh with all those fallbacks

Regards,

mrpaint 09-24-2009 04:59 AM

About the creating template request, I'm not at home now but as I remember, there is a link at the bottom of the Manager page that allow you to create template. It's simple as that :D

And the phrase, you can do a search in Phrase Manager. All texts are phrased ;)

Veer 09-24-2009 05:29 AM

Quote:

Originally Posted by Megatr0n (Post 1889643)
Dao, what about adding MSN/Google/AOL to this plugin? Much like the other one but that is not supported:

This one

Quote:

Originally Posted by mrpaint (Post 1889709)
Well, other services are not in my list currently. But I will see if I can do something ;)

Please don't do this, at-least not in this mod, the reason is pretty clear, everyone can see that this mod is full featured Facebook bridge and no need to include other services, just keep this mod up and supported and you rocks ;)

Veer 09-24-2009 06:39 AM

Using Synchorize Avatar from Facebook option I get this error:
"Upload failed due to failure writing temporary file."

mrpaint 09-24-2009 08:09 AM

@Veer: please test uploading avatar using url in the normal way and tell me your result. Sync Avatar use that core function to update avatar :D

Megatr0n 09-24-2009 10:39 AM

Quote:

Originally Posted by mrpaint (Post 1889709)


Well, other services are not in my list currently. But I will see if I can do something ;)

That'd be awesome if you could. ;)

malfuncion 09-24-2009 01:16 PM

1 Attachment(s)
Quote:

Originally Posted by mrpaint (Post 1889709)
Please upload files again. Sound like a corrupted upload attemp

Done. I completely cleaned all installed files from my installation of 1.8, and reinstalled 1.9 (new version from this morning), even allowing the product to 'overwrite', just in case. I'm still receiving the exact same error.

Note that my AdminCP options screen doesn't go any further than the "Blank Template" title line.

malfuncion 09-24-2009 01:56 PM

Quote:

Originally Posted by malfuncion (Post 1889907)
Done. I completely cleaned all installed files from my installation of 1.8, and reinstalled 1.9 (new version from this morning), even allowing the product to 'overwrite', just in case. I'm still receiving the exact same error.

Note that my AdminCP options screen doesn't go any further than the "Blank Template" title line.

I just ran a phpinfo on my server (Dreamhost), and it turns out that they've still got me on php version 4.4.9. Are there any syntax differences between php4 and php5? Does this mod require php5?

m03 09-24-2009 02:49 PM

1 Attachment(s)
Quote:

Originally Posted by mrpaint
Can you give me a fullpage screenshot after your changes made in template?

Attached.. Hopefully this will better explain the changes made and what I'd like to do.

malfuncion 09-24-2009 02:54 PM

Quote:

Originally Posted by malfuncion (Post 1889921)
I just ran a phpinfo on my server (Dreamhost), and it turns out that they've still got me on php version 4.4.9. Are there any syntax differences between php4 and php5? Does this mod require php5?

Solved my own issue. Upgraded to php5.2.6, and the syntax errors seem to have been resolved.

You may want to list php5 as a prerequisite for this mod, in case there are others having similar syntax issues.

jewbacca614 09-24-2009 03:09 PM

i love this!.. worked perfectly

redlabour 09-24-2009 04:44 PM

Quote:

Originally Posted by mrpaint (Post 1889789)
After Facebook session confirmed, there will 2 links (register and login). If user registered, clicking both links will result in auto-login.

And this is what does not work and what i am telling you now the third Time! :p

Quote:

Originally Posted by mrpaint (Post 1889791)
About the creating template request, I'm not at home now but as I remember, there is a link at the bottom of the Manager page that allow you to create template.

No - there is only Edit and Delete.

Quote:

Originally Posted by mrpaint (Post 1889791)
And the phrase, you can do a search in Phrase Manager. All texts are phrased ;)


"Thank you for logging in, xxxx.
Note: The system logged you in automatically with your Facebook Session."


Is not phrased! ;)

principino1984 09-24-2009 05:03 PM

upgraded...everything works!!!

awesome!

Marco

redlabour 09-24-2009 05:10 PM

BTW - if i want to edit the Templatebundle it every Time says:
Quote:

Unable to update the Template Bundle. Please try again later...
And in fact - a Template for new Threads is missing. At this Time there is only one for a new Post. :(

And i think the way the Templates are used in ACP are confusing. Maybe you can make it more clear for us?

At this Time i cant find out what "Blank" and "Testing" Templates are for. And i miss the Templates for all other Facebookmessages.

bada_bing 09-24-2009 05:35 PM

I have upgraded to 1.9 and I dont see the facebook block on my vb profile page even though I have enabled it in the facebook controls in usercp

1.8.2 Allow member to display a block contain their recent posts from Facebook

bada_bing 09-24-2009 05:49 PM

Also can someone explain who the fan list works ? where is it grabbing this information from?


All times are GMT. The time now is 04:44 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.01825 seconds
  • Memory Usage 1,849KB
  • 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
  • (27)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