Edde
Forum Replies Created
-
Forum: Requests and Feedback
In reply to: Version 3.0 FeaturesOMG! 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…
Forum: Plugins
In reply to: [Plugin: Google XML Sitemaps] Options page not completeIssue remains. Now using WordPress 2.8.5 and XML Sitemap Generator 3.1.9.
Any ideas?Forum: Plugins
In reply to: Filter and display attachmentsOK. 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>Forum: Plugins
In reply to: Filter and display attachments@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 siteDo you have a URL now?
Forum: Fixing WordPress
In reply to: ie crash my siteTesting is a little hard when your site isn’t up and running. 🙂
Forum: Fixing WordPress
In reply to: ie crash my siteIt 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 siteI 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 siteResulting 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 siteIf 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 siteThe 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.
Forum: Fixing WordPress
In reply to: Minimalism: Threaded Comments@abi13: why don’t you have a look at the default theme?
Forum: Fixing WordPress
In reply to: Multilingual Blog How Too?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 questionYup, your title is missing
Forum: Plugins
In reply to: [Plugin: Upgrade Else DIE] Crashing visitors browser@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.