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)

Digital Jedi 01-21-2009 04:25 AM

Quote:

Originally Posted by Quantnet.org (Post 1719580)
I notice that if a member has both account on FB and the forum, when they log in with their FB id, it will create a new forum member. Is this the intended purpose?

When they sign up with FBConnect, they are given the option to use their existing vB account. If they don't do that, they'll end up just creating a new account.


Quote:

Originally Posted by paintballer.ie (Post 1719619)
Merging Users:

I didn't read all the topics, so maybe this has been mentioned, but here is a possible work around for letting current members set up their face book accounts.

1: read: http://www.vbulletin.com/docs/html/users_merge

2: Get current members with facebook to log in with their facebook accounts and us a nick name as 'username2' or something.

3. Then merge this user with their current forum username.

I havent tried it yet, but I assume that it will work.




* Edit, I found Jedi's post where he said that current nick name can be used. I have to try this out.

Yes, merging accounts any other way will not work the way you want it to.


Quote:

Originally Posted by nMIK-3 (Post 1719655)
I have a major problem.

When New Users register by using the facebook connect their facebook email IS NOT ported over the vBulletin database. How do I solve this?

Emails are sent through the application to the email registered in their FaceBook account.

nMIK-3 01-21-2009 04:40 AM

Quote:

Originally Posted by Digital Jedi (Post 1719750)
Emails are sent through the application to the email registered in their FaceBook account.

What do you mean? Emails must be ported from the facebook to the vbdatabase.

cooltechie 01-21-2009 06:27 AM

Getting the following error message after the login through facebook connect:

Database error in vBulletin 3.8.0:

Invalid SQL:
INSERT INTO userfield
(userid)
VALUES
(6616);

MySQL Error : Duplicate entry '6616' for key 1
Error Number : 1062
Script : http://www.example.com/vbulletin/fblogin.php
Referrer : http://www.example.com/vbulletin/fblogin.php
Username : example
Classname : vB_Database

Mum 01-21-2009 07:12 AM

Quote:

Originally Posted by sllik (Post 1682138)
Are you using PHP4 or PHP5

Quote:

Originally Posted by Mum (Post 1717538)
I get
Code:

Parse error:  syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/mummybra/public_html/imperfectlyrealparents.com/includes/facebook/facebook.php on line 38
when i try and go to the templates. How can i fix this?

Just wondering if there is any update on this :)

Spooony 01-21-2009 11:26 AM

Quote:

Originally Posted by Mum (Post 1719845)
Just wondering if there is any update on this :)

Are you absolutely certain you're using PHP 5? Because I had the same error and it was sorted as soon as I upgraded from 4 to 5. You've double checked by checking in your admin CP under maintenance > view PHP info?

GigaSb 01-21-2009 03:14 PM

Quote:

Originally Posted by Digital Jedi (Post 1719232)
I notice a number of HTML errors in your code which are no doubt causing the spacing issue: http://validator.w3.org/check?uri=ht...e&group=0&ss=1

I would try fixing those one at a time first and then see if you still have a problem. Do them in order, as these types of problems tend to cascade. One fix can correct dozens more.

i fixed all errors.. GOD knows how i did it.. i even dont understand html much :)
but SCROLLING is still there.

Wakey 01-21-2009 03:21 PM

Quote:

Originally Posted by nMIK-3 (Post 1719770)
What do you mean? Emails must be ported from the facebook to the vbdatabase.

The address in the database is a valid email address thats unique to that user. When the application sends an email to that address it goes to Facebooks mail server and is forwarded to whatever address the user has on file at facebook

sllik 01-21-2009 08:43 PM

Quote:

Originally Posted by cooltechie (Post 1719812)
Getting the following error message after the login through facebook connect:

Database error in vBulletin 3.8.0:

Invalid SQL:
INSERT INTO userfield
(userid)
VALUES
(6616);

