jafer
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: External links in separate pagesmaybe orange is talking about
'Going somewhere'
with target=”_blank”who knows?
Forum: Fixing WordPress
In reply to: Error Message All of a SuddenThanks, podz. I found out the problem – when I was having trouble last night (slowness), my provider said they’d try to recreate the problem – they created a subdirectory with some of the files.
I just found that directory and deleted it and everything worked fine.
It was nice of them to create a problem and then go home for the night.
Forum: Fixing WordPress
In reply to: [REQ] Contact form plugin for V1.5Alrighty, I’ll try it on another page and see if I get a thank you. Thank you ??
Forum: Fixing WordPress
In reply to: [REQ] Contact form plugin for V1.5I’ve tried it (and added it to my site) but it doesn’t seem to show the thank you message. I had a post with it inserted, and I did a test contact and all it did was (after submitting) show me my site, with excerpts of posts – no thanks, I got your comments or anything.
Forum: Themes and Templates
In reply to: Sidebar Template in WP 1.5Thanks so much, podz. I’ll be fixing that now ??
Forum: Fixing WordPress
In reply to: Archives only Show part of postOoops, sorry for the misspelling… I’m not dyslexic (BoN)
Forum: Fixing WordPress
In reply to: Archives only Show part of postThank you so much Kakfa ??
Forum: Plugins
In reply to: Recent Comments ProblemOk, now that I have a partial answer, does anyone know the rest of it?
Forum: Plugins
In reply to: Recent Comments ProblemThis is what’s in my-hacks (as found in the wiki). And then on my page I just add the get_recent_comments code as per MtDewVirus page.
Is there something within this that I should change?
code'<?php
function get_recent_comments($no_comments = 5, $comment_lenth = 5, $before = '<li>', $after = '</li>
', $show_pass_post = false) {
global $wpdb, $tablecomments, $tableposts;
$request = "SELECT ID, comment_ID, comment_content, comment_author FROM $tableposts, $tablecomments WHERE $tableposts.ID=$tablecomments.comment_post_ID AND post_status = 'publish' ";
if(!$show_pass_post) { $request .= "AND post_password ='' "; }
$request .= "AND comment_approved = '1' ORDER BY $tablecomments.comment_date DESC LIMIT $no_comments";
$comments = $wpdb->get_results($request);
$output = '';
foreach ($comments as $comment) {
$comment_author = stripslashes($comment->comment_author);
$comment_content = strip_tags($comment->comment_content);
$comment_content = stripslashes($comment_content);
$words=split(" ",$comment_content);
$comment_excerpt = join(" ",array_slice($words,0,$comment_lenth));
$permalink = get_permalink($comment->ID)."#comment-".$comment->comment_ID;
$output .= $before . '<strong>' . $comment_author . ':</strong> <a href="' . $permalink;
$output .= '" title="View the entire comment by ' . $comment_author.'">' . $comment_excerpt . '...</a>' . $after;
}
echo $output;
}
'code
Thanks for your input.Forum: Plugins
In reply to: Recent Comments ProblemThanks macmanx, but I don’t know how to do that. Do I alter the my-hacks file? And, if so, what do I change it to?
When I used this plugin in the older version, it would pull up the regular comment page when you clicked on their comments, but you could also see it in the popup comments.
What should I change? I’m all ears (with no php knowledge between them).
Forum: Plugins
In reply to: Recent Comments ProblemMaybe I haven’t been clear with this, since no one’s offered any solutions.
My comments will show if you click on the popup comments (as if you were going to post).
However, in the “recent comments” (my-hack.php), where it shows the most recent 5 comments text, if you click on the actual text of the comments, it takes you to the trackback page, e.g., https://www.idiotonastick.com/wp/index.php?p=18#comment-40
But on that page, you don’t see any comments at all… just that post. And where you should see their comments, it just has the links to the sites of those who commented.
Is that more understandable? I know that there was a problem before with comments, where someone gave me the tracking to posts here, but I haven’t seen anything addressing this.
Forum: Plugins
In reply to: Recent Comments ProblemAnyone?
Forum: Fixing WordPress
In reply to: Comments Going to Main PageMinna, that’s it! Thank you so much. Comments now working as they should.
And thanks for visiting (when I still had a blog ?? and for the birthday wishes.
I come here and search and search for stuff, but obviously I use the wrong keywords since I don’t seem to ever find it. Many thanks again.Forum: Fixing WordPress
In reply to: Comments Going to Main PageMinna, I saw this code and took it out:
<input type="hidden" name="redirect_to" value="<?php echo htmlspecialchars($_SERVER["REQUEST_URI"]); ?>" />
But that didn’t make a difference, it was still not showing the comments, just going to a page.
Perhaps there’s another code to take out?Forum: Fixing WordPress
In reply to: Comments Going to Main PageIt’s showing my main page in the comment popup after you comment – code? Any help? Does anyone understand why?
Pleeeeeeazzzzze.