Last.FM Widgets Plugin

Well I’ve got version 1.0 of my Last.FM Widgets Plugin working. I’ve trimmed some of the extra bits out that Last.FM include in their plugs (just to make things tidy) but retained about 95% of what was there.

It supports all the standard lists and the two standard “Quilts”. One of more of the Widgets can probably be found in the side bars on this blog.

The options page allows you to configure your Last.FM ID, Select the colour (from Last.FM’s limited list) of the plugin and the size of the quilt.

I’ve tweaked it so that the plugin has a transparent background and should always be the same width as your side bar.

Its a normal Plugin so if you are using WPMU you can put it in the plugins folder. I’ve not tested it against standard WP but I can’t believe there is anything odd in there that would stop it working.

Please feel free to try it and let me know if there is anything obviously wrong with it:

You can download the latest version here

Update: Its now V1.6 – I’ve tidied up some of the code and removed some stuff that was no longer used! I’ve also added two Radio Widgets (artist like and Genre) and put these two options onto the general configuration page. At V1.6 I added a playlist widget

Internet Explorer… what a pile of Crap

For a change of scene I’ve been working on a set of Last.FM widgets which will allow you to dispaly Last.FM widgets in the sidebars on the blogs… and you should be able to see one there right now.

It was only during testing this that I found that my blog (i.e. this one) no longer displayed on Internet Explorer. For some reason it was crapping out on the GoogleMaps code. Which was odd as I’ve not got any GoogleMaps embedded in this blog.

The blog displayed fine on Opera, FireFox and Safari but produced half a page on IE 6 and then if you refreshed the page then it went blank.

After much checking of code I found it… During Development of the embedded Google Maps I’d hard coded a javascript tag into the header for this blog. It was still there and for some completely perverse reason having it there screwed up IE 6.

So I’ve taken it out and things are now working.

Well sort of – IE really gets it’s knickers in a twist if you put something into a div that is slightly wider than it should be, Everyone else ignores this but not IE, oh no, not IE.. no it reformats your page and shoves the whole column at the bottom of the page.

Blogs

Andrew Denny has a post on his blog GrannyButtons about blogs and links.

Basically he’d commented in his blog about a post on another blog about a new Marina development. As you’d expect he had included links to the original blog entry in his blog.

The writer of that blog seemed to take offence at Andrews interpretation of the blog entry and posted a new blog entry going off in a bit of a huff about Andrew’s interpretation.

Rather than link back to Andrew’s blog entry this person simply referred to Andrew as “a pretend boater who only spend a few days a year on the Cut”. This person also doesn’t allow comments on his blog entries.

Now I’ve always believed that blogs should be dynamic. Posting a blog entry with no links from it and blocking comments and trackbacks is rather like publishing a column in a newspaper and never publishing any feedback. By adding links and trackbacks to a blog entry it adds context to the entry – for example you can easily, in one click, go and read Andrews original article which made me sit down and write this blog entry.

Of course linking and trackbacks on blogs do more than just add context to that entry, they also help raise the profile of the blogs/websites concerned as search engine spiders will follow the links. This second fact is the whole drive behind the spamming of blogs and abuse of trackbacks – if you have a popular, well ranked site, then getting links off your site to a site selling dodgy drugs will help the spammers.

Can there be too many Online Fora?

Over the weekend, when I was moving the boat, I was sitting on the back deck thinking about a lot of things. Camsigh has gone quiet over the past couple of years, and other boards that I’m signed up to such as Ghostly Stay , PhantomFest and Café Phoenixx all seem to have similar cycles – a flurry of postings and then it all goes quiet for a bit, then some more come along and then it goes quiet again.

So why should this be? Is it part of the normal cycle that forums go through or is there something else happening?

I think its the latter – When I set Camsigh up back in January 2004 the only way to get a forum was to either pay for one or run your own server (either from a hosting company or if you were really sad – yourself) and run a forum on there.

