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)

BBR-APBT 02-04-2010 05:09 AM

Quote:

Originally Posted by bunkin (Post 1974432)
hi, i have followed the avatar fix and fixed the blank page issue.

However, when i select the button to sync avatar from fb, it shows a message "Upload failed due to failure writing temporary file". Am i suppose to input the url? or did i forget to set permission somewhere. any advice is appreciated. thanks

side note: yes i have enabled synchronize avatar under option tab.

Is your tmp directory writable?

bunkin 02-04-2010 05:33 AM

i have set 777 on customavatar folder and images/avatar folder. which tmp dir are u referring to?

ps: changed the privacy settings in my fb account as well.

Nadeemjp 02-04-2010 08:10 AM

Quote:

Originally Posted by BBR-APBT (Post 1972899)
Did you try to run the SQL query as you were instructed?
Code:

ALTER TABLE `" . TABLE_PREFIX . "attachment`
        ADD COLUMN `fbbypass` int(11) DEFAULT 0,
        ADD COLUMN `fbpid` varchar(255) DEFAULT '-1'

You would run this from your adminCP -> Maintenance -> Execute SQL Query
http://www.yoursite.com/path/to/admi....php?do=modify
.

hello brother
i ran the querry as told by you and zai bro.
the following is the result i was given:

Code:

An error occurred while attempting to execute your query. The following information was returned.
error number: 1146
error desc: Table "databasename." . TABLE_PREFIX . "attachment' doesn't exist

what should i do next?

Spiritvn 02-04-2010 03:27 PM

installed, gj man.

MickLite7 02-04-2010 04:19 PM

I'm not see the share icon when I have that option checked in the settings.

BBR-APBT 02-04-2010 04:40 PM

Quote:

Originally Posted by Nadeemjp (Post 1974512)
hello brother
i ran the querry as told by you and zai bro.
the following is the result i was given:

Code:

An error occurred while attempting to execute your query. The following information was returned.
error number: 1146
error desc: Table "databasename." . TABLE_PREFIX . "attachment' doesn't exist

what should i do next?

Code:

ALTER TABLE `attachment`
        ADD COLUMN `fbbypass` int(11) DEFAULT 0,
        ADD COLUMN `fbpid` varchar(255) DEFAULT '-1'

Run this SQL query if you do not have a prefix set on on your tables.

BBR-APBT 02-04-2010 04:42 PM

Quote:

Originally Posted by bunkin (Post 1974448)
i have set 777 on customavatar folder and images/avatar folder. which tmp dir are u referring to?

ps: changed the privacy settings in my fb account as well.

The tmp directory for your web server. Contact your webhost and ask them if you have a tmp dir. You may be running in safemode for php.

Contact your host and ask them about that error.


Quote:

Originally Posted by MickLite7 (Post 1974786)
I'm not see the share icon when I have that option checked in the settings.

Do you have a edited postbit template? The share icon shows up bu the report post.

MickLite7 02-04-2010 05:52 PM

Quote:

Originally Posted by BBR-APBT (Post 1974809)
Do you have a edited postbit template? The share icon shows up bu the report post.

yes I had an edited postbit

BBR-APBT 02-04-2010 06:24 PM

Quote:

Originally Posted by MickLite7 (Post 1974844)
yes I had an edited postbit

Does it work on the default style?

putuajun 02-04-2010 07:10 PM

Installed and have this error:

Warning: fopen() [function.fopen]: php_network_getaddresses: getaddrinfo failed: hostname nor servname provided, or not known in [path]/fbb/fbplatform/facebookapi_php5_restlib.php on line 3391

