Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
YAFB - Yay! Another Facebook Bridge Details »»
YAFB - Yay! Another Facebook Bridge
Version: 5.0.4b, by mrpaint mrpaint is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Integration with vBulletin - Version: 3.8.7 Rating:
Released: 09-18-2009 Last Update: 09-29-2011 Installs: 232
DB Changes Uses Plugins Auto-Templates
Re-useable Code Additional Files Translations Is in Beta Stage  
No support by the author.

The add-on has been updated to reflect Facebook new policy starting October 1st (read more here). Basically this is a maintenance update for user of this add-on from the past. The add-on now supports vBulletin 3.8.x only. In this new version, there are only the basic features: register and login (some simple sharing too). It keeps old settings so you don't need to re-configure.

How to update (this is important):
1. Disable the add-on in AdminCP
2. Upload files in the package (make sure you disable the add-on before uploading)
3. Import the xml in the package, choose Yes to rewrite.
4. Re-enable the add-on
5. Done

Just remember to disable the add-on before uploading files and you will be okie.

A little note for attachment downloads:
- YAFB v1.4 had been downloaded 36 times before I removed it
- YAFB v1.5: 4 downloads, YAFB v1.5.1: 26 downloads, YAFB v1.6: 29 downloads, YAFB v1.7: 22 downloads, YAFB v1.8: 48 downloads
- YAFB v1.9: 150 downloads
- YAFB v2.0: 31 downloads, YAFB v2.0.1: 10 downloads, YAFB v2.0.2: 49 downloads, YAFB v2.1: 55 downloads; YAFB v2.2: 1210 downloads; YAFB v2.2.5: 661 downloads

Download Now

File Type: zip YAFB 5.0.4b Installation.zip (69.0 KB, 807 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
2 благодарности(ей) от:
dartho, dtv100

Comments
  #392  
Old 10-24-2009, 04:19 PM
bgootz bgootz is offline
 
Join Date: Aug 2009
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mrpaint View Post
vBulletin works well with PHP5 (and from sources that I heard, vBulletin 4 only supports PHP5)
About your error of cut off page, please check the Log Viewer to see if there is anything useful. Thank you
Looking at the error log in my root directory, I get the following memory error:

PHP Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 19456 bytes) in /home/.../public_html/fbb/hook_admin_options_print.php on line 37

Do you know what this means?
Reply With Quote
  #393  
Old 10-24-2009, 04:24 PM
mrpaint's Avatar
mrpaint mrpaint is offline
 
Join Date: Sep 2004
Location: Hanoi Capital
Posts: 630
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bada_bing View Post
MRPAINT

Wanted to say thank you much for such a great mod....I wanted to ask a question as I dont know if this is a bug or not but wanted to see if there is a way to correct this..

Currently I have enabled that Share It feature which shows up in every post, this is good BUT the issue is that the Share It button show not show up in hidden or restricted forums as that feature should follow the same rules as the other posting options that are restricted in those forums..

I also wanted to see how I can get some intergration with vbportal such as having the login with facebook button show up in the login area on my portal.


Thank for the great work
Some guys from previous pages just edit his templates and the button appears. So... member can login when they are viewing the portal page. I think you can do the same way to display the connect button.

Yeah, I will change the code to prevent the share button to be displayed in such cases

Quote:
Originally Posted by Matt Lathrop View Post
I think I found the issue the default values for your tables in the database for a user NOT using FB connect are 0:blank:NULL (for fbuid:fbssk:fboptions) I have for all the users I moved over blank:NULL:0. Any chance that is causing the error? If so could you halp me fix it by giving me a query to fix it (I'm REALLY bad with mysql)
Oh, try this one

Code:
UPDATE `[put_your_table_prefix_here]user`
SET fbuid = '0'
WHERE fbuid = ''
Hope this helps
Reply With Quote
  #394  
Old 10-24-2009, 04:28 PM
mrpaint's Avatar
mrpaint mrpaint is offline
 
Join Date: Sep 2004
Location: Hanoi Capital
Posts: 630
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by minman40324 View Post
Does anyone have any idea what can cause this?

Invalid SQL:

SELECT COUNT(*) AS total
FROM fbb_log AS fbb_log;

MySQL Error : Incorrect information in file: './database_name/fbb_log.frm'
Error Number : 1033
Request Date : Saturday, October 24th 2009 @ 10:31:09 AM
Error Date : Saturday, October 24th 2009 @ 10:31:10 AM
Script : http://www.mydomain.com/admincp/fbb_admin.php?do=log
Referrer : http://www.mydomain.com/admincp/index.php?do=nav
IP Address : My Ip Address
Username : mike
Classname : vB_Database
MySQL Version : 5.0.81-community-log
Hmm, looks like there is something wrong with our log table. please try to repair in via AdminCP > Maintenance > Repair/Optimize Table

Quote:
Originally Posted by bgootz View Post
Looking at the error log in my root directory, I get the following memory error:

PHP Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 19456 bytes) in /home/.../public_html/fbb/hook_admin_options_print.php on line 37

