Forum Replies Created

Viewing 3 replies - 46 through 48 (of 48 total)
  • JEDs, I am having the same problem. I’ve deactivated plugins and it is stalled at the same point. This has never happened in the past.

    Thread Starter mbeasi

    (@mbeasi)

    Success! Solution: This was achieved with a combination of Binary Moon’s fix (https://www.binarymoon.co.uk/2009/10/timthumb-wordpress-mu/), along with the stuff quoted above from my friend, and one tip from a guy in the Binary Moon thread which gave me the final piece of the puzzle.

    If anyone else is using WP 3.0 with WP-Creativix on a subdomain, put this in in functions.php (in php tags):

    function get_image_path ($post_id = null) {
    if ($post_id == null) {
    global $post;
    $post_id = $post->ID;
    }
    $theImageSrc = get_post_meta($post_id, ‘Image’, true);
    global $blog_id;
    if (isset($blog_id) && $blog_id > 0) {
    $imageParts = explode(‘/files/’, $theImageSrc);
    if (isset($imageParts[1])) {
    $theImageSrc = ‘wp-content/blogs.dir/’ . $blog_id . ‘/files/’ . $imageParts[1];
    }
    }
    return $theImageSrc;
    }

    And then in the Main Index Template, where timthumb calls for the file, change “echo $values[0]” to “echo get_image_path ($values[0])”

    Hello! So, now that the multi-site functionality of WPMU has been merged with WP 3.0, I’ve tried to use this theme on a new WP-created subdomain. Unfortunately, now that I’ve done that, I’m having the problem with timthumb and file paths well-documented in posts like these.

    Can you help at all? As you can see by looking at my test install of this blog (created on the beta versions of WP 3.0), the only difference between it and the new install is that timthumb can’t find the correct file paths in order to create thumbnails.

    I really love this theme and I want to use it, but right now I can’t if I want to use it as a second blog on WP 3.0. I attempted to implement the fixes suggested by people in the WPMU forums, but I’m just not a strong enough coder to figure out how to make those work with this theme.

    Help?? If you could tell me what code to replace where, I could manage it from there.

Viewing 3 replies - 46 through 48 (of 48 total)