Warning: fopen(http://api.facebook.com/restserver.p...e6606eb5&v=1.0) [function.fopen]: failed to open stream: php_network_getaddresses: getaddrinfo failed: hostname nor servname provided, or not known in [path]/fbb/fbplatform/facebookapi_php5_restlib.php on line 3391

Can somebody help?

Nadeemjp 02-04-2010 09:19 PM

Quote:

Originally Posted by BBR-APBT (Post 1974807)
Code:

ALTER TABLE `attachment`
        ADD COLUMN `fbbypass` int(11) DEFAULT 0,
        ADD COLUMN `fbpid` varchar(255) DEFAULT '-1'

Run this SQL query if you do not have a prefix set on on your tables.

Yes my dear brother, u r a genius
it cured my problem.
thank you so much.
can i ask why this happened? did i do something which i shouldnt do in future?
anyways, i am really grateful to you. you have saved me from a big headache i was suffering for many days now. accept my gratitude please.

thankyou

BBR-APBT 02-04-2010 09:36 PM

Quote:

Originally Posted by Nadeemjp (Post 1974976)
Yes my dear brother, u r a genius
it cured my problem.
thank you so much.
can i ask why this happened? did i do something which i shouldnt do in future?
anyways, i am really grateful to you. you have saved me from a big headache i was suffering for many days now. accept my gratitude please.

thankyou

For some reason it did not run the SQL query on install or upgrade.

You are very welcome.

x YNWA x 02-04-2010 10:24 PM

Hi

Does anyone know how to change the colour of this and / or move the button on threads?

For example a thread:

http://www.247gamers.net/forum/homep...ts.html#post70

The share with facebook button has gone strange, my background goes through it and you cannot see the text. I would like to know how to make it so this does not happen, please help..

Cheers

bunkin 02-05-2010 12:01 PM

thanks for the help. Contacted my host, waitin for a reply. hope it solves the issue.

Zaiaku 02-05-2010 01:34 PM

Quote:

Originally Posted by Rob F (Post 1974279)
I've not installed this on a live site yet, but from playing with it on our test site the only issues I've come across have all been Firefox related (ff & facebook really don't seem to like working together).

It's not all versions of SS only some or settings regaurding javascript. I personally have an issue with it on the 3.0.x series. I dont update from it becuase I have certain plugins that only work with this version. I have a member using 3.5.x and doesn't have any problems what so ever. It may not even be a FF issue but FF gives alot of javascript controls and it may just come down to what those settings are. On the mozilla forums thre's tons of people who have problems with facebook but like BBR there's some that don't.

Rob F 02-05-2010 03:04 PM

Fair enough Zaiaky & BBR - it may not have just been down to FF. But at least when I suspected it was I started trying things with IE instead of just installing the whole lot ;)

Just waiting on this 4.0.2 update (if it ever arrives) before maybe taking this mod over to the live site. :)

Zaiaku 02-05-2010 05:27 PM

Note to everyone

Facebook has done alot of changes to their code in the last few days. So far this doesn't seem to affect the mod in any way but could effect some browsers recently. So far from my members it's only effect ome Chrome users.

FleyerShaver 02-05-2010 05:48 PM

Hello,
I installed your addon at my website http://www.gamux.de/facebook.php , but it doesn't work. The website doesn't show the "Facebook-Connect" button.

Do you have any idea what I did wrong?

Digital Jedi 02-05-2010 07:16 PM

Okay, migration from Facebook Connect seemed to work okay. Didn't encounter anything wiggy. So, were good so far.

As a feature request, I'd like so suggest the option to add Profile Pictures as vB's Profile Pictures in addition to avatars. Makes more sense to me to have it this way, as I don't allow custom avatars on my forum, but I do allow Profile Pics. Thanks.

BBR-APBT 02-05-2010 08:09 PM

Quote:

Originally Posted by FleyerShaver (Post 1975542)
Hello,
I installed your addon at my website http://www.gamux.de/facebook.php , but it doesn't work. The website doesn't show the "Facebook-Connect" button.

Do you have any idea what I did wrong?

Read the thread about why the button is not showing there is several post on this problem.
You have a custom skin and apparently removed a hook that is needed.
On a side note the button does not show for logged in users.

Digital Jedi 02-06-2010 01:14 AM

I also noticed that the area in the User CP that says your Profile Picture should be showing there, doesn't actually appear where it should. Not on my site, or on the author's demo board.

Zaiaku 02-06-2010 02:29 AM

Quote:

Originally Posted by Digital Jedi (Post 1975752)
I also noticed that the area in the User CP that says your Profile Picture should be showing there, doesn't actually appear where it should. Not on my site, or on the author's demo board.

After connecting the accounts it should show. I have seen some problems with this even though the connecting is still good between teh 2 sites. There's 2 reasons for this. Facebook changing code again (they do this constantly) and then sometiems its browser issues since everything facebook is basically ajaxed. As long as you see the same name on facebook you are good. If the picture doesn't show but your name does it's one of the 2 things I mention before atleast 90%+ of the time.

One member using the exact same browser says sometimes it shows and there's time it doesn't. She was using chrome btw.

Digital Jedi 02-06-2010 02:50 AM

Quote:

Originally Posted by Zaiaku (Post 1975784)
After connecting the accounts it should show. I have seen some problems with this even though the connecting is still good between teh 2 sites. There's 2 reasons for this. Facebook changing code again (they do this constantly) and then sometiems its browser issues since everything facebook is basically ajaxed. As long as you see the same name on facebook you are good. If the picture doesn't show but your name does it's one of the 2 things I mention before atleast 90%+ of the time.

One member using the exact same browser says sometimes it shows and there's time it doesn't. She was using chrome btw.

Well, Facebook is literally in the process of doing the navigation menu change, so I'd bet that had something to do with it. (My wife's account has updated, but mine hasn't yet. Hrm.) And yeah, I figured Chrome would be part of the culprit, too. However, everything else seems to be working as expected. I'll report if anything wiggy happens after the full change.

BBR-APBT 02-06-2010 03:47 AM

I have the full change and so far it seems to be working ok. No major issues.

The new facebook homepage seems faster as well.

Zaiaku 02-06-2010 04:10 AM

