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)

linuxututs 10-13-2009 03:28 AM

Thanks, I installed this last night, and found NO problems what-so-ever.
But see you updated it, so I overwrote the files and overwrote the product to.
( I hope I done right there )
There wasn't any upgrade instruction included.
All my settings are still there also after upgrade.

Thanks for an amazing Mod/Product,

mrpaint 10-13-2009 03:32 AM

Quote:

Originally Posted by linuxututs (Post 1898944)
Thanks, I installed this last night, and found NO problems what-so-ever.
But see you updated it, so I overwrote the files and overwrote the product to.
( I hope I done right there )
There wasn't any upgrade instruction included.
All my settings are still there also after upgrade.

Thanks for an amazing Mod/Product,

Just a minor update to the notification sending system (you can see the change log). And yes, you have done it right. I think I should put the UPGRADE section in the readme file :D

Glad that you like it ;)

Veer 10-13-2009 08:25 AM

Quote:

Originally Posted by mrpaint (Post 1898945)
Just a minor update to the notification sending system (you can see the change log). And yes, you have done it right. I think I should put the UPGRADE section in the readme file :D

Glad that you like it ;)

Yes, upgrade info section will be good, also include the file names that have been changed since last version, because if you don't tell us we don't know what files have been changed and its very hard to upload all files on every miner or major update.

thank you very much for quick fixes and updates.

bada_bing 10-13-2009 03:24 PM

mrpaint

I wanted to thank you for this great plugin as its one of its kind and really sweet.

I noticed that in the last release you included the ability to not allow the facebook posting feature in hidden forums or area that non-registered members can access. This is great but I was hoping that this was a bit more flexible for example I may have forums that are not accessible from the general members but available for premium members where I want then to use the facebook posting feature. I thing to make this happen you will have to be able to allow the ability to include/exclude forums ID's to be more exact....

Calash 10-13-2009 06:11 PM

Love what you have done with the mod so far. Great job.

I may have to see about migrating over at some point. Hate to lose the Google Connect feature of vBnexus but you have a ton of interesting functions :)

matthewhotdude 10-13-2009 06:26 PM

1 Attachment(s)
How do I edit the Navbar so it doesnt have the black border around "connect with Facebook"

Also if someone is already registered on my site, how do they link there facebook account?

And nothing is appearing on peoples Facebook walls

Screenshot

Matt Lathrop 10-13-2009 10:21 PM

Any word about compadability with vb 4?

InTeNsE-HuMoR 10-13-2009 11:09 PM

Quote:

Parse error: syntax error, unexpected '{' in /forums/fbb/functions.php on line 93
Help, anyone? :confused:

mrpaint 10-14-2009 12:21 AM

Quote:

Originally Posted by InTeNsE-HuMoR (Post 1899382)
Help, anyone? :confused:

Ask your hosting provider to give you PHP5 please. This product requires PHP5 to work

@Others: I will reply to you all soon :P

devilsown 10-14-2009 01:44 AM

anytime i click on a link to connect to facebook i get this

The page you requested was not found.

mrpaint 10-14-2009 04:22 AM

Quote:

Originally Posted by bada_bing (Post 1899146)
mrpaint

I wanted to thank you for this great plugin as its one of its kind and really sweet.

I noticed that in the last release you included the ability to not allow the facebook posting feature in hidden forums or area that non-registered members can access. This is great but I was hoping that this was a bit more flexible for example I may have forums that are not accessible from the general members but available for premium members where I want then to use the facebook posting feature. I thing to make this happen you will have to be able to allow the ability to include/exclude forums ID's to be more exact....

I will add a override option for each forum in the next release

Quote:

Originally Posted by Calash (Post 1899210)
Love what you have done with the mod so far. Great job.

I may have to see about migrating over at some point. Hate to lose the Google Connect feature of vBnexus but you have a ton of interesting functions :)

Hmm, look like I should start building migration tool to help people using this product. Hehe

Quote:

