Scott Reilly
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Hook for entire postDid you peruse the Plugin API at codex? http://codex.wordpress.org/Plugin_API
Forum: Fixing WordPress
In reply to: <!–more–> teaser tag not workingangsuman: The bug isn’t about single post “mode” (i.e. a post’s permalink page) because, yes, there we do want to always see the whole post unless it is paged. The bug is that on any page where only one post happens to appear (i.e. a category or month page which only contains one post) the “more” was being ignored. Were you to upgrade to 1.5.1 once it comes out you won’t have to worry about changing anything; it’ll behave the way you want it to.
Forum: Plugins
In reply to: Acronym replacer featureYou could use the Text Replace plugin: http://www.coffee2code.com/archives/2004/06/29/plugin-text-replace/
Forum: Fixing WordPress
In reply to: 1.3 beta to 1.5 strayhorn?It is always recommended to run the upgrade.php script when updating from one version to another. Also, as always, backup your data before you do anything related to an upgrade.
Forum: Plugins
In reply to: The mythical wp_mail functionwpPHPMailer is a plugin that includes PHP Mailer to send mail through an SMTP server (and bypass any attempts to use sendmail via mail()). I’m updating the plugin this week, but it should work as described at the site. The only change you have to bear in mind is that in WP 1.5 you only have to change one line of code instead of four; in wp_mail() change the @mail call to @phpmailer (after you’ve activated the plugin, that is)
Forum: Fixing WordPress
In reply to: <!–more–> not workingThis has just been fixed in the repository; for those who wish to make the simple change themselves: http://trac.wordpress.org/changeset/2378
Forum: Fixing WordPress
In reply to: Can’t see ANY plugin optionsThis might be the result of a bug, which was fixed here:
Forum: Themes and Templates
In reply to: recent posts by category?In your example you don’t define a format string; in essense, you’re telling the function not to display anything. Try adding a format string and see if it works:
<ul>Recent Posts
<?php c2c_get_recent_posts(3, "<li>%post_URL%<br />%post_date%</li>", "34"); ?>
</ul>Forum: Requests and Feedback
In reply to: WP1.5 “spam” comment moderation feature?podz is corrent. Comments marked as spam remain in the database but are otherwise no longer referenced by WP. Plugins and/or future versions of WP may anaylyze that spam in the future.
Forum: Fixing WordPress
In reply to: After Upgrade – wp-include/functions.php PROBLEMLooks like you have a file in your web directory called postit.php which has defined a function with a name that WordPress also is looking to use. Remove postit.php.
Forum: Installing WordPress
In reply to: Problem with upgradeIt is recommended that all plugins be deactivated prior to the upgrade:
See http://www.tamba2.org.uk/wordpress/upgrade/upgrade_en.html
(failure to do so produces the error mentioned above)
You could always try the Hide or Cut Post Text plugin. Instead of
<!--more-->you’d use<!--cut-->(and the closing<!--/cut-->). Also, you can customize the link text (i.e.<!--cut="Click to read rest of quote..."-->)Forum: Fixing WordPress
In reply to: Problem in comment-functions.php?Yes, bugs should be reported to the bugtracker. Bugs reported solely on the forum stand a high risk of falling through the cracks.
However, what you’re reporting doesn’t appear to be a bug. The function
comments_template()sets the default for$fileto be “/comments.php”. All WP calls tocomments_template()do so without an argument, so the default would be used. Which leads me to wonder… in your template, what does the call tocomments_template()look like? If you sending an argument, is it something other than a comments template filename?Forum: Fixing WordPress
In reply to: Can’t comment for 10 seconds?It’s a hardcoded value. For WP 1.2, look in wp-comments-post.php.
Forum: Fixing WordPress
In reply to: recent topic listing: how to do that? plugin?caipirina: You’re right; I should’ve been more explicit about what you can put into your index.php, etc. files and where to put them. Basically, the plugin provides you with four functions you can use:
<?php c2c_get_recent_posts(); ?>
<?php c2c_get_random_posts(); ?>
<?php c2c_get_recently_commented(); ?>
<?php c2c_get_recently_modified(); ?>You more than likely want them in your sidebar, so in index.php you’ll want to enter one or more of those lines somewhere in the
<div id="menu">areas, as NuclearMoose suggested above. Adding something like this:Recently Commented
<?php c2c_get_recently_commented(); ?>