vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Integration with vBulletin - Facebook Connect - Allow your users to login with their Facebook account (https://vborg.vbsupport.ru/showthread.php?t=198499)

rigodiaz 03-09-2009 03:51 AM

Excellent Work, Thank You!

navjotjsingh 03-09-2009 08:43 AM

Excellent App. Working Perfect.

filt 03-11-2009 12:45 PM

It works fine to create new users but i cannot connect my facebook-account to my own profile. No error or anything.

I get to a page where i click "Want to use your existing username?", i then login with my own login/pass and get logged in to the forum, but im not connected with my facebook account.

No error messages or anything. Forum can be found on http://forum.asien.se

Any ideas?

fmckinnon 03-11-2009 01:32 PM

Hey, the exact same thing happened to me. I have the earlier (pre 3.8) version installed on a 3.7 forum (http://www.theworshipcommunity.com) and it works perfectly - including the ability to use your existing iD ... everything works great.

I just installed this plugin again (the 3.8 version on a new 3.8 forum at http://www.e-businessonline.com) and I'm seeing the same issue ... I choose "use my existing username", I then enter my vbulletin userID/password, and it logs me in as the normal user - does NOT update my FaceBook page.

filt 03-11-2009 02:38 PM

My forum is 3.7

fmckinnon 03-11-2009 06:39 PM

My guess is that whatever files were modified recently on this plugin, they are the culprit - I know that when I downloaded the latest version this week, there seemed to be a few more files and mods to make than when I installed it a couple of months ago. I'm having same trouble you are, so it must not be an issue of 3.7 or 3.8, but an issue w/ the files we're using. Maybe we'll get a code fix or an update?

Nick26 03-11-2009 07:26 PM

I don't know if this has been posted yet or not (so many post to read through).. But if someone can point me in the right direction I would appreciate it.

I had the facebook app installed yesterday.. Now I keep getting this message: The message you have entered is too short. Please lengthen your message to at least 1 characters.when I'm trying to create a post. This has never happen.. I have the setting at 1 so I know that's not the reason.. It didn't do this until after I downloaded the facebook app.
The other Admin of the site is able to post at her home computer, but not at her work. I'm not able to post at either. Has anyone else had this problem before?

thephonemall 03-12-2009 04:34 AM

I had this problem and had to reedit my NEWTHREAD and NEWREPLY templates.
I also uninstalled.
I really would love to get this to work on my 3.8.1
Willing to pay if someone can install this successfully for me.

Quote:

Originally Posted by Nick26 (Post 1765938)
I don't know if this has been posted yet or not (so many post to read through).. But if someone can point me in the right direction I would appreciate it.

I had the facebook app installed yesterday.. Now I keep getting this message: The message you have entered is too short. Please lengthen your message to at least 1 characters.when I'm trying to create a post. This has never happen.. I have the setting at 1 so I know that's not the reason.. It didn't do this until after I downloaded the facebook app.
The other Admin of the site is able to post at her home computer, but not at her work. I'm not able to post at either. Has anyone else had this problem before?


Capper5016 03-12-2009 04:50 AM

I'll make this suggestion....go get the Add This button. I installed it both on my forum homepage and in the thread and post templates. The Add This button adds the ability to submit stuff to several social bookmarking sites, including Facebook, without editing any templates or installing any mods.

The only issue I havent been able to resolve is making the button visible to guests.....you have to be a registered user to see and use it.

filt 03-12-2009 08:29 AM

Quote:

Originally Posted by Capper5016 (Post 1766249)
I'll make this suggestion....go get the Add This button. I installed it both on my forum homepage and in the thread and post templates. The Add This button adds the ability to submit stuff to several social bookmarking sites, including Facebook, without editing any templates or installing any mods.

The only issue I havent been able to resolve is making the button visible to guests.....you have to be a registered user to see and use it.

Facebook Connect is ALOT more then just sharing links...

Boots 03-12-2009 06:06 PM

I'm more interested in Google Connect :) Make a mod for that :D

frogster 03-14-2009 05:14 PM

Quote:

Originally Posted by TriMe
The grabber doesnt work if your logged in through Facebook. If you log out, then invite.. it works. Strange. Any suggestions on how to fix? I would love both to work
EDIT*** Correction. As long as your addon is enabled, the grabber won't work. Regardless if someone is connected normally without a Facebook account or not. Nutz!!

Quote:

Originally Posted by sllik (Post 1683572)
I could take a look at it tomorrow... no promises though


I get the same error when using fb connect with a fb grabber...apparently it's because two facebook libraries are installed and you have to comment out "require" somewhere but i have no clue where...

Trime / sillk /anyone was there aresolution to this please help

Fatal error: Cannot redeclare class Facebook in /home/content/*/*/*/*******/html/app/webroot/forum/includes/facebook/facebook.php on line 37

tpearl5 03-14-2009 10:44 PM

Did anyone notice that the 'publish' button on the popup that comes up when you post a message has stopped working?

It also used to ask you if you wanted a single line or not - that is gone

filt 03-15-2009 04:35 AM

No ideas on how to fix the error with users unable to connect with an existing username?

muratyamac 03-17-2009 06:51 AM

i have succesfully installed the plugin but can anyone suggest me what to do with the canvas in the facebook. it's standing empty in there

P3R3 03-17-2009 10:03 PM

Quote:

Originally Posted by filt (Post 1768444)
No ideas on how to fix the error with users unable to connect with an existing username?

I am wondering this as well. I am on 3.8.1

fmckinnon 03-17-2009 10:26 PM

muratyamac - I think the canvas is irrelevant, doesn't matter ... doesn't ever really show a page or anything - it's not meant to be viewed that way. From what I'm reading here and the other thread, this mod is not working for anyone until some updates come out - this since the most recent FB update last week.

muratyamac 03-17-2009 10:50 PM

Quote:

Originally Posted by fmckinnon (Post 1770766)
muratyamac - I think the canvas is irrelevant, doesn't matter ... doesn't ever really show a page or anything - it's not meant to be viewed that way. From what I'm reading here and the other thread, this mod is not working for anyone until some updates come out - this since the most recent FB update last week.

mine is pretty well working i had 5 register today only

P3R3 03-17-2009 11:03 PM

We put together a fix for the user issue. There was an var mapfp that was not being set.

We changed the Map FB User to:

Code:

if (!empty($_POST['fbuid']))
{
        require_once('./includes/facebook/facebook.php');

        if ($vbulletin->facebook == null)
                $vbulletin->facebook = new Facebook($vbulletin->options['fbconnect_apikey'], $vbulletin->options['fbconnect_secret']);
               
        $fbuid = intval($vbulletin->facebook->get_loggedin_user());

        if ($fbuid > 0 && intval($_POST['fbuid']) == $fbuid)
        {
                //map fbuser to vbuser
                $vbulletin->db->query_write("
                        INSERT IGNORE INTO " . TABLE_PREFIX . "fbuser
                                (fbuid, userid)
                        VALUES
                                (" . $fbuid . ", " . intval($vbulletin->userinfo['userid']) . ")
                ");
        }
}

Unfortunately there is another issue that the fb breaks all the AJAX functions. None of the ajax stuff works so I added the lines:
Code:

<script type="text/javascript">
<!--
// Main vBulletin Javascript Initialization
vBulletin_init();
//-->
</script>

back in to fix this

But there is an error with facebook which we cannot resolve that breaks the publish newsfeed functionality.

mykkal 03-17-2009 11:54 PM

Quote:

Originally Posted by filt (Post 1768444)
No ideas on how to fix the error with users unable to connect with an existing username?

Please let me know how you resolved this...
Quote:

Originally Posted by P3R3 (Post 1770754)
I am wondering this as well. I am on 3.8.1

Quote:

Originally Posted by P3R3 (Post 1770781)
We put together a fix for the user issue. There was an var mapfp that was not being set.

We changed the Map FB User to:

Code:

if (!empty($_POST['fbuid']))
{
    require_once('./includes/facebook/facebook.php');

    if ($vbulletin->facebook == null)
        $vbulletin->facebook = new Facebook($vbulletin->options['fbconnect_apikey'], $vbulletin->options['fbconnect_secret']);
       
    $fbuid = intval($vbulletin->facebook->get_loggedin_user());

    if ($fbuid > 0 && intval($_POST['fbuid']) == $fbuid)
    {
        //map fbuser to vbuser
        $vbulletin->db->query_write("
            INSERT IGNORE INTO " . TABLE_PREFIX . "fbuser
                (fbuid, userid)
            VALUES
                (" . $fbuid . ", " . intval($vbulletin->userinfo['userid']) . ")
        ");
    }
}

Unfortunately there is another issue that the fb breaks all the AJAX functions. None of the ajax stuff works so I added the lines:
Code:

<script type="text/javascript">
<!--
// Main vBulletin Javascript Initialization
vBulletin_init();
//-->
</script>

back in to fix this

But there is an error with facebook which we cannot resolve that breaks the publish newsfeed functionality.

Is this for resolving "associating existing user accounts"?
Is the original coder helping?

myHybridcar.com 03-18-2009 05:57 AM

I've installed everything but it appears I'm encountering some bugs.

1. Initially when I typed my Facebook login, I incorrectly entered my password. I was told, however, that my cookies were disabled.

2. Once Connected, I tried to use my current account. I logged in, but everything was as if I had just logged in normally without Facebook at all.

3. I logged out and Connected again. This time, I just chose a name and submitted. The popup, asking about publishing a story, then froze. I could click the checkbox but couldn't click a button. Finally I got this error.
Quote:

Safari can’t open the page “http://www.myhybridcar.com/forums/fblogin.php” because the server where this page is located isn’t responding.
The Javascript error was the following.
Quote:

TypeError: Result of expression '$('feedform_user_message')' [null] is not an object.
Why might these problems be happening? Thanks.

MR.BOSS 03-18-2009 08:23 AM

Hello,

I installed developers in m Fb account, but where can i find the fields so i can put the url and such?

Thanks alot!

indie2industry 03-18-2009 09:04 AM

Quote:

Originally Posted by MR.BOSS (Post 1770981)
Hello,

I installed developers in m Fb account, but where can i find the fields so i can put the url and such?

Thanks alot!

What do you mean? The settings FOR facebook from your forum?










As for the mod... I love it, but now the "Publish" button no longer works :-(
anyone else have this problem?

indie2industry 03-18-2009 09:12 AM

Quote:

Originally Posted by MR.BOSS (Post 1770981)
Hello,

I installed developers in m Fb account, but where can i find the fields so i can put the url and such?

Thanks alot!

Log into Facebook, Go to Settings, Click on Developer (not edit, acutally click the word developer), Then in the My Applications box, you should see your app, click it then click edit settings

indie2industry 03-18-2009 09:16 AM

Quote:

Originally Posted by tpearl5 (Post 1768302)
Did anyone notice that the 'publish' button on the popup that comes up when you post a message has stopped working?

It also used to ask you if you wanted a single line or not - that is gone

^^^^^^^^^^^^^

vwturbo 03-18-2009 04:03 PM

nevermind.

carlos54321 03-18-2009 05:25 PM

ok all working thankyou for this :)

vwturbo 03-18-2009 07:44 PM

Quote:

Originally Posted by indie2industry (Post 1771016)

As for the mod... I love it, but now the "Publish" button no longer works :-(
anyone else have this problem?

I just installed the mod for the first time and I can log in with my facebook account no problem. But the Publish button does not work. You can't click it and it's this way in every browser.

Ticinofelino 03-19-2009 08:21 AM

Quote:

Originally Posted by tpearl5 (Post 1768302)
Did anyone notice that the 'publish' button on the popup that comes up when you post a message has stopped working?

It also used to ask you if you wanted a single line or not - that is gone

Same for me since Facebook changed skin...... :(

tpearl5 03-19-2009 08:00 PM

2.0.5 is out, which resolves the 'publish' button not working:

https://vborg.vbsupport.ru/showthread.php?t=203064

that version is the same as the 3.7 version as far as I can tell.

vwturbo 03-19-2009 08:47 PM

Quote:

Originally Posted by tpearl5 (Post 1772079)
2.0.5 is out, which resolves the 'publish' button not working:

https://vborg.vbsupport.ru/showthread.php?t=203064

that version is the same as the 3.7 version as far as I can tell.

Just uploaded 2.0.5 and it works in 3.7 and fixes the Publish button.

vwturbo 03-19-2009 09:37 PM

I may have missed something but how does a current registered user on my forum associate his Facebook account with his forum user account?

Digital Jedi 03-20-2009 12:58 AM

Quote:

Originally Posted by vwturbo (Post 1772183)
I may have missed something but how does a current registered user on my forum associate his Facebook account with his forum user account?

Login with FBConnect, then choose the option.

JAnders 03-21-2009 03:48 AM

so I updated to version 2.0.4 and now it doesn't work when users click on connect using facebook nothing happens..

you can see it here: www.fifamexico.net/foros

Ticinofelino 03-21-2009 06:02 AM

Quote:

Originally Posted by tpearl5 (Post 1772079)
2.0.5 is out, which resolves the 'publish' button not working:

https://vborg.vbsupport.ru/showthread.php?t=203064

that version is the same as the 3.7 version as far as I can tell.

Yes it's working now, thanks a lot!! :)

dnicu26 03-22-2009 10:00 PM

I'm not getting any notifications when someone replies to a thread I started. The only notifications I get is when I receive a PM. Is this fixed in 2.0.5 as well? And if I'm currently using 2.0.3 can I upload straight to 2.0.5? Thank you - this is such a promising mod with the popularity of the Facebook increasing!

JVCode 03-24-2009 01:41 AM

After moving servers and hosting providers, facebook connect is giving me issues.

Parse error: syntax error, unexpected '{' in public_html/includes/functions.php(5721) : eval()'d code on line 9

indie2industry 03-24-2009 10:22 AM

Quote:

Originally Posted by dnicu26 (Post 1774626)
I'm not getting any notifications when someone replies to a thread I started. The only notifications I get is when I receive a PM. Is this fixed in 2.0.5 as well? And if I'm currently using 2.0.3 can I upload straight to 2.0.5? Thank you - this is such a promising mod with the popularity of the Facebook increasing!

I did, and everything works again. (I have 3.7.2)

Mr.samy 03-25-2009 12:54 PM

thanks for good mod

i install it ...

but work only in firefox and opera not work in ie7 or ie8

and make my style very stretch ...

how can fixed this ?

sflmkv 03-25-2009 05:34 PM

how do I know if this is working? it hasn't updated me with new freidns and posts doesn't seem to go to news feed. I can connect properly though.


All times are GMT. The time now is 10:54 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.03024 seconds
  • Memory Usage 1,850KB
  • 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
  • (4)bbcode_code_printable
  • (20)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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