Originally Posted by matthewhotdude (Post 1899221)
How do I edit the Navbar so it doesnt have the black border around "connect with Facebook"

Also if someone is already registered on my site, how do they link there facebook account?

And nothing is appearing on peoples Facebook walls

Screenshot

Open the Style Manager and edit template named "fbb_navbar_button"
If someone registered in vBulletin system, they can connect their Facebook accounts in UserCP > Facebook Bridge > Options

Quote:

Originally Posted by Matt Lathrop (Post 1899346)
Any word about compadability with vb 4?

Not yet but soon. I'm very excited with vBulletin 4.0 right now :D Can't wait to test it out

Quote:

Originally Posted by devilsown (Post 1899482)
anytime i click on a link to connect to facebook i get this

The page you requested was not found.

Please make sure you upload the file named "facebook.php" to your forum root

matthewhotdude 10-14-2009 10:17 AM

Quote:

Open the Style Manager and edit template named "fbb_navbar_button"
If someone registered in vBulletin system, they can connect their Facebook accounts in UserCP > Facebook Bridge > Options


That option is not in the Usercp :(

Oh and also my other question I posted? about things not getting posted onto Facebook?? Did you see the screenshot?

Calash 10-14-2009 12:59 PM

Quote:

Hmm, look like I should start building migration tool to help people using this product. Hehe
I know going from Facebook Connect to vBnexus was fairly easy. It just requires a query to migrate the Fbid -> vbid table, then a second to create the settings.

Going from vBnexus to here should not be that difficult. The key will be to filter out the Google Connect information.

Ill take a look at it on my test site and see what would need to be done.


Edit:

This query gets the info from vBnexus to your fields in the user table. Facebook users still have to reconnect so the default settings on Facebook side work but it is pretty painless. Still testing, but feel free to use the code if it will help.

Code:

UPDATE vb_users as a, vb_vbnexus_nonvbuser as b
SET a.fbuid = b.nonvbid
WHERE b.type=1 AND a.userid = b.userid

vb_ should be replaced with your table prefix. I tested this on my test site, linking to a new FB application and it worked.

A similar query should work for migrating from Facebook Connect

Code:

UPDATE vb_users as a, vb_fbuser as b
SET a.fbuid = b.fbuid
WHERE b.type=1 AND a.userid = b.userid

This block is untested but should work.



On a side note, this seems to have some issues with scripts outside of the vb forum path. The Navbar link should probably have the bburl variable in it to correct the problem.


Double Edit:


The fbb_navbar_button template is to blame for this. By adding the bburl variable to the facebook.php path it now works outside of the vBulletin directory.


Code:

            <td id="navbar_fbb" class="vbmenu_control">
                <a id="navbar_fbb_link" href="$vboptions[bburl]/facebook.php" rel="nofollow">
                    <img src="$vboptions[bburl]/fbb/facebook_logo_16x16.gif" width="16" height="16" border="0"/>
                    $vbphrase[fbb_navbar_button_text]
                </a>
            </td>



Sorry if I went overboard there. When I get on a roll it is hard to stop me sometimes ;)

mrpaint 10-14-2009 04:40 PM

@Calash: You did a great thing up there. Thank you, I will include your script and your name in the next release. Is it okie? :D

mrpaint 10-14-2009 04:43 PM

Quote:

