Import registered disqus user comments

I installed openid logging in the system for mysite and the famous disqus comment system .

How can I integrate both of these, i.e. receive registered user information in the disqus comment system, not allowing users to enter their data twice on the same site, and also use the simplification of logging in the task.

Is there an api for disqus so that I can automatically authorize user information?

Something like django_template:

{%if requet.user.is_active %}
  <!--Check if any user is logged in and if someone is then add this in the html output:-->
  var disqus_email = {{ user.email }};
  var disqus_name = {{ user.username }};
  <!--Or as in my case if active user have an openid-->
  var disqus_openid = {{ user.openid }};
{% endif %}

There is one nice entry for this: Disqus and getting a registered user , but looking at the answer, I decided to start a new question on my problem.

+5
source share
1 answer

Found solution at http://help.disqus.com/entries/100880-configure-and-override-comment-system-behaviors .
Should have determined the following for the current user, as I already thought in the question:

var disqus_def_name = "{{ user.get_full_name}}";
var disqus_def_email = "{{ user.email }}";
+4
source

All Articles