Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Feature: Auto hide. Change: show node vote counts to all, not just logged in users. (CSS class)

by LanX (Saint)
on Jul 19, 2017 at 20:27 UTC ( [id://1195518]=note: print w/replies, xml ) Need Help??


in reply to Feature: Auto hide. Change: show node vote counts to all, not just logged in users.

Where exactly do you want these posts to be "marked"? ... ?

And in case of root nodes

  • In their category listing like SOPW
  • In the monastery gates
... ?

Discipulus suggestion about font size is here and I further elaborated about the already available CSS classes like .nnt-line-minusminus for RAT

The IMHO easiest implementation might be adding one (or several) more CSS class reflecting "worstness".

The actual default behavior - at least for anonymous visitors - could be left to the default style and any logged in user could choose to override it in his stylesheet settings.

possible changes could effect

  • visibility / display
  • font size / color / ...
  • background color / image° ...
  • a blur filter on top
and could be easily maintained and adjusted later, for instance for differing tastes or design changes.

Would this fit your requirements?

EDIT

see also Re: Blocking users for a proof of concept

UPDATE

Plus: A voluntary revealing could be easily implemented in JS

Minus: search engines would still see the content.

Summary: Not a replacement for Reaping, just a more flexible parallel mechanism which doesn't cause interference with consideration.

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!

°) here a pic I might choose in my settings ;-)

  • Comment on Re: Feature: Auto hide. Change: show node vote counts to all, not just logged in users. (CSS class)
  • Download Code

Replies are listed 'Best First'.
Re^2: Feature: Auto hide. Change: show node vote counts to all, not just logged in users. (CSS class)
by jdporter (Paladin) on Jul 20, 2017 at 15:48 UTC

    Using CSS to allow users to implement their own "hiding" solutions is easy, and practically a no-brainer. However, it only helps logged-in monks. That's why I'm not focusing on this branch of the total solution. It's easy, and monks are smart enough to do whatever. It's the anonymous monks I'm concerned about. CSS is not part of any solution there.

    I reckon we are the only monastery ever to have a dungeon stuffed with 16,000 zombies.
Re^2: Feature: Auto hide. Change: show node vote counts to all, not just logged in users. (CSS class)
by Anonymous Monk on Jul 19, 2017 at 23:07 UTC

    Minus: search engines would still see the content.

    Thats only if the default anonymous view is the same as the view for search engines -- no technical reason for this to be the case

      I think adding additional CSS classes is far easier in the context of this framework than special cases for bots.

      And I don't see a reason to "auto-hide" posts from bots, that's what consideration is for.

      Cheers Rolf
      (addicted to the Perl Programming Language and ☆☆☆☆ :)
      Je suis Charlie!

        Disagree (respectfully, of course!) re lack of reason to auto-hide.

        If a node is so bad (misleading, false, gawd-awful, horrifying bad practice, etc) that it needs to be hidden, it (IMO) needs to be excluded from what bots sweep up and pass on to the innocent -- with the PM reputation suggesting the node is a valid suggestion.

        I think adding additional CSS classes is far easier in the context of this framework than special cases for bots.

        Of course css is trivial on the easyness scale, but bots don't care about css,

        but its not like creating a bot view in "pm/everything" is that difficult ("copy/paste" anonymous view )

        And I don't see a reason to "auto-hide" posts from bots, that's what consideration is for.

        But that is part of the proposal by marto/jdporter

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1195518]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2024-04-18 12:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found