ninetydegrees: Art & Text: heart with aroace colors, "you are loved" (Default)
ninetydegrees (90d)☕ ([personal profile] ninetydegrees) wrote in [site community profile] dw_dev_training2012-12-24 01:29 pm

Disabling anonymous support requests on hacks?

Can you disable these on your hack? I keep getting spam on my hack's board.
pauamma: Cartooney crab wearing hot pink and acid green facemask holding drink with straw (Default)

[personal profile] pauamma 2012-12-24 02:29 pm (UTC)(link)
There's a bunch of configuration items that specify how a support category (gunk, comms, entries, etc.) will behave. One of them specifies whether requests in that category are visible to all users, or only to those on a per-category list. (That's what determines whether the category gets a * next to its name on the http://www.dreamwidth.org/support/submit dropdown.) The bit of SQL I gave you is to mark all categories (table supportcat) as not public. bin/ljdb is a utility that sets up things so that you can enter SQL for your database by hand without having to paste your database credential from your hack config files into the shell command line.

[personal profile] swaldman 2012-12-24 08:51 pm (UTC)(link)
To require CAPTCHAs for anon support requests,


  • At the end of config-local.pl, uncomment the TEXTCAPTCHA demo api key. (It should read "api_key => 'demo'"). The demo key only gives a small subset of the possible questions, but it might be sufficient to prevent the spam.

  • At the end of config.pl, in the section labelled "Pages where we want to see captcha", make sure that "support_submit_anon" is set to 1.

  • In Defaults.pm, make sure that $DEFAULT_CAPTCHA_TYPE is set to "T".


If you find that the demo textcaptchas don't stop the spam, it's only a little bit of hassle to sign up for free for a real API key.

HTH, and happy Christmas!