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)

mrpaint 10-25-2009 10:20 AM

Hi mates,

I have just released a minor update (from 2.2 to 2.2.4) with a few improvements in the sharing functionality such as push attachments' thumbnails (only when guest has permission to view thumbnails). Sharing button display more accurate. A little tweak for shared post (you can edit the phrase named "fbb_template_shared_title" to change the title of the shared post). If you are interested in these improvements, grab the upgrade file from the first post and upload overwrite/re-import to your board.

Regards,

minman40324 10-25-2009 01:01 PM

Quote:

Originally Posted by mrpaint (Post 1905801)
Were you checking or reparing table? According to REPAIR TABLE document from MySQL, it can fix that corrupted file. If it doesn't work. Tell me


I was repairing the file. It dont matter if i optimize or repair it. It still shows corrupt. :(

bada_bing 10-25-2009 07:22 PM

Help...

Just upgraded to the latest verion 2.4 from 2.2 now when I try and view a post in a restricted Mod area only I get this error..

Fatal error: Call to undefined function fb_getForumRestrictKey() in C:\Domains\mysite.com\wwwroot\forums\includes\clas s_postbit.php(294) : eval()'d code on line 124

minman40324 10-26-2009 01:17 AM

Quote:

Originally Posted by minman40324 (Post 1905884)
I was repairing the file. It dont matter if i optimize or repair it. It still shows corrupt. :(

Any ideas MrPaint? :)

RadioErewan 10-26-2009 02:37 AM

Quote:

Originally Posted by bada_bing (Post 1906075)
Help...

Just upgraded to the latest verion 2.4 from 2.2 now when I try and view a post in a restricted Mod area only I get this error..

Fatal error: Call to undefined function fb_getForumRestrictKey() in C:\Domains\mysite.com\wwwroot\forums\includes\clas s_postbit.php(294) : eval()'d code on line 124

Same here, reverted to 2.2.

Regards

kether1 10-26-2009 03:25 AM

Wonderful mod!!

I installed 2.2 yesterday and it works well in firefox and opera, but the button to connect to facebook doesn't show using internet explorer. Anyone know why that might be?

Thanks,
K

accludetuner 10-26-2009 03:45 AM

I just noticed that the forum permissions do not always get followed. 80% of the time when I make threads/posts in my admin only forum (no other usergroups can see or use the forum) this mod does as it is supposed to do and DOES NOT add it to my facebook page. About 20% of the time, it ignores the permissions and will post my threads/replies in this restricted forum to facebook. Any ideas of what to try?

linuxututs 10-26-2009 10:25 AM

Just upgraded, and now I have blank screen when I go to share.

Reverting back to 2.2.

Thanks For a GREAT Mod to,

Update: Reverted and everything works again.

Tom_M 10-26-2009 01:26 PM

I had the same problem so I also reverted back to 2.2

Tom

forte 10-26-2009 02:52 PM

To fix 2.2.4 (i hope), edit the "Complete Building Post (includes/class_postbit.php)" plugin and add:

PHP Code:

require_once(DIR '/fbb/functions.php'); 

at the beginning.

matthewhotdude 10-26-2009 04:09 PM

The facebook block on the user profiles, has gone! I havent changed anything it has just vanished!

RadioErewan 10-26-2009 05:48 PM

Quote:

Originally Posted by forte (Post 1906435)
To fix 2.2.4 (i hope), edit the "Complete Building Post (includes/class_postbit.php)" plugin and add:

PHP Code:

require_once(DIR '/fbb/functions.php'); 

at the beginning.

It still throws errors on PM.
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in [path]/includes/class_postbit.php(265) : eval()'d code on line 45

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in [path]/includes/class_postbit.php(265) : eval()'d code on line 54

mrpaint 10-26-2009 06:35 PM

Hi friends,

Facebook Team has just announced this new feature today (Share Count, http://developers.facebook.com/news....og=1&story=323) so I made some changes to the code and packed into 2.2.5 (which is a minor update and it fixes the issue with 2.2.4). I'm not a designer so the counter looks weird but it's there and you can make change to the template to make yours.

Regards,

mrpaint 10-26-2009 06:37 PM

Quote:

Originally Posted by matthewhotdude (Post 1906474)
The facebook block on the user profiles, has gone! I havent changed anything it has just vanished!

Go the UserCP > Facebook Bridge > Options again to see if the Add to Profile button appears. So you can add it back. Maybe you removed it by an accident? :D

Quote:

Originally Posted by RadioErewan (Post 1906510)
It still throws errors on PM.
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in [path]/includes/class_postbit.php(265) : eval()'d code on line 45

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in [path]/includes/class_postbit.php(265) : eval()'d code on line 54

Which version of YAFB are you using? Please update the latest version to see if your problem's solved or not. Thank you

linuxututs 10-26-2009 08:21 PM

Thanks a million "mrpaint" for all this hard work,but I'm still getting blank screen when trying to share.
I've checked and rechecked all settings also. It works perfect as far as I'm concerned with 2.2, but with the new updates from FB, I thought it'd be a good idea to upgrade.

I am working on 1,000 forums in My Board, and when I'm through it will be more like 2,000 forums I'll have on my Board.

I really, really, can't afford to be playing with My system like this at all..
( I have no test board )
And if something where to go wrong, you'd see a grown Man cry like a Baby............hahahaha ( for-real )

Going to try to revert one more time.

Thanks again "mrpaint",

accludetuner 10-26-2009 09:22 PM

Quote:

Originally Posted by accludetuner (Post 1906272)
I just noticed that the forum permissions do not always get followed. 80% of the time when I make threads/posts in my admin only forum (no other usergroups can see or use the forum) this mod does as it is supposed to do and DOES NOT add it to my facebook page. About 20% of the time, it ignores the permissions and will post my threads/replies in this restricted forum to facebook. Any ideas of what to try?

Any ideas of what I can look at for this issue?

Veer 10-26-2009 10:16 PM

Updated to the latest version, thanks :)

Previously I was using vB Nexus mod, and then I just uninstalled vB Nexus, removed all files, and installed YAFB. but database tables of vB Nexus mod are still there.

What do you suggest now, should I run Migration Tool to recover old users (just a few) who connected by vB Nexus mod? old facebook app was also deleted, can I still recover old users by using Migration Tool?

Veer 10-26-2009 10:20 PM

Quote:

Originally Posted by mrpaint (Post 1906540)
Hi friends,

Facebook Team has just announced this new feature today (Share Count, http://developers.facebook.com/news....og=1&story=323) so I made some changes to the code and packed into 2.2.5 (which is a minor update and it fixes the issue with 2.2.4). I'm not a designer so the counter looks weird but it's there and you can make change to the template to make yours.

Regards,

That's really good feature :)
How can I make change to the template to make graphical counter?

mrpaint 10-27-2009 12:03 AM

Quote:

Originally Posted by linuxututs (Post 1906601)
Thanks a million "mrpaint" for all this hard work,but I'm still getting blank screen when trying to share.
I've checked and rechecked all settings also. It works perfect as far as I'm concerned with 2.2, but with the new updates from FB, I thought it'd be a good idea to upgrade.

I am working on 1,000 forums in My Board, and when I'm through it will be more like 2,000 forums I'll have on my Board.

I really, really, can't afford to be playing with My system like this at all..
( I have no test board )
And if something where to go wrong, you'd see a grown Man cry like a Baby............hahahaha ( for-real )

Going to try to revert one more time.

Thanks again "mrpaint",

Hi,

Firstly, I'm so sorry that I made you cry that way :( As far as I understand, when you share a post, a new windows will appears, the publisher of Facebook will be populated with post's information. Right? Tell me if I'm wrong but how can the new window be blank? It's generated from Facebook... Hmm

mrpaint 10-27-2009 12:04 AM

Quote:

Originally Posted by accludetuner (Post 1906634)
Any ideas of what I can look at for this issue?

Hi,

It's weird. With this kind of bug, I need to test myself. Can you send me your board URL via PM so I can come by and check? Just a guess, maybe you checked some checkboxes?

mrpaint 10-27-2009 12:06 AM

Quote:

Originally Posted by Veer (Post 1906655)
Updated to the latest version, thanks :)

Previously I was using vB Nexus mod, and then I just uninstalled vB Nexus, removed all files, and installed YAFB. but database tables of vB Nexus mod are still there.

What do you suggest now, should I run Migration Tool to recover old users (just a few) who connected by vB Nexus mod? old facebook app was also deleted, can I still recover old users by using Migration Tool?

Yes, if you keep the old database field, you can use the Migration Tool. But if you uninstalled vB Nexus, I'm afraid that they removed all those fields but it's worth a try ;)

