Created
August 16, 2011 18:30
-
-
Save cwarden/1149794 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- disqus.orig 2011-01-26 16:45:26.000000000 -0800 | |
| +++ /etc/blosxom/plugins/disqus 2011-01-26 12:09:06.000000000 -0800 | |
| @@ -9,7 +9,7 @@ | |
| # | |
| # What is your username on Disqus (the one that should appear | |
| # on the javascript section of the HTML pages)? | |
| -$disqus_username = 'nunonunes' unless defined $disqus_username; | |
| +$disqus_username = 'pinkhamster' unless defined $disqus_username; | |
| # | |
| # Message to display if feedback (comments and trackbacks) is not allowed | |
| # on a story. | |
| @@ -18,8 +18,10 @@ | |
| # | |
| # --------------------------------------------- | |
| +# Dependencies: pagetype plugin (http://blosxom.ookee.com/blosxom/plugins/v2/pagetype-v20060101) | |
| + | |
| # Use $disqus::comments and $disqus::comment_count in your story template. | |
| -# Use $disqus::foot in your footer template. | |
| +# Use $disqus::footer in your footer template. | |
| use vars qw{ $footer $comments $comment_count }; | |
| @@ -39,8 +41,8 @@ | |
| if ($feedback_allowed) { | |
| $comments = <<COMMENTS_THREAD; | |
| <div id="disqus_thread"></div> | |
| -<script type="text/javascript" src="http://disqus.com/forums/nunonunes/embed.js"></script> | |
| -<noscript><a href="http://disqus.com/forums/nunonunes/?url=ref">View the discussion thread.</a></noscript> | |
| +<script type="text/javascript" src="http://disqus.com/forums/$disqus_username/embed.js"></script> | |
| +<noscript><a href="http://disqus.com/forums/$disqus_username/?url=ref">View the discussion thread.</a></noscript> | |
| COMMENTS_THREAD | |
| } | |
| else { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment