Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • There’s always a way to work the FTP angle.

    Upload a dummy file (open notepad, type a few characters, save with a .mov extension – or whatever the extension of the file you are trying to get into the Media Library). Upload that through the uploader.

    Then use an FTP client to upload the real file, and once it’s uploaded, simply rename to match the dummy that was uploaded, and delete the dummy (not necessarily in that order).

    Worked for me.

    Forum: Fixing WordPress
    In reply to: 2.7 Video Bug?

    I also am having a

    This file is too big. Your php.ini upload_max_filesize is 50M.

    message when I try to upload a 33MB MOV file.

    However, I switched from the Flash uploader to the Browser uploader and it at least started uploading. But then it failed. So I thought to myself, lets work the FTP angle.

    Upload a dummy file (open notepad, type a few characters, save with a .mov extension – or whatever the extension of the file you are trying to get into the Media Library). Upload that through the uploader.

    Then use an FTP client to upload the real file, and once it’s uploaded, simply rename to match the dummy that was uploaded, and delete the dummy (not necessarily in that order).

    Worked for me.

    Not sure if you are comfortable performing straight-up database queries like this, but this works:

    } elseif (is_month()) {
    	// Custom: Get Total Publications by Month
    	$year_month = get_the_time('Y-m');
    	$numposts = $wpdb->get_var("SELECT COUNT(*) FROM $wpdb->posts WHERE post_status = 'publish' AND post_type='post' AND post_date LIKE '$year_month%'");
    	$numposts = number_format($numposts);
    	echo $numposts; ?>

    I used a similar function to do archive pages per author also.

    Agreed, that’s beautiful and rare.

    Excellent plugin, thanks so much!

Viewing 5 replies - 1 through 5 (of 5 total)