luhmann
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: index.php – single category hack?That’s right. If someone loads the root directory, or “index.php” I want it to default to the category “1”. Then they can choose other categories. I used this in conjunction with another hack which displayed a menu of all the posts in each category. That way I can add content to each section of the site by simply assigning it a category. There are no category links – just links to the welcome page post in each category, from where people can navigate using the menu.
Unfortunately, the code you provided doesn’t seem to do anything.
Looking around the 1.3-a4 code, I see that they use something like this on occasion:
<?php /* If this is the frontpage */ if (is_home()) { ?>
...
<?php } ?>
However, I can’t seem to get this to work for me either (replacing the ellipsis with$cat="1";).
Any ideas?Forum: Fixing WordPress
In reply to: active theme broken?Figured it out!!!
I needed to run upgrade.php to update my database from the older alpha version. Now the theme works!Forum: Fixing WordPress
In reply to: active theme broken?Are there any other themes known to work with the latest build -Alpha 4?
Forum: Fixing WordPress
In reply to: active theme broken?The folder is correct, and WP recognizes it, providing an “activate” link/button. However, I don’t know what instructions you are referring to or where I could find them. There is nothing on the web page, and there is no “read me” included with the download.
Forum: Requests and Feedback
In reply to: WP Comment Spam Protection just worksBTW: After upgrading I still get the same annoying error messages. It may be because i’m still using Alpha 2. Those are the risks of using beta software…
Forum: Fixing WordPress
In reply to: Broken Themes ?Hmm. Now at least it gives me a choice of themes, but it still won’t let me pick any of them. It says they are broken and reverts to the default theme.
Forum: Requests and Feedback
In reply to: WP Comment Spam Protection just workslukiss: Yes, there are some things not well documented in the upgrade which I found out from the developer via e-mail:
(1) You need to run the installer, even if you are only doing an upgrade.
(2) The installer has a bug. To fix it you need to do the following:
You'll need to change the line at the top of the blacklist-install.php file which goes something like require_once("/wp-includes/wpblfunctions.php"); to say require_once("wp-includes/wpblfunctions.php"); Basically remove the slash before wp-includes.Forum: Fixing WordPress
In reply to: Broken Themes ?I’m confused. I just tried alpha 4 (I’d been using alpha 3), and I get the same error. When I looked in wp-content/ there are NO themes installed. Nor can I find any links to themes anywhere in the support forums or in the downloads section. Can someone help me out? I’d like to take a look at how this feature is shaping up.
Forum: Requests and Feedback
In reply to: WP Comment Spam Protection just worksHere is a temporary solution:
Where it says:
if ($approved) {
} else {
die( __('Sorry, you have tripped my blacklist.') );
}
Change it to this:
if ($approved) {
echo "<br/><br/><h1>Please wait for me to approve your comment. No need to resubmit. (And ignore those pesky 'warnings'.) Thanks!</h1><br/><br/>";
} else {
die( __('Sorry, you have tripped my blacklist.') );
}
It will appear after the warnings about backslashes, and before the warnings about modifying headers, but because it is encoded as a header, it should be quite clear and readable!Forum: Requests and Feedback
In reply to: WP Comment Spam Protection just worksThis works so well, I’d really like to get it to not display the error messages if it is possible to fix it.
Just to clarify, I’m getting the exact same
Warning: Unknown modifier '/'
Warnings in the exact same lines. It seems to have to do with these lines of code (removing the intervening lines so as to just show those mentioned in the warning message):
if (preg_match($regex, $url))
if (preg_match($regex, $email))
if (preg_match($regex, $comment))
if (preg_match($regex, $author))
Now, the term $regex seems to be defined here:
$regex = "/$site->regex/i";
I tried to remove first one, then the other slash, but it made things much, much, worse. Not sure what else I might try.Forum: Requests and Feedback
In reply to: WP Comment Spam Protection just worksI’m getting these errors too! I just discovered that over the weekend after someone complained that their post wasn’t going through. It actually did go through and I was able to approve it from the moderation panel, but it would be nice not to have such an error message. Any idea how to fix it? I’m using 1.3 alpha 2.
Forum: Fixing WordPress
In reply to: Timeline?I’ve been using the 1.3 alpha 2 builds of WP for a while now without any problems. I really don’t understand why they are being so coy about releasing a final version of 1.3 I understand they are implementing a new templating system. This is great, and I can see how this could hold things up, but it seems to me that there should be some kind of an intermediate update (1.2.5?) that implements many of the new features of 1.3 without whatever it is that’s causing the hold-up.
Forum: Requests and Feedback
In reply to: WP Comment Spam Protection just worksYes, I tested it (by attempting to post a comment with a blacklisted URL) and it works. Thanks! Hopefully they can make an option so that this can be configured from within the plugin itself – rather than altering the code.
Forum: Requests and Feedback
In reply to: WP Comment Spam Protection just worksThanks. I had gone to the link but (1) The documentation made it seem as if the version was older than the one I had installed. And (2) They don’t have clear instructions for how to uninstall the old version (with modBlacklist.php). Fortunately I was able to figure it out – I think.
Forum: Requests and Feedback
In reply to: WP Comment Spam Protection just worksThanks! I’ll give that a try!