I think that LDAP is used only into companies. In my case that I imagine to be the most frequent one in companies, if LDAP is used there is no other provider activated.
So I would like to remove the panel on the right explaining why OpenID is good for me.
I think that I can do it myself by creating a custom skin and updating the file templates/authopenid/signin.html but in my opinion it should be done natively if ldap is activated.
done in 0.6.85 those messages are automatically hidden when there are no login "buttons".
The message displayed @ logout had been missed. Here is the patch :
diff --git a/askbot/skins/default/templates/logout.html b/askbot/skins/default/templates/logout.html
index d9ab69f..2cdf495 100644
--- a/askbot/skins/default/templates/logout.html
+++ b/askbot/skins/default/templates/logout.html
@@ -3,13 +3,15 @@
{% block title %}{% spaceless %}{% trans %}Logout{% endtrans %}{% endspaceless %}{% endblock %}
{% block content %}
<h1>{% trans %}You have successfully logged out{% endtrans %}</h1>
-<p>{% trans %}However, you still may be logged in to your OpenID provider. Please logout of your provider if you wish to do so.{% endtrans %}</p>
-{% if settings.FACEBOOK_KEY and settings.FACEBOOK_SECRET %}
- <div id="fb-root"></div>
- <script src="http://connect.facebook.net/en_US/all.js"></script>
- <script>
- FB.init({appId: '{{settings.FACEBOOK_KEY}}', status: true, cookie: true, xfbml: true});
- </script>
+{% if have_buttons %}
+ <p>{% trans %}However, you still may be logged in to your OpenID provider. Please logout of your provider if you wish to do so.{% endtrans %}</p>
+ {% if settings.FACEBOOK_KEY and settings.FACEBOOK_SECRET %}
+ <div id="fb-root"></div>
+ <script src="http://connect.facebook.net/en_US/all.js"></script>
+ <script>
+ FB.init({appId: '{{settings.FACEBOOK_KEY}}', status: true, cookie: true, xfbml: true});
+ </script>
+ {% endif %}
{% endif %}
{% endblock %}
{% block endjs %}
Create your Q&A site at askbot.com. Managed Askbot hosting at just $15/mo. Dedicated hosting, support contracts, consulting services.
create your Q&A siteAsked: 2011-05-12 10:00:56 -0500
Seen: 107 times
Last updated: Jun 01 '11
hide "Still have trouble signin?" if ldap is activated
Feature request: Add classes to body in default skin
Search related questions when posting a question
Please allow diacritic characters for user names.
Please allow hyphens for user names.
Can the interface for searching with tags be improved?
can (should) users send email or post messages to moderators? [done]
Copyright Askbot, 2010-2011. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.