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-16-2009 04:34 PM

Quote:

Originally Posted by Sea Shepherd (Post 1714838)
This. ^^

If this isn't part of the mod then it should be.
When facebook users come across the forum url from a link they should be able to login with their facebook ID and then an automatic forum profile matching their FB profile is established properly on the forum, with the very clear option to create a separate forum username should they not desire to use their fb name. They can edit their full forum profie when they get around to it.

I thought this was part of the mod anyway?

If not, can it be done?

Sounds tricky!

This is precisely what this mod does. I'm not sure why people don't understand that.

Sea Shepherd 01-16-2009 04:46 PM

Quote:

Originally Posted by Digital Jedi (Post 1714858)
This is precisely what this mod does. I'm not sure why people don't understand that.

Well then i might just have to install it!

:)

Can someone show me a link to a forum that already users it? I'd like to give it a shot before i install it.

Digital Jedi 01-16-2009 04:51 PM

Quote:

Originally Posted by Sea Shepherd (Post 1714876)
Well then i might just have to install it!

:)

Can someone show me a link to a forum that already users it? I'd like to give it a shot before i install it.

I haven't upgraded mine yet, but you can try it in the first website link in my signature.

Sea Shepherd 01-16-2009 04:59 PM

Thanks!
I like it!

nMIK-3 01-16-2009 08:31 PM

Quote:

Originally Posted by ekantnl (Post 1714382)
yes they can

Thanks for the quick reply mate!
Can you please provide me with some more info regarding that.

Once the vB account is merged with facebook account then the user has the option to choose what the display name on the forum will be? In case the nickname in the vb forum is different from the facebook name. Also I am guessing the facebook profile pic will be imported as an avatar to vb forum, if the user wants can have different pic in vb forum instead of the facebook profile pic? Thanks in advanced.

fattony69 01-16-2009 08:58 PM

This would be nice if it added the template edits automatically :D

nMIK-3 01-16-2009 11:03 PM

sllik

I have a small problem.

I setup the whole thing successfully but I have the following issue.

My forum path in vbulletin settings is http://mysite.com/forum without the www.
I setup the facebook application with the callback URL to be the same as the vbulletin http://mysite.com/forum

Now if somebody access my site by typing http://mysite.com or just mysite.com (without the www.) the facebook connect plugin works flawlessly!

But if you access the website using the www prefix like http://www.mysite.com or just www.mysite.com then the facebook connect is not working. So most of the people that enter my site and using the www. prefix cannot use facebook connect.

I tried change the forum path in vbulletin settings by adding the www. prefix and updated the facebook application callback URL with the www. prefix and I am getting the exact opposite results.

Now when you enter the site with the www prefix like http://www.mysite.com you can use the facebook connect. But if you enter it without the www like http://mysite.com then facebook connect once again is not working.

Any idea how I can make it work with both the www. prefix and without?

Is this a known issue?

turbosatan 01-16-2009 11:26 PM

Quote:

Originally Posted by nMIK-3 (Post 1715206)
sllik

I have a small problem.

I setup the whole thing successfully but I have the following issue.

My forum path in vbulletin settings is http://mysite.com/forum without the www.
I setup the facebook application with the callback URL to be the same as the vbulletin http://mysite.com/forum

Now if somebody access my site by typing http://mysite.com or just mysite.com (without the www.) the facebook connect plugin works flawlessly!

But if you access the website using the www prefix like http://www.mysite.com or just www.mysite.com then the facebook connect is not working. So most of the people that enter my site and using the www. prefix cannot use facebook connect.

I tried change the forum path in vbulletin settings by adding the www. prefix and updated the facebook application callback URL with the www. prefix and I am getting the exact opposite results.

Now when you enter the site with the www prefix like http://www.mysite.com you can use the facebook connect. But if you enter it without the www like http://mysite.com then facebook connect once again is not working.

Any idea how I can make it work with both the www. prefix and without?

Is this a known issue?

