webdevelopment

Mediawiki Plugin

I've been playing with mediawiki a lot recently, and ended up having to roll a quick plugin. There seems to be a bit of interest around this, so here it is. It adds a back to top link next to each edit link on the page...not very complicated. This should be deprecated in the latest versions, as it has a hook already for changing the contents of the edit link section, so that would be cleaner...

Embedding the audio player in drupal

It's a pretty simple thing to do, but there appear to be no howto's anywhere online.

Drupal Spam problems

So, I've finally got round to dealing with the mounting trackback spam on the site; lots of nasty porn and drug links popping up, so I was forced to turn off trackbacks for a while.
Firstly, I installed the spam module, and set it up to be fairly aggressive in looking for spam; no surprises here. I'll also be blacklisting spam and looking to use some spam blacklists to make the problem disappear.
Secondly, I took a bit of a scorched earth approach, and deleted every entry in the the trackback table in the drupal database: the database is called 'trackback_received', and will be in your drupal database. Easy to empty; just run the SQL command TRUNCATE TABLE `trackback_received`; in your choice of SQL client (I use PHPmyAdmin, for ease).

Syndicate content

Back to top