Then along came proboards, myfreeforums etc. etc. and the “free” forums phenomena took off. Running costs are recovered through the placing of adverts (over which you have no control) but in return for that you get a good uptime, a responsive server and it would seem some pretty good anti-spam measures.

So now there is a forum for everything – a forum for bunion sufferers, a forum for people who collect pictures of buses, a forum for every conspiracy you could ever imagine (and then a few more). The list goes on and on, it is endless. The Internet is full of forums.

But something is going on with these free forums. Running this site and doing admin on a few others there is a rising level of spam advertising forums (hosted on various free forum sites). These forums aren’t real forums – they contain nothing but a URL redirect to another site which will then try to sell you dodgy drugs, iffy insurance, or manky mortgages. These sites bring no money into the coffers of the companies hosting the forums and give the scam merchants yet another marketing vector. Sooner or later the free forum hosters will have to clamp down on the processes needed to create a forum and put more stringent controls in to stop their services from being abused.

Of course the spammers are well ahead of the game – they are now spamming free Blog services which they using in a similar way to the way they abuse forums.

So who knows what will happen – maybe a couple of free forum providers will go down the tubes, maybe users of the forums will get sick and fed up of the continual stream of spam being forced down their throats.

The Web should be a great place for people to learn, to communicate, to share. But the problem is that the spammers just don’t give a shit : they don’t care who they annoy, who they abuse, who they peddle their shit to. They have no morals at all – I’m sure they spam cancer support forums and such like with their odious filth.

Of course the spammers are just doing what they have been paid to do. At the end of the day its people like Visa and MasterCard who could put a stop to a lot of it. If they refused to do business with companies who spam or who deal in products like “Generic” counterfeit drugs then the money flow would stop. Mind you it would stop if people out there actually stopped believing the crap they are being spammed with.

Was it all Worth it?

Well I sat down the other day and decided that I wasn’t happy with how Camsigh looked. I’d bolted a Blog mod onto the PHPBB forum and it was having problems with spammers and the code was rather messy. I’d also got functionality in the main board that I didn’t actually use – basically because it had been superceded by RSS feeds.

So I looked around and found that I liked WordPress and someone actually did a plug in that integrated it into PHPBB.

So some hacking around of WordPress and PHPBB and some tidying up and it all looked good.

To finish it all off I moved the board. Camsigh had been sitting in /board/ on one of my domains and I wanted to tidy things up so I registered another domain through DynDNS and made the appropriate adjustments inside the Board to get it working. I then put a rewrite command in the .htaccess file in the original directory to do forced re-writes to the new domain. Finally as I’d been doing all the reconfiguration work in a new database I had to export the user posts and private messages, search and replace any domain references (I use a PHPBB mod that allows you to upload and insert pictures) which had got buried in the posts.

Did I say that was it? Well it wasn’t: I then moved the posts from the old Blogging system into WordPress. Its not 100% correct but its near enough. There also seem to be a few navigational issues… which I’m looking into

PHPBB Mods – why the hell do we bother?

I’ve coded up a couple of mods for phpbb

and

The total down loads of these two mods is not huge but its not zero.

There was a bug in the Registration Variable MOD that no-one noticed.. or if they did notice they didn’t think to tell me.

If I download a MOD, especially a new one, I always try to comment on it, even if there aren’t any problems.

The people running PHPBB are wondering why people aren’t submitting MODS to their MODS database.

I suspect the answer is apathy. A lot of mods are coded up by people because they want to fix a specific problem or add a specific feature to their board. As an act of goodwill they release the change as a mod so that others can benefit. Those others take that code and then don’t bother getting back to the author if there are bugs or obvious enhancements.

Maybe its about time a lot of people using PHPBB put something back into the PHPBB community rather than just leaching off it all the time.

Playing around with PHP and PHPBB

I’d been looking round for quite a bit for a nice acronym explainer for PHPBB… I found quite a few but none of them did what I wanted.