use a htaccess redirect and pick either www or non www and stick with just that one redirecting all traffic from the one to the other.

its also good for SEO to redirect all non www to www or vice versa

nMIK-3 01-16-2009 11:37 PM

Quote:

Originally Posted by turbosatan (Post 1715226)
use a htaccess redirect and pick either www or non www and stick with just that one redirecting all traffic from the one to the other.

its also good for SEO to redirect all non www to www or vice versa

You mean to manyally edit the .htaccess file?

solboy 01-17-2009 02:33 AM

Works fine now. Thanks guys. Great Mod.

nMIK-3 01-17-2009 03:17 AM

Quote:

Originally Posted by solboy (Post 1715331)
Works fine now. Thanks guys. Great Mod.

OK I edit the htaccess and everything works great now!! :up::up:

One last question.

When you post something on forum the notification on faceboook wall includes the sententes visit MySite. And redirects to mysite.com/forum

How can I made this redirect to mysite.com

turbosatan 01-17-2009 08:30 AM

Quote:

Originally Posted by nMIK-3 (Post 1715240)
You mean to manyally edit the .htaccess file?

basically add this

Code:

Options +FollowSymLinks
AllowOverride FileInfo
RewriteEngine on
RewriteCond %{HTTP_HOST} ^example\.com
RewriteRule (.*) http://www.example.com/$1 [R=301,L]

if you already have rewriting on then you may already have the

Code:

Options +FollowSymLinks
RewriteEngine on

in which case just add
Code:

RewriteCond %{HTTP_HOST} ^example\.com
RewriteRule (.*) http://www.example.com/$1 [R=301,L]

on the end of whatever is in there

sllik 01-17-2009 04:11 PM

Quote:

Originally Posted by nMIK-3 (Post 1715206)
sllik

I have a small problem.

I setup the whole thing successfully but I have the following issue.

My forum path in vbulletin settings is http://mysite.com/forum without the www.
I setup the facebook application with the callback URL to be the same as the vbulletin http://mysite.com/forum

Now if somebody access my site by typing http://mysite.com or just mysite.com (without the www.) the facebook connect plugin works flawlessly!

But if you access the website using the www prefix like http://www.mysite.com or just www.mysite.com then the facebook connect is not working. So most of the people that enter my site and using the www. prefix cannot use facebook connect.

I tried change the forum path in vbulletin settings by adding the www. prefix and updated the facebook application callback URL with the www. prefix and I am getting the exact opposite results.

Now when you enter the site with the www prefix like http://www.mysite.com you can use the facebook connect. But if you enter it without the www like http://mysite.com then facebook connect once again is not working.

Any idea how I can make it work with both the www. prefix and without?

Is this a known issue?

I think there is actually a better way than editing the .htaccess file. In the facebook app settings under the Connect tab set the Base Domain setting.

fmckinnon 01-17-2009 07:52 PM

I'm very excited to have found this mod, and hope to install it. A couple of questions first:

1 - is there any known conflict with the vbulletin/wordpress bridge mod? We use this so that our forum members can also comment on the wordpress-driven portion of the site, etc. The mod basically shares VB users as WP users.

2 - just to make sure I'm understanding ... we require registration (which includes email activation) to create new threads or respond to threads. If someone comes along and logs in w/ their FaceBook account - will they be able to post immediately, or will the email activation go to them (or I assume, their FaceBook email account?)

Thanks in advance - will likely pay to have this installed if the answers are favorable.
http://www.theworshipcommunity.com/forums/

BellyBelly 01-17-2009 09:15 PM

Is this working on 3.8?

fmckinnon 01-18-2009 01:10 AM

BellyBelly -
I've seen reports that it *IS* working.

OK - I've installed it now on http://www.theworshipcommunity.com/forums/

However,
When I attempt to view the application on FaceBook, it gives me this on this link:
http://apps.facebook.com/theworshipcommunity/

Errors while loading page from application
Parse errors:

CSS Error (line 32 char 30): Error in parsing value for property.: 'background-repeat' Declaration dropped.