Originally Posted by matthewhotdude (Post 1899600)
That option is not in the Usercp :(

Oh and also my other question I posted? about things not getting posted onto Facebook?? Did you see the screenshot?

Please make sure you put the API Key and Secret in the Options page (AdminCP > Facebook Bridge > Edit Settings).

I looked at your screenshot, it showed that the user was connected but he/she didn't grant any extend permissions (this can prevent post being published in the future)

matthewhotdude 10-14-2009 05:15 PM

Yes I have inputted the API key and the secret, nothing still shows up in the usercp

mrpaint 10-14-2009 05:37 PM

Quote:

Originally Posted by matthewhotdude (Post 1899815)
Yes I have inputted the API key and the secret, nothing still shows up in the usercp

Please take screenshots of your settings page (in AdminCP) and your UserCP page (especially the left column). I will try to figure out what's wrong

Calash 10-14-2009 05:40 PM

<a href="http://www.chattaboxforums.com/profile.php?do=fbb" target="_blank">http://www.chattaboxforums.com/profile.php?do=fbb</a>

If I was to guess, I would say your skin is missing the template hook in the Usercp. For kicks I signed up on your site and, by putting the path above in by hand, was able to set my permissions correctly.

matthewhotdude 10-14-2009 05:44 PM

So how do I solve it ?

Calash 10-14-2009 05:48 PM

Check your USERCP_SHELL template and make sure it has the $template_hook["usercp_navbar_bottom"] hook in it.

matthewhotdude 10-14-2009 05:50 PM

Oop sorry yes it's there $template_hook[usercp_navbar_bottom]

Calash 10-14-2009 05:53 PM

Here is the code from my USERCP_SHELL

Code:

</tbody>
$template_hook[usercp_navbar_bottom]
</table>
<!-- / usercp nav -->

Do a search for the <!-- / usercp nav --> part, then put the hook in before the </table> above it. This should put it at the correct point.

matthewhotdude 10-14-2009 05:56 PM

Sorry it was already there, I missed it before because I searced with the " in place

mrpaint 10-14-2009 05:57 PM

I have just visit your site and connected successfully. Yeah, it looks like your template is missing the hook part. Make sure you look at the active style, not the default one.

I also published a test feed using this link: http://www.chattaboxforums.com/profi...publish_stream

Okie, try to figure the template part and I think it's done

matthewhotdude 10-14-2009 06:00 PM

The hook is there, for the active style

Code:

</tbody>
$template_hook[usercp_navbar_bottom]
</table>
<!-- / usercp nav -->


bada_bing 10-14-2009 06:14 PM

My users have come across a bug..

My Facebook has started posting a generic "I have just sent you a Private Message in My Site Page" every time I pm someone here.

I have the pms turned off in my options, and have even tried disabling facebook integration altogether and resetting everything a couple times, but it still does it.
settings are:

Sending private message
* Post wallpost - Sleeping

mrpaint 10-14-2009 06:15 PM

Just a guess, try to temporary disable the plugin that add the menu named "Edit Countdown/Countup". I'm afraid that plugin override the template_hook and wipe off Facebook Bridge menu items

mrpaint 10-14-2009 06:17 PM

Quote:

Originally Posted by bada_bing (Post 1899858)
My users have come across a bug..

My Facebook has started posting a generic "I have just sent you a Private Message in My Site Page" every time I pm someone here.

I have the pms turned off in my options, and have even tried disabling facebook integration altogether and resetting everything a couple times, but it still does it.
settings are:

Sending private message
* Post wallpost - Sleeping

Hmm... The notifications are controlled by the receiver (your member, the receipents), not the sender (you). Ask him/her to turn off the notification options in his/her account and you can try to send PM again. If he/she still receives notifications, I will take a deeper look :D

matthewhotdude 10-14-2009 06:20 PM

Quote:

Originally Posted by mrpaint (Post 1899859)
Just a guess, try to temporary disable the plugin that add the menu named "Edit Countdown/Countup". I'm afraid that plugin override the template_hook and wipe off Facebook Bridge menu items

Damn, so no way of having them both work

mrpaint 10-14-2009 06:22 PM

Quote:

Originally Posted by matthewhotdude (Post 1899868)
Damn, so no way of having them both work

Did you try disable that plugin?
If it's the one that cause the problem, we can change the priority a little bit and both of them will work. But at first, try disabling it and tell me the result please :D

matthewhotdude 10-14-2009 06:26 PM

Yes I disabled it, and it worked

matthewhotdude 10-14-2009 06:35 PM

Another question, How do I get things to show up on my friends news stream, at the moment things only post to my wall

mrpaint 10-14-2009 06:36 PM

Quote:

Originally Posted by matthewhotdude (Post 1899877)
Yes I disabled it, and it worked

Okie. So you need to increase the priority of the other plugin and let it run before YAFB's plugin. YAFB is designed to work with other plugins ;)

Go to AdminCP > Plugins & Products > Plugin Manager > Look for a hook location named "usercp_nav_complete" of the other plugin then click Edit. Set the Execution Order to any value lower than 5. I suggest 1. Save it and you are done. Cheers!

mrpaint 10-14-2009 06:38 PM

Quote:

Originally Posted by matthewhotdude (Post 1899881)
Another question, How do I get things to show up on my friends news stream, at the moment things only post to my wall

Post get published on your wall can be seen on your friends' News Feed (the feed when you access Facebook > Home). If you asked for publishing to friends' wall, there are several actions that support that kind of publishing such as sending PM. You can try on the demo board if you want: http://daohoangson.com/vb38

matthewhotdude 10-14-2009 06:43 PM

Quote:

Originally Posted by mrpaint (Post 1899884)
Okie. So you need to increase the priority of the other plugin and let it run before YAFB's plugin. YAFB is designed to work with other plugins ;)

Go to AdminCP > Plugins & Products > Plugin Manager > Look for a hook location named "usercp_nav_complete" of the other plugin then click Edit. Set the Execution Order to any value lower than 5. I suggest 1. Save it and you are done. Cheers!

I did that, re enabled it, and now only the facebook bridge shows up in userCP

*Update, sorted it thank you loads

mrpaint 10-14-2009 06:52 PM

Quote:

Originally Posted by matthewhotdude (Post 1899888)
I did that, re enabled it, and now only the facebook bridge shows up in userCP

*Update, sorted it thank you loads

Few, finally it works :D

Hope your members love this product

bada_bing 10-14-2009 06:57 PM

Quote:

Originally Posted by mrpaint (Post 1899863)
Hmm... The notifications are controlled by the receiver (your member, the receipents), not the sender (you). Ask him/her to turn off the notification options in his/her account and you can try to send PM again. If he/she still receives notifications, I will take a deeper look :D


mrpaint,

the user has already tried to diable the PM notification but the are still being posted on facebook

This is what the user has in the facebook options seen below

Sending private message
* Post wallpost - Sleeping

mrpaint 10-14-2009 07:02 PM

1 Attachment(s)
Quote:

Originally Posted by Calash (Post 1899833)
http://www.chattaboxforums.com/profile.php?do=fbb

If I was to guess, I would say your skin is missing the template hook in the Usercp. For kicks I signed up on your site and, by putting the path above in by hand, was able to set my permissions correctly.

Quote:

Originally Posted by matthewhotdude (Post 1899841)
Oop sorry yes it's there $template_hook[usercp_navbar_bottom]

Quote:

Originally Posted by bada_bing (Post 1899896)
mrpaint,

the user has already tried to diable the PM notification but the are still being posted on facebook

This is what the user has in the facebook options seen below

Sending private message
* Post wallpost - Sleeping

Hmm, not that one. You should see the attached image

matthewhotdude 10-14-2009 07:02 PM

Quote:

Originally Posted by mrpaint (Post 1899887)
Post get published on your wall can be seen on your friends' News Feed (the feed when you access Facebook > Home). If you asked for publishing to friends' wall, there are several actions that support that kind of publishing such as sending PM. You can try on the demo board if you want: http://daohoangson.com/vb38

No they are deffinatly not being shown on my friends news feeds, they can only be seen on my wall.

mrpaint 10-14-2009 07:14 PM

Quote:

Originally Posted by matthewhotdude (Post 1899902)
No they are deffinatly not being shown on my friends news feeds, they can only be seen on my wall.

Screenshot please?
Are you talking about the one-line posts?


All times are GMT. The time now is 05:04 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.02169 seconds
  • Memory Usage 1,854KB
  • 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
  • (26)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