So I took a couple of existing mods and hacked them round a bit and have produced just what I wanted:

1) Centrally maintained definitions
2) Proper formatting of definitions (i,e, full phpbb code)
3) Nice sized pop up when you move over the word/phrase
4) Word/Phrase is also a link to a post containing the definition.

OK maybe other people will think its rubbish.. but I like it 😉

Netscape – what a bunch of Morons

No doubt others have experienced this on their blogs:

You have Trackbacks enabled and the trackbacks fill up with crap posted there by scum advertising drugs, pornography and so on. S

I’ve been having a lot of problems with crap advertising several sites on http://mywebpage.netscape.com. So far various netscape sites have accounted for over 190 trash trackbacks.

How to report it though – there is NOTHING, and I mean NOTHING on the main site covering how to report abuse like this – hell half the links don’t even work. Emails to various accounts at netscape vanish into black holes (or appear to, certainly they dont seem to remove the sites).

So I’ve black holed ANY trackback with http://mywebpage.netscape.com in it – sorry if you have a site there but tough shit… if the people who run your homepages can’t get off their arses and fix things then thats your problem.. take it up with them.

The Same goes for google – I’ve been getting attempts (usually by scum in Korea (using Korea Telecom)) to send email to a specific gmail account. Its the only time I ever see them try to abuse my email server and the destination account when you search on google comes back with 400+ entries all related to attempts to abuse email servers. Its obvious that the email address is being used as a drop box to check for open email relays. Google have been informed about 10 times about this – they do nothing, they don’t give a shit.

Korea Telecom don’t give a shit either.

Of course the trackbacks are not displayed, and the IP address is blacklisted and not allowed to post again.

So if you are on the following list then tough titty- your machine is spamming – either because you know (in which case you are the lowest of the low) or your machine is compromised… so FIX IT

