Page 21 of 41

Re: [ALPHA] Facebook For PhpBB

Posted: Thu Jun 23, 2011 6:23 pm
by JiMlondos
JiMlondos wrote:I did this but nothing happened :cry:
the thumbail is wrong!


@keitzy
Yeah give it a couple of days as the facebook crawler can take a bit to get the new info.
If still not working. Then I'll make a cache clear script to use for this exact problem.
But this is indeed a facebook error that still has not been resolved from 6 months ago.
The thumbails is still not working.. :?

Re: [ALPHA] Facebook For PhpBB

Posted: Thu Jun 23, 2011 6:30 pm
by DocSommer
DocSommer wrote:I just did a test installation - so far so good, seems to work fine,

But I didn't figured out how to enable the commentbox for specific forums - I only found a global setting :(
Ohps, already the next problem - I just tried to register via facebook and got this error:

SQL ERROR [ mysql4 ]

Incorrect integer value: 'AVATAR_REMOTE_FB' for column 'user_avatar_type' at row 1 [1366]

Re: [ALPHA] Facebook For PhpBB

Posted: Fri Jun 24, 2011 12:33 pm
by Jokes1979
Is this MOD working properly?

It still says "Please Do Not Use On A Real Forum - Testing Only."

Re: [ALPHA] Facebook For PhpBB

Posted: Fri Jun 24, 2011 2:32 pm
by DocSommer
During further testing I've noticed that Facebook Connect/LogIn doesn't work with Opera (11.01) - if I hit the button there's a blank window showing up and nothing happens. Same issue if I try it at the official demo board. I was suspecting that this might be an opera problem/security setting but I get no error of I try using facebook connect on other forum systems I've googled testwise.

Re: [ALPHA] Facebook For PhpBB

Posted: Fri Jul 01, 2011 9:55 am
by willadaygo
I love this immensely, truly appreciate the hard work that goes into this. However why is the comment section above the comments and not at the bottom? It just looks slightly wrong in my opinion, any reason why?

ta Will

Re: [ALPHA] Facebook For PhpBB

Posted: Sat Jul 02, 2011 3:22 pm
by Jokes1979
I want to test this mod. However, it is not really clear to me what I should do with this:

http://img812.imageshack.us/img812/6605/sql.gif

It says INSERT INTO `phpbb_config` --> where can I find that file?

Re: [ALPHA] Facebook For PhpBB

Posted: Sun Jul 03, 2011 6:13 pm
by Neuropass
how does the wall work? does it get shots from facebook's wall or it is a standalone system?

Re: [ALPHA] Facebook For PhpBB

Posted: Mon Jul 04, 2011 4:09 pm
by DocSommer
The wall is embedded from facebook.
I want to test this mod. However, it is not really clear to me what I should do with this:

http://img812.imageshack.us/img812/6605/sql.gif