MySQL Error : Duplicate entry '6616' for key 1
Error Number : 1062
Script : http://www.example.com/vbulletin/fblogin.php
Referrer : http://www.example.com/vbulletin/fblogin.php
Username : example
Classname : vB_Database

Did you install, then uninstall the mod?

monkeywarplane 01-22-2009 12:18 AM

Had the pro install down by Silik and so far so good... (marked as installed)

http://forums.interbasket.net

Only a couple issues, those Facebook users that sign up for a new VB account do not show up in the memberlist, nor in the admin control panel when I search for them...

Stuart

Tigur 01-22-2009 05:14 AM

This is awesome. However will this auto-register a user to your forums as well and populate information for easy registration? That way if the user decides to leave facebook they can still login normally?

Digital Jedi 01-22-2009 11:06 AM

Quote:

Originally Posted by GigaSb (Post 1720209)
i fixed all errors.. GOD knows how i did it.. i even dont understand html much :)
but SCROLLING is still there.

Only other think I can think of is you have a block of javascript in a place vB or your skin is reacting poorly to it. Oh, you got one CSS error, but I don't think that's the problem. You can try it anyway. It's just a parse error.

In your Additional CSS Definitions, remove the last comma:
Code:

/* ***** small padding on 'thead' elements ***** */
td.thead, th.thead, div.thead { padding: 2px; }
td.tcat, div.tcat, { padding: 2px; }

Good job correcting those errors though. That will help you in the long run.

Terminot 01-22-2009 12:08 PM

Where can you change this image? Thanks for the awesome modificiation by the way.

https://vborg.vbsupport.ru/

Digital Jedi 01-22-2009 12:23 PM

Quote:

Originally Posted by Terminot (Post 1721114)
Where can you change this image? Thanks for the awesome modificiation by the way.

https://vborg.vbsupport.ru/

You have to change the path to the image to image you want. The path is in the code you added to that template.

Terminot 01-22-2009 12:48 PM

Quote:

Originally Posted by Digital Jedi (Post 1721124)
You have to change the path to the image to image you want. The path is in the code you added to that template.

Is it? The only image path in there is the "loading" image. In all the code I had to change there was nothing linking to the above icon so I'm guessing it's in another PHP/XML or whatever file.

Digital Jedi 01-22-2009 01:20 PM

Quote:

Originally Posted by Terminot (Post 1721141)
Is it? The only image path in there is the "loading" image. In all the code I had to change there was nothing linking to the above icon so I'm guessing it's in another PHP/XML or whatever file.

Looks like he moved it from the image path to a CSS class. I don't quite see where it's at at the moment.

Terminot 01-22-2009 01:30 PM

Quote:

Originally Posted by Digital Jedi (Post 1721167)
Looks like he moved it from the image path to a CSS class. I don't quite see where it's at at the moment.

All right, I'm sure the coder will give us an update when he comes online. Thanks though!

sllik 01-22-2009 02:21 PM

Quote:

Originally Posted by Tigur (Post 1720891)
This is awesome. However will this auto-register a user to your forums as well and populate information for easy registration? That way if the user decides to leave facebook they can still login normally?

If they leave facebook then the only way they can access their account is by emailing the admin requesting their username/password.

Quote:

Originally Posted by monkeywarplane (Post 1720707)
Had the pro install down by Silik and so far so good... (marked as installed)

http://forums.interbasket.net

Only a couple issues, those Facebook users that sign up for a new VB account do not show up in the memberlist, nor in the admin control panel when I search for them...

Stuart

hmm thats wierd... I'll check on that!

Quote:

Originally Posted by Terminot (Post 1721114)
Where can you change this image? Thanks for the awesome modificiation by the way.

https://vborg.vbsupport.ru/

To change the image you have to change the path in clientscript/fbconnect.js
Code:

<img id="fb_login_image" src="http://static.ak.fbcdn.net/images/fbconnect/login-buttons/connect_light_medium_long.gif" border="0" alt="Connect"/>

Terminot 01-22-2009 02:22 PM

