Supplying a default OpenID username for users
I'm developing a site for which my users are required to log in using OpenID to carry out many actions. There's a high chance a page viewer will be logged in to my site, and in such a circumstance, I'd like to auto-fill the 'openid login' field (maybe even hide all login options in favor of the auto-filled field). Is this possible?
I'd also love to see some way to specify that I want gravatars next to all comments on my site, so I can guarantee users will see the same avatar in a comment thread as they will elsewhere in the site.
I'd also love to see some way to specify that I want gravatars next to all comments on my site, so I can guarantee users will see the same avatar in a comment thread as they will elsewhere in the site.
2
people have this question
I have this question, too!
Tell me when someone answers.
The more people who ask this question, the more it gets noticed.
The more people who ask this question, the more it gets noticed.
Create a customer community for your own organization
Plans starting at $19/month
-
Inappropriate?Thanks for getting in contact. We currently do not offer the OpenID functionality that you have in mind. I apologize for the inconvenience.
We also do not offer default gravatar implementation for commenters without IntenseDebate accounts.
I know these aren't the answers that you were hoping for and I apologize for the frustration.
All the best,
Michael -
Inappropriate?This solution more or less seems to work (lemme see if I'm able to post the code...):
<script>
function openidize() {
$id("IDCommentsHeadLogin").href="javascript:showLoginOpenID()";
$id("txtHeadLoginOpenID").value='http://default-open-id/';
}
try {
if(window.addEventListener) window.addEventListener("load",openidize,false);
else if(window.attachEvent) window.attachEvent("onload",openidize);
else openidize();
}catch(e) { }
</script>
I put it right after the id script. It basically does two things - provides the default openid and makes it open OpenID signup when user clicks "Login to comment". It does not affect signup form at the bottom. I haven't tried to manipulate that, but I think it's also possible.
P.S. I have only tested it in FF and Opera.
I’m silly
-
Inappropriate?Or this! Should automatically log a user in using an OpenID if they're not logged in already.
<head>
...
< script type="text/javascript">
function log_user_in()
{
if (!commentObj.curUser.isLoggedIn)
{
var list = document.getElementsByTagName('input');
for (i=0; i < list.length; i++)
{
var item = list[i];
if (item.name == 'openid' && item.value == 'http://')
{
item.value = 'http://www.example.com/openid';
}
}
document.getElementById('frmHeadLoginOpenID').submit();
}
}
</head>
<body>
...
</body>
I'd certainly like IntenseDebate to support automatic OpenID login as a feature someday, instead of needing a hack like this!
I’m crazy
-
I second that.
Loading Profile...


EMPLOYEE

