Content

Bill Gates Touched My Mac Book Pro

SWFUpload patch for WordPress!

Wednesday 29 October 2008 - Filed under Flash

Here: http://wordpress.org/support/topic/177127#post-886724 you will find a download called swfupload_patch.zip. Replace the files in your WP 2.6.3 installation with the files in this zip and the Flash uploader is remarkably restored to your WP installation. See below:

Admittedly, the button looks a bit wonky, but that’s more of a design issue than anything else. The button is a Flash button which calls the upload method directly in Flash, rather than an HTML button that calls JavaScript that calls Flash to start the upload. It’s not really rocket science. I’m not sure how they implemented the button skins, but I’m sure it could be made to load a few tiny pngs to use as skins, so you could customize it by changing the pngs. But honestly, I could care less what the button looks like in this case – it’s my WordPress admin panel. I’m the only one seeng it.

So yay! I’m going to go upload a whole bunch of random files just to celebrate!

2008-10-29  »  keith

Talkback x 8

  1. New SWFUpload released: Flash 10 fix. Any way to hack WP? | BIT-101 Blog
    29 October 2008 @ 11:59 am

    [...] 10/29/08 – here it is: http://www.bit-101.com/blog/?p=1608 ] This entry was posted on Thursday, October 23rd, 2008 at 5:22 pm and is filed under Flash, [...]

  2. kapteijndesign
    29 October 2008 @ 12:26 pm

    You can change the look of the button, if you place an image.

    here more info: http://demo.swfupload.org/Documentation/#settingsobject.

    You can see, that in the example stays:
    button_image_url : “http://www.swfupload.org/button_sprite.png”,

    Later on stays
    button_image_url
    This required setting sets the ID of DOM element that will be replaced by the Flash Button. The Flash button can be styled using the CSS class ‘swfupload’.

    Greetz,
    Marius

  3. kapteijndesign
    30 October 2008 @ 10:48 am

    Maybe interesting for you, a new beta version of the SWFUpload, with a new feature:

    button_cursor setting for pointers and hands

    Greetz,
    Marius

  4. Angel Romero
    30 October 2008 @ 5:15 pm

    Nice job looking into this! I actually reverted my Flash player back to 9 just so I can use SWFUpload within WordPress. :( Sweeeet!

  5. WordPressのSWFUploadをFlash Player 10対応にしてみたよ | ClockMaker Blog
    30 October 2008 @ 10:40 pm

    [...] SWFUpload patch for WordPress! | BIT-101 Blog [...]

  6. jerry
    2 December 2008 @ 1:46 pm

    Thanks!

    Installed your patch and put in a new upload.png with Word Press style. Looks and works great.

  7. kp
    2 December 2008 @ 1:52 pm

    just to be clear, it’s not “my” patch.

  8. Wordpressで画像アップロードボタンが押せなくなる。解決(一応)。 | ../photo
    5 December 2008 @ 3:28 am

    [...] SWFUpload patch for WordPress! | BIT-101 Blog [...]

Share your thoughts

Re: SWFUpload patch for WordPress!







Tags you can use (optional):
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>