Quote:

Originally Posted by Veer (Post 1906657)
That's really good feature :)
How can I make change to the template to make graphical counter?

You can open the template named "fbb_postbit_controls", you may be interested in the phrase named "fbb_share_statistic_postbit" also :D

Veer 10-27-2009 12:20 AM

Yeah, it worked well :) thanks.

mrpaint 10-27-2009 12:47 AM

Quote:

Originally Posted by Veer (Post 1906698)
Yeah, it worked well :) thanks.

You are welcome :D

Veer 10-27-2009 01:04 AM

One thing I noticed that Notifications can not be sent to the migrated users, I want to inform them about their account recovery, so how can I contact them now? they have just facebook proxy emails.

RadioErewan 10-27-2009 01:23 AM

Now everything works perfect. Kudos.
BTW, Have you got idea, how to handle UTF-ISO8859-2 conversion between FB and my forum?
See: http://www.facebook.com/profile.php?...9009274&ref=nf Olympusclub block on the left...

Mandar Salvi 10-27-2009 07:54 AM

Great addon :) Thank you! Looking forward to use it on vB4.

matthewhotdude 10-27-2009 11:32 AM

Quote:

Go the UserCP > Facebook Bridge > Options again to see if the Add to Profile button appears. So you can add it back. Maybe you removed it by an accident?
Yes it's set to on, but not showing up. I havent made any changes to my site

