One again I have to say it. I love WordPress for it’s features. Well, most of them. If anything it’s too feature rich and has a bunch of crap that’s of no use to me… back to that in a minute.
Anyway. I don’t understand how such a widely used program can have such a EFFING* CRAPPY support forum. Seriously. phpBB is FREE, much easier to navigate, has a much nicer search function, etc. And just ONE time, I’d love to search for a problem and find the ANSWER!! Not people telling me to use Firefox, or lecturing me on the concept of web standards, or linking me to another thread without the answer… just GIVE ME A DAMN ANSWER!!!
Back to the features. I like that I can have the comment form be on the index or in popup form. Most people that I’ve spoken with prefer the popup so that’s what I use. Now, you’d think that WP would make it so that when you enable the popup feature it would work properly in that format.
Example:
1) When you hit submit, it goes back to the popup page. Not the index.php that has the whole post/main page.
2) When you click on a commenters name, it opens up in a new page. Not the little comment page that is unresizable and not scrollable.
Common sense. It’s like they got that function half working and just stopped. With the release of V1.5 I really thought that since they had integrated all these fancy new features, the one’s that had been around since it was B2 would be fixed and running quite smoothly. *sigh*
So, if you’ve happened across my site for one of the two problems mentioned above perhaps I can be of some help.
1) For the comment page to direct back to the comment page after hitting submit:
Open the “wp-comments-post.php” located at wp root directory. At the end of the file change this part:
$location = get_permalink($comment_post_ID);
header("Location: $location");
to this:
$location = (empty($_POST['redirect_to'])) ? $_SERVER["HTTP_REFERER"] : $_POST['redirect_to'];
if ($is_IIS) {
header("Refresh: 0;url=$location");
} else {
header("Location: $location");
}
2) To make the authors link open in a new wondow:
<a href="<?php comment_author_url()?>" target="new"><?php comment_author()?></a>
*I’m trying to cut down on the amount of profanity. ‘Effing’ is my new word of choice over that much loved F-word.