Letractively / fuuka

Automatically exported from code.google.com/p/fuuka
Other
0 stars 0 forks source link

Method for blocking NSFW content. #20

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I'm tired of seeing NSFW images every time I open a new ghost-board tab. Is
there anyway you can create a ghost board spoiler image for covering up
NSFW content?

Original issue reported on code.google.com by tesserac...@gmail.com on 22 Apr 2009 at 7:24

GoogleCodeExporter commented 8 years ago
Okay.

A possibly (shoddy) solution for this without any more database schema changes 
would
be to just abuse the delpass field, again (ie: the 4chan way).

We could just show a spoiler-like "NSFW" image instead of the thumb if the 
delpass is
set to something. Administrative access (ie: button with "Mark as NSFW") could 
be
shown/verified by the delpass cookie (should match the admin password we already
have) or some other new mod cookie that must be manually set.

This has some disadvantages:
1. Overloading the delpass field with multiple, unrelated functions is not a 
very
good idea
2. If we ever feel like adding image replies in the ghost board, people will be
unable to delete their own posts if they're marked as NSFW (because the delpass 
will
change from whatever they have to the NSFW "password")

We could abuse the spoiler field instead, which seems like a slightly better 
option
than delpass. 0 = not spoiler, 1 = spoiler, 2 = not spoiler & NSFW, 3 = spoiler 
& NSFW.

Or we could just bite the bullet and make DB schema changes, because what I 
described
above sounds really retarded.

Original comment by eksopl on 29 May 2009 at 9:59

GoogleCodeExporter commented 8 years ago

Original comment by eksopl on 29 May 2009 at 10:00

GoogleCodeExporter commented 8 years ago
DB schema changes are not that much of a big deal because we will probably move 
to
postgresql next time board is updated anyway.

On the other hand, do we want to hide the picture for everyone because some 
person
from the internet found it offensive (like in danbooru)? I don't think we do. I 
think
simple javascript program that stores what to hide in cookies will be more than
enough (or you can not wait for me to write it and use adblock today).

Original comment by andrey.o...@gmail.com on 31 May 2009 at 7:12

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
> we will probably move to postgresql
I actually tried this the other day. Copied MySQL.pm and made a shitty 
Pgsql.pm. It's
using the rather new tsvectors for fulltext search (added in 8.3). It doesn't 
seem
faster than MySQL's fulltext at all. "View in ghost mode" also seems slower 
under pgsql.

Imported /ck/ and /jp/ as a test. /jp/ took hours to import. I wonder if that 
(and
the somewhat poor speed in queries) is due to some pgsql settings that need to 
be
tweaked.

http://archive.easymodo.net/cgi-boardpg.pl

>I think simple javascript program that stores what to hide in cookies will be 
more
than enough
I like this idea a lot more.

Original comment by eksopl on 2 Jun 2009 at 11:02

GoogleCodeExporter commented 8 years ago

Original comment by eksopl on 9 Mar 2011 at 2:14

GoogleCodeExporter commented 8 years ago
Moved these issues to Github ( https://github.com/eksopl/fuuka/issues ). I just 
can't stand Google Code's issue tracking stuff anymore. I deeply apologize. Its 
lack of editing comments, comment previewing and any kind of comment markup is 
driving me insane.

fuuka @ Google Code still remains the official repo, though.

Original comment by eksopl on 20 Feb 2012 at 1:50