It says INSERT INTO `phpbb_config` --> where can I find that file?
The SQL scheme is a command you must perform in your SQL administration utility like phpMyadmin or mysqlDumper (don't forget to backup your database first) - these ttols should have a section where it's possible to run SQL commands for editing the database. Simply copy the entire content of the SQL part and run it (only once!).

Btw. I', testing this mod and it's basicly working except the "get facebook avatar" feature that puts out an error - can anyone confirm this?

Re: [ALPHA] Facebook For PhpBB

Posted: Tue Jul 05, 2011 6:39 pm
by luisdv
Hello, grate MOD, i installed it and everything works fine, except one: i cant see any user avatar, can you help please?

Re: [ALPHA] Facebook For PhpBB

Posted: Tue Jul 05, 2011 7:46 pm
by luisdv
luisdv wrote:Hello, grate MOD, i installed it and everything works fine, except one: i cant see any user avatar, can you help please?
Sorry my mistake.

The facebook MOD is using the image in smal size 50x50 pixels and in my config it was set to 100x100 pixels as minimum. I changed the values and now is fine.

But how it would be possible to retrieve a bigger image avatar from facebook?

Re: [ALPHA] Facebook For PhpBB

Posted: Wed Jul 06, 2011 10:48 am
by Pressplus2011
Hallo!
Plse tell me, where ich hve to inset following code?
http://forums.damienkeitel.com/viewtopic.php?f=6&t=5

Code: Select all

define('YOUR_APP_ID', 'place_copied_app_id_here');

$my_uri = 'PATH/TO/YOUR/LOGIN/SCRIPT';

$fbcookie  = 'fbs_' . YOUR_APP_ID;
    
function fb_init($appid) {
    $fbinit = '<div id="fb-root"></div>' . "\n" . '<script type="text/javascript" language="JavaScript" src="http://connect.facebook.net/en_US/all.js#appId=' . $appid . '&xfbml=1"></script>' . "\n" . '<script type="text/javascript" language="JavaScript">  FB.init({' . "\n" . '    appId  : ' . $appid . ',' . "\n" . '    status : true, // check login status' . "\n" . '    cookie : true, // enable cookies to allow the server to access the session' . "\n" . '    xfbml  : true  // parse XFBML' . "\n" . '  });' . "\n" . '</script>' . "\n";
    return $fbinit;
    }

    if(isset($_COOKIE[$fbcookie])) {

      function fb_login($http_path) {
        $fblogin = '<fb:login-button size="medium" onlogin="top.location.href=\'' . $http_path . '\'">Login With Facebook</fb:login>' . "\n";
      return $fblogin;
      } 
    } else {
      function fb_login($http_path) {
        $fblogin = '<fb:login-button size="medium">Connect With Facebook</fb:login>' . "\n" . '
                    <script>FB.Event.subscribe(\'auth.login\', function(response) {' . "\n" . '
        top.location.href(' . $http_path . '));}</script>';
      return $fblogin;
      }    
    }

//in phpbb we  have template variables. so in phpbb we assign 

$template->assign_vars(array(
'FBINIT' => fb_init(YOUR_APP_ID),
'FBLOGIN => fb_login($my_uri),
));
Or did I anythig overseen?

Thanks for hlp!
Pressplus

Re: [ALPHA] Facebook For PhpBB

Posted: Wed Jul 06, 2011 3:43 pm
by Ghalebi
can anyone give another download link for the mod! I just can't download it from sourceforge :roll:

Re: [ALPHA] Facebook For PhpBB

Posted: Wed Jul 06, 2011 6:37 pm
by xkfrat
Works beautifully in Firefox and Opera. Can't make it work in Chrome though, I get redirected to "/developers/login_error.php"

Just one more thing. I'm trying to embedded the forum into Facebook's apps iframe, the problem is that every time I log in / register through the button I get redirected to my domain. Is there any simple fix for this?

Thank you for this awesome mod

Ghalebi wrote:can anyone give another download link for the mod! I just can't download it from sourceforge :roll:
This mirror is working here:
http://sunet.dl.sourceforge.net/project ... fb2011.zip

Re: [ALPHA] Facebook For PhpBB

Posted: Thu Jul 07, 2011 8:29 am
by Ghalebi
thanks for the mirror :P

Re: [ALPHA] Facebook For PhpBB

Posted: Thu Jul 07, 2011 2:19 pm
by xkfrat
xkfrat wrote:Works beautifully in Firefox and Opera. Can't make it work in Chrome though, I get redirected to "/developers/login_error.php"
It's working now with Chrome. I have no idea what was going on...

I still can't stop the redirection from apps.facebook.com to my domain.

Just found out that there is a log file :roll: . Is this warning important?

Code: Select all

PHP Warning:  Cannot modify header information - headers already sent by (output started at /***/***/***/***/forum/fb2011/fb2011_connect.php:82) in /***/***/***/***/forum/includes/functions.php on line 4613