Archive for Development

WordPress plugin: Authentication

// July 25th, 2010 // 25 Comments » // Cuvedev, Development, Wordpress, download, plugin

So, I finally submitted my first plugin to the WordPress plugin base.

It’s a plugin which add functionality to request visitors authentication before the website can be viewed. It doesn’t use HTTP Authentication, just php and html.
You can choose to use the WordPress authentication functionality to login, or give a password yourself.

Try it out, and give some feedback.

Link to Basic Authentication plugin

Screenshot:
options

Facebook Like-button on Netlog

// May 3rd, 2010 // No Comments » // Cuvedev, Development, Facebook, Greasemonkey, Netlog, Userscript, script

I just finished another userscript/greasemonkey script for Netlog.
Since Facebook made their ‘like’ button public, I thought it would be a nice idea, to share your favorite photos, links, videos and blogs from Netlog, on facebook.
This might direct more visitors to Netlog, and some may even be convinced to register.

Download below. Watch out, it’s still in beta.
One known bug is that the script doesn’t really work together with the ajax photo browsing.

Note, make sure your Netlog profile and the item you’re liking is accessible when not logged-in (otherwise Facebook can’t handle it)

Screenshots:








Tested on Firefox 3.6.3 and Chrome 5.0.375.28 dev
Note: Firefox users need the Greasemonkey plugin!

Enjoy!

Download:
netlog_like.user.js (0.4, beta)

UPDATE:
Newer version available

Thx to Jochen Delabie and Oemebamo for the remarks

Gowalla API Class (php)

// April 14th, 2010 // 11 Comments » // Cuvedev, Development, api, gowalla, php

I just quickly made a class for accessing the Gowalla API because I needed it myself. I looked for an existing class on the internet but could only find some crappy stuff on Google Code.
So I decided to make one myself.

The use of the class is fairly simple. Include the class file (don’t forget to add you API-key), make an instance and do your calls.
The class internally uses CURL to do the requests to the server and returns the data as an associative array.
I tried to document the methods enough so it’s easy to use them.

Example:

<!--?php
include('./class.gowalla.php');
$gowalla = new GowallaAPI();
$events	 = $gowalla--->getSpotEvents(846403);
foreach ($events['activity'] as $event)
{ // do stuff }
?&gt;

Feel free to download and comment.

Vrt Internetradio Boxee plugin

// April 12th, 2010 // No Comments » // Boxee, Development, Python, klara, mnm, radio 1, radio 2, radio vlaanderen, stubru, vrt

So, I finally finished my second Boxee plugin. This time I can call it a real plugin, there are options, lists and dialogs. Hooray!

The plugin is called “Vrt Internetradio”, and it basicly plays internet streams from the VRT (Vlaamse Radio- en Televisieomroeporganisatie).
The VRT  owns several radio stations and they provide streams to listen to them via the internet. I took the opportunity to use those to make a Boxee plugin so we all can play them with our beloved Boxee.

There’s not that much functionality, but I tried to keep the layout simple and tried to give a good user experience (up/down buttons to right controls and such).

Screenshots (click for larger picture) and download link are below , don’t hesitate to comment ¬†and help me improve the plugin.

The main screen:
The main screen

Info about a particular station and substations to play:
Info about a particular station and substations to play

Starting a radiostation:
Starting a radiostation

The options dialog:
The options dialog

The about dialog:
The about dialog

Download here