nickaster
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Dreadful PermalinksThat’s ridiculous. Quotes are often useful in titles, but I can’t believe wordpress would allow them in a URL. Isn’t it just common sense to avoid dodgy characters in URLs like that? It knocks out spaces, why can’t it knock out odd characters? Is there a plugin or something floating around for this?
Forum: Fixing WordPress
In reply to: Dreadful Permalinksah yes… true, but the quotes are still there in the actual URL. Click on it, you’ll see.
I know I can edit the permalinks manually, but once things are published, it’s too late as there will be inbound links, etc…
Forum: Fixing WordPress
In reply to: Enable Automatic Plugin Install / Upgrades?Sweet, that worked.
blw911 – if you’re not familiar with SSH, I’d stay away from this solution. Sometimes Pair is nice and will do this kind of thing for you!
Forum: Everything else WordPress
In reply to: how to get traceroute from WP automatic upgradeThis is supposed to be the cure. Am about to try it myself:
https://www.ads-software.com/support/topic/217411?replies=7Forum: Themes and Templates
In reply to: Non Stanadard Blogroll Code in Sidebarokay good point. Yes, I did look at the source code, but I still can’t figure out how to put a header on the whole thing. I’ve been playing with the functions.php and tried this:
function real_links() {
echo ‘
<div id=”blogroll”><h3>Links</h3>’
.wp_list_bookmarks().
‘</div>’;}
wp_register_sidebar_widget(‘real_links’, __(‘Blogroll’), ‘real_links’);Which sort of works, but somehow the list does not appear inside the <div> that I set up. Why would that be?
I can fake it by making a widget that just spits out “Blogroll” and stick it on top, I suppose
Forum: Your WordPress
In reply to: Facebook Connect WordPress PluginAnother oddity is that the “publish this comment to facebook” checkbox does not appear on some browsers. FF in XP for example. But on Mac it works fine. Anyone got some resources to figure that one out?
Forum: Your WordPress
In reply to: Facebook Connect WordPress PluginRight on. This seems to be working pretty well, but there’s one minor little goofer going on. When I put things in quotes, the latter quote comes out differently, and on some browsers as a bunk character. See this screenshot:
https://www.triplepundit.com/wordpress/wp-content/uploads/wacky-quote.gif
That’s on Chrome, FF and ie8, altough some users don’t see the box.
I have traced the problem (I think) to something FBConnect does with the header. Look at this:
<html xmlns=”https://www.w3.org/1999/xhtml” xmlns:fb=”https://www.facebook.com/2008/fbml” dir=”ltr” lang=”en-US”>
How is facebook sneaking in there?
Blog is here – https://www.triplepundit.com
Forum: Fixing WordPress
In reply to: Weird Charcters caused by wysiwyg/tinyMCE?Yeah, totally weird. On my mac, it looks fine on multiple browsers, but if you look closely you can see that the latter quote is differently shaped than the first one, so it’s definitely trying to be “smart” about something. Just checked the header, and that’s exactly what I’ve got there.
I do have facebook connect integrated with the site. It’s a plugin. Perhaps its playing games with that header somehow… totally odd.
Forum: Fixing WordPress
In reply to: Weird Charcters caused by wysiwyg/tinyMCE?Interesting. I’ve got FF3, Chrome, and IE8 and all showing the same problem. The end quote in “Airtran Pure 35,000″ shows up as a box. I know this has something to do with the php smart quotes being on the fritz. Is this some kind of doctype problem?
Here’s a screenshot – https://www.triplepundit.com/wordpress/wp-content/uploads/wacky-quote.gif
I had the same problem in a post as well. Everything was straight entered, no MS word or any funny stuff like that.
Forum: Fixing WordPress
In reply to: Comments Displaying Wrong DateBrilliant! Worked like a charm. Thank you!
Forum: Fixing WordPress
In reply to: Trackbacks Showing as CommentsYes! That worked. It was the stuff missing on single.php that was missing. Once again, you rock.
Cheers…
Forum: Fixing WordPress
In reply to: Formatting for BlogrollIs this a joke?
Is there seriously no way to change my blogroll code without php knowledge? ALL I want to do is put an h3 header that says “blogroll” and then change the category titles from h3 to something else, like h4
Forum: Fixing WordPress
In reply to: Trackbacks Showing as CommentsYou got it. Thanks a million…. that pastebin thing is pretty cool. Hope I did it right:
Forum: Fixing WordPress
In reply to: Trackbacks Showing as CommentsRight… well, there’s supposed to be a nifty little section in a tab which would display them essentially the same way as comments, but yes, in a different area. You can see where it’s supposed to be here:
(note the two tabs)
Forum: Fixing WordPress
In reply to: Trackbacks Showing as CommentsOf course, thanks a mil. At the risk of posting too much, here’s the whole thing:
<?php if (!empty($_SERVER['SCRIPT_FILENAME']) && 'comments.php' == basename($_SERVER['SCRIPT_FILENAME'])) die ('Please do not load this page directly. Thanks!'); if ( post_password_required() ) { ?> <p class="nocomments">This post is password protected. Enter the password to view comments.</p> <?php return; } $trackbacks = $comments_by_type['pings']; ?> <div id="comments"> <ul> <li><a href="#commentsList"><span>Comments (<?php echo count($comments)-count($trackbacks);?>)</span></a></li> <li><a href="#trackbacksList"><span>Trackbacks (<?php echo count($trackbacks);?>)</span></a></li> </ul> <?php if (pings_open()) : ?> <div id="trackbacksList"> <ol id="trackbackList"> <?php if ($trackbacks) : $trackbackcount = 0; ?> <?php foreach ($trackbacks as $comment) : ?> <li <?php comment_class(); ?> id="li-comment-<?php comment_ID() ?>"> <div class="commentBox"> <p class="commentMeta"><?php comment_time('F m, Y');?> at <?php comment_time('G:i a T');?> | <?php comment_author_link();?> writes:</p> <p><?php comment_text(); ?></p> </div> </li> <?php endforeach;?> <?php else : ?> <li class="odd">No trackbacks yet</li> <?php endif; ?> </ol> <div class="clearjz"></div> </div> <?php endif;?> <?php if ( have_comments() ) : ?> <div id="commentsList"> <h2 class="articles">Comments</h2> <ol id="commentList"> <?php if ($comments && count($comments) - count($trackbacks) > 0) wp_list_comments('type=comment&callback=sdac_comment'); ?> </ol> <?php if (show_posts_nav()) : ?> <div class="navigation"> <div class="alignleft"><?php previous_comments_link() ?></div> <div class="alignright"><?php next_comments_link() ?></div> </div> <?php endif;?> <?php else : ?> <?php if ( comments_open() ) : ?> <div id="commentsList"> <ol id="commentList" class="noComments"> <li>No Comments - Be the first to comment!</li> </ol> <div class="clearjz"></div> <?php else : // comments are closed ?> <div id="commentsList"> <ol id="commentList"> <li>Comments are Closed</li> </ol> <div class="clearjz"></div> </div> <?php endif; ?> <?php endif; ?> <?php if ( comments_open() ) : ?> <div id="respond"> <h2 class="articles"><?php comment_form_title( 'Leave a Reply', 'Leave a Reply to %s' ); ?></h2> <div class="cancel-comment-reply"> <p><?php cancel_comment_reply_link(); ?></p> </div> <?php if ( get_option('comment_registration') && !is_user_logged_in() ) : ?> <p>You must be <a href="<?php echo wp_login_url( get_permalink() ); ?>">logged in</a> to post a comment.</p> <?php else : ?> <form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentForm"> <?php if ( is_user_logged_in() ) : ?> <p>Logged in as <a href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a>. <a href="<?php echo wp_logout_url(get_permalink()); ?>" title="Log out of this account">Log out »</a></p> <p><textarea name="comment" class="text" id="comment" cols="100%" rows="10" tabindex="4"></textarea></p> <?php else : ?> <div id="ways">There are 3 ways to comment on 3P</div> <div id="commentOptions"> <div class="commentOption"> <p><strong>1. Guests</strong></p> <a id="respond">Comment Instantly<br /> Below:</a> </div> <div class="commentOption"> <p><strong>2. Facebook Users</strong></p> <p>Login to your Facebook account</p> <?php widget_FacebookConnector(array());?> </div> <div class="commentOption lastOption"> <p><strong>3. Members</strong></p> <p><a target="_blank" href="<?php bloginfo('url');?>/wp-login.php?action=register">Register</a> for an account or <a target="_blank" href="<?php bloginfo('url');?>/wp-login.php">login</a>.</p> </div> </div> <div id="commentsLeft"> <p> <label for="author">Name <?php if ($req) echo "(required)"; ?></label> <input type="text" class="text" name="author" id="author" value="<?php echo $comment_author; ?>" size="22" tabindex="1" <?php if ($req) echo "aria-required='true'"; ?> /> </p> <p> <label for="email">Email <?php if ($req) echo "(required)"; ?></label> <input type="text" class="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="22" tabindex="2" <?php if ($req) echo "aria-required='true'"; ?> /> </p> <p> <label for="url">URL</label> <input type="text" class="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="22" tabindex="3" /> </p> </div> <div id="commentsRight"> <p> <label>Comment:</label> <textarea name="comment" class="text" id="comment" cols="100%" rows="10" tabindex="4"></textarea> </p> </div> <?php endif; ?> <p id="subscribeComments"><a href="#"><img src="<?php bloginfo('template_url');?>/images/icon-rss.gif" /></a> <a href="#">Subscribe to Comments</a></p> <p id="submitComment"><input name="submit" type="submit" id="submit" tabindex="5" value="Submit Comment" /></p> <?php comment_id_fields(); ?> <?php do_action('comment_form', $post->ID); ?> </form> <div class="clearjz"></div> </div> <?php endif; // If registration required and not logged in ?> </div> <?php endif; // if you delete this the sky will fall on your head ?> </div>