Facebook Connect Module

Register an Account
Reply
 
Thread Tools Display Modes
  #11 (permalink)  
Old 01-21-2010, 07:39 PM
Constant Pligger
Pligg Version: 1.0.3
Pligg Template: tarthemia
 
Join Date: Mar 2009
Posts: 202
Juz bought and installed .....wen i tried to login with facebook its simply returns to the index page..without login....yanikdank pls see abt it
Reply With Quote
  #12 (permalink)  
Old 01-21-2010, 07:52 PM
chuckroast's Avatar
Pligg Developer/Coder/Designer
Pligg Version: SVN
Pligg Template: Social Pro Kit
 
Join Date: Jun 2006
Posts: 5,448
Quote:
Originally Posted by kevin4uguys View Post
Juz bought and installed .....wen i tried to login with facebook its simply returns to the index page..without login....yanikdank pls see abt it
Can I be the first to say.. PLEASE READ.
Your sales confirmation email says that if you have any problems you should use the helpdesk and NOT to use the forums.

It's sad that I have to spend so much time out of my day just to tell people to read.
Reply With Quote
  #13 (permalink)  
Old 01-21-2010, 07:58 PM
Constant Pligger
Pligg Version: 1.0.3
Pligg Template: tarthemia
 
Join Date: Mar 2009
Posts: 202
ok ok sry bro
Reply With Quote
  #14 (permalink)  
Old 01-22-2010, 10:43 PM
keg01's Avatar
Pligg Donor
Pligg Version: 1.0.0
Pligg Template: exp realnews
 
Join Date: Oct 2007
Location: Atl
Posts: 74
For those implementing this module, two quick tweaks you may want:

1) To have all Wall postings include a default image or logo from your site, insert something like this into your pligg.tpl or where ever you have meta tags:

HTML Code:
<link rel="image_src" href="http://www.yourhost.com/path/yourimageorlogo.gif" />
2) When the link is posted, this module posts the pligg summary to the wall link "comment" which in effect means the pligg item is posted twice - once in the fb link itself and once as the comment above the fb wall posted link. I preferred to have a generic statement always posted as the link's fb comment by modifying the fb_do_submit3 function around line 217 of modules/fb/fb_main_php[x].php (where [x] is your environment's php ver (4 or 5). Instead of:

around line 232:
PHP Code:
$id $fbclient->api_client->links_post(getmyFullurl("storyURL"$linkres->category_safe_name($linkres->category), urlencode($linkres->title_url), $linkres->id), $linkres->link_summary); 
I inserted:
PHP Code:
$mycomment "I posted an item at my pligg site.";
$id $fbclient->api_client->links_post(getmyFullurl("storyURL"$linkres->category_safe_name($linkres->category), urlencode($linkres->title_url), $linkres->id), $mycomment); 
Primitive but effective. If you want to get fancy, let the pligg link submitter have the option input a custom comment via a custom input field on submit and then they will love you for letting them control how it appears on their wall.

I hope pliggers using this awesome module find these tweaks useful. Thanks Pligg team for getting this baseline fb integration out there - the sky's the limit now on exploiting the api.
Reply With Quote
  #15 (permalink)  
Old 01-22-2010, 11:26 PM
Constant Pligger
Pligg Version: 1.0.3
Pligg Template: tarthemia
 
Join Date: Mar 2009
Posts: 202
@ yanikdank abiviously its an amazing module ...but am lil confused dat if a user login with facebook it agains ask the pligg user name and password to log inside...........if a new person connecting with facebook to register it again ask the user to pligg username and account....y cnt we made like in a single step like digg....coz dis requires the members to log 2 times wen they are connectin with facebook.............
Reply With Quote
  #16 (permalink)  
Old 01-23-2010, 12:09 PM
Yankidank's Avatar
Pligg Founder/Coder/Designer
Pligg Version: SVN
Pligg Template: Wistie
 
Join Date: Dec 2005
Location: Ocala, FL
Posts: 4,934
Send a message via AIM to Yankidank
Quote:
Originally Posted by kevin4uguys View Post
@ yanikdank abiviously its an amazing module ...but am lil confused dat if a user login with facebook it agains ask the pligg user name and password to log inside...........if a new person connecting with facebook to register it again ask the user to pligg username and account....y cnt we made like in a single step like digg....coz dis requires the members to log 2 times wen they are connectin with facebook.............
When the user first logs into Facebook through the site they need to connect their Facebook account to a Pligg account. This is why the module directs them to a registration page where they can either register a new Pligg account or they can link it to an existing Pligg account. Once they link Facebook to a Pligg account it will no longer ask them for their Pligg information when they click on the Facebook Connect button. So once an account has been linked they won't have to do anything other than click the Facebook connect button to log in.

