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)

accludetuner 10-15-2009 09:23 PM

Just installed and I'm playing around with it. Getting this error:

Fatal error: Cannot redeclare class Facebook in /path/to/forum/fbb/fbplatform/facebook.php on line 37

It happens right after you connect your forum profile to facebook. It shows my name and avatar on facebook and even says "Congratulation, /name/.
Connection to Facebook has been established!".

When you click "Save Changes" after that is when the error is happening. it's at this URL:

http://www.sitename.com/forum/profile.php?do=fbb


I don't have any other facebook mods so I don't know. I'll keep looking into it on my side but if you have any ideas it would sure help!

Looks like an awesome mod! Can't wait to get it working and try it out! Thanks

matthewhotdude 10-15-2009 09:31 PM

Did you upload everything to the correct place?

Oh you don't have open invitor installed or anything like that?

accludetuner 10-15-2009 09:37 PM

yeah, open invitor....will look into the conflict. I might just rename the class facebook within open invitor

matthewhotdude 10-15-2009 09:43 PM

Yea that's the conflict. I could never get open inviter to work at all

accludetuner 10-15-2009 09:48 PM

It works great for me. I did have some install issues but once those were worked out, no issues at all.

Now, to get the two to play nicely together.... this should be fun. :(

matthewhotdude 10-15-2009 09:55 PM

I just ended up deleting the facebook class on Open invitor

accludetuner 10-15-2009 10:06 PM

I got it!

I altered YAFB instead.

I renamed "Facebook" to "Facebook1" in these 3 files:

fbb/fbplatform/facebook.php - on line 37
fbb/functions.php - on line 82
fbb/fbplatform/facebookapi_php5_restlib.php - on lines 78 and 3052

matthewhotdude - it's been almost a year since openinvitor got installed so I don't remember exactly what the issue was, but if you want me send you the files I have for it I can do that. Send me a PM if you want them.

mrpaint 10-16-2009 01:35 AM

Hi mates,

I have just released the new version (2.1) with most of improvements are placed in AdminCP. Besides, the sharing ability is increased with meta tags support for Facebook's servers' requests. I hope you guys like it

For those who installed 2.0.2: just download the upgrade file, it's smaller and take less time to upload to your server ;)

A special note: If you use the share button in posts, make sure to place an image named "share_facebook.gif" in button directory. If you don't want to use that button, go ahead and disable it in settings page (AdminCP > Facebook Bridge > Edit Settings)

mrpaint 10-16-2009 01:38 AM

Quote:

Originally Posted by accludetuner (Post 1900575)
I got it!

I altered YAFB instead.

I renamed "Facebook" to "Facebook1" in these 3 files:

fbb/fbplatform/facebook.php - on line 37
fbb/functions.php - on line 82
fbb/fbplatform/facebookapi_php5_restlib.php - on lines 78 and 3052

matthewhotdude - it's been almost a year since openinvitor got installed so I don't remember exactly what the issue was, but if you want me send you the files I have for it I can do that. Send me a PM if you want them.

The OpenInviter (http://openinviter.com/) sounds fun. Tell me if I googled the right one then I will check it out. Or I just put a note for others to use :D

Thanks

dazkeirle 10-16-2009 07:52 AM

Is there any way to pre-set all of the options in the Facebook Bridge options section in Cpanel.

Its not obvious to my users that they need to do anything.

Would be great if i could preset, sync avatar, grant permission to publish, permission to access when offline and show options in checkboxes.

Right now they connect but are unaware of any additional features it provides.

Seems to work ok/good though.

For new users it provides a new option, for exisitng who try to login using facebook connect while still logged in via their forum ID it can get messy, would be better if the same facebook.php page auto-checked if login already exists and if so does the bridge automatically without the user having to enter the cpanel.

You may be thinking, hey but you only see the connect if not logged in, well to make it so people even knew the feature exists I've added a facebook connect button to the site which links to the facebook.php page for all to see, that way they know the option is there.

Defo the best connect mod though. If I can set cpanel options as admin for default and also adjust users options then it will be much much better.

Thanks


All times are GMT. The time now is 11:12 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.01428 seconds
  • Memory Usage 1,741KB
  • 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_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