Tag Archive for 'WordPress'

WordPress Plugin: Thumbnail Viewer 1.2

I’ve released version 1.2 of the Thumbnail Viewer plugin for WordPress (actually released like 2 weeks ago, just now announcing). Not many changes were made in 1.2 except the fixed paths to the css and javascript files. The incorrect paths totally prevented the 1.1 from working for people who downloaded from the WordPress Plugin Directory.

Go Download Thumbnail Viewer Plugin 1.2

Shortly after the release of 1.1, I started hosting thumbnail viewer at the WordPress.org Plugin Directory. Hosting there gives me access to a Subversion repository, which I had never used before. Hosting at the WordPress Plugin Directory gives the plugin greater exposure and provides me with a central place to store all the code.

Version 1.2 was prompted when I started getting a bunch of people contacting me saying the plugin was not working. I got right down to it and realized the plugin was looking in the wrong directory for thumbnailviewer.css and thumbnailviewer.js. I renamed some directories before moving the project to the WordPress Plugin Directory and forgot to update the directory names in the PHP code.

So, version 1.2 was basically just a fix for the incorrect directory names. Until I can get a dedicated page setup here for thumbnail viewer, please see the announcement post for version 1.1 for installation directions and examples. There’s also some pretty helpful comments in there.

Go Download Thumbnail Viewer Plugin 1.2

If you’re still running version 1.1, there’s nothing your missing in 1.2. However, the directory format in 1.2 is how it’s gonna be from now on, so you might as well upgrade. You can download from the WordPress Plugin Directory. The latest, most up-to-date version will always be on that page.

UPDATE: Finally!!! I’ve taken the time to create an official page for my Thumbnail Viewer plugin. Please try to keep all the support related questions centered on that page. The announcement post for version 1.1 still has some pretty helpful comments though, I may decide to move them to the new page at some point.

Popularity: 13% [?]

WordPress 2.2 Adds Tags

The NeoSmart Files noticed the addition of native tagging support to WordPress 2.2 in the SVN repository. What’s this mean for WordPress bloggers? Not much really, other than the fact you’ll no longer have to use a third-party plugin for tagging your posts or pages.

This is great for WordPress, tagging is something I expected to see with the release of 2.0, but that didn’t happen. Tags are something bloggers really want, native tags will just make WordPress an even more attractive blogging platform.

I’m going to have trouble leaving the Ultimate Tag Warrior plugin behind in favor of the new tagging system in WordPress 2.2. Ultimate Tag Warrior has been so nice to work with and is pretty much the de facto WordPress plugin for tags. Ultimate Tag Warrior has some features not found in the tag system native to WordPress 2.2, such as tag suggestions. Also, Ultimate Tag Warrior allows you to apply tags you’ve used previously to a post via a select form, something not found in WordPress 2.2 tags. Hopefully the WordPress team has those features planned for inclusion at some point.

Anyway, head over to The NeoSmart Files for more, they have a screenshot comparing Ultimate Tag Warrior to native tags in WordPress 2.2.

Popularity: 11% [?]

TwitThis Plugin For WordPress

TwitThis is cool. The TwitThis plugin adds a “TwitThis” badge for each post on your WordPress site. TwitThis doesn’t send tweets when you’re writing a new post or editing an existing post like the Twitter Updater plugin. TwitThis makes it easy for your readers to let the world know they’re reading one of your posts or performing some other action on your site.

TwitThis is an easy way for people to send Twitter messages about your
blog post or website. When visitors to your website click on the
TwitThis button or link, it takes the URL of the webpage and creates a
shorter URL using TinyURL. Then visitors can send this shortened URL
and a description of the web page to all of their friends on Twitter

If you don’t use WordPress, you can still make use of TwitThis. There’s a simple piece of javascript code you can insert on your page to get a TwitThis badge for non-WordPress websites. Head over to the TwitThis website for more information.

You can see TwitThis in action right here at longren.org. The TwitThis badge should be immediately below the Share This badge.

Popularity: 8% [?]

Twitter: Show Your Latest Entry On Your Blog

Want to show your latest entry to Twitter on your WordPress blog or website? It’s really very simple. Don’t be scared off by the vague instructions for adding a badge at the Twitter Badge page. The Twitter Badge page has some Flash badges at the very top and some javascript badges immediately below the Flash badges.

We’re mostly interested in the javascript badges. I don’t give two shits about Flash and refuse to add something to this site that will cause unnecessary lag just because it’s “pretty”. I’m a pretty devout follower of the K.I.S.S. philosophy. And besides, all we’re covering here is how to show your latest Twitter entry, pretty basic. Take a look below to see how I display “My Latest Twitter” in my sidebar.

1. Open your themes sidebar.php file (probably in /wp-content/themes/theme_name/).

2. Determine where you would like your Recent Twitter Status to appear in your sidebar.

3. Copy the following code and paste it into sidebar.php in the location you chose in step 2.

<div class="sb-lasttwitter">
<h2><a href="http://twitter.com/yourTwitterUsername/"><?php _e('My Latest Twitter'); ?></a></h2>
<ul><li>
### insert javascript for Twitter Badge here ###
</li></ul>
</div>

4. Open your themes style.css file and add a class called sb-lasttwitter. You can expand on the styling for the sb-lasttwitter class all you want. The CSS I use is below, it should work for most people as-is.

/*- most recent twitter*/
.sb-lasttwitter ul li {
	list-style-type: none;
	}

5. After adding the sb-lasttwitter CSS class, save your style.css file and upload the newly modified file to your website.

6. Login to your Twitter account and click the “Badge” link at the top.

7. Click the first javascript badge, it should automatically select all of the code when you click on it. Copy the selected javascript code to your clipboard (right-click and copy).

