DarkUFO
unread,Jun 13, 2012, 2:43:41 PM6/13/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to disqu...@googlegroups.com
We have this code that we use on on out site to reward Badgeville points.
Since moving to Disqus 2012 today this code is no longer working.
Could someone have a look and see what I need to change to fix this.
function disqus_config() {
this.callbacks.onReady = [ function() {
if ( DISQUS.container.innerHTML.indexOf("dsg-comment-message") != -1 ) {
hascomments = 1;
}
} ];
this.callbacks.onNewComment = [function() {
if ( hascomments ) {
hascomments = 1;
Badgeville.credit( ['leave a comment',{verb:"awardshowpoint",
showname: showlabel, showpoint:1}] );
} else {
hascomments = 1;
Badgeville.credit( ['leave a comment',{verb:"awardshowpoint",
showname: showlabel, showpoint:1}] );
}
}];
}
//]]>
</script>