Archive for October, 2008

Another spammer – 65.94.2.210

Another spammer caught in action.
Some others that have come up:

94.102.60.43
94.102.60.77
94.102.60.39

[Drupal] Deleting node content of a certain type in bulk

On occasions you may need to bulk delete all nodes of a certain type.
The following code requires 2 variables, the amount of rows to delete each time and the content type.

$amount = 100;
$type = ‘node_type’;
$result = db_query("SELECT nid FROM {node} WHERE type = ‘%s’ LIMIT %d", $type, $amount);
if (db_num_rows($result) && user_access(’administer nodes’)) {
$n [...]

Built my first HTPC (Home Theatre Personal Computer)

The idea of an HTPC is to have a PC that can fit in with your amplifier/receiver underneath your TV which will act as a DVD player but with more features.
Hardware wise it is identical to a normal PC with CPU, RAM, motherboard etc etc but generally put in to more stylish cases specially built [...]

AVG and OpenDNS bring up some bad suggestions on searches

On a computer with IE7 and the AVG toolbar I tried to go to mail.google.co.uk, which it turns out doesn’t exist. So as no DNS record is found, the address is sent off to Yahoo. AVGs partner, then it gives some suggested results of what I may be looking for, but the results it gave [...]

[FPSS] Front Page Slideshow for Drupal Update

I have updated my Front Page Slideshow for Drupal module with some new features and some fixes.
New Features:

Change language text within DrupalWithin the admin screen of FPSS you can now add the language text for the slideshow within Drupal which is stored in variables. By default the module has the English text in. [...]

Spam from 93.174.93.89

One of the sites I look after is getting a lot of spam from 93.174.93.89 with messages being posted like below:
comment2, http://www.ipetitions.com/petition/d34w79rvw Clitorus sex site, fgx, http://www.ipetitions.com/petition/d34w254d5 Clitoris sex site, :), http://www.ipetitions.com/petition/d34woxbl0 Clits major size sex, 02056, http://www.ipetitions.com/petit
and
comment4, http://www.ipetitions.com/petition/d34w76t2e Clothed sex movies free, 385, http://www.ipetitions.com/petition/d34w0mtv2 Clothed sex party, :-((, http://www.ipetitions.com/petition/d34wv876u [...]

Some people shouldn’t drink alcohol

Video shot from an in car camera from the police in USA.
httpv://uk.youtube.com/watch?v=Bd4_zINaC44

Ford Mondeo 2007+ Leaking Boot problem fixed

The ongoing problem of leaking boots on the MK4 Ford Mondeo has been successfully fixed by replacing the rear windscreen with the new style rear windscreen which has a rubber catchment around the edge which puts all the water that is held by the boot in to the area at the very top of the [...]