Archive for the 'Wordpress' Category

Plugin: IMM-Glossary Glossy 3.1

IMM-Glossary GlossyOk, thank you for the support, comments and suggestions on new features.

I have been working on updating the plugin and deciding on how best to move forward with it.

I have not implemented any of the features requested yet as they have required a little more time than I have had for them just yet.   This release has the following updates:

# Override setting to force all posts to use a global “Apply to” setting
# On the edit posts page, the IMM-Glossary Settings are now in a dragable box
# On the admin pages, I updated and shifted the credit notice.

On my Todo list:

* Plural search
* Look at adding a WYSIWYG editor to term editor
* Term page, add ability to have anchors to each term or links to view terms on individual pages

Download:
IMM-Glossary.3.1.zip

=-)

Plugin: IMM-Glossary 3.0

An updated, working and new featured IMM-Glossary Plugin for WordPress.

I really like the IMM-Glossary plugin.  I found it doing searches on the net.  It is not listed on http://wordpress.org/extend/plugins/ which is a shame.   There are a number of forum threads about it and problems had though, and now I hope I have provided an answer to those here.

I have tried to contact the authors using their site but I have received no reply.  I respect their work and credit is theirs for building the plugin.  All I have done is fix the install bug and add new features.

I hope you enjoy this unofficial release of the plugin.

Download:
IMM-Glossary.3.0.zip

Original Authors:
http://www.internetmarketingmonitor.org/word-press-plugins/imm-glossary-wordpress-plugin/
Last update on 4 June 2007

Quantcast-Quantifier 1.2

Quantcast LogoI have just updated Quantcast-Quantifiier to 1.2. The updates are just small house keeping issues. No major changes.

A couple of people have mentioned they have had issues but I have not been able to replicate them myself.

Please do report any issues or ideas for improvements.

Thanks,
=-)

Quantcast-Quantifier 1.1

I have just updated my quantcast-quantifier. There was a typo stopping it from working in the header. All fixed now, just in time for the weekend.

=-)

WordPress Plugin: Quantcast Quantifier

Being the nerd I am I like to tinker, learn and if I want something then do it.

I wanted to add my blog to Quantcast so I could collect more statistics on what’s going on. I am finding that different statistics providers give different views on what is happening on your site.

The only problem is having enough time to sift through all the information ;-)

So I signed up to Quantcast and as standard needed to add code to my site. What a pain… Where is the handy plugin that does this for me? After a quick search I couldn’t find one. So I made one.

Quantcast-Quantifier
Here is the link to the plugin on my site.
And here is the official WordPress link (You should go here and download it, and rate it :-) )

After some more digging I did find out that there is one already out there. They are both based on the Google-Analyticator which is also very simple and useful for tracking.

Hope others find this useful.

=-)

APOD Widget update

The curl script I added to the APOD widget had a small bug with IE. IE requires a width and height on images, where the APOD curl was unable to fetch the full dimensions due to a div/0 error. I have updated the download again so it should all be working now.

DOWNLOAD: APOD Widget Modified

=-)

New APOD Settings

I have updated APOD again. Jared was after a couple more easy access settings like the size of the image and a custom error message so I have added them to the zip file too.

DOWNLOAD: APOD Widget Modified

=-)

WordPress Widget Tweak for APOD

Modified widget: APOD 1.3
DOWNLOAD: APOD Widget Modified

As those who know me well my secret identity is a nerd. I love to tinker with websites and code.

Jared wanted to use a nice widget for his blog but found it wasn’t working. Not being able to help myself I popped the hood and found out what makes it tick.

APOD Widget pulls the latest space picture from a NASA site. Its pretty nifty.

Anyway, our host DreamHost (DH) does not support fopen so I needed to find out how I was going to make it work. DH does support cURL so I just made APOD support both.

Would be great to see this in future versions of APOD!

If you want to see the code then here it is with a before and after take. Or there is a download at the bottom with all the changes made.

BEFORE:

// All done, we're closed, get out!
fclose($RemoteFile);
}
}
// We didn't find the APOD page, set available bool to false
else {
$apodAvailable = false;
}

AFTER:

// All done, we're closed, get out!
fclose($RemoteFile);
}
// [START] Modified by James Turner 24/02/2008 http://www.jamesturner.co.nz
// If fopen is disabled on the server lets check if cURL is there (DreamHost specific)
} else if (function_exists('curl_init')) {
$ch = curl_init();
$timeout = 5; // set to zero for no timeout
curl_setopt ($ch, CURLOPT_URL, $FullURL);
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt ($ch, CURLOPT_CONNECTTIMEOUT, $timeout);
} else if (function_exists('curl_int')) {
$ch = curl_init();
$lines = array();
$lines = explode("\n", $RemoteFile);
foreach($lines as $line_num => $line) {
// Check for the large image
if (eregi ($RegExStringBig, $line, $out))
$ImageSrcBig = $out[1];
// Check for the regular image
if (eregi ($RegExStringSmall, $line, $out)) {
$ImageSrcSmall = $out[1];
// We're found it, time to take a break
break;
}
}
}
}
// [END] Modification 24/02/2008
// We didn't find the APOD page, set available bool to false
else {
$apodAvailable = false;
}

I have commented in my change and made the modified file available for download.

DOWNLOAD: APOD Widget Modified

=-)