by Arunoda Susiripala
First uploaded 217 days ago
0
Recommendations
Summary:
authenticate via Google Friend Connect and import user-details and thumbnails from Google Friend Connect
Full description:
Google Friend Connect Integration
(Edit your project's description!)
This will allow your elgg site to login using Google Friend Connect..
Installation instruction is available inside the package or
you can go to gfc development site
live demo can be found here
http://elgg-gfc.arunoda.com/
Works with both 1.5 and 1.6
Installation guide
http://code.google.com/p/elgggfc/wiki/HowToInstall
Changes since 1.1
NOTE: Now GFC no longer requires you to upload some files the the root of the site (previously rpc_relay.html & canvas.html)
DOWNLOAD the latest
following package contains latest version of the plugin (with fixed bugs discussed here)
http://elgggfc.googlecode.com/svn/trunk/elgg_gfc_trunk.zip
hi Arunoda, i got an error while changing password in http:/
Jayadeep 148 days ago
@Jayadeep there seems to be an IE specific error I'm on it...
thanks..
@Andrew
sometimes It could be possible with the view I've added and I couldn't find the autodash plugin..
can you give me the link of that..
Arunoda Susiripala 148 days ago
I couldnt find it either, perhaps the auther has taken it down for some reason... this is the copy i have, i believe it to be the most current. http:/
Andrew 148 days ago
@Jayadeep check whether it's OK in IE7 (I'm having hard time on debugging in IE on Linux)
;)
Arunoda Susiripala 148 days ago
@andrew I've updated the current version to the svn. I did a fix.. just check whether it's working or not..
here's the link..
http:/
and you can always get the current version from above location...
Arunoda Susiripala 148 days ago
It seems to work just fine for me (1.6.1)
Sem 148 days ago
Hi Arunda
Thanks for the plugin
I am using customindex for the index page of my site. So I have to write the code for the things I want to appera in the front page.
Do you know which is the code I have to write to gfci to appear?
For example for the login boxes i wrote:
<div id="welcome-box">
<div id="login-box"><?php $form_body = "<p><label>" . elgg_echo('username') . "<br />" . elgg_view('input/text', array('internalname' => 'username', 'class' => 'login-textarea')) . "</label><br />"; $form_body .= "<label>" . elgg_echo('password') . "<br />" . elgg_view('input/password', array('internalname' => 'password', 'class' => 'login-textarea')) . "</label><br />"; $form_body .= elgg_view('input/submit', array('value' => elgg_echo('login'))) . "</p>"; $form_body .= "<p><a href=\"". $vars['url'] ."account/register.php\">" . elgg_echo('register') . "</a> | <a href=\"". $vars['url'] ."account/forgotten_password.php\">" . elgg_echo('user:password:lost') . "</a></p>"; echo elgg_view('input/form', array('body' => $form_body, 'action' => "". $vars['url'] ."action/login")); ?></div>
</div>
</td>
Thanks
jbroide
Jose Br 147 days ago
now its working fine arunoda......thanks for the fix. ;-)
Jayadeep 147 days ago
@jose Br
<div id="gfc_login_icon">
</div>
above is the code used for rendering the button.. JS will do the actual rendering...
so you can place it anywhere you wish and if you are building a seperate custom index.... (not using Elgg views) add following code to the head section...
<script type="text/javascript">
function setGFC(){
var target=document.getElementById("gfc_login_icon");
if(!target) return;
google.friendconnect.container.setParentUrl('mod/gfc/');
google.friendconnect.container.loadOpenSocialApi({
site: '<?php echo $CONFIG->GFC_SITE_ID;?>',
onload: function(securityToken) {
if (!window.timesloaded) {
window.timesloaded = 1;
} else {
window.timesloaded++;
}
if (window.timesloaded > 1) {
window.top.location.reload();
}
}
});
google.friendconnect.renderSignInButton({ 'id': 'gfc_login_icon', 'text' : 'Click here to join ', 'style': 'standard' });
}
$(document).ready(function() {
setGFC();
});
</script>
Arunoda Susiripala 147 days ago
hi, the only problem i have noticed is that even though they choose their user icon while registering it will not show in the profile. user icon is blank. can you have a look at this please, thanks
sam1 146 days ago
^^ it is not even displaying the default elgg icon...and they cannot change it again
sam1 146 days ago
In the GFC Administration page ... it doesnt seem to save settings changes you make (well doesnt for me anyway) But its lucky the only one i needed to change was the icon alignment, so all i did was sdd this to the css
#gfc_login_icon {
margin-left:10px;
margin-top:10px;
}
Andrew 146 days ago
does anyone else experience the user icon not being displayed?
sam1 146 days ago
basically controlling icon will 100% on default setting (themes /etc)..
for a custom one yes.. some times you really need to change that...
@sam1
there is some odd icon handling in previous version...
but with new one icon-handling is like that...
Arunoda Susiripala 146 days ago
adding facebook connect would be awesome
agus darwanto 124 days ago
there is a plugin which play with elgg..
here it is..
http:/
Arunoda Susiripala 124 days ago

Andrew
Profile
Friends
Friends of
Pages
Plugins
Some great improvements, thank you very much! I have a really odd issue tho ... when this plugin is enabled, it makes my riverdashboard disappear lol. :| (using autodash)
Andrew 148 days ago