FBML Error (line 348): illegal tag "body" under "fb:canvas"

CSS Error (line 355 char 140): Error in parsing value for property.: 'background-repeat' Declaration dropped.

FBML Error (line 397): illegal tag "noscript" under "fb:canvas"

FBML Error (line 580): illegal tag "noscript" under "fb:canvas"

FBML Error (line 625): illegal tag "noscript" under "fb:canvas"

There are still a few kinks Facebook and the makers of TheWorshipCommunity.Com are trying to iron out. We appreciate your patience as we try to fix these issues. Your problem has been logged - if it persists, please come back in a few days. Thanks!

Big-K 01-18-2009 01:36 PM

Hi Slikk,

This is working great on my site. Thanks for helping with the install. Three questions

1. I have a vb login on the homepage of my site (non-vb page). Is there any way I can have Facebook Connect on this login page?

2. I don't have the vbconnect link like you have in the fourth screenshot. Is that an omission?

3. How can I re-associate a user an existing user with a different facebook account if its already associated with another.

usearchme 01-18-2009 03:12 PM

Does this work with 3.8 ?

Woc

music legend 01-18-2009 03:27 PM

Quote:

Originally Posted by usearchme (Post 1716868)
Does this work with 3.8 ?

Woc

yes it is working just fine with 3.8

Phaedrus 01-18-2009 08:46 PM

Does it stop them from using a nick that is already in use as a registered name?

Big-K 01-18-2009 09:00 PM

Quote:

Originally Posted by Phaedrus (Post 1717221)
Does it stop them from using a nick that is already in use as a registered name?

Yes it does

usearchme 01-18-2009 09:07 PM

Thanks for the reply, I might try this tommorow

Woc

Phaedrus 01-18-2009 09:22 PM

Quote:

Originally Posted by Big-K (Post 1717231)
Yes it does

Thanks. That's the last thing I needed to know and I didn't want to run through the whole thread for it...

:D

GhoHan 01-19-2009 01:22 AM

I'm Report For Bugs

Fatal error:
  • The email address you entered is already in use. If you have forgotten your password, please click here.
Unable to proceed with save while $errors array is not empty in class vB_DataManager_User in [path]/includes/class_dm.php on line 810

Phaedrus 01-19-2009 03:59 AM

Quote:

Originally Posted by ekantnl (Post 1714382)
yes they can

How? They'll want to know how to associate their facebook with their existing account.

Also, does this work with promotions?

I have them set to come in as Registered Users, they are a bit limited until they get past 15 posts, then they are promoted. Will the promotions work?

Phaedrus 01-19-2009 05:03 AM

Quote:

Originally Posted by Phaedrus (Post 1717448)
How? They'll want to know how to associate their facebook with their existing account.

Also, does this work with promotions?

I have them set to come in as Registered Users, they are a bit limited until they get past 15 posts, then they are promoted. Will the promotions work?

Well that was easier than I thought. It was rather self-explanatory...

Working well, click "install"...

:up:

dxlwebs 01-19-2009 05:28 AM

can some one help me with mine im getting this error

Warning: strpos() [function.strpos]: Empty delimiter. in [path]/includes/class_dm_user.php(2894) : eval()'d code on line 11

Fatal error: Call to a member function clean_gpc() on a non-object in /++my directory++/includes/class_dm_user.php(2900) : eval()'d code on line 54

on vb 3.7.4

thanks for your replies

Mum 01-19-2009 05:53 AM

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?

GigaSb 01-19-2009 06:01 AM

im using Facebook Pro template and i cant make the next steps because i dont have this templates:

Template: navbar (the code isnt here!)
Find:
<!-- / login form -->

Insert After:
<!-- fbconnect -->
<center>
<span class="fbconnect" style="height:21px">
<img src="http://static.ak.fbcdn.net/images/loaders/indicator_white_small.gif" alt="Connect with Facebook" />
</span>
</center>
<!-- / fbconnect -->


AND

Template: USERCP_SHELL
Find:
<tr><td class="$navclass[password]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editpassword">$vbphrase[edit_email_and_password]</a></td></tr>

Replace With:
<if condition="$bbuserinfo[fbemail]">
<tr><td class="$navclass[password]" nowrap="nowrap"><a class="smallfont" href="#" onclick="facebook_prompt_permission('email'); return false;">$vbphrase[fbconnect_email_settings]</a></td></tr>
<else />
<tr><td class="$navclass[password]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editpassword">$vbphrase[edit_email_and_password]</a></td></tr>
</if>


anyway when i didnt edited this and i continued the install process i had BIG scrolling issue (Explorer) at the bottom.. u can see it here: http://www.freepchelp.co.il

Mum 01-19-2009 06:11 AM

Quote:

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

I have the same error as this person, but i am using 5.2.8 of PHP.

dxlwebs 01-19-2009 06:16 AM

Quote:

Originally Posted by dxlwebs (Post 1712990)
i know i keep askingbut it would be great if i could get an answer i updated last night to 3.8 but still the same problem

please help me my users are getting cranky

:D

Quote:

Originally Posted by GigaSb (Post 1717541)
im using Facebook Pro template and i cant make the next steps because i dont have this templates:

Template: navbar (the code isnt here!)
Find:
<!-- / login form -->

Insert After:
<!-- fbconnect -->
<center>
<span class="fbconnect" style="height:21px">
<img src="http://static.ak.fbcdn.net/images/loaders/indicator_white_small.gif" alt="Connect with Facebook" />
</span>
</center>
<!-- / fbconnect -->


AND

Template: USERCP_SHELL
Find:
<tr><td class="$navclass[password]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editpassword">$vbphrase[edit_email_and_password]</a></td></tr>

Replace With:
<if condition="$bbuserinfo[fbemail]">
<tr><td class="$navclass[password]" nowrap="nowrap"><a class="smallfont" href="#" onclick="facebook_prompt_permission('email'); return false;">$vbphrase[fbconnect_email_settings]</a></td></tr>
<else />
<tr><td class="$navclass[password]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editpassword">$vbphrase[edit_email_and_password]</a></td></tr>
</if>


anyway when i didnt edited this and i continued the install process i had BIG scrolling issue (Explorer) at the bottom.. u can see it here: http://www.freepchelp.co.il

just do a template search for the code and it will be there its not a problem if its in a differant template file like header it will still work :D

GigaSb 01-19-2009 06:55 AM

Quote:

Originally Posted by dxlwebs (Post 1717554)
just do a template search for the code and it will be there its not a problem if its in a differant template file like header it will still work :D

i edited the default template instead of the "Facebook Pro" template.

1. I still have the scrolling error.
2. I cant login with my facebook account.

nMIK-3 01-19-2009 07:06 AM

Quote:

Originally Posted by turbosatan (Post 1715516)
basically add this

Code:

Options +FollowSymLinks
AllowOverride FileInfo
RewriteEngine on
RewriteCond %{HTTP_HOST} ^example\.com
RewriteRule (.*) http://www.example.com/$1 [R=301,L]

if you already have rewriting on then you may already have the

Code:

Options +FollowSymLinks
RewriteEngine on

in which case just add
Code:

RewriteCond %{HTTP_HOST} ^example\.com
RewriteRule (.*) http://www.example.com/$1 [R=301,L]

on the end of whatever is in there

Thanks for the reply, as I already said I fix the problem.

I ended up editing the .htaccess file.
I decided to redirect all the non-www addreses to www. So in the .htaccess file located in the root of my site I added the following

Code:

Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^mysite.com [NC]
RewriteRule ^(.*)$ http://www.mysite.com/$1 [L,R=301]

That redirected all non-www addresses to www.

All exept one! mysite.com/forum was still directing to the non-www address. This was happening because I had vbSEO installed. So note that if you have vbSEO you have to edit both .htaccess files. The one located in the main root and the second one located inside the forum directory.

