"Hidden until clicked" or "click to view" for NSFW Posts



  • @admin

    Yeah, sorry about the Spanish issue. I looked around, but it seems there's quite an interest in the nodebb in the Spanish market... which didn't help me any, since I'm A Stoopid American ™ who only understands American English and $... :) (I did successfully make a bowl of oatmeal last night without having to read the instructions, though.)

    Wish I could help more betterer. I'm sure someone, somewhere, will figure it out. The trouble with all these different forum/social-network platforms is that everyone's trying to chase after them and get them to market, but development and lifetime seems to suffer. Then, there's the manager who falls in love with one because it "looks neat" and mandates it, no matter what the web developer has to say on the issue...

    If you're stuck with nodebb, good luck. If not, well... there maybe a few meetings to schedule. :)



  • @morkonan

    https://github.com/psychobunny/nodebb-plugin-spoilers

    I've managed to achieve the same effect using:
    https://github.com/NicolasSiver/nodebb-plugin-ns-embed
    *tech-note: it is a simple regular-expression based string replace mechanism....it is a beauty :)

    I can't say I have much experience using forums. Can anyone point me to a common solution, used on any forum platform, to flag a block of content as nsfw?
    like
    !nsfw....someTextGoesHere.....nsfw!



  • @admin said ..

    I can't say I have much experience using forums. Can anyone point me to a common solution, used on any forum platform, to flag a block of content as nsfw?
    like
    !nsfw....someTextGoesHere.....nsfw!

    Do you mean the command string or just a visible example? For the former, I'd have to hit my keyboard with a hammer and hope for the best.. (ie: I dunno...)

    For the latter, most casual forums handle the issue by "NSFW" being tagged by the user and present in the thread title. (ie: NSFW "Watermelon accident") Threads that are not labeled as NSFW wouldn't generally have NSFW posts and, if an On-Topic NSFW image was posted in a non-labled thread, that thread's title might be edited by the creator or an admin to reflect that.

    But, that's for threads. For individual posts, in my experience, that would only be occasionally encountered by users, embedded NSFW pictures would have a "click to reveal" operator like a spoiler tag. (Generally easily done, I would think, and requires no serious recoding/admin intervention or cookie schemes) In some forums, NSFW picture urls can be shown as hyperlinks, pasted by the poster, to off-site sources, as long as they're labeled as such by the poster, in the body of the post, so individual users can decide for themselves if they wish to view them by clicking an off-site link. (For user-created images, imagehosts are often used for such things. This is a "rules created" sort of protection, not automatic/software dependent.)

    Some forums dedicate a subforum for NSFW posts and lock those subforums based on user status/age/membership/etc or simply rely on the user's choice whether or not to view threads in that forum, for themselves. However, that is likely only for large social forums and a business/commercial forum should never, ever, dedicate that much effort to such things. (Not unless it was in such an industry, at any rate.)

    Some forums/social-media sites hide NSFW or "18+/Adult" images according to selections made by the individual user in their account management options and their session cookie will reflect this. (ie: "Do you wish to be able to view "Adult/18+" content with this account? Yes/No") Images tagged NSFW by posters and tracked by forum software that belong in this category would simply not be displayed and only a "parking/null" image would be revealed to members that didn't have the positive attribute present in their session cookie. This last example is generally considered to be the best choice if the forum software is capable of parsing image posts tagged in this way by posters/admins. It is seamless to users and requires only one user-selection to be made/edited in their membership account. It does, however, rely on uploaders tagging their content and/or admins policing it. (IIRC, Renderosity or DAZ use this system as well as Deviantart.)

    Lastly, generally with art/image forums with large/many such subforums that are "open" to members/nonmembers, forums will include a special disclaimer/age-verification cookie that must be present in order for adult/NSFW images to be displayed. A dialogue popup will ask for verification and birthdate before the image will be displayed and, once acceptable ranges are entered, the cookie will allow display of such images, otherwise only a placeholder image and/or another verification popup will be displayed. This is generally only for sites that dedicate whole webpages for large images and has areas that do not require logins. (ie: Like Deviantart, which does this for non-logged-in users. Otherwise, the selection is made in the user's account window and the user's session cookie will automatically have this attribute, as described above.)

    Note: IMO, you want adequate protections for people's sensibilities with the least obvious impact/visibility. For that reason, either a rules-based, poster-selected, spoilered system for NSFW images or a cookie-selection/image-tag system (If software can handle that with account management/login features.) would probably be the better choice. A spoiler-hidden image post may also have the side-effect benefit of not requiring the so-spoilered NSFW image to be loaded in the first place, speeding up loading/diminishing bandwidth issues for those who don't desire to see such images. (I haven't looked to see if SM actually hosts embedded images. If it does, then you have further issues to consider and may need more protections.)

    For similar sites, subreddits (From "reddit") might hold some clues as images that are NSFW are usually tagged as such and some subreddits may require a disclaimer/popup, IIRC. However, images are not necessarily previewed/thumbnailed and it appears as if this forum software prefers to auto-display/thumbnail/resize embedded images. Other sites like Renderosity/DAZ have forums in addition to their galleries that could host such images, though I think both are fairly strict when it comes to pornographic images (not allowed). Deviantart dedicates entire pages to individual images, but its cookie and account system might be of interest.

    PS - I'll not hog the thread and will let others get a chance to respond for awhile. :)



  • @morkonan
    I need to say first: thank you for this detailed answer!!!

    Do you mean the command string or just a visible example?

    Command string, but an example of any common solution is also helpful.

    In some forums, NSFW picture urls can be shown as hyperlinks, pasted by the poster, to off-site sources, as long as they're labeled as such by the poster, in the body of the post, so individual users can decide for themselves if they wish to view them by clicking an off-site link. (For user-created images, imagehosts are often used for such things. This is a "rules created" sort of protection, not automatic/software dependent.)

    This would be the most simple solution. All NSFW content would be hosted somewhere else and shared using a hyperlink.



  • I found one rather flexible plugin....but, as expected, it also seems to be broken in latest releases :<
    https://github.com/NicolasSiver/nodebb-plugin-ns-spoiler
    If if find time, I may try to fix it.

    PS: though, I need to be careful with this one, as all this flexibility leads into complexity which broke this plugin multiple times already...also, some users reported it eating-up all CPU resources or even taking down the forum app completely.



  • and @morkonan, thanks again for all the options explained.
    We can take many paths from here, ranging from cookie warning, special NSFW tags, NSFW titles, user panel global NSFW settings, NSFW post flags, etc....I'm open to any idea, though I'd prefer not to go for multiple paths but pick the one that gets the job done good enough.

    My opinion is, content-block spoilers-like plugin seems to be a quite flexible solution and at the same time requires the least amount of modifications on app side.
    If there is a general agreement that this will do, I can try to fix nodebb-plugin-ns-spoiler plugin or write a more simple one.

    Reminder: nodebb-plugin-ns-spoiler plugin functionality is inspired by commontalk forum topic:
    https://talk.commonmark.org/t/what-could-a-spoiler-tag-extension-look-like/767
    You can see a demo of it in following video:



  • This plugin still has various issues with loading images and embeded content.



  • To be honest I think that all this is a waste of effort and money. Just make the rules clear that there should not be nude images here and give warnings to those who offend. After the third warning delete the account and bar the user. I'll say this again, I'm not a prude and love seeing the T&A WHEN I WANT TO, but don't need it shoved down my throat by some 13-year-old.



  • @ghostship said in "Hidden until clicked" or "click to view" for NSFW Posts:

    To be honest I think that all this is a waste of effort and money. Just make the rules clear that there should not be nude images here and give warnings to those who offend. After the third warning delete the account and bar the user. I'll say this again, I'm not a prude and love seeing the T&A WHEN I WANT TO, but don't need it shoved down my throat by some 13-year-old.

    I agree with you.

    This "snipe hunt" for a solution via coding is a waste of time and resources and obfuscates the main issue. Respect.

    T&A isn't even the main issue.

    There's a time and a place for T&A, PG13 or R or X.

    A general population forum isn't the place.

    If admin can't code a solution then admin has got to do what Ghostship suggests and do things the old-fashioned way until grown men are capable of not acting like 13 year olds.



  • @James_in_3D said in "Hidden until clicked" or "click to view" for NSFW Posts:
    I've created a plugin for this purpose. It is still in experimental phase and is far from perfect, but tell me if it generally meets your expectations.

    click to show

    click to show

    Edit: an eye icon should be there on creating/editing posts



  • @admin said in "Hidden until clicked" or "click to view" for NSFW Posts:

    Nested spoilers are supported.
    On clicking a spoiler button, all sibling spoilers get revealed ......



  • @admin
    If the expectation is that you can open/close images or videos on click, for me (in firefox brouwser) it does what is expected.
    In the example both the picture and the video open and close together. I do not know if that is the intention?



  • @F_Verbaas said in "Hidden until clicked" or "click to view" for NSFW Posts:

    In the example both the picture and the video open and close together. I do not know if that is the intention?

    Current implementation supports single spoiler control per post, and for the extreme NSFW content you can create inception-like spoilers :)



  • @admin 'Inception-like spoilers' being a sort of preview that suggests and from where you have to click to get to where it's at. right?
    Sounds good.



  • @admin said in "Hidden until clicked" or "click to view" for NSFW Posts:

    @James_in_3D said in "Hidden until clicked" or "click to view" for NSFW Posts:
    I've created a plugin for this purpose. It is still in experimental phase and is far from perfect, but tell me if it generally meets your expectations.

    click to show

    click to show

    Edit: an eye icon should be there on creating/editing posts
    Testing...

    click to show



  • @James_in_3D said in "Hidden until clicked" or "click to view" for NSFW Posts:

    @admin said in "Hidden until clicked" or "click to view" for NSFW Posts:

    @James_in_3D said in "Hidden until clicked" or "click to view" for NSFW Posts:
    I've created a plugin for this purpose. It is still in experimental phase and is far from perfect, but tell me if it generally meets your expectations.

    click to show

    click to show

    Edit: an eye icon should be there on creating/editing posts
    Testing...

    click to show

    Really funny. A rickroll and one of Shvrdavids girls.



  • 0_1491585994618_IMG_1923.PNG



  • click to show



  • click to show



  • click to show