8. After you’ve copied the badge javascript, go back to sidebar.php and find the line that reads: ### insert javascript for Twitter Badge here ###. Replace that line with the javascript you copied from step 7.

9. Save sidebar.php and upload it to your website, it goes in the same directory you uploaded style.css to.

10. Done! Visit your blog to (hopefully) see your latest twitter in the sidebar.

Once you’re done with that you should see “My Latest Twitter” in your sidebar. Immediately below that text you should see your most recent Twitter and how long ago it was entered.

You should also note that the code from step 2 may not work for every WordPress theme, in fact, it probably won’t. However, you should be able to make a few simple changes to make it fit perfectly with your blog’s theme. My point is, you may have to modify that code (and the CSS) to make this show properly with the rest of your blog theme.

Please be aware that the Twitter javascript badge breaks XHTML 1.0 Transitional validation. Fortunately, it’s an easy fix to get pages including the Twitter javascript badge to validate again. Remember, this is the javascript we copied in step 7.

Anyway, to make it pass XHTML 1.0 Transitional validation, have a look at the very last line of the javascript, towards the end of the line, should look similar to this:

?callback=twitterCallback&count=1"></script> 

Replace the text above with the following text:

?callback=twitterCallback&amp;count=1"></script>

Modifying the last line of the javascript as described above will make your site/blog pass XHTML 1.0 Transitional validation, assuming nothing else in your site is broken. WDG has some good information on why this change will help your site pass validation.

If you have any problems with this, please let me know! I will try to help people as much as I can, no promises though. If there’s enough interest, I may end up throwing together a very simple wordpress plugin to do all this automatically. It would seem the only Twitter WordPress plugins currently available require the WordPress Widgets plugin, which I don’t use. I just want a simple plugin to include the basic javascript badge without the need for Widgets. If nothing pops up within the next few weeks I’ll probably get to work on a plugin of my own.

There are two full featured Twitter WordPress plugins currently in development, both should be fantastic. The first plugin is Twitter Tools from Alex King. Twitter Tools aims to provide full integration between Twitter and WordPress. The second plugin in development is Twitt-Twoo from Dean J. Robinson. Twitt-Twoo isn’t aiming to be a full integration plugin like Twitter Tools. Twitt-Twoo is much more basic, although I believe it will allow you to post to twitter right from the sidebar of your blog, provided you’re logged in. I’m not sure if that functionality will be included in Twitter Tools as well or not.

Popularity: 18% [?]

I’ve Been Reinvigorated

Reinvigorate is really nice. It’s a website statistics package, similar to Google Anlaytics and Mint. On the Reinvigorate home page, the service is described as “Measurement, performance, and regression analysis tools for evolving websites and blogs of all sizes”, sweet. Anyway, I signed up for the private beta a long time ago and finally received an invitation a few days ago.

Dougal Campbell has blogged about reinvigorate a couple times, check his posts out for some more background information on Reinvigorate.

Reinvigorated Detailed ActivityReinvigorate gives a really unique view of your website or blog, especially when it comes to tracking individual users. They also have a neat feature called “Name Tags”. Name Tags associate information on your website or blog (names, email addresses, etc) with the session id assigned by Reinvigorate. For example, this lets me track commenters based on the name they use when commenting. If someone comments, the name they used in the comment will show up in Reinvigorate. This makes it easy to see all the pages the commentor visited and how much time they spent on each page. Reinvigorate describes Name Tags as follows:

Name Tags are an easy way to identify exactly who your visitors are.

It works by associating information your site manages (username, e-mail, account ID, etc..) with the session ID Reinvigorate uses to track visitors on your site/blog.

It’s extremely simple to setup, even if your site uses its own proprietary user account system. 1-2 extra lines of code and we take care of the rest.

Reinvigorated - Plugin for WordPressName Tags are extremely simple to make use of if you use WordPress. Reinvigorate has a plugin for WordPress that makes using Name Tags a breeze. The plugin also prevents you from having to manually add the tracking code to your blog. You can turn on Name Tags right from the plugin options page. Just activate the plugin, enter your tracking id, turn Name Tags on or off, and you’re set.

I’m really happy with Reinvigorate after using it for only two days. It’s exciting to know it’s still in beta, so hopefully they’ll continue to add features and more options. One thing I would really like is the ability to select a date range to view data for. Especially for the search terms, I want to see my top search terms over certain periods of time. Same goes for popular pages too.

If you haven’t already, go sign up for the beta. You may have to wait a while for an invitation, but it’s worth the wait. I can’t wait to see what the developers have planned for Reinvigorate in the future.

Popularity: 8% [?]

WordPress and Prototype

Lots of people have searching about wordpress and prototype.js and have been lading at my post about Alex King’s Share This plugin and prototype.js. At the time I made that post, I wasn’t aware of the wp_enueque_script() function in WordPress 2.1.

Making use of wp_enqueue_script will ensure that your script is only loaded once. It’s really handy, hopefully everyone that uses prototype in their theme or plugin will start using wp_enqueue_script to load the prototype.js file. To load prototype, you’d use wp_enqueue_script like so:

<?php wp_enqueue_script('prototype'); ?>

Prototype isn’t the only script that can be loaded with wp_enqueue_script. Take a look in wp-includes/script-loader.php to see some of the other scripts that wp_enqueue_script can load by default.

Popularity: 9% [?]



cheap xbox 360 games - buy from zavvi
cheap xbox 360 games - zavvi

No Teletrack Payday Loans - mobile phones - Web Design - Cheap Gas - Debt Consolidation - Credit Counseling - Arizona Pools
Search Engine Optimisation - Mobile Phone - Bike Insurance - Landlords Insurance - Search Engine Marketing - Mobile Phone