Testing

4 08 2006

I wonder what the post id will be?





New Uploading Feature

29 09 2005

Obviously not in response to my feedback (I could never have thought of something this good), the WP.com developers have introduced a new file upload feature that is a vast improvement over the previous system. Here are some screenshots:

The title

Now you push the upload button and get the following screen:

Second step

Browse for the image and hit upload. The best part is next:

Third step

As you can see, an image thumbnail pops up that — you guessed it — is drag-drop-able to the post area. Here it is after I dragged it:

Fourth

Now for the real best part: the image you just dragged is a thumbnail! What’s more, you can resize it inside the post area:

Fifth

That is just awesome. I cannot wait to WP 1.6. Of course, there are some bug to work out:

oops





Wrong username?

26 09 2005

Are any other people having weird issues logging into WP.com?  I continually got a “Wrong Username” error logging in at home, but once at the office at school, I got in.  Also, two people I sent invites to had the same issues (they aren’t on the same computer as me).  I thought it was a cookie issue, but apparently not (took the laptop with me to school).  Weird.





Plugin of the week(?)

22 09 2005

I am hacking WordPress for a client who wants a CMS package with about a dozen users. Only two of the users have privaleges to enter stuff that appears on the front page, so I needed a solution that limits users below, say, level 4 to the ‘Blog’ category. That plugin was found here.

Download the zip file. Just open it in an editor once unzipped and edit lines 41 – 43. Very easy and very cool. I can’t see why this couldn’t be integrated in the WP user manager interface.





Image thumbnail code hack

20 09 2005

WordPress’ file upload feature is one of its only non-user-friendly features (user = those frightened by code). Here is a hack I made for a client that uses thumbnails. Download wp-admin/upload.php.

Find:

$piece_of_code = htmlspecialchars( $piece_of_code );

After it paste the following

$ze_thumb ="<a href='". get_settings('fileupload_url') . "/$img1_name' title='$imgdesc'><img src='" . get_settings('fileupload_url') ."/thumb-$img1_name' alt='$imgdesc' /></a>";
$ze_thumb = htmlspecialchars( $ze_thumb );

(God, that was a pain to type…not possible in WYSIWYG…)

Then find

<p><code><?php echo $piece_of_code; ?></code></p>

and paste the following after it

<p><?php _e('Here’s the code to display the thumbnail linked to the larger image:') ?></p>
<p><code><?php echo $ze_thumb; ?></code></p>

UPDATE: Now that I think about it, one should put a conditional around the above code so that it isn’t run if the user doesn’t select thumbnail. Anyone what variable or POST variable I can use?





Rad new admin interface

20 09 2005

Here is a cool screenshot:

the wordpress.com interface





The economics of WordPress.com

20 09 2005

Invites are going for about $8 on Ebay.  It looks like poker.wordpress.com, refinance.wordpress.com and some other “lucrative” ones are still available.  Unfortunately, I already sent my invite, so bid away!