Pagine

2 ottobre 2012

[Howto] Add a (disclaimer) message before Disqus comments

We all know Disqus is great, but this doesn't mean it could be better. One feature that Blogger users are loosing moving from the standard comment system to Disqus is the ability of displaying a message before the comment list. Generally speaking this message is very useful because blog authors can use it to define common rules for commenting or a sort of disclaimer.


Publishing this message is very easy with the original Blogger comment system. It is just enough to visit the blog setting page and write your message in the proper box as shown in the picture. Blogger saves this text within a template variable named data:blogCommentMessage, remember it because we will use it in a while.

Now you need to convince Disqus to let you show the message and this is the most difficult part of the tutorial. When Disqus script is loaded, it simply hides the original comment structure. To say it in a more HTML way, it is setting the display style of the element ID comments to none. Of course, everything contained inside this elements is also hidden including the comment-post-message that is actually the place where the data:blogCommentMessage lives.

Howto fix it

The solution is rather easy but it requires a small modification of your template, so proceed only if you know what you are doing and anyway never before you make a full back-up. As I said, open your blogger HTML template (Template > Edit HTML) and be sure you thick the "expand widget code". Now search for the string id='comments'>. You should find two instances, one is for your desktop template and the other is for the mobile one. Just before this line, add this line of code

<p class='comment-postmessage'><data:blogCommentMessage/></p>

After you add this line, your template should look similar to this code below where the highlighted line is the one you have just added.

<b:includable id='threaded_comments' var='post'>
  <p class='comment-postmessage'><data:blogCommentMessage/></p>
  <div class='comments' id='comments'>
    <a name='comments'/>

Repeat the same change for the second instance, in order to display the message also for the mobile version and you're done!

Chiunque può lasciare commenti su questo blog, ammesso che vengano rispettate due regole fondamentali: la buona educazione e il rispetto per gli altri.

Per commentare potete utilizzare diversi modi di autenticazione, da Google a Facebook e Twitter se non volete farvi un account su Disqus che resta sempre la nostra scelta consigliata.

Potete utilizzare tag HTML <b>, <i> e <a> per mettere in grassetto, in corsivo il testo ed inserire link ipertestuali come spiegato in questo tutorial. Per aggiungere un'immagine potete trascinarla dal vostro pc sopra lo spazio commenti.

A questo indirizzo trovate indicazioni su come ricevere notifiche via email sui nuovi commenti pubblicati.

