ashes999
Forum Replies Created
-
I had the same problem. For anyone reading this later, here’s the breakdown.
The root cause is mangling of the main loop, visible by wp_reset_query or something like that called in your function.
Look for your comment form code. If it looks like:
comment_form($defaults)
You need to change it to
comment_form($defaults, get_the_id())
… and everything should work ??
Forum: Plugins
In reply to: Plugin for "You may also like …"No, I haven’t actually released it. It doesn’t even have a UI, and uses some stuff specific to my site. If you’re interested, I might be able to clean it up a bit; albeit that it’s not too hard to write from scratch either.
Forum: Plugins
In reply to: Plugin for "You may also like …"That doesn’t seem to be what I want; it looks like just keyword-analysis stuff (typical).
I already wrote my own plugin, leveraging on top of GD Star Rating. It wasn’t as hardcore as I thought to write.
Forum: Plugins
In reply to: Customizing the Back-EndThere are plenty of hooks for different things, like creating a post; you can semi-easily create front-end pages to replace back-end stuff, and use plugins to block access to WP-ADMIN (if you really want).
Forum: Plugins
In reply to: Activating WP Super Cache Shows Blank Fatal ErrorIt works!!! You’re the best ??
Forum: Plugins
In reply to: Activating WP Super Cache Shows Blank Fatal ErrorInterestingly, I just tried installing the latest wp-cache now; it exhibits the same error precisely…
Hmm.
Forum: Plugins
In reply to: Activating WP Super Cache Shows Blank Fatal ErrorI’m not sure. I would guess that, more likely than not, I did have it installed at one point in time.
Forum: Plugins
In reply to: wp_schedule_event events don’t fireMaybe it could say “Actions are NOT arbitrary functions. Click [here] to learn about Actions.” I didn’t even know this notion of actions exists in WP.
Anyhow, it’s resolved–thanks Otto. The reason I activate and schedule is because I need it to run at a specific time (midnight), even if I activate at a different time; but running the code on activate is mostly for debugging. I had my long-term design a bit confused ??
Forum: Plugins
In reply to: wp_schedule_event events don’t fireOtto42: I suspect you’re right. Strange how I missed that one line of code when I skimmed the tutorials.
It seems to be working now with a past-timestamp; I’m going to go ahead with my original functionality and let you know tomorrow if it works. And I anticipate that it will ??
Is it possible we can update the documentation for wp_schedule_event to mention that you do NOT pass in a function, but rather, you need to add a hook? It’s a bit unclear :/
Forum: Plugins
In reply to: wp_schedule_event events don’t fireYes, I do have the callback function ?? I even scheduled a wget every five minutes so I can be sure I have timely “visitors” to trigger my cron event.
I’m using wp-db-backup, which uses schedule-event, and it triggers fine; can you suggest another plugin?
wp_options only has my function listed once under the cron option. However, I did see something called doing_cron which is set to 0.
To clarify, I have a table called wp_logging which I can log messages to (it gives me the timestamp). My code is more like this:
function activate() { updateScores(); wp_schedule_event(...) } function updateScores ... logMessage("Scores updated.") logMessage("Next update: " . wp_next_scheduled(...)); }
I can see the initial logging message from the first call of updateScores, and it gives me the correct timestamp for wp_next_scheduled; but the updateScores function never fires after that. (The data that should be inserted by updateScores doesn’t show up, either.)
Forum: Plugins
In reply to: All Posts With A Tag Within a Category or PostI suppose I can just query the WordPress DB directly (through the API). I’ve written a plugin for this…
Forum: Plugins
In reply to: Putting WP in /articles folderI meant “blog page,” not home page; but anyhow, I think I’ve figured out how to do what I want … looks like it’ll be a case of trying to share navigation among static HTML and WordPress.
Forum: Plugins
In reply to: Putting WP in /articles folderThanks, I’ll check it out (again). Can you explain a bit how I can use static home pages? I see that I can have a page or a few pages with links to each other; but how will I route the main blog to /articles?
Forum: Plugins
In reply to: Caching with Reading from Text File?I’m not sure if I should be happy about this solution or not …
I had WP-cache installed, and it was enabled for a while; I disabled it for development. Still, though, it was using the cached copies of those pages.
Wierd. Very, very wierd.
But it’s fixed! ^^ turns out to be a non-issue now.
Forum: Fixing WordPress
In reply to: No Emails on Comments?yes.