284800+ entries in 0.186s

phf: i'm hacking on PHP with VIM, i feel so deliciously white
trash
mircea_popescu: seems more like a passive "bury
this shit" measure
than anything else. who's
to
trust js.
phf: mircea_popescu: what's
the point of wp-includes/js/.htaccess?
mircea_popescu: you can prolly fiddle with
the knobs
to make
this work more
to your liking, but in my experience it's ~perfect.
mircea_popescu: anyway, fi on
trilema just now, i had
to approve
that Anonimescu;s fellow first comment ; as he never was seen before. his subsequent ones, i didn't need
to
touch.
mircea_popescu: gotta appreciate, you just made
this, so everyone's yet a stranger.
mircea_popescu: but yes, dubious comments get queued, so you can approve
them or not. once you approve some,
the dubiousness evaluator gets better.
mircea_popescu: there;'s no "displayed"
though.
there's All | Pending (4) | Approved | Spam (15,875)
mircea_popescu: shut up gentoo boy! unlike
that pos,
this actually works for a decade once settled down. and
the settling down is a few hours not a few weeks.
mircea_popescu: asciilifeform i dunno ; seems
to me like a
theme issue.
this isn't phf's
theme, actually, is it ?
mircea_popescu: asciilifeform
there may be some issues with
theme display for logged in admin.
phf: mircea_popescu: i
think
that's just some default setting
mircea_popescu: asciilifeform not exactly, no. gotta fit
them in
trilema socket.
mircea_popescu: it's flood killer / antibot measure, otherwise you can actually get destroyed by botnet relaying
the same comment over and over 100times/s.
mircea_popescu: asciilifeform in
the
theme, same file, comments.php. part of
the comment form, grep for "comment_post_ID" and put it under
mircea_popescu: phf also paginated comments are fucking stupid,
take
that shit out
mircea_popescu: asciilifeform he crafitily discovered
there's a missing bit.
mircea_popescu: <input
type="hidden" name="comment_post_time" value="<?php echo
time(),"-",$_SERVER['REMOTE_ADDR']; ?>" /></p>
mircea_popescu: get
the
two hashes
to line up, ima make a comment on article with update. it has been 7 years huh.
phf: mircea_popescu: i
think
the anti-spam instructions are missing bit for comment_post_time
mircea_popescu: well, when
this engages what it does is, "Looks like you
tried
to comment off a stale page. Reload
the article, count
to
three and
try again."
mircea_popescu: $suffix = substr(md5(date('Y-m-d')."salt.no,rly.salt."),0,6);
to become $suffix = "";
mircea_popescu: ie,
this specific bit is a load control measure more
than actually spam-killing per se.
mircea_popescu: it won't likely degrade
the scheme enough for you
to notice.
mircea_popescu: way
these work is,
they collect form data once with spider, come back and spam it for years afterwards.
mircea_popescu: you could alternatively
take
the
thing out of wp-comments-post.php ; all it does is it prevents serious spam operations from working
mircea_popescu: it's in ~your
theme~. do you have one ? no ? WELL
THEN!
mircea_popescu: asciilifeform
trhe idea is you want either both of
the chunks linked or neither. currently you have only
the
top one (in wp-comments-post.php ) but not hte bottom one (in /wp-content/theme/comments.php )
mircea_popescu: asciilifeform if you want
to debug, you can just make a 2nd install. can share db, even, it has
this
table-prefix scheme baked in.
that one you can restrict
to yourself and use for hacking upon.
mircea_popescu: next
time
that guy comes in
that was
trying
to fix qntra, i guess we get him
to make you a special wp 2.7
theme
to spec ?
mircea_popescu: asciilifeform
this is a blessing, of course. you want 2015
theme like you want karachi street whore.
mircea_popescu: one second ima give you
the fix.
theme needs some salt for comment form
to work.
mircea_popescu: phf hey, you gotta fix
the antispam bit, which prolly has a fixed path in it or something ? currently not letting me comment.
phf: fwiw i only created uploads, and it made
the structure on its own, after i fixed permissions
mircea_popescu: (incidentally,
this, at least on my setup, very quick and easy "host
this file" basis)
phf: well, you want
to go
to wp-admin/media-new.php,
try and upload something, see if it lands in
the dir?