Another issue:

Whenever I click Submit new reply or thread my browser doesn't do anything. My fellow administrator does not encounter this problem and nor do the members. There is just no action when clicking the button.

What could be the cause of this?

Edit thanks for the image locaiton.

wicked80 01-22-2009 02:27 PM

Hi Friends,
I want to try this but i would like to know does it works with 3.8.0???

Thanks

sllik 01-22-2009 02:33 PM

Quote:

Originally Posted by Terminot (Post 1721229)
Another issue:

Whenever I click Submit new reply or thread my browser doesn't do anything. My fellow administrator does not encounter this problem and nor do the members. There is just no action when clicking the button.

What could be the cause of this?

Edit thanks for the image locaiton.

double check your template edits especially newthread & newreply

sllik 01-22-2009 02:34 PM

Quote:

Originally Posted by wicked80 (Post 1721233)
Hi Friends,
I want to try this but i would like to know does it works with 3.8.0???

Thanks

Works great!

Terminot 01-22-2009 03:04 PM

Quote:

Originally Posted by sllik (Post 1721240)
double check your template edits especially newthread & newreply

Indeed, I did leave something out during the copy&paste. Sorry for the bother.

GigaSb 01-22-2009 03:49 PM

Quote:

Originally Posted by Digital Jedi (Post 1721079)
Only other think I can think of is you have a block of javascript in a place vB or your skin is reacting poorly to it. Oh, you got one CSS error, but I don't think that's the problem. You can try it anyway. It's just a parse error.

In your Additional CSS Definitions, remove the last comma:
Code:

/* ***** small padding on 'thead' elements ***** */
td.thead, th.thead, div.thead { padding: 2px; }
td.tcat, div.tcat, { padding: 2px; }

Good job correcting those errors though. That will help you in the long run.

i corrected the problem.

scrolling driving me crazy!
the mod isnt working and this is happend only when plugin is enabled.

Digital Jedi 01-22-2009 04:31 PM

Quote:

Originally Posted by GigaSb (Post 1721318)
i corrected the problem.

scrolling driving me crazy!
the mod isnt working and this is happend only when plugin is enabled.

Double check the template edits you made during install and make sure their in the right places.

Gemma 01-22-2009 08:16 PM

Thanks for this. Installed. Works great :)

music legend 01-22-2009 11:00 PM

anyone figure out a way to put it on another VB page other than forumhome (register.php where the rules are before they register) just so they have one more chance to click the facebook button before they register?

jl255 01-23-2009 01:00 AM

does this work on 3.8?

sidepoint: they need to invent a way to allow us to search for terms like '3.8'!!

3DSJFH 01-23-2009 05:30 AM

Won't you update this add-on so that template changes can be turned on/off via the admin panel rather than having to manually paste them scattered on different templates?

Thanks for the awesome add-on BTW.

Matty128 01-23-2009 06:30 AM

Thanks for the addon.

When a story is posted to a users facebook page, it links them to the forum it's in rather than the thread itself. Not sure if this is an error or if it's meant to be this way. If anyone knows a way to link to the thread please say.

Vinyljunky 01-23-2009 09:38 AM

Hello,

I'd like to install this on my VB3.8 site which uses the excellent Template Modification System (TMS 1.1.5) mod.

Have anyone done the template edits with TMS? If so please can I have a copy of the rules :)

Im using MySQL 4.1.20-log will it still work?


Thanks

VJ

GigaSb 01-23-2009 11:16 AM

Quote:

Originally Posted by Digital Jedi (Post 1721358)
Double check the template edits you made during install and make sure their in the right places.

i found the scrolling problem.

ONLY when i remove:

<!-- fbconnect -->
$fbconnect_init
<!-- / fbconnect -->

from the footer, the scrolling is gone..
but then the script give me continues loading image.

the question is whats common between Lang Hebrew2 and footer?
Jedi, i thought about something.. where is another place besides footer that i can place it to work ?

