Mark Jaquith
Forum Replies Created
-
Forum: Everything else WordPress
In reply to: OT: GooglefightI wonder how much of a change this is from say, 3 or 4 months ago.
Forum: Fixing WordPress
In reply to: <!– newpage –> Where to edit formatingHere is your current code:
<div class="feedback">
Pages: 1 2 Comments (0) </div>
Try taking away the paragraph tags, or including the “comments” part in the paragraph. Also, play with the CSS margin and padding for “.feedback”Forum: Requests and Feedback
In reply to: wp_title — allow separator before blog titleIf you’ve any skill with PHP, I’d recommend writing your own breadcrumb function. Take a look at the default WP one, and change it too your liking, and then save it as a different function.
Forum: Fixing WordPress
In reply to: Mismatched quotation maksYou could try making sure that all punctuation is contained within quotes. Like so:
John said, “but you’re not my mommy!”
This is technically correct is most situations, but there may be times when you don’t want to do it. Like so:
How are we supposed to continue when people keep interrupting with their “ideas”?
I’ve had better luck with SmartyQuotes than with Texturize. It’s just better at all those tricky situations. You may try giving SmartyQuotes a go.Forum: Fixing WordPress
In reply to: random post upon linkYou could create a variable, maybe called “random_posts.”
Create a link to http://yoursite.com/?random_posts=true
In your index.php file, you can check to see if random_posts is set like so:
<?php if ($_GET['random_posts']) {
showRandomPostsThingie();
} ?>
obviously, you’d want to integrate this into the “if ($posts)” conditional, so that only the random posts would be shown.
That should give you the general idea of how to do it.Forum: Fixing WordPress
In reply to: Colored scrollbars not showing up…You ARE using Internet Explorer, right? Coloring of scrollbars is an IE-specific feature.
Forum: Plugins
In reply to: ViewLevel plugin and RSS readersProbably because your newsreaders don’t have any concept of cookies. When you log in to WordPress, your browser sets a cookie. A separate newsreader won’t have access to this cookie, and AFAIK, ignore any requests to get/set a cookie.
Forum: Fixing WordPress
In reply to: HOWTO migrate from WP to MTWell, you either need to write a script to take the data from your database, and migrate it to a database in the format that MT likes. Or, you could have WordPress output data in the MT import format. Doesn’t seem to be much info on this… not many people migrate from WP to MT.
Forum: Fixing WordPress
In reply to: helpErrors like that usually occur when a file that is meant to be included BEFORE any output is sent to the browser has a space before the opening <?php or after the closing ?>
Take a look at those files and make sure you don’t have any spaces in there.Forum: Your WordPress
In reply to: Mis 3 quarksReally, really nice. The image at the top is haunting. The interface is clean, with sparse use of pleasant colors.
Forum: Your WordPress
In reply to: A week in…Hm, I think you should go with a different color for the background. I like the green, but green on green is just… too green. 😉
Forum: Your WordPress
In reply to: Another Movable Type defector…The static background interferes a little… there are light shades in the background, and sometimes they interfere with the white text. Maybe just darken the image a few shades.
Forum: Plugins
In reply to: Redesigning the Comment Form1) I was very impressed with Dunstan’s work
2) I showed his site to my girlfriend
3) I instantly regretted it :-/
“You should do this on YOUR site”
“Should I also bleach my hair and make my eyes more blue?! Shall I assume a Brittish accent and start drinking tea?! Grah!!”Forum: Plugins
In reply to: Remove Bookmarklet divopen up “wp-admin/post.php” and take out this code:
<div class="wrap">
<?php _e('<h3>WordPress bookmarklet</h3>
You can drag the following link to your links bar or add it to your bookmarks and when you "Press it" it will open up a popup window with information and a link to the site you’re currently browsing so you can make a quick post about it. Try it out:') ?><?php
$bookmarklet_height= (get_settings('use_trackback')) ? 460 : 420;
if ($is_NS4 || $is_gecko) {
?>
= 0){Q=getSelection();}else{Q=document.selection?document.selection.createRange().text:document.getSelection();}void(window.open('<?php echo get_settings('siteurl') ?>/wp-admin/bookmarklet.php?text='+escape(Q)+'&popupurl='+escape(location.href)+'&popuptitle='+escape(document.title),'<?php _e('WordPress bookmarklet') ?>','scrollbars=yes,width=600,height=460,left=100,top=150,status=yes'));"><?php printf(__('Press It - %s'), get_settings('blogname')); ?>
<?php
} else if ($is_winIE) {
?>
/wp-admin/bookmarklet.php?text='+escape(Q)+'<?php echo $bookmarklet_tbpb ?>&popupurl='+escape(location.href)+'&popuptitle='+escape(document.title),'bookmarklet','scrollbars=yes,width=600,height=<?php echo $bookmarklet_height ?>,left=100,top=150,status=yes'));btw.focus();"><?php printf(__('Press it - %s'), get_settings('blogname')); ?>
<script type="text/javascript" language="JavaScript">
<!--
function oneclickbookmarklet(blah) {
window.open ("profile.php?action=IErightclick", "oneclickbookmarklet", "width=500, height=450, location=0, menubar=0, resizable=0, scrollbars=1, status=1, titlebar=0, toolbar=0, screenX=120, left=120, screenY=120, top=120");
}
// -->
</script>One-click bookmarklet:
click here
<?php
} else if ($is_opera) {
?>
/wp-admin/bookmarklet.php?popupurl='+escape(location.href)+'&popuptitle='+escape(document.title)+'<?php echo $bookmarklet_tbpb ?>','bookmarklet','scrollbars=yes,width=600,height=<?php echo $bookmarklet_height ?>,left=100,top=150,status=yes'));"><?php printf(__('Press it - %s'), get_settings('blogname')); ?>
<?php
} else if ($is_macIE) {
?>
/wp-admin/bookmarklet.php?text='+escape(document.getSelection())+'&popupurl='+escape(location.href)+'&popuptitle='+escape(document.title)+'<?php echo $bookmarklet_tbpb ?>','bookmarklet','scrollbars=yes,width=600,height=<?php echo $bookmarklet_height ?>,left=100,top=150,status=yes'));btw.focus();"><?php printf(__('Press it - %s'), get_settings('blogname')); ?>
<?php
}
?></div>
Forum: Installing WordPress
In reply to: Importing Keywords in MT as WP Slugs. Possible?I can’t get it to work for the life of me.
The keywords are there in the export, but the import just makes the slug out of the title. I checked the 2fargon’s PHP, and it looks fine. Argh!