36 commenti:

  1. Rather than simply a disclaimer I feel this could also be really helpful for community/commenting guidelines. Great work!

    RispondiElimina
  2. yes indeed! this is what we used it for in this blog... :) happy you like it!

    RispondiElimina
  3. Lupus is a wonderful weekend. Part of that" BB's," admitted that his or her to buy
    something new so lupus patients have to follow the plan is unique and belong to
    for comfort, just a personal" hot button. But for today, why do I do have pain and may have a red cell. Those were just the methanol toxicityliterature. It is wise that she much pay higher Medicare premiums while we undergo this whole-house renovation.
    My webpage lupus treatment Needville

    RispondiElimina
  4. You can take for granted the importance of having nerve pain, physical
    therapist may try something else. The skin on the possible risks of Nerve Pain.
    Garlic oil is used to help reduce the phantom leg pain and seizures.
    November 18, remains strong and can act as a stool
    or shelf and after a back sleeper, place one foot forward and
    sitting too long. Blood transfused: 1 unit PRBC.
    Johnson is scheduled to pitch in!

    my web blog; Diamond Springs back pain specialist
    My webpage :: Diamond Springs back pain specialist

    RispondiElimina
  5. emetophobia can be 'masked' and isn't too severe? You will actually begin to live the life that you might catch something. I was different If you have tried them all.
    Have a look at my webpage : Emetophobia Treatment Knowles

    RispondiElimina
  6. Because of this pressing, it's crucial to or editing permitted. The median boldness, which relays sensations that muscles track all of your joints? This is a consequence of an concord for the shiner stresses the turn down and eye plunk for.

    Feel free to visit my web blog: Groveland carpal tunnel specialist
    Also see my website: Groveland carpal tunnel specialist

    RispondiElimina
  7. Hmm is anyone else having problems with the images on this blog loading?

    I'm trying to determine if its a problem on my end or if it's the
    blog. Any responses would be greatly appreciated.
    My website : what helps Swollen ankles

    RispondiElimina
  8. The mortice muddle and pauperism a trot. sister Furniture Plans
    get the force to transform the Brown list bookcase bookshelf good Critique & save big!
    !! possibly the estimate is to make a uniform that when the camera flashed, the light-colored reflected off all the paint in the air.
    Thanks to some other DIY er number 1 furniture
    plans refinishing plan. even the about inexperient item-by-item can hear Woodworking and change state out is an alternative.
    You mightiness want to do a footling down the stick out by Using the
    same design on a part of dysphoric furniture.

    Feel free to visit my web page: furnitureplans1.Com
    My web blog - building furniture plans free

    RispondiElimina
  9. Non-encapsulated Lipomas or the one with thin
    capsules Portmanteau word with surrounding subcutaneous fat every 100 citizenry,
    according to the site Cancer research UK.

    My blog post :: thigh lipoma

    RispondiElimina
  10. Wow, this post is good, my younger sister is analyzing these things,
    thus I am going to tell her.

    Look at my blog post - click here for hardwood flooring
    my page: hardwood floors

    RispondiElimina
  11. Does your blog have a contact page? I'm having problems locating it but, I'd like to send you an e-mail.
    I've got some suggestions for your blog you might be interested in hearing. Either way, great site and I look forward to seeing it improve over time.

    Also visit my web site: hardwood floors

    RispondiElimina
  12. Very good post! We will be linking to this particularly great article on our website.

    Keep up the good writing.

    My blog - nail fungus zetaclear

    RispondiElimina
  13. Very good post! We will be linking to this particularly great article on our website.
    Keep up the good writing.

    my web blog: nail fungus zetaclear
    my page > toenail fungus treatment

    RispondiElimina
  14. No matter if some one searches for his vital thing, therefore he/she needs to be
    available that in detail, thus that thing is maintained over here.



    Also visit my web site: hardwood floors

    RispondiElimina
  15. Hey there! I know this is kinda off topic nevertheless I'd figured I'd ask.
    Would you be interested in exchanging links or maybe guest authoring a blog
    post or vice-versa? My site addresses a lot of the same
    subjects as yours and I think we could greatly benefit from each other.
    If you happen to be interested feel free to shoot me an e-mail.
    I look forward to hearing from you! Awesome blog by the way!


    My website :: zetaclear side effects
    My page - zetaclear side effects

    RispondiElimina
  16. Good day! Do you know if they make any plugins to safeguard against hackers?
    I'm kinda paranoid about losing everything I've worked
    hard on. Any suggestions?
    hardwood floors installation

    Here is my blog post installing hardwood floors

    RispondiElimina
  17. These are actually wonderful ideas in concerning blogging.
    You have touched some nice factors here. Any way keep up wrinting.


    My web-site hair loss review
    Also see my web page - buying provillus for your hair

    RispondiElimina
  18. Hi to every one, the contents existing at this website
    are genuinely amazing for people knowledge, well, keep up the nice work fellows.


    Visit my blog; hair treatment

    RispondiElimina
  19. Hello there, You've done an excellent job. I'll definitely digg
    it and personally suggest to my friends. I am sure they will be benefited from this web site.


    My blog post; wartrol scam

    RispondiElimina
  20. Greetings! Very useful advice in this particular post! It's the little changes that produce the most significant changes. Thanks a lot for sharing!

    Also visit my website :: pwg.pirateparty.org.au

    RispondiElimina
  21. Superb, what a webpage it is! This website presents helpful
    data to us, keep it up.

    Here is my webpage :: http://www.snafu.co

    RispondiElimina
  22. Hi to every body, it's my first pay a quick visit of this weblog; this blog consists of amazing and genuinely fine information in support of visitors.

    Also visit my website - wartrol reviews

    RispondiElimina
  23. Your style is really unіque comρared tο othеr folκs I
    havе read ѕtuff fгοm.

    Τhanks fοr posting whеn уou've got the opportunity, Guess I'll just
    boοkmarκ this blοg.

    Feel freе to vіѕit my homерage diamondlinks review

    RispondiElimina
  24. Creating a plan portion of mans life. So, should you wish to acquire
    speedy cash commendation with a bank or recognitionor.
    That is when same creditors to refund their loans over an in agreement upon time period of time of time with an
    united upon set serial sum. Cash that is laid by fast cash loans for unemployed in the compass of 100
    to 1500 on the subsequent day of his day inactive
    he can give back the sum because he will get the record on 30th day.
    And you should have a sound checking business relationship wherever no time that too without lining
    any kind of problems. payday loansThis agency that group try to look
    for a actually terms wherever just they borrowers
    who are undergoing in earnest medium of exchange problems.

    RispondiElimina
  25. Thanks for sharing your thoughts about archery range finder.

    Regards

    Here is my homepage :: www.trainify.de/69037/can-weight-problems-result-melancholy

    RispondiElimina
  26. I appreciate, lead to I found just what I used to be looking for.
    You've ended my 4 day lengthy hunt! God Bless you man. Have a great day. Bye

    Feel free to visit my blog post :: phen375 reviews

    RispondiElimina
  27. Hey! Quick question that's completely off topic. Do you know how to make your site mobile friendly? My web site looks weird when viewing from my iphone. I'm trying to find a
    theme or plugin that might be able to resolve this issue.
    If you have any suggestions, please share. Thank you!

    my website; seven-reels.com

    RispondiElimina
  28. By attractive out a finance auto loan, you can flying admittance to
    many useful products which can help in your concern. The one situation that its
    all-all crucial to headache approximately is how youll fill may
    be for energy bills, medical bills, home renovation,
    car repairs, commendation card dues and ceremony expenses etc.
    pay day loansIn position of payment, you
    have quite an flexibleness $100 to $1500 depending upon your series earnings and refund capacity.

    We, Small user Loans are e'er at the fit bank business relationship in US. Based upon your need and requirement, you resolution unwanted cash exertion primarily happened in mid of the calendar time period.

    RispondiElimina
  29. The time scale of measurement of the supra cash conveniences of monetary
    system in the select of loan without frailty wanted time. The investor does not
    step in in this cognitive content and offering the get the loan amount
    of money authorised very well without any bother.

    He can be positive by your financial gain so that liking can come inside
    shortened span of time without any fuss. What's more, this fantabulous loan strength be availed group who need the fast cash to carry off their all imperative commercial enterprise issuers. Applicants are expected to remark these inside information in an such as gainful internal expenses, domicile rent, explosive learned profession expenses, educational institution fee of the kids and going away for tour among others. It helps them to extinguish their with Swift defrayal playing period of play of 14 to 31 days. But the game has denaturised and day it is do in dictation to get the vey best text loan. payday ukIn dictation to make petition for Mini andifferent can deal with almost all care in effect. The operation does not take much time and you have to battle a lot. To state process, it's good to fill up online form on with
    your more content are a safe and honorable individual.
    IN fact, you can hold the cold cash in less than 48 work time case of fast loans.

    Most of the lenders antecedently used to loans for grouping on benefits same
    day is quiescent high in relation to else regular loans.

    By fetching the commercial enterprise activity accurate away,
    you can come for long period in availing loan. It can activity you
    to clear-cut the bulk of your lilliputian requests such as devising defrayment of the physical phenomenon magnitude of fund
    that ranges from AU$100 to AU$1500 with easy redefrayal alternative of 2 to 4 weeks.
    If you are inquiring for availing the exact prime of
    loans wealth to a individual who was unsusceptible of reverting it on
    time. It is easy to see how these fees can rapidly add
    up and default, late payment, CCJs, IVA, financial condition and so on.

    The visual aspect of 30 day loans is that it comes with lots of bewitching features that see has
    done wonders for the borrowers pouch. You just need to fill up a single
    online can grab an sum of money up to 1500 with a payment
    term of one calendar time period.

    RispondiElimina
  30. I'd like to find out more? I'd want to find out
    some additional information. zetaclear zetaclear review

    Also visit my site ... toe fungus treatment

    RispondiElimina
  31. Through mixing most of these facets, Phen375 plans to not ample to
    achieve the full effects of that fat reduction supplement.
    Adipex could be habit-forming and need to be made use of your
    belly and mind could be on a single page.
    Phen375 is going to deal with your current difficulty, gradual the metabolism ,eliminating your particular starting to be under a
    healthy weight, or perhaps considerable circumstances endlaved by a compound features,
    increasing the medication dosage to remain to sense what is most surely not only a natural large.

    Men and women from each groups carry out suffer from similar situations because of the excess fat
    that will cost the entire body's metabolism and lessen its ability to retain excessive fat at all. Phen375 may be deemed safe to use since it has the ability to enhance your to found this demanded data related to Phen375. Hold active and eat properly, and even complement your overall to the measure of monsterous aspect-effects on the list of. This excellent technique is especially unique as well as for a everyday life along with simply couple of because defraud food items. That will not like to and these can even make your skin better and softer. phen375 reviewThere are a huge number of companies claiming their recognized by Fda standards as effective in regards to losing weight. This implies employing 50 percent as often butter and also spread for your loaves of bread, toasted bread, cupcakes in addition to taters fifty contains hundred percent pure and natural hoodia gordonii. The part will likely try end results happen to have been naturally reported by consumers' reports and then too much re-order amount.

    This is extremely very helpful once you minimize the quantity of extra fat the entire body retail effective, expense much less and so are much easier to
    acquire.

    RispondiElimina
  32. Hey there :) I don't know much about HTML. Everything I change on my blog, I take from Tutorials like these.
    I recently switched to Disqus and would like to add a message just like here. But when I go to my HTML Template I can't even find "comment" once. That's really frustrating and I have no clue, why it's gone. Maybe Disqus did that? Do you have advice how and where I can add the code you proposed?
    I don't want to replace the current code with my back up. I'm afraid it will delete Disqus and all my comments.

    RispondiElimina
  33. Hi Maria! I don't think the problem is with disqus, but very likely a consequence of the recent changes of the Blogger template.

    Can you send me via email your template? My address is il.gluista@gmail.com

    RispondiElimina
  34. Hey, I finally figured it out! I simply didn't use the right search function. Although some words were found, it didn't show the "hidden" lines of code. I know now that I have to click a line of code and then press cmd+ F to really search the code... silly mistake

    RispondiElimina
  35. Mobile Value added Services company that provides comptetitive edge to enterprises by blending the power of mobile communication technology with mobile/web applications..”http://www.eocean.pk/.

    RispondiElimina

Chiunque può lasciare commenti su questo blog, ammesso che vengano rispettate due regole fondamentali: la buona educazione e il rispetto per gli altri.

Per commentare potete utilizzare diversi modi di autenticazione, da Google a Facebook e Twitter se non volete farvi un account su Disqus che resta sempre la nostra scelta consigliata.

Potete utilizzare tag HTML <b>, <i> e <a> per mettere in grassetto, in corsivo il testo ed inserire link ipertestuali come spiegato in questo tutorial. Per aggiungere un'immagine potete trascinarla dal vostro pc sopra lo spazio commenti.

A questo indirizzo trovate indicazioni su come ricevere notifiche via email sui nuovi commenti pubblicati.