RvG2 01-23-2009 12:23 PM

Im using MySQL 4.1.20-log will it still work?

GigaSb 01-23-2009 12:39 PM

Quote:

Originally Posted by RvG2 (Post 1722305)
Im using MySQL 4.1.20-log will it still work?

requirements are php5 / mysql5

sllik 01-23-2009 02:05 PM

Quote:

Originally Posted by RvG2 (Post 1722305)
Im using MySQL 4.1.20-log will it still work?

try :)

Seerkan 01-23-2009 05:39 PM

Hi,

Connection with facebook works great:D, but i cant publish a "New Thread" or "Quick Replay". :eek:

If i try to write a new post, it is like if the post is without text (The message you have entered is too short...).
If i try to write a quick replay i publish the message "Please click one of the Quick Reply icons in the posts above to activate Quick Reply."

I have installed another products, but i "disable" all of them to the test.

If i use a template no edited, all works perfect (except facebook connection, of course)

Anyone with the same problem? any idea? :confused: (if you need more info just tell me)

Thanks and greatings from spain.

Hex_legend 01-23-2009 06:25 PM

I seem to have an error that has gone un-noticed on this thread.

When I click the button, its just linked to # and it doesn't do anything.
How do I solve?

sllik 01-23-2009 10:09 PM

Quote:

Originally Posted by Hex_legend (Post 1722606)
I seem to have an error that has gone un-noticed on this thread.

When I click the button, its just linked to # and it doesn't do anything.
How do I solve?

make sure you callback url and your forum url are the same. Also setup the base domain setting under the facebook application settings (under the connect tab). Whats your forum url?

Quote:

Originally Posted by Seerkan (Post 1722569)
Hi,

Connection with facebook works great:D, but i cant publish a "New Thread" or "Quick Replay". :eek:

If i try to write a new post, it is like if the post is without text (The message you have entered is too short...).
If i try to write a quick replay i publish the message "Please click one of the Quick Reply icons in the posts above to activate Quick Reply."

I have installed another products, but i "disable" all of them to the test.

If i use a template no edited, all works perfect (except facebook connection, of course)

Anyone with the same problem? any idea? :confused: (if you need more info just tell me)

Thanks and greatings from spain.

make sure your template edits are correct! especially newthread, SHOWTHREAD & newreply

monkeywarplane 01-23-2009 11:49 PM

Another suggestion for you Silik. I have a private moderator's forum that still publishes/offers to publish the contents of a new thread or reply onto my wall. I know I could easily deny the activity to be published, but would be great in the future to exclude certain forums' activities from having news feeds published.

Any news on the new registrations not showing up on the memberlist or being searchable in the admin cp? Again, great work.

Cheers, Stuart

AzzX 01-24-2009 01:28 AM

Fantastic Work with this sllik!

Nominated.

sdsvtdriver 01-24-2009 08:15 AM

I installed this mod and it works well on the first try. Good job! A couple of questions...

Quote:

Originally Posted by ClaytonR (Post 1705311)
I have a issues, for some reason my users have the wrong person's picture, it was working fine then this morning it had them all with the profile pic of one of our administrators.

EDIT its only happening with avatars in the posts, their avatars are correct on the memberlist.

I have the same issue. I logged in with my account with no Facebook picture. I then had friend test the login and his avatar came up. He then changed his avatar. Then, I noticed in posts that I had his old avatar associated with my posts. This is a bug.

Quote:

Originally Posted by monkeywarplane (Post 1722840)
Another suggestion for you Silik. I have a private moderator's forum that still publishes/offers to publish the contents of a new thread or reply onto my wall. I know I could easily deny the activity to be published, but would be great in the future to exclude certain forums' activities from having news feeds published.

Yes, I'd like to exclude certain forums. I don't want threads that I post in the admin area being sent over to Facebook.


All times are GMT. The time now is 04:34 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.02555 seconds
  • Memory Usage 1,861KB
  • 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
  • (30)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
  • (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