emme
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Firefox and Kimili Flash Embed not displayingI too would appreciate knowing how you solved this issue…
Forum: Themes and Templates
In reply to: Flash links are not working in my header fileMy instinct is that this is some kind of security issue within WordPress.
I’m having limited* success doing the following:
1. Using SWFobject to embed the Flash file
2. Using complete paths for both the embedding of the Flash file and the URLs it links to
3. Placing the .swf in the root directory of the selected blog theme (e.g. httpdocs/wp-content/themes/theme_name/flash_file.swf)*Limited success means it is working fine in:
IE on PC and Mac
Safari on MacBut bizarrely when viewing my slideshow using Firefox (on both PC and Mac) the links only work in the top third of the Flash file area! No idea why this is. Trying to figure it out now…
Hope this helps! Let me know how you get on…
Forum: Themes and Templates
In reply to: Flash links are not working in my header fileI am dealing with this same issue. If I have any luck I’ll be sure to let you know!
Forum: Themes and Templates
In reply to: Flash header not linkingThankye for posting this. I’m going to try it out to fix my Flashy WordPress issues.
Forum: Themes and Templates
In reply to: Where has rdc gone?Hello there!
I am using the e’er delightful rdc0.7 theme by Moniseur Roobottom and have found there to be a couple of errors in the comments.php page which prevented users from leaving comments. See the code below (I’ve commented out the errors with “ERROR FOUND HERE”) to see where the links to the login page are incorrect…
<?php /* Do not delete these lines */
if ('comments.php' == basename($_SERVER['SCRIPT_FILENAME']))
die ('Please do not load this page directly. Thanks!');if (!empty($post->post_password)) { // if there's a password
if ($_COOKIE['wp-postpass_' . COOKIEHASH] != $post->post_password) { // and it doesn't match the cookie
?>
<p class="nocomments"><?php _e("This post is password protected. Enter the password to view comments."); ?>
<?php
return;
}
}
?><?php /* This variable is for alternating comment background */
$oddcomment = 'alt';
?><?php /* Display number of comments */
if ($comments) :
?>
<h3 id="comments"><?php comments_number('No People ', '1 Person ', '% People ' );?>had this to say...</h3><?php /* Comments */
foreach ($comments as $comment) :
?><div class="comment <?=$oddcomment?> <?php comment_author() ?>">
<div class="header">
<?php // display gravatar (or not)
if (function_exists('gravatar')) {
$default = 'https://'.$_SERVER['HTTP_HOST'].bloginfo('template_directory').'/_gfx/avatar_default.gif';
echo '<img src="';
gravatar("", 36, "$default");
echo '" alt="Gravatar" width="36" height="36" />';
} else { ?>
<img src="<?php echo bloginfo('template_directory'); ?>/_gfx/avatar_default.gif" alt="Gravatar" width="36" height="36" />
<?php } ?>
<ul>
<li class="commenter"><?php comment_author_link() ?></li>
<li class="icon date"><?php comment_date('F jS, Y') ?></li>
<li class="icon time"><?php comment_time() ?></li>
</ul>
</div>
<div class="content">
<?php if ($comment->comment_approved == '0') : ?><strong>Your comment is awaiting moderation.</strong>
<?php endif; ?>
<?php comment_text() ?></div>
</div><?php /* Changes every other comment to a different class */
if ('alt' == $oddcomment) $oddcomment = '';
else $oddcomment = 'alt';
?><?php /* End for each comment */
endforeach;
?><?php /* This is displayed if there are no comments so far */
else :
?><?php /* If comments are open, but there are no comments */
if ('open' == $post-> comment_status) :
?>
<!-- There are no comments. --><?php /* Comments are closed */
else :
?>
<!-- Comments are closed. -->
<p class="nocomments">Comments are closed.<?php endif; ?>
<?php endif; ?><?php if ('open' == $post-> comment_status) : ?>
<h3>Want your say?</h3>
<?php if ( get_option('comment_registration') && !$user_ID ) : ?>
You must be <a href="<! FOUND ERROR HERE --> ../default/ --><?php echo get_option('siteurl'); ?>/wp-login.php?redirect_to=<?php the_permalink(); ?>">logged in</a> to post a comment.<?php else : ?>
<form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
<fieldset>
<div class="header">
* Required fields. Your e-mail address will not be published on this site</div>
<div class="content">
<?php if ( $user_ID ) : ?>
Logged in as <a href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a>. <a href="<?php echo get_option('<! FOUND ERROR HERE --> ../default/ -->siteurl'); ?>/wp-login.php?action=logout" title="<?php _e('Log out of this account') ?>">Logout »</a><?php else : ?>
<label for="author">Name <?php if ($req) _e(' *'); ?></label><input type="text" name="author" id="author" value="<?php echo $comment_author; ?>" size="22" tabindex="1" /><label for="email">Mail <?php if ($req) _e(' *'); ?></label><input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="22" tabindex="2" />
<label for="url">Website</label><input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="22" tabindex="3" />
<?php endif; ?>
<p class="note"><strong>You can use the following XHTML tags:</strong><?php echo allowed_tags(); ?><label for="commentsbox">Comments</label><textarea name="comment" rows="10" id="commentsbox" tabindex="4"></textarea>
<p class="submit"><input name="submit" type="submit" id="submit" tabindex="5" value="Submit Comment" /><input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" />
</div>
<?php do_action('comment_form', $post->ID); ?>
</fieldset>
</form>
<?php endif; ?>
<?php endif; ?>