mrpaint 10-27-2009 12:07 PM

1 Attachment(s)
Quote:

Originally Posted by RadioErewan (Post 1906716)
Now everything works perfect. Kudos.
BTW, Have you got idea, how to handle UTF-ISO8859-2 conversion between FB and my forum?
See: http://www.facebook.com/profile.php?...9009274&ref=nf Olympusclub block on the left...

I can't access your wall but character encoding is the field I really want to test. Can I know which language are you using?

Quote:

Originally Posted by Mandar Salvi (Post 1906788)
Great addon :) Thank you! Looking forward to use it on vB4.

I'm ready to port to vBulletin 4 but no download available yet so... we can just wait :D

Quote:

Originally Posted by Veer (Post 1906710)
One thing I noticed that Notifications can not be sent to the migrated users, I want to inform them about their account recovery, so how can I contact them now? they have just facebook proxy emails.

In theory, you can send notification via AdminCP if the Facebook UserIDs are stored correctly

Quote:

Originally Posted by matthewhotdude (Post 1906817)
Yes it's set to on, but not showing up. I havent made any changes to my site

Did you see this button? (Look in the attachment)

RadioErewan 10-27-2009 12:20 PM

Quote:

Originally Posted by mrpaint (Post 1906831)
I can't access your wall but character encoding is the field I really want to test. Can I know which language are you using?