Do you know what this means?
Your server restricted the allowed memory size too much. Ask your hosting provider to increase the value a little bit (My Blue Host shared hosting has this limit set at 32MB).
Reply With Quote
  #395  
Old 10-24-2009, 04:45 PM
bgootz bgootz is offline
 
Join Date: Aug 2009
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do you think that could be causing the problem of not accessing the user cp as well (when using PHP5)? Thanks for the help, I really appreciate it!
Reply With Quote
  #396  
Old 10-24-2009, 04:53 PM
mrpaint's Avatar
mrpaint mrpaint is offline
 
Join Date: Sep 2004
Location: Hanoi Capital
Posts: 630
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bgootz View Post
Do you think that could be causing the problem of not accessing the user cp as well (when using PHP5)? Thanks for the help, I really appreciate it!
Yes, maybe. As you are looking on the log, you can find out if usercp.php got the error too
Reply With Quote
  #397  
Old 10-24-2009, 05:11 PM
bgootz bgootz is offline
 
Join Date: Aug 2009
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mrpaint View Post
Yes, maybe. As you are looking on the log, you can find out if usercp.php got the error too
Nothing referring to usercp.php :/ There are a few others referring to functions_editor.php and class_bitfield_builder.php but I don't know enough of vBulletin to know what these scripts are really doing. Can you venture a guess??
Reply With Quote
  #398  
Old 10-24-2009, 06:00 PM
minman40324 minman40324 is offline
 
Join Date: Sep 2009
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mrpaint View Post
Hmm, looks like there is something wrong with our log table. please try to repair in via AdminCP > Maintenance > Repair/Optimize Table
Ok now i get this error after i run it.
fbb_log Check Error: Incorrect information in file: './mydatabase/fbb_log.frm'
fbb_log Check Error: Corrupt
Reply With Quote
  #399  
Old 10-24-2009, 08:17 PM
Matt Lathrop Matt Lathrop is offline
 
Join Date: Dec 2008
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mrpaint View Post
Some guys from previous pages just edit his templates and the button appears. So... member can login when they are viewing the portal page. I think you can do the same way to display the connect button.

Yeah, I will change the code to prevent the share button to be displayed in such cases



Oh, try this one

Code:
UPDATE `[put_your_table_prefix_here]user`
SET fbuid = '0'
WHERE fbuid = ''
Hope this helps
That solved it!
Reply With Quote
  #400  
Old 10-24-2009, 09:01 PM
minman40324 minman40324 is offline
 
Join Date: Sep 2009
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by minman40324 View Post
Ok now i get this error after i run the table repair.

fbb_log Check Error: Incorrect information in file: './mydatabase/fbb_log.frm'
fbb_log Check Error: Corrupt
Do you have any other ideas on how to fix this?
Reply With Quote
  #401  
Old 10-25-2009, 03:45 AM
mrpaint's Avatar
mrpaint mrpaint is offline
 
Join Date: Sep 2004
Location: Hanoi Capital
Posts: 630
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bgootz View Post
Nothing referring to usercp.php :/ There are a few others referring to functions_editor.php and class_bitfield_builder.php but I don't know enough of vBulletin to know what these scripts are really doing. Can you venture a guess??
File functions_editor is used to render editor (posting thread, replying, sending pm, sending vm,etc). File class_bitfield_builder is used for some AdminCP specific actions which render bitfield values or construct the array.
To solve the problem, just ask your hosting provider to increase the limit for you (to 32MB as I suggested). Or you can open the php.ini and edit it yourself. More information is available on... Google.com

Quote:
Originally Posted by minman40324 View Post
Ok now i get this error after i run it.
fbb_log Check Error: Incorrect information in file: './mydatabase/fbb_log.frm'
fbb_log Check Error: Corrupt
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
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:30 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.10927 seconds
  • Memory Usage 2,357KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (12)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (2)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete