hetta
Forum Replies Created
-
Forum: Everything else WordPress
In reply to: Anybody else see wp-register.php abuse?Thanks, whooami.
Forum: Everything else WordPress
In reply to: Anybody else see wp-register.php abuse?One IP per fly-by POST to wp-register.
Forum: Fixing WordPress
In reply to: Comment Count Not UpdatingDo you write posts online or offline?
If offline: since WP 2.0 there’s a field named “comments_count” in wp_posts.
This gets an incremental increase whenever somebody posts a comment, online of course.Now, if you write offline, you’re overwriting this comment_count every time you upload a new version of wp_posts …
Forum: Fixing WordPress
In reply to: I wish to block hits to /blog/index.php/index.phpMany thanks! Pasting that right after
<?phpin wp-blog-header.php
did the trick.Forum: Fixing WordPress
In reply to: I wish to block hits to /blog/index.php/index.phpGood idea, but for some reason .htaccess rewrite doesn’t work on my site (which is why I don’t have pretty permalinks).
Can I add some .php to wp-blog-header.php?
I tried putting this right after
<?phpin wp-blog-header.php, but that did nothing at all:
if (strpos($REQUEST_URI, 'index.php/index.php') > 0) { exit; };Thanks.
Forum: Plugins
In reply to: Popularity Contest 1.0Alex: No new plugins, just an upgrade to the newest pop-contest earlier in the week.
Adding things manually to the database (
INSERT INTO 'wp_ak_popularity' ...) started up the counting for the missing posts.I just added a new post, published it, and clicked it a few times – it’s being counted. On localhost, though.
Hmm. I write posts off-line, and mysqldump the lot over to the online blog. Is adding posts to wp_ak_popularity linked to pressing “save” or “publish” in the blog? If so it’s a minor thing that I can easily work around.
Angsuman: it’s possible that putting the .php script into the /plugins/ folder, not into a directory under that, might fix things.
Forum: Plugins
In reply to: Popularity Contest 1.0I see a weird problem: the database doesn’t update after post # 249. Or after entry # 232 in the database…
So current posts (250 and over) are shown as “Popularity: unranked”. I’m using WP 1.5 with pop-contest 1.0.
Weird weird weird.
Forum: Fixing WordPress
In reply to: Sortable Nicer Archives for 1.3The TEMPLATEPATH, that is.
Forum: Fixing WordPress
In reply to: Sortable Nicer Archives for 1.3Thanks, I’ve put that into the script.
Forum: Plugins
In reply to: Popularity Contest Plugin (beta 3)Excellent plugin, thanks!
The summary page shows “unranked” for yet-to-be-published posts, and “0%” for as-yet-unpublished drafts. I’d prefer it to not show either, but it’s not a big problem.
I’m on WP 1.5 with popularity contest 1 beta 3.
elyonline: strange that. If I mark a post “draft”, and click on the link in the popularity scores, I get a “Sorry, no posts matched your criteria.”
Forum: Fixing WordPress
In reply to: Sortable Nicer Archives for 1.3Right, a version of narchives2.php that works with wordpress 1.5 can be found here: http://www.henriettesherbal.com/blog/narchives2.phps
– if somebody puts a better version online somewhere and tells me about it I’ll remove this one.Categories are broken: I’ve tried to include a
$today=...and aWHERE post_date <=$today` – but that shows no posts at all.
Without those two additions the categories also showed yet-to-be-published posts. Drat.In addition, if somebody can get categories to work, I’d really like to know how to order things by date, within the categories.
Forum: Everything else WordPress
In reply to: Spammer of the Week: musicbox1.comOr bounce them back where they came from.
http://wordpress.org/support/topic.php?id=22970Forum: Everything else WordPress
In reply to: Referer Spam ArticleWhat to do about it:
http://wordpress.org/support/topic.php?id=22970Forum: Requests and Feedback
In reply to: Registered users – restrict draft visibility?Ah, my bad for not trying things out properly. Level 1 sees the names of drafts, but cannot see the drafts themselves. Very nice, thanks!
Forum: Fixing WordPress
In reply to: Sortable Nicer Archives for 1.3OK, gotcha on the “only displays so many posts” bug:
this:
$posts_per_page = '-1';
needs to be before this:
require('./wp-blog-header.php');.
Solution found in this thread: http://wordpress.org/support/topic.php?id=20887Cool!