RapidWeaver FAQ - Comments







Share/Bookmark


How can I have users leaving me comments on my website? How can I have a comment functionality or feature on my RapidWeaver website?


That has never been easier nor has it ever been more beautiful than that.

Chapter 1: What is Disqus and what does it offer?
Chapter 2: How do I add Disqus comments to my site? (Inline comments)
Chapter 3: Have the comments displaying in a box (FancyBox) instead of having them displaying on the page
Chapter 4: How do I moderate the comments?
Chapter 5: Example



This tutorial uses IntenseDebate comments because they are fantastic!

Chapter 1: What is Disqus and what does it offer?


Disqus is a service providing an excellent commenting system for your website which is really easy to install on your website and makes it easy for you to moderate the comments.

Chapter 2: How do I add Disqus comments to my site? (Inline comments)


1. Register to
Disqus.com and provide the details of your website (Site URL yourdomain.com, Site Name, Site Shortname)
2. Copy the following code

        <div id="disqus_thread"></div>
        <script type="text/javascript">
            var disqus_shortname = 'SITE_SHORTNAME';
            (function() {
                var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
                dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js';
                (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
            })();
        </script>
        <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
        <a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>



and change SITE_SHORTNAME in the code to your site shortname.

3. Go to RapidWeaver and to the page you want to add comments to. Paste the code where you want the comments to display (usually at the bottom of the page)
4. Once you added the code to RapidWeaver select it and go to "Format", "HTML" choose "Code". Publish the page and you’re done.

See an example of what the IntenseDebate comment system looks like and how it works at the bottom of this page. Feel free to test it out.

Chapter 3: Have the comments displaying in a box (FancyBox) instead of having them displaying on the page


If you don't want to have the comments displaying on the page because you think it is messy and you're looking for a cleaner solution you may want to just have a link on the page and have the comments opening in a FancyBox as in this example...

Add a comment
comments powered by Disqus

How this is done is described in my
RapidWeaverFAQ.org E-Book (sample)

Known issues: The box closes when people login and they have to reopen the box to leave a comment after they logged in. No fixes for that. No problem if they are already logged in or if they just type in name and e-mail to submit a comment.

Chapter 4: How do I moderate the comments?


1. Go to the Disqus site, click on admin and login with your account
2. You will then see the comments in the moderation queue

Chapter 5: Example


This is what it looks like. Here it’s put in an iFrame because otherwise it would cause some intermingling problems with the above comments in a box code. Having the comments code twice on a page is not a good idea otherwise it works perfectly. I will not watch the comments here so if you have questions refer to the Forum and don’t post them here.





This FAQ is also discussed in my RapidWeaverFAQ.org E-Book (sample)

RapidWeaverFAQ.org - Tutorials, Tips & Tricks is made with RapidWeaver and for RapidWeaver.
It's an EBookStoreToday.com company. It's presented by Cédric Giger and hosted by HostGator.com

Thank you for visiting and supporting my website,
- Cédric -


Now share it…

Share