So I solve this by editing the .htaccess file within the forum directory as well.
In the very top I added the following code:
Code:

RewriteEngine on
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteRule .? http://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

Now everything works smoothly :) :up: :p

Quote:

Originally Posted by sllik (Post 1715885)
I think there is actually a better way than editing the .htaccess file. In the facebook app settings under the Connect tab set the Base Domain setting.

I tried this, with no luck at all... But my problem was solved as I describing above.

Vinyljunky 01-19-2009 11:54 AM

Hello,

I am running PHP 5.2.5

Will this work with VB3.8 and MySQL Version 4.1.20-log ? :o

Hope so :D

Thanks

VJ

Cheertobi 01-19-2009 12:07 PM

Hi,

does this Plugin only works with allow_url_fopen = on?!

Regards,

Tobi

Phaedrus 01-19-2009 02:04 PM

Does this work with the promotions? If I have them come in as a Registered user then promote them later to Verified user will it work normally?

joluis 01-19-2009 04:19 PM

Can you enable the multi-invite system from facebook like the facebook applications?. This will enhace and improve the registration ratio in our forums.

GCC LLC 01-19-2009 06:54 PM

Is there a way to actually get the pop up back after you choose it to not show up on a new reply?

I would like a way to have the option of publishing new threads, but not every post. I declined to publish a new post, clicked "Always do this for..." and now I can't get it back at all.

Any suggestions? Is this right in front of my face? lol

sllik 01-19-2009 07:37 PM

Quote:

Originally Posted by Cheertobi (Post 1717790)
Hi,

does this Plugin only works with allow_url_fopen = on?!

Regards,

Tobi

yes

Quote:

Originally Posted by GCC LLC (Post 1718139)
Is there a way to actually get the pop up back after you choose it to not show up on a new reply?


I would like a way to have the option of publishing new threads, but not every post. I declined to publish a new post, clicked "Always do this for..." and now I can't get it back at all.


Any suggestions? Is this right in front of my face? lol

unfortunately there is no way to bring the popup back after the user chose to never post news-feeds but if you set New Reply Feed Template ID to 0 the user won't be prompted for a new reply.

Quote:

Originally Posted by fmckinnon (Post 1716098)
I'm very excited to have found this mod, and hope to install it. A couple of questions first:

1 - is there any known conflict with the vbulletin/wordpress bridge mod? We use this so that our forum members can also comment on the wordpress-driven portion of the site, etc. The mod basically shares VB users as WP users.

2 - just to make sure I'm understanding ... we require registration (which includes email activation) to create new threads or respond to threads. If someone comes along and logs in w/ their FaceBook account - will they be able to post immediately, or will the email activation go to them (or I assume, their FaceBook email account?)

Thanks in advance - will likely pay to have this installed if the answers are favorable.
http://www.theworshipcommunity.com/forums/

1. not sure, try and see :) I think it should be fine.
2. the mod assumes that the user has a valid email since the user confirmed his/her email when they registered for a facebook account.

Quote:

Originally Posted by Big-K (Post 1716812)
Hi Slikk,

This is working great on my site. Thanks for helping with the install. Three questions

1. I have a vb login on the homepage of my site (non-vb page). Is there any way I can have Facebook Connect on this login page?

2. I don't have the vbconnect link like you have in the fourth screenshot. Is that an omission?

3. How can I re-associate a user an existing user with a different facebook account if its already associated with another.

sent you a PM

sllik 01-19-2009 07:38 PM

Quote:

Originally Posted by Vinyljunky (Post 1717778)
Hello,

I am running PHP 5.2.5

Will this work with VB3.8 and MySQL Version 4.1.20-log ? :o

Hope so :D

Thanks

VJ

let me know how it goes :)


All times are GMT. The time now is 10:52 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.02214 seconds
  • Memory Usage 1,878KB
  • 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
  • (9)bbcode_code_printable
  • (25)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