[ADB] Facebook For PhpBB Light

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
Locked
JiMlondos
Registered User
Posts: 20
Joined: Thu Nov 18, 2010 11:45 pm
Contact:

Re: [ALPHA] Facebook For PhpBB

Post by JiMlondos » Thu Jun 23, 2011 6:23 pm

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.. :?

DocSommer
Registered User
Posts: 223
Joined: Mon Aug 24, 2009 10:30 pm
Location: Hamburg

Re: [ALPHA] Facebook For PhpBB

Post by DocSommer » Thu Jun 23, 2011 6:30 pm

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]

Jokes1979
Registered User
Posts: 13
Joined: Wed Jun 02, 2010 10:02 am

Re: [ALPHA] Facebook For PhpBB

Post by Jokes1979 » Fri Jun 24, 2011 12:33 pm

Is this MOD working properly?

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

DocSommer
Registered User
Posts: 223
Joined: Mon Aug 24, 2009 10:30 pm
Location: Hamburg

Re: [ALPHA] Facebook For PhpBB

Post by DocSommer » Fri Jun 24, 2011 2:32 pm

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.

willadaygo
Registered User
Posts: 1
Joined: Fri Jul 01, 2011 9:37 am

Re: [ALPHA] Facebook For PhpBB

Post by willadaygo » Fri Jul 01, 2011 9:55 am

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

Jokes1979
Registered User
Posts: 13
Joined: Wed Jun 02, 2010 10:02 am

Re: [ALPHA] Facebook For PhpBB

Post by Jokes1979 » Sat Jul 02, 2011 3:22 pm

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?

User avatar
Neuropass
Registered User
Posts: 1158
Joined: Fri Apr 17, 2009 2:02 pm
Location: SciTE4AutoIt3

Re: [ALPHA] Facebook For PhpBB

Post by Neuropass » Sun Jul 03, 2011 6:13 pm

how does the wall work? does it get shots from facebook's wall or it is a standalone system?

DocSommer
Registered User
Posts: 223
Joined: Mon Aug 24, 2009 10:30 pm
Location: Hamburg

Re: [ALPHA] Facebook For PhpBB

Post by DocSommer » Mon Jul 04, 2011 4:09 pm

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?

luisdv
Registered User
Posts: 2
Joined: Tue Jul 05, 2011 6:24 pm

Re: [ALPHA] Facebook For PhpBB

Post by luisdv » Tue Jul 05, 2011 6:39 pm

Hello, grate MOD, i installed it and everything works fine, except one: i cant see any user avatar, can you help please?

luisdv
Registered User
Posts: 2
Joined: Tue Jul 05, 2011 6:24 pm

Re: [ALPHA] Facebook For PhpBB

Post by luisdv » Tue Jul 05, 2011 7:46 pm

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?

Pressplus2011
Registered User
Posts: 5
Joined: Tue Jul 05, 2011 12:30 pm

Re: [ALPHA] Facebook For PhpBB

Post by Pressplus2011 » Wed Jul 06, 2011 10:48 am

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

User avatar
Ghalebi
Registered User
Posts: 160
Joined: Tue May 02, 2006 9:47 pm
Location: Yemen
Name: Ali
Contact:

Re: [ALPHA] Facebook For PhpBB

Post by Ghalebi » Wed Jul 06, 2011 3:43 pm

can anyone give another download link for the mod! I just can't download it from sourceforge :roll:

xkfrat
Registered User
Posts: 5
Joined: Wed Jul 06, 2011 6:24 pm

Re: [ALPHA] Facebook For PhpBB

Post by xkfrat » Wed Jul 06, 2011 6:37 pm

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
Last edited by marian0810 on Wed Jul 06, 2011 8:24 pm, edited 1 time in total.
Reason: merged posts as per http://www.phpbb.com/rules/#rule4g

User avatar
Ghalebi
Registered User
Posts: 160
Joined: Tue May 02, 2006 9:47 pm
Location: Yemen
Name: Ali
Contact:

Re: [ALPHA] Facebook For PhpBB

Post by Ghalebi » Thu Jul 07, 2011 8:29 am

thanks for the mirror :P

xkfrat
Registered User
Posts: 5
Joined: Wed Jul 06, 2011 6:24 pm

Re: [ALPHA] Facebook For PhpBB

Post by xkfrat » Thu Jul 07, 2011 2:19 pm

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

Locked

Return to “[3.0.x] Abandoned MODs”