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)

Mark.B 04-09-2010 05:14 PM

Quote:

Originally Posted by kall (Post 2018451)
In the 3.8 and 4.x versions I am looking at, the footer code is executed at global_complete.

Further, I'm unable to find reference to process_thread_complete in the .xml or the few php files in /fbb I have tried. Where are you seeing it?

My apologies, I meant process_template_complete. That's the one that's required, but is missing.

kall 04-09-2010 06:30 PM

Quote:

Originally Posted by Mark.B (Post 2018463)
My apologies, I meant process_template_complete. That's the one that's required, but is missing.

Damn you Mark.B!!! *shakes fist at wasted time searching* :)

AND! You mean process_templates_complete! :p

Anyway, it's weird. It works for me.. I think.

robdawg 04-09-2010 07:31 PM

kall, that forum you linked does not work.

When I click on the Facebook link at the top, I get a JS error and it goes to the facebook.php page with no Facebook Connect button.

I have it "working". I disabled the process_templates_complete plugin hook and added the following code to the common footer template at the bottom:

Code:

<script type="text/javascript" src="http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php/en_US"></script>
<script type="text/javascript">FB.init("YOUR_API_KEY_HERE");</script>

The reason I had to working on some of my forums is because I have a fan page badge on the page. So sites without the fan page badge would throw the JS error. The above is work around until we can use another hook to output the above JS.

hiker 04-09-2010 07:41 PM

So now that Vbulletin.com has released version 4.0.3 which has the Facebook Connect:
http://www.vbulletin.com/forum/entry...cebook-Connect

What are some of the functionality differences with this mod?
By the way, I just installed your mod last night on my dev forum and it worked great, but then vb released this version so I'm deciding which way to go.

TPTP 04-09-2010 08:57 PM

Quote:

Originally Posted by kall (Post 2018385)
I'd say - read the entire thread. There have been people having issues with it forever.. because they didn't read the instructions, or had customized styles from long ago that missed the important hooks.

On the other hand, there are MANY people (like me) who have had very few issues whatsoever, and love this mod utterly.

I'd say - do likewise. I stated very clearly that I had read the entire thread. The issues that I'm seeing with the latest release are very real, obviously. No, I would not have recommended that anyone install the latest version on a 3.x site, since obviously it wasn't working.

I'm off to try robdawg's workaround.

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

Quote:

Originally Posted by kall (Post 2018496)
Damn you Mark.B!!! *shakes fist at wasted time searching* :)

AND! You mean process_templates_complete! :p

Anyway, it's weird. It works for me.. I think.

Soz. I'm a bit rubbish. Don't ever hire me as a coder!

TPTP 04-09-2010 09:11 PM

Robdawg's workaround seems to be working on the one site that I've tried. Thanks!

robdawg 04-09-2010 09:12 PM

Adding this feature into 4.0.3 will effectively kill this plugin and all others like it except for 3.8 users. However, with it integrated into 4.0, I will be giving some SERIOUS thought to upgrade to 4.0 as soon as I feel it is stable.

TPTP 04-09-2010 09:23 PM

That's sort of where I'm at. One of my sites would be an easy upgrade. The other? Not so much.

fernas 04-09-2010 10:06 PM

Hi, I have installed this hack and followed all the steps succesfully, but I can't see the "Connect with Facebook" in user panel, I just can see:

"You haven't established connection to any Facebook Account. Please click the "Connect with Facebook" button and grant Facebook's permission. After seeing your name and avatar, please click "Guardar Cambios" to complete the connecting procedure... "

And the button doesn't appear. Hope you can help me. Thanks.

EDIT: I'm using VB 3.8.x


All times are GMT. The time now is 12:29 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.02157 seconds
  • Memory Usage 1,746KB
  • 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
  • (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