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
View Arunoda Susiripala's plugins
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
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)
hi Arunoda, i got an error while changing password in http://elgg-gfc.arunoda.com/pg/settings/user It is showing operation aborted. I'm using IE 7
@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..
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://www.yomboo.com/autodash.zip
@Jayadeep check whether it's OK in IE7 (I'm having hard time on debugging in IE on Linux)
;)
@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://elgggfc.googlecode.com/svn/trunk/elgg_gfc_trunk.zip
and you can always get the current version from above location...
It seems to work just fine for me (1.6.1)
Thanks, Arunoda
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
now its working fine arunoda......thanks for the fix. ;-)
@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>
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
^^ it is not even displaying the default elgg icon...and they cannot change it again
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
Hi Arunoda Susiripala
It is working.
Thanks
jbroide
does anyone else experience the user icon not being displayed?
@Andrew
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...
(you can change from the settings page)
adding facebook connect would be awesome
there is a plugin which play with elgg..
here it is..
http://community.elgg.org/pg/plugins/dave/read/90641/facebook-connect
why is there a duplicate ???
Google Friend Connect Integration
by mojosocool
First uploaded 2 hours ago
when I try to use the "Create a username" at the top bar, it give me en error that read :
anyone??
Is this plugin compatible with Elgg 1.7.1?
Hello, I found a bug in the plugin.
Install and configure the plugin and everything right, but when I try to login after I receive blank page and update when I receive HTTP 500 error. What to do?
Excuse my English, I'm from Brazil and for the translation I'm using google.
Thanks
Works fine save for validating user in administartor. The validate link does not do anything when clicked. I also noticed it point to javascript:send_it("http://www."mysite".com/action/gfc/validate?username=gfc_08118851595481872783"). Assuming the last #s are my google connect id, then it is wrong. I have entered the rigth id on the admin though. could someone help?
User is added ok. then it says user should wait to be approved by admin. so i go to GFC administrator and try to validate but link does not work. Am i missing something?