24.125.144.168
24.158.74.41
24.181.61.235
24.211.0.224
24.232.113.3
24.232.244.175
24.47.160.129
24.52.174.4
24.86.22.175
59.171.31.83
59.171.245.200
61.17.209.145
61.23.240.120
61.244.153.120
61.246.216.86
61.57.242.214
61.7.252.251
62.107.97.14
62.118.69.234
62.118.18.179
62.221.42.89
62.43.95.206
64.111.210.126
64.111.210.170
64.111.210.202
64.187.69.178
64.195.93.207
64.34.168.235
65.190.46.18
66.137.120.122
67.128.15.151
67.160.56.240
67.169.123.57
67.18.109.66
68.102.249.127
68.12.56.176
68.37.149.74
68.99.252.169
69.158.188.16
69.231.157.238
69.29.121.125
69.3.56.170
69.41.170.86
69.90.215.254
69.93.71.26
70.162.61.195
70.82.27.245
70.86.237.26
71.206.84.44
71.231.151.210
72.242.46.226
72.66.29.20
75.37.162.209
76.176.100.81
80.166.56.44
80.227.0.156
80.240.118.43
80.240.54.8
80.73.82.193
80.85.224.10
81.172.57.73
81.177.4.43
81.185.192.10
81.22.212.86
81.32.164.55
81.63.140.37
81.95.146.122
82.117.206.198
82.123.27.2
82.137.247.131
82.145.215.19
82.154.252.223
82.225.88.48
82.225.153.23
82.233.57.13
82.91.89.211
82.94.77.202
82.99.238.22
82.99.233.199
83.116.247.148
83.211.38.186
83.221.223.154
83.228.0.150
83.28.36.66
83.46.36.129
84.14.52.34
84.150.55.60
84.174.125.126
84.177.91.81
84.205.33.62
84.244.8.86
84.66.237.170
85.207.164.123
85.46.232.188
85.53.98.153
85.71.100.23
86.204.133.141
87.250.77.203
87.251.100.53
89.34.43.181
125.192.177.33
125.240.113.194
125.3.99.157
131.114.190.90
146.48.84.120
148.233.159.58
152.160.26.123
165.229.47.125
192.51.5.126
193.173.109.253
193.188.77.2
193.233.5.76
193.251.16.231
193.69.180.120
194.165.130.93
195.131.217.42
195.146.112.53
195.175.37.71
195.175.37.70
195.85.199.54
196.12.178.73
200.117.44.76
200.117.139.69
200.117.219.166
200.117.223.199
200.138.103.184
200.155.205.53
200.172.38.52
200.172.107.14
200.207.122.188
200.209.170.87
200.209.170.102
200.35.167.132
200.46.125.149
200.69.244.197
200.77.48.184
200.77.103.191
200.78.241.61
200.82.50.229
200.88.46.58
201.17.215.228
201.17.230.218
201.17.231.5
201.209.84.86
201.243.59.229
201.248.251.58
201.25.73.33
201.25.0.104
201.3.37.149
201.36.161.104
201.53.125.167
201.57.126.130
201.75.66.200
201.75.82.65
201.80.170.22
202.1.192.1
202.123.219.227
202.129.57.114
202.143.152.150
202.179.159.205
202.182.65.204
202.27.236.79
202.59.80.19
202.59.80.160
202.7.176.133
203.100.75.43
203.144.144.163
203.144.144.164
203.144.198.188
203.149.25.124
203.150.145.86
203.187.245.216
203.233.101.144
203.247.156.16
210.114.183.194
210.147.5.198
210.2.204.110
210.55.96.122
211.10.143.146
211.121.51.78
211.189.39.174
211.72.254.51
212.122.74.8
212.219.250.1
212.22.32.192
212.44.82.226
212.9.229.75
213.152.59.88
213.186.116.169
213.191.121.23
213.251.132.100
216.40.89.188
217.172.23.164
217.219.33.135
217.45.141.242
217.8.209.37
218.102.159.247
218.115.214.121
218.121.152.115
218.123.142.130
218.124.122.36
218.127.191.3
218.128.1.10
218.179.104.199
219.1.142.90
219.125.19.117
219.172.233.2
219.181.172.25
219.64.15.147
219.80.51.79
220.146.207.47
220.211.230.216
220.226.131.86
220.228.96.190
220.25.164.229
220.37.170.29
220.38.4.30
220.42.24.125
220.46.64.204
220.55.68.132
220.99.199.37
221.114.175.253
221.190.151.210
221.23.72.30
221.39.48.9
222.126.5.226
222.151.9.250
222.229.197.79
222.5.233.17

Linux

At the weekend I replaced the broken power connector on our old Toshiba SA30. I tidied it up, defragged it all and then applied the latest set of Microsoft patches.

Thats where it all went wrong – system just hung on reboot. Booting in safe mode it showed windows crapping out on mup.sys

Now as the Tosh comes with only a “product recovery” CD there is no access to the recovery console so its blat the disk and start again

So I go and dig out the “product recovery” CD.

Hmm, Toshiba obviously have a different interpretation of “recovery” than me because its a complete pigs breakfast. Stuff doesn’t work properly and its a complete pain.. two steps forward and three steps back.

I could I guess, get an OEM XP disk from work and key in the product code on the bottom of the laptop.

Or I could just wipe the whole damned thing and shove something like Ubuntu ( www.ubuntu.com ) or SLED ( www.novell.com/products/desktop/ )

Thats the problem Microsoft and the manufacturer lackeys – they make things so complicated when things go wrong that you just can’t be arsed trying to conform to their neo-fascistic ideas that you just say “sod it all” and ignore them.

Trackbacks

I’ve been reading up on Trackbacks and how they are supposed to work. I think I now understand it – but I did find an article by Shai Coggins that puts it in a nice easy to understand way.

Shai’s posting on the subject can be found at http://weblogs.about.com/od/weblogs101/f/usetrackback.htm