DISQUS

The Disqus Blog: Admin/moderator highlights

  • Zuffox · 1 year ago
    (Oh, and (1) why can't I edit my OP, when no one has responded, and (2) why does the "topic" box at the top right overlap the text of the post?

    Seems I failed at linking to Rock Paper Shotgun, too; they can be found at http://rockpapershotgun.com)
  • Daniel Ha · 1 year ago
    1) The original post is treated differently from a regular comment at
    the moment. We'll take a look at fixing this.2
    2) Bad UI design, I reckon. We'll change this.
  • Zuffox · 1 year ago
    Any input on the OP post suggestion? =)
  • Daniel Ha · 1 year ago
    Sure, you can do this with CSS.

    The class name is "dsq-moderator" so you can add a special rule in the style.
  • Zuffox · 1 year ago
    Just tried it out - with my extremely limited knowledge - and couldn't seem to get it to work. I've tested it on Disqus here:
    http://essays.tumblr.com/post/36076489/example#...

    Now I might have done something wrong, but the blue-ish color scheme of the blog seems to even overwrite the original textarea.dsq-post-auth too, as I've assigned a red and pink color respectively for the two for testing purposes to see if something would change. Code below:

    textarea.dsq-post-auth {
    background-color: #DA2222 !important;
    border-color: {color:body text} !important;
    }
    textarea.dsq-moderator {
    background-color: #FF3 !important;
    }


    Aside for Disqus implementation and change of two blog template colors, the source should be the same as the one I got it from here:
    http://dashtheme.tumblr.com/post/30243754/theme...
  • Daniel Ha · 1 year ago
    "color: body text" is not valid CSS.

    Also, #FF3 is not a valid color hex.
  • Phil Harnish · 1 year ago
    #FF3 should be fine as shorthand for #FFFF33.
  • Daniel Ha · 1 year ago
    Thanks, I can always count on you to make me look incompetent. ;)

    Niclas - Phil is right. I also just reread what you're trying to do. What are you trying to stylize. The class "dsq-moderator" is of the LI element.

    I don't think you want to stylize the textarea (this is the box you type into). Correct me if I'm wrong.
  • Phil Harnish · 1 year ago
    Haha, just keeping you on your toes. I see all the fires you put out in a day--keep up the great work man.
  • Daniel Ha · 1 year ago
    What are you trying to stylize. The class "dsq-moderator" is of the LI element.

    I don't think you want to stylize the textarea (this is the box you type into). Correct me if I'm wrong.
  • Zuffox · 1 year ago
    Oh you, planting seeds of doubt in the mind of a script novice already at a loss. =)

    I was trying to change the background of the comments, after they have been posted, so to speak for blog the moderator(s) only (and failing utterly at that). Seems I misinterpreted the descriptions of the Advanced Disqus CSS settings. Not as far as being a part of the LI element, but as for what it does according to the CSS descriptions. I'm the one at fault, of course, but perhaps there's some ambiguity in some of the descriptions, which put me off, that could be double-checked.
    Could I trick you into writing the line of code (assuming it's only something you can swiftly pull out your sleeve)? Hopefully I'll be able to reverse engineer to get an understanding of the inner workings of Disqus CSS.

    As for the (color: body text), I wonder how it even got there. I know I didn't write it. Just thought it was of some relevance to the Disqus CSS due to the 'dsq', but then again, I know jack about webprogramming.
  • Daniel Ha · 1 year ago
    Just let me know exactly what you'd like and I'll provide the CSS here.
  • Zuffox · 1 year ago
    Fantastic. Thanks a bunch.

    I'll try to explain it through an example, as I don't know the jargon.

    Regard the comments of http://www.rockpapershotgun.com/?p=1796#comments (a great site which you should talk into using Disqus, by the way, but that's for another time).

    The user Kieron Gillen, who is one of the contributing members of the blog, has a yellow-y background in his post compared to the rest of the regular users whose backgrounds are grey. I'd like to reproduce that effect, so that the Disqus moderator/admin has a differently coloured comment background.
    As for the colour of the background; just choose something random. That can always be tampered with.

    Appreciate the help greatly.
    ( GREATLY )
  • Daniel Ha · 1 year ago
    Add this:

    /* Remove "blue-ish color" from theme */
    #dsq-content #dsq-comments .dsq-comment { background: none; }

    /* Header */
    #dsq-content #dsq-comments .dsq-comment.dsq-moderator .dsq-comment-header { background: #FF3; }

    /* Body */
    #dsq-content #dsq-comments .dsq-comment.dsq-moderator .dsq-comment-body { background: #FF3; }
  • Zuffox · 1 year ago
    You're a regular hero, Ha. You'll get that internet medal eventually.

    A P.S. completely unrelated to this matter; I don't know how many people are
    accustomed to doing this, but personally, I have two typographical means of
    paragraphing: (1) A regular Enter-Enter

    -esque line
    break, and (2) an Enter-Space-Space-Space line indention. Trying to
    do the latter, I find that Disqus doesn't acknowledge the manual indentation I
    make, which on some occasions will result in the manual indentations not
    being visible. We're probably in the pet peeve league now, but if I can find
    it a little thwarting, maybe others will, wherefore I'm (still) bringing it
    to your attention.

    Why settle for less than perfect. =)

  • Daniel Ha · 1 year ago
    Got it, thanks