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)

sNator 03-30-2010 12:03 PM

When I click on http://www.surfzone.se/forum/profile.php?do=fbb_pages to enable publish to page account I get this error

Database error in vBulletin 3.8.2:

Invalid SQL:

UPDATE `forum`
SET fbtarget_id_permission_granted = '106985142665342'
WHERE fbtarget_id = '106985142665342';

MySQL Error : Table 'forum1-latin.forum' doesn't exist
Error Number : 1146
Request Date : Tuesday, March 30th 2010 @ 02:54:52 PM
Error Date : Tuesday, March 30th 2010 @ 02:54:52 PM
Script : http://www.some.com/forum/profile.ph...publish_stream
Referrer : http://www.some.com/forum/profile.php?do=fbb_pages
IP Address : 1.1.1.1
Username : ?????
Classname : vB_Database
MySQL Version : 5.0.67-0ubuntu6.1-log

Missing table prefix in some code?

Found it in hook_profile_start.php
$vbulletin->db->query_write("
UPDATE `forum`
SET fbtarget_id_permission_granted = '$tmp'
WHERE fbtarget_id = '$pageid'
");

The table prefix is missing. I hardcoded my prefix and now it works fine.

NickyNet 03-30-2010 12:52 PM

1 Attachment(s)
hi,

everything is working fine for me...

except... after loging in the "redirect screen" is as i would use RTL..
even i use LTR

see screen.

thank you in advance

VB version: 4.0.2

mrpaint 03-30-2010 02:35 PM

Quote:

Originally Posted by grc (Post 2012284)
I'm sure this is answered somewhere but I can't even think of how to ask in a search...

Right now, I can post on my profile page in vBulletin and have that post appear on my Facebook wall. Now I'd like to have items I post to my Facebook wall appear on my vBulletin page.

Is that possible? How?

Thanks in advance for any helpful replies.

Currently YAFB only support getting comments from Facebook and posting them as guest post in Forums

Quote:

Originally Posted by sNator (Post 2012820)
When I click on http://www.surfzone.se/forum/profile.php?do=fbb_pages to enable publish to page account I get this error

Database error in vBulletin 3.8.2:

Invalid SQL:

UPDATE `forum`
SET fbtarget_id_permission_granted = '106985142665342'
WHERE fbtarget_id = '106985142665342';

MySQL Error : Table 'forum1-latin.forum' doesn't exist
Error Number : 1146
Request Date : Tuesday, March 30th 2010 @ 02:54:52 PM
Error Date : Tuesday, March 30th 2010 @ 02:54:52 PM
Script : http://www.some.com/forum/profile.ph...publish_stream
Referrer : http://www.some.com/forum/profile.php?do=fbb_pages
IP Address : 1.1.1.1
Username : ?????
Classname : vB_Database
MySQL Version : 5.0.67-0ubuntu6.1-log

Missing table prefix in some code?

Found it in hook_profile_start.php
$vbulletin->db->query_write("
UPDATE `forum`
SET fbtarget_id_permission_granted = '$tmp'
WHERE fbtarget_id = '$pageid'
");

The table prefix is missing. I hardcoded my prefix and now it works fine.

Yeah. It's weird to have a table prefix missing there!

Quote:

Originally Posted by NickyNet (Post 2012845)
hi,

everything is working fine for me...

except... after loging in the "redirect screen" is as i would use RTL..
even i use LTR

see screen.

thank you in advance

VB version: 4.0.2

Can any body confirm this right-to-left alignment issue since it's really weird

gurler 03-30-2010 03:14 PM

1 Attachment(s)
Quote:

Originally Posted by mrpaint (Post 2012895)
Can any body confirm this right-to-left alignment issue since it's really weird

i confirm that my forum effected too.

mrpaint 03-30-2010 05:12 PM

Updated new version 3.2.4
Mostly to fix the weird right-to-left issue

outasite 03-30-2010 05:55 PM

I am brand new to VB and my knowledge is growing, but it's still remedial at best. I know nothing of code, programming etc.

Should I even attempt to try and upload this myself.

I think it's a great addition and would be really valuable to my forums.

I'm running 3.8.1 right now.

Thanks

NickyNet 03-30-2010 06:05 PM

Quote:

Originally Posted by mrpaint (Post 2012970)
Updated new version 3.2.4
Mostly to fix the weird right-to-left issue

hi,

RTL <> LTR solved!
thank you for quick update!

LifesGreatestGift 03-30-2010 06:08 PM

Code:


Warning: require([path]/fbb/hook_init_startup.php) [function.require]: failed to open stream: No such file or directory in [path]/includes/init.php(331) : eval()'d code on line 369

Fatal error: require() [function.require]: Failed opening required '/home/jesse123/public_html/thewindows7site.com/forum/fbb/hook_init_startup.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/jesse123/public_html/thewindows7site.com/forum/includes/init.php(331) : eval()'d code on line 369

My forum is crippled :(

mediax 03-30-2010 07:19 PM

working great !

mrpaint 03-30-2010 07:23 PM

Quote:

Originally Posted by outasite (Post 2012989)
I am brand new to VB and my knowledge is growing, but it's still remedial at best. I know nothing of code, programming etc.

Should I even attempt to try and upload this myself.

I think it's a great addition and would be really valuable to my forums.

I'm running 3.8.1 right now.

Thanks

Installation is pretty straightforward and easy. If you run into any problem you can ask here

Quote:

Originally Posted by TheWindows7Site (Post 2013003)
Code:


Warning: require([path]/fbb/hook_init_startup.php) [function.require]: failed to open stream: No such file or directory in [path]/includes/init.php(331) : eval()'d code on line 369

Fatal error: require() [function.require]: Failed opening required '/home/jesse123/public_html/thewindows7site.com/forum/fbb/hook_init_startup.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/jesse123/public_html/thewindows7site.com/forum/includes/init.php(331) : eval()'d code on line 369

My forum is crippled :(

Please make sure you upload all the files/directories inside upload


All times are GMT. The time now is 07:46 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.01964 seconds
  • Memory Usage 1,757KB
  • 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_code_printable
  • (7)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