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)

Calash 11-01-2009 06:48 PM

Quote:

Originally Posted by minman40324 (Post 1905656)
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

I am now getting this error as well. REPAIR does nothing to help it. phpMyAdmin is also showing the error...nothing is correcting it.

filt 11-01-2009 09:29 PM

I tried this on my Swedish board... i get some errors in the facebook feed with the swedish swedish characters...

Quote:

IJ det n姯n annan 䮠jag som 嫥r ner med Turkish Airlines fr宠Stockholm till Mumbai den 16 november?
It should be:

Quote:

?r det n?gon annan ?n jag som ?ker ner med Turkish Airlines fr?n Stockholm till Mumbai den 16 november?
My board runs on charset ISO-8859-1

Also, i cant seem to find all the templates.. id love to help you translate the application to Swedish...

mrpaint 11-02-2009 02:31 AM

Quote:

Originally Posted by Calash (Post 1909095)
I am now getting this error as well. REPAIR does nothing to help it. phpMyAdmin is also showing the error...nothing is correcting it.

You got PM :D

Quote:

Originally Posted by filt (Post 1909140)
I tried this on my Swedish board... i get some errors in the facebook feed with the swedish swedish characters...



It should be:



My board runs on charset ISO-8859-1

Also, i cant seem to find all the templates.. id love to help you translate the application to Swedish...

Hi,

I'm experimenting character encoding from diffrent charset to UTF-8 (which works best with Facebook) and I will update to you soon.
About the templates and phrases, as I remember now, everything text is phrases, you can do a search in your Phrase Manager (in AdminCP). Thank you :D

filt 11-02-2009 07:09 AM

Couldnt you just utf8-encode the strings you send and recieve to/from facebook?
http://php.net/manual/en/function.utf8-encode.php

RadioErewan 11-02-2009 07:15 AM

Quote:

Originally Posted by filt (Post 1909287)
Couldnt you just utf8-encode the strings you send and recieve to/from facebook?
http://php.net/manual/en/function.utf8-encode.php

iconv works for me, just tested it on hook_threadratedata_postsave.php
Added $message = iconv('ISO-8859-2','UTF-8',$message); in line 51 and
$notification = iconv('ISO-8859-2','UTF-8',$notification); in 80.
Now rating is properly rendered. Remember, my forum runs ISO-8859-2.
There are 32 hooks only, so doing it on my own every release is not wise solution.
Will wait for author feedback.

Regards

mrpaint 11-02-2009 09:22 AM

Quote:

Originally Posted by filt (Post 1909287)
Couldnt you just utf8-encode the strings you send and recieve to/from facebook?
http://php.net/manual/en/function.utf8-encode.php

This function can only convert string from ISO-8859-1, I intended to use mbstring library or iconv

Quote:

Originally Posted by RadioErewan (Post 1909290)
iconv works for me, just tested it on hook_threadratedata_postsave.php
Added $message = iconv('ISO-8859-2','UTF-8',$message); in line 51 and
$notification = iconv('ISO-8859-2','UTF-8',$notification); in 80.
Now rating is properly rendered. Remember, my forum runs ISO-8859-2.
There are 32 hooks only, so doing it on my own every release is not wise solution.
Will wait for author feedback.

Regards

Hi,

If you are a coder and open fbb/functions.php you will find out a function named "fb_encoding_to_Facebook" I intended to use to convert encoding. Hmm, but it give the wrong result so for most of the functions, I commented out the encoding part. But as you confirmed that iconv works, I will provide you with a new functions.php soon. You test it and tell me the result, okie?

Regards,

PS: Yeah, 42 hooks with manual editing is definitely not a wise way to do this :D Let the developer (me, haha) do his work!

RadioErewan 11-02-2009 10:11 AM

Quote:

Originally Posted by mrpaint (Post 1909325)
If you are a coder and open fbb/functions.php you will find out a function named "fb_encoding_to_Facebook" I intended to use to convert encoding. Hmm, but it give the wrong result so for most of the functions, I commented out the encoding part. But as you confirmed that iconv works, I will provide you with a new functions.php soon. You test it and tell me the result, okie?

Okie :-) Just uncommented three calls to fb_encoding_to_Facebook (replaced mbconvert with iconv), and nothing changed. Still titles are truncated at first polilsh diacritic mark in shorts sent to wall.

Regards

mrpaint 11-02-2009 10:22 AM

Quote:

Originally Posted by RadioErewan (Post 1909341)
Okie :-) Just uncommented three calls to fb_encoding_to_Facebook (replaced mbconvert with iconv), and nothing changed. Still titles are truncated at first polilsh diacritic mark in shorts sent to wall.

Regards

Oh oh, I sent you a PM. Did you read it? The new functions.php script is sent

dfc005 11-02-2009 07:20 PM

What about automatically bringing across some Facebook details? I like to collect users first and last names but don't really want these on the register page. Would you be able to set something up in the admin section so we can link some details from Facebook to specific profile fields.

tldagent 11-03-2009 11:22 AM

Haven't installed this yet as I was trying your demo board listed in the first post and I like the looks of it so far but I'm running into one issue. I enter my username, password and email to register and I keep getting this error on your demo board:

Quote:

You must enter at least 5 characters for the intro.
I can't get past this point to see if how it works with facebook and to adjust user settings.


All times are GMT. The time now is 12:40 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.01725 seconds
  • Memory Usage 1,750KB
  • 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
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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