Dougal Campbell
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How do I create cleaner linksYes, it’s in the CVS version, and it’s very nice. You get to define your permalink format using variables like %year%, %monthnum%, %day%, and %postname%. Permalinks on my test blog look like:
http://dougal.gunters.org/test/wordpress/archive/2003/10/8/hello-worldForum: Everything else WordPress
In reply to: PHP based NNTP readerA Google search for “php nntp reader” turned up a project which looks promising.
Google is your friend πForum: Fixing WordPress
In reply to: publishing without putting it on the front pageLet’s say the ID number of your special category is 5.
In your template, just after the line that says$blog=1;Add a new line like so:
$cat='-5';Forum: Fixing WordPress
In reply to: ID= removed by urlinator?It’s from the sanitize_html_attributes() function in b2-include/b2functions.php. That function does global replacements, instead of trying to ensure that it only affects attributes on HTML tags.
I’m going to try integrating a smarter HTML cleaner one of these days, but haven’t had a chance to start working on it yet. I’ve already found a project that does what I want. It just requires some work to integrate it into WordPress.Forum: Fixing WordPress
In reply to: Weird time problemAre you certain that your web server has the correct time? The time stored for the post comes from the server.
Forum: Requests and Feedback
In reply to: Strip Slashes?There are already changes in CVS to handle this, so it will be in the next release.
Forum: Fixing WordPress
In reply to: CVS sql errorWe tend to hold off updating the install script until we’re closer to making a new release. But the upgrade script should stay up-to-date with the current changes.
Forum: Fixing WordPress
In reply to: Size of Comment Pop-up WindowIn your template, change your function call like so:
<?php comments_popup_script(500,700); ?>
This should make the popup window be 500 pixels wide, and 700 pixels tall, rather than the default 400×400Forum: Fixing WordPress
In reply to: Options when logged inThe options that you control from the admin screens are all stored in the database. The only time you’re ever actually modifying a file in the directory structure is in the Templates screen. And then, only if you’ve made the files writable.
Forum: Everything else WordPress
In reply to: XML-RPC callsThe categories member of the content struct is an array. WordPress currently only supports one category per post, so you will need an array with just one element. The actual element itself should be the name of the category.
Forum: Fixing WordPress
In reply to: mod_rewrite generating Internal Server errors?You do have the RewriteRule as one long line, right?
<pre>
RewriteRule ^/?a/?([0-9]{4})?/?([0-9]{1,2})?/?([0-9]{1,2})?/?([0-9a-z-]+)?/?$ /weblog?year=$1&monthnum=$2&day=$3&name=$4 [QSA]
</pre>Forum: Fixing WordPress
In reply to: Multiple blogsFor multiple cats, use:
$cat='1 3 4';Forum: Requests and Feedback
In reply to: pasting webpagesHave you tried the WordPress Bookmarklet? Login, click “My Profile”, and drag the bookmarklet link to your browser’s toolbar. Then when you want to blog about a site/article, just select the text you’d like to quote and click the link from your toolbar.
Forum: Fixing WordPress
In reply to: Comments NotificationSMTP host is configured in the site’s ‘php.ini’ file. If you control that file on your server, check there to be sure it’s set up correctly.
Forum: Requests and Feedback
In reply to: Built-in statisticsI added a “Popular Posts” section on my blog about a week ago. Is that what you’re looking for?