The Twitter Module for Pligg CMS!
Register, Login, and Submit Stories with Twitter. An absolute MUST HAVE for all Pligg sites!
Reply With Quote
  #17 (permalink)  
Old 01-23-2010, 03:35 PM
Constant Pligger
Pligg Version: 1.0.3
Pligg Template: tarthemia
 
Join Date: Mar 2009
Posts: 202
//////////So once an account has been linked they won't have to do anything other than click the Facebook connect button to log in.//////////

no bro its ask the user to log again ...even in your official site its asking like dat kindly check it again
My Site - Your Source for Social News and Networking
Reply With Quote
  #18 (permalink)  
Old 01-23-2010, 11:11 PM
Pligg Donor/Coder
Pligg Version: 1.0.1
Pligg Template: Midnight Blue
 
Join Date: Oct 2009
Location: Chicago, IL
Posts: 170
Hey Kevin,

I haven't really installed this plugin yet but I tested it on your site. The behavior as it is right now is absolutely correct logically.

When I connected with facebook, it suggested the username, with which I should register on your pligg site. After filling in the rest of the information, it sent the activation email. Once I clicked on the activation link, it activated the account and by Default, once activation is done, a user is required to login. It makes sense for security reasons. After logging in, I logged out again.

Clicked on the facebook connect button again, and this time it connected me directly as it should have without asking me to login using my Pligg account. Because that would be ridiculous.

I strongly believe that the behavior as I tested it right now makes complete sense. You can remove the activation process to cut down on steps.

All the best!

Azam | SquidUp.org

Now Available: Status Wall from Pligg Pro

Quit Smoking Cigarettes. Live Healthy! Switch to Vapor. Learn about Electronic Cigarettes Electronic Cigarettes
Reply With Quote
  #19 (permalink)  
Old 01-24-2010, 01:21 AM
New Pligger
Pligg Version: 1.0.1
 
Join Date: Oct 2009
Posts: 1
Yankidank...First I bow to your developments and thank you. One item as I bought your Facebook Connect Module and testing it out, there is one item that completed my testing.

My troubleshooting began after I tested in IE7. I normally use FireFox, it was just part of the routine. Finally I changed the following to the pligg.tpl template:

FIND:
<html dir="ltr" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

CHANGED TO:
<html dir="ltr" xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml" xml:lang="en" lang="en">




This allows the button to show in IE7 without any issues.

Just my two cents. Thanks again. Keep pumping out great pligg accessories.

Last edited by adamsmith37; 01-24-2010 at 09:45 AM.
Reply With Quote
  #20 (permalink)  
Old 01-24-2010, 12:59 PM
Yankidank's Avatar
Pligg Founder/Coder/Designer
Pligg Version: SVN
Pligg Template: Wistie
 
Join Date: Dec 2005
Location: Ocala, FL
Posts: 4,934
Send a message via AIM to Yankidank
Quote:
Originally Posted by adamsmith37 View Post
Yankidank...First I bow to your developments and thank you. One item as I bought your Facebook Connect Module and testing it out, there is one item that completed my testing.

My troubleshooting began after I tested in IE7. I normally use FireFox, it was just part of the routine. Finally I changed the following to the pligg.tpl template:

FIND:
<html dir="ltr" xmlns="XHTML namespace" xml:lang="en" lang="en">

CHANGED TO:
<html dir="ltr" xmlns="XHTML namespace" xmlns:fb="Page Not Found | Facebook" xml:lang="en" lang="en">




This allows the button to show in IE7 without any issues.

Just my two cents. Thanks again. Keep pumping out great pligg accessories.
I will add that to the module readme file so that others could manually make this manual edit.

The Twitter Module for Pligg CMS!
Register, Login, and Submit Stories with Twitter. An absolute MUST HAVE for all Pligg sites!
Reply With Quote
Reply

Tags
connect, facebook, integration, module

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Status Update Module Yankidank Modules for Sale 15 01-30-2012 03:05 AM
Fixes to Profile Extra Fields Module v0.2 and Extended Profile Module v0.1 redwine Questions and Comments 11 12-20-2010 04:18 PM
20 Great Pligg Modules chuckroast Modules for Sale 13 08-06-2010 05:11 PM
Facebook Connect with Pligg surfrock66 Questions and Comments 35 01-20-2010 02:20 PM
Facebook Connect keg01 Questions and Comments 69 11-10-2009 11:53 PM


Pligg Modules and Pligg Templates from Pligg Pro Find support on the Pligg CMS Forum - 24 hours a day! Make a donation to support Pligg CMS development