Yeah I thought it was just me. Only a few members have got the updated facebook and most have not. For a while I thought someone was wrong with my account first. :)

Digital Jedi 02-06-2010 04:14 AM

I like the new interface. I hope the Notifications work better with the mod, and overall really.

singh9211 02-06-2010 02:27 PM

hi there,

thanks for this wonderfull mod. Everything works correctly, but when registration gets complete get following error :

Parse error: syntax error, unexpected T_VARIABLE, expecting ';' in /home/xxxxxxx/public_html/fbb/runbox_hook_register_addmember_complete.php on line 5

Please let me know what should i do to get this error remove.

Zaiaku 02-06-2010 02:36 PM

Quote:

Originally Posted by singh9211 (Post 1976043)
hi there,

thanks for this wonderfull mod. Everything works correctly, but when registration gets complete get following error :

Parse error: syntax error, unexpected T_VARIABLE, expecting ';' in /home/xxxxxxx/public_html/fbb/runbox_hook_register_addmember_complete.php on line 5

Please let me know what should i do to get this error remove.

Yes this error has already been posted about since some people where getting it. You can just disabled 1 of the plugins for it and you'll be find, search through th thread for teh fix.

jiffylb1 02-06-2010 04:01 PM

  1. This product is not compatible with version 4.1.22 of MySQL. (Compatible starting with 5.0)
  2. This product is not compatible with version 4.3.11 of PHP. (Compatible starting with 5.0)

Digital Jedi 02-06-2010 05:00 PM

Quote:

Originally Posted by jiffylb1 (Post 1976096)
  1. This product is not compatible with version 4.1.22 of MySQL. (Compatible starting with 5.0)
  2. This product is not compatible with version 4.3.11 of PHP. (Compatible starting with 5.0)

Have you talked to your host about about upgrading your server?

Zaiaku 02-06-2010 05:11 PM

If you read teh first post you would have seen:
Quote:

Please note: this product requires PHP5

jiffylb1 02-06-2010 05:39 PM

I understand that now and should have read that oh well.
I can migrate the account to a newer system with php/mysql 5.I am on a shared hosting platform so I cannot do any customizing of php/mysql. I will migrate my vbulletin forum blogs etc to the new php5 try it and then if all goes well just delete the other host account shoudl have it all done by tomorrow

Zaiaku 02-06-2010 07:15 PM

Quote:

Originally Posted by jiffylb1 (Post 1976146)
I understand that now and should have read that oh well.
I can migrate the account to a newer system with php/mysql 5.I am on a shared hosting platform so I cannot do any customizing of php/mysql. I will migrate my vbulletin forum blogs etc to the new php5 try it and then if all goes well just delete the other host account shoudl have it all done by tomorrow

Good to know Hopefully everything goes smoothly.

zombietom 02-06-2010 11:02 PM

This works sometimes but it does give DB errors from time to time... I think some of the problems are coming from the Facebook site of things...but i might uninstall this as it does have some issues and last time i tried the upgrade it killed my site.

Thanks

BBR-APBT 02-06-2010 11:42 PM

Quote:

Originally Posted by zombietom (Post 1976330)
This works sometimes but it does give DB errors from time to time... I think some of the problems are coming from the Facebook site of things...but i might uninstall this as it does have some issues and last time i tried the upgrade it killed my site.

Thanks

So what version are you running? The newest version has two major bugs that are easily fixed. You can find the fix's in this thread.

zombietom 02-07-2010 01:15 PM

I had to go back to version 2.2 as when i updated it killed my site and i almost didn't get it back.
I'm running 3.7 board and donot plan on go to 4.0 amytime soon.

Zaiaku 02-07-2010 05:03 PM

Quote:

Originally Posted by zombietom (Post 1976619)
I had to go back to version 2.2 as when i updated it killed my site and i almost didn't get it back.
I'm running 3.7 board and donot plan on go to 4.0 amytime soon.

What errors was you getting or problems you having?

robwoelich 02-07-2010 06:57 PM

A quick note - in YAFB's /fbb/hook_usercp_nav_complete.php, this line of code:

PHP Code:

$template_hook['usercp_navbar_bottom'] = $templater->render(); 

...should be:

PHP Code:

$template_hook['usercp_navbar_bottom'] .= $templater->render(); 

...as otherwise, it can wipe out other modifications' menu options in the User Control Panel menu if they use the same template hook (which most of them do). :)

An alternative fix is to set any plugins which use the usercp_navbar_bottom template hook to execute after YAFB's User CP menu plugin, but that's kind of a bandaid fix.

Zaiaku 02-07-2010 07:36 PM

Are you using an old version? That error isn't present in my files.

hollosch 02-07-2010 08:51 PM

I look forward to the next version and the cool features !!!


All times are GMT. The time now is 12:45 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.02102 seconds
  • Memory Usage 1,846KB
  • 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
  • (5)bbcode_code_printable
  • (2)bbcode_php_printable
  • (19)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