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)

vAsia 02-12-2009 04:35 PM

I want to create a new independent file (e.g. facebook.php) with only "Connect with Facebook" button in it. That way, I could have the callback url to go to that facebook.php file with "Connect with Facebook" button.

How do I create a new file (facebook.php) with only Facebook" button in it? Currently, "Connect with Facebook" button is in the navbar.

jlew24asu 02-12-2009 05:46 PM

Quote:

Originally Posted by Lone Gunman (Post 1741402)
i know. i even tried on my test board where only this is installed on a fresh vb3.8.1 and i had the exaxt same problems as on my main board and that several others also had. i dont know if its mysql or php related or how the server is set up...... or what.

i like this mod and am willing to pay the dev the $25 or whatever he charges to install. i think thats real reasonable. im just not convinced its stable enough yet. he might guarantee this will work but can he guarantee everything else on your board will still work?

plus like several others mentioned.... im waiting to where you can choose which forums get published to FB so private forum posts arent getting published. i think the dev is one of the most talented guys on this site and is onto something huge here and hope upcomming VB realeases have this standard. im just still a bit skeptical.

I was pretty much forced to pay for an install. since that was done, there was an upgrade which I'm not all that excited about installing.

I still have problems with my board because of this hack.


very disappointing.

Potlocator 02-12-2009 06:34 PM

I have this same error in 3.8.1, anyone ever fix this I hope?

Invalid SQL:

SELECT fbuid
FROM fbuser
WHERE userid =
LIMIT 1;

Quote:

Originally Posted by maroceve (Post 1726078)
Guys, i have a database error when i enter any discussion on my board.

Everything else works perfectly...any ideas ?

i have VBSEO ..can that be it ?


Database error in vBulletin 3.7.1:

Invalid SQL:

SELECT fbuid
FROM fbuser
WHERE userid =
LIMIT 1;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LIMIT 1' at line 4
Error Number : 1064
Request Date : Tuesday, January 27th 2009 @ 08:14:40 AM
Error Date : Tuesday, January 27th 2009 @ 08:14:40 AM
Script : http://www.maroceve.com/forums/artis...abat-sale.html
Referrer : http://www.maroceve.com/forums/forum39/
IP Address : 81.192.184.75
Username : EzFacebook
Classname : vB_Database
MySQL Version :


indie2industry 02-12-2009 06:38 PM

Quote:

Originally Posted by vAsia (Post 1742065)
I want to create a new independent file (e.g. facebook.php) with only "Connect with Facebook" button in it. That way, I could have the callback url to go to that facebook.php file with "Connect with Facebook" button.

How do I create a new file (facebook.php) with only Facebook" button in it? Currently, "Connect with Facebook" button is in the navbar.

You want a whole page with just a button:confused::confused::confused:

And what would you like to name that page??

Wunderlust 02-12-2009 10:37 PM

Quote:

Originally Posted by ekantnl (Post 1714526)
thank you.. table repair did not solve it. I will try to reinstall... :rolleyes:


Did you ever get this to work - I am having th same problems

Tim

swellinfo 02-14-2009 09:52 PM

Hi, very excited about this mod, but I am having an issue, and I believe it is because I have custom code in my header that allows users to login at the very top of my page.

Users are able to sign up through the fb connect, but then it will not log the user in. Here is my code that I use in my header:
PHP Code:

// get vbulletin login info
chdir('forum/');
require_once(
'./global.php');
chdir('../');

$vbuserid $vbulletin->userinfo['userid'];
$vbusername $vbulletin->userinfo['username'];
$vbpmtotal $vbulletin->userinfo['pmtotal'];
$vbpmunread $vbulletin->userinfo['pmunread'];
if (
$vbuserid 0) {
    
$vblogouthash $vbulletin->userinfo['logouthash'];
    if (
$vbpmunread 0) {
        
$vbwelcome "Welcome ".$vbusername.". <a href=\"/forum/private.php\" class=\"toplinkpm\">Private Messages:</a> Unread ".$vbpmunread.", Total ".$vbpmtotal.".";
    } else {
        
$vbwelcome "Welcome ".$vbusername.". <a href=\"/forum/private.php\" class=\"toplink\">Private Messages:</a> Unread ".$vbpmunread.", Total ".$vbpmtotal.".";
    }    


Do I need to edit this code to recognize the FB connect users?

Thanks for any help.

swellinfo 02-14-2009 10:57 PM

Quote:

Originally Posted by swellinfo (Post 1744270)
Hi, very excited about this mod, but I am having an issue, and I believe it is because I have custom code in my header that allows users to login at the very top of my page.

Users are able to sign up through the fb connect, but then it will not log the user in. Here is my code that I use in my header:

Do I need to edit this code to recognize the FB connect users?

Thanks for any help.

it looks like maybe this isn't the source of the problem. It is working when current registered users link to their facebook, but it is not working when new users register.

What happens is the new user is registered in the system, but then the forum doesn't recognize them. I am getting DB errors when a new user logs in, and then tries to create a new thread.

muratyamac 02-14-2009 11:58 PM

Quote:

Originally Posted by muratyamac (Post 1733097)
i double checked it but there is no problem in there
but it's still not working
when i click the facebook connect button it forwards me to www.bilgiclubs.com/forum/#
thanks for the help

anyone can help me too please i'm depressed with this issue

Capper5016 02-15-2009 02:47 AM

I've checked, doublechecked, and triplechecked everything......and I cant seem to get this to work. I'm not seeing anything in my forums or on my VBAdvanced page that relates to FB.

Capper5016 02-15-2009 03:11 AM

Ok, There is a log-in box that shows up on my VBAdvanced homepage with a "Link To Facebook" button below it......when I click on it, it tells me I'm logged in, the it takes me back to the VBAdvanced page, where it askes me to log-in again......and keeps doing this.

http://masdebaters.com/


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