[Plugin: FriendConnect Login] GFC with WordPress/Comments
-
Anyone know how to fully integrate Google Friend Connect with WordPress?
[quote]Before you start
If you allow only Google Friend Connect users to login WordPress then:
1) Remove all logout links or replace them with the following one:2) Remove all links to user profile. In case Google Friend Connect user will change his password plugin won’t log him in after that.
If you allow both WordPress and Google Friend Connect users to login WordPress then your code should distinguish user type and generate logout and profile links appropriately.
Here is an example:<?php
_e(‘Logged in as ‘);
// Do not add link to profile and logout link in case of GFC user
global $gfc_userdata;
if ( ! isset($gfc_userdata) ) {
echo ‘‘ . $user_identity . ‘. ‘;
echo ‘‘ . __(‘Logout ‘) . ‘»‘;
} else {
echo $user_identity . ‘. ‘;
echo ‘‘ . __(‘Logout ‘) . ‘»‘;
}
?> [/quote]These are the instructions I got for the GFC plugin but no clue where to post this stuff at. I have the widget added on sidebar.php at [url=http://www.psynema.com]www.psynema.com[/url], but for comments, it still asks for name/email when you log in, so is there a way to log in w/ GFC and have that recognized by Videoflick WP for comments and display your GFC id?
Anyone done this before?
The topic ‘[Plugin: FriendConnect Login] GFC with WordPress/Comments’ is closed to new replies.