Forum Replies Created

Viewing 15 replies - 16 through 30 (of 93 total)
  • OMG! What a list! Well, you asked for it. 😉

    Why not make 3.0 the integration version of WP and WPMU?

    Thus, only including some features – for example (sub) domain support – to make WordPress rock for both single blog users and multiblog users. Any other added features would be part of 3.1.

    It might save you a headache not having to worry about new features AND integrating WPMU at the same time. Besides, this way the community has some time to come up with a nice list of feature requests for 3.1 (and possibly 3.2). I mean, it’s not that WP 2.9 is totally useless without new added features. 😉 So maybe you should take your time to integrate first.

    Anywayz, just my two cents…

    Thread Starter Edde

    (@edde)

    Issue remains. Now using WordPress 2.8.5 and XML Sitemap Generator 3.1.9.
    Any ideas?

    OK. That was a bit short. I’ve puzzled together the following, grabbing code from forum. This creates a bullet list of .pdf and .doc attachments.

    <ul>
        <?php
            $args = array(
              'post_type' => 'attachment',
              'post_mime_type' => 'application/pdf,application/msword',
              'numberposts' => -1,
              'post_status' => null,
              'post_parent' => $post->ID,
              'orderby' => 'menu_order',
              'order' => 'desc'
              );
            $attachments = get_posts($args);
            if ($attachments) {
              foreach ($attachments as $attachment) {
                echo '<li><a href="'.wp_get_attachment_url($attachment->ID).'">';
                echo $attachment->post_title;
                echo '</a></li>';
              }
            }
        ?>
        </ul>

    @yellowllama: you might want to change
    'post_parent' => null, // any parent
    in
    'post_parent' => $post->ID,

    Forum: Fixing WordPress
    In reply to: ie crash my site

    Do you have a URL now?

    Forum: Fixing WordPress
    In reply to: ie crash my site

    Testing is a little hard when your site isn’t up and running. 🙂

    Forum: Fixing WordPress
    In reply to: ie crash my site

    It might very well be the cause: the embed code contains a lot of quotes. Missing one that should have been escaped, will ruin your output.
    I’d go for the code as provided and changing the content of the videoembed field to the url of the movie. See what happens if yuo try that.

    Forum: Fixing WordPress
    In reply to: ie crash my site

    I think the following should do the trick, checking for data before embedding.


    <?php if ( get_post_meta($post->ID, "videoembed", true) ) : ?>
    <object width="640" height="344"><param name="movie" value="<?php echo get_post_meta($post->ID, 'videoembed', true); ?>"></param><param name="allowFullScreen" value="true"></param><embed src="<?php echo get_post_meta($post->ID, 'videoembed', true); ?>" type="application/x-shockwave-flash" allowfullscreen="true" width="640" height="344"></embed></object>
    <?php endif; ?>

    I dont’t see what you mean by js. Could you provide me with a link to your site?

    Forum: Fixing WordPress
    In reply to: ie crash my site

    Resulting in something like:


    <object width="640" height="344"><param name="movie" value="<?php $key='videoembed'; echo get_post_meta($post->ID, $key, true); ?>"></param><param name="allowFullScreen" value="true"></param><embed src="<?php $key='videoembed'; echo get_post_meta($post->ID, $key, true); ?>" type="application/x-shockwave-flash" allowfullscreen="true" width="640" height="344"></embed></object>

    I’ve put videoembed between different (single) quotes, to prevent the value to become value="<?php $key=" – after which it breaks.

    Forum: Fixing WordPress
    In reply to: ie crash my site

    If you use the embed code and replace the video url by the value from the extra field I see no clear reason why your site would crash.


    <object width="640" height="344"><param name="movie" value="http://www.megavideo.com/v/1a8763d06fec71ba32b7ac45887fd0ec2"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.megavideo.com/v/1a8763d06fec71ba32b7ac45887fd0ec2" type="application/x-shockwave-flash" allowfullscreen="true" width="640" height="344"></embed></object>

    Forum: Fixing WordPress
    In reply to: ie crash my site

    The code you provide is just grabbing data from an extra field called “videoembed”. I assume you have this field available in at least one post to embed video?

    Dunno, just guessing, but maybe your video player can’t handle empty file locations? Or…

    A link to your site would be handy.

    @abi13: why don’t you have a look at the default theme?

    You might want to try qTranslate (http://www.qianqin.de/qtranslate/) –
    works like a charm and doesn’t require nasty code in your text to keep the different languages seperated.

    Forum: Fixing WordPress
    In reply to: RSS Feed question

    Yup, your title is missing

    Thread Starter Edde

    (@edde)

    @eight7teen: To me it doesn’t matter whether or not the code itself is malicious. It’s the thought that counts. IE6 crashes enough by itself, no need to add special code to your website. If it crashes on “normal” code, OK. Tough luck. But I find it unprofessional to add it with the sole purpose of crashing unknowing peoples browsers.

Viewing 15 replies - 16 through 30 (of 93 total)