I am using 8859-2 on Polish language forum. (forum.olympusclub.pl).
Forum is running in 8859-2 codepage, and vBS removed UTF compliance from vB4 feature list :-(
Will help you with this issue if needed.

ps. Removed privacy settings from my profile, now all Facebook users can see block.

Regards

bada_bing 10-27-2009 07:50 PM

mrpaint,

Just wanted to thank you again my friend for a great product and great support. Also the new 2.5 version fixed both issues for me.

mrpaint 10-28-2009 04:25 AM

Quote:

Originally Posted by RadioErewan (Post 1906844)
I am using 8859-2 on Polish language forum. (forum.olympusclub.pl).
Forum is running in 8859-2 codepage, and vBS removed UTF compliance from vB4 feature list :-(
Will help you with this issue if needed.

ps. Removed privacy settings from my profile, now all Facebook users can see block.

Regards

You got PM :D

Quote:

Originally Posted by bada_bing (Post 1907096)
mrpaint,

Just wanted to thank you again my friend for a great product and great support. Also the new 2.5 version fixed both issues for me.

You are welcome mate

mrpaint 10-28-2009 07:10 AM

FYI, for the first time, YAFB got the same votes as Week / Month Topic Nominations in the MOTM for October 2009 nomination :D Thank you all guys for all your votes :D

Veer 10-28-2009 08:02 AM

Quote:

Originally Posted by mrpaint (Post 1907313)
FYI, for the first time, YAFB got the same votes as Week / Month Topic Nominations in the MOTM for October 2009 nomination :D Thank you all guys for all your votes :D

Great, but I'm not happy with the result, because YAFB is the best Facebook hack ever with quick install, awesome features and great support, So I expect more Installs and more Votes. Good luck mate :)

Veer 10-28-2009 08:08 AM

Do you have any solution for the database tables size, I think the tables are going too heavy..

vb_fbb_links = 5.0 MiB
vb_fbb_log = 7.5 MiB

mrpaint 10-28-2009 08:14 PM

Quote:

Originally Posted by Veer (Post 1907321)
Do you have any solution for the database tables size, I think the tables are going too heavy..

vb_fbb_links = 5.0 MiB
vb_fbb_log = 7.5 MiB

The links table will slow down it's growing rate soon because old records will be updated instead of inserting. And the logs, only needed information is stored but if your board has a lot of actions, it can grow fast. I think I will add a truncate function, right?

Anyway, I want to let you know that Facebook Team decided to change their policy with application to prevent spam (from games like +++++ Wars and kind of Farms) so... I think we will have some problem in communicating with our users in Facebook soon. As I heard, the notification system will be altered. No official document but you can read the news here: http://www.techcrunch.com/2009/10/28...app-developers
I will update the product after I have enough information (and ideas also). Cheers

jmpa 10-28-2009 08:30 PM

Quote:

Originally Posted by mrpaint (Post 1907313)
FYI, for the first time, YAFB got the same votes as Week / Month Topic Nominations in the MOTM for October 2009 nomination :D Thank you all guys for all your votes :D

I voted for you yesterday! It was my vote! I noticed the tie also! ;)

OrangeStu 10-28-2009 09:56 PM

Under the login box I have the https://vborg.vbsupport.ru/ that won't go away.

Also it has overwritten my login button - starkvilleforums.com

Please help :)

Edit: Swapped to another bridge until fixed, but really want to use this Yay! bridge :)

gufgar 10-28-2009 11:53 PM

I am currently using fb connect user and I like how I can set it up so the only thing fb connect does is user login and 1 news feed when the user is registering to my site.

I don't want my user to post some stuff on my forum and automatically publish it on their facebook wall. Basically I want YAFB to only handle the login process. Is that possible with yafb? I've been reading the last 30 pages of the discussion but I can't really get the answer.

Any known migrating issue problem from fb connect to yafb?
After the migration, the user won't notice a thing right?

Thanks!

gufgar 10-29-2009 04:54 AM

Okay I just installed the plugin into my forum.
The biggest drawback is having a facebook link on the contact info of the profile page.
How do I remove that?

Also what happen if a user register through facebook and then click the option to disconnect from facebook and then log out from the forum?
It seems that the user won't be able to login again.

I also want to know the code for the "Connect with Facebook" button.
I'd like to put it somewhere else.

Thanks for the plugin mrpaint

gufgar 10-29-2009 04:56 AM

Quote:

Originally Posted by OrangeStu (Post 1907581)
Under the login box I have the https://vborg.vbsupport.ru/ that won't go away.

Also it has overwritten my login button - starkvilleforums.com

Please help :)

Edit: Swapped to another bridge until fixed, but really want to use this Yay! bridge :)

it's from the old installation of fb connect.
Find the code on your header / navbar template, I can't remember which one.


All times are GMT. The time now is 05:55 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.01816 seconds
  • Memory Usage 1,856KB
  • 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
  • (2)bbcode_php_printable
  • (25)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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