A new Threaded Wordpress Comments Plugin
05-08-2008, 08:45 PM
|
Re: A new Threaded Wordpress Comments Plugin
|
I can feel your anger....
Posts: 2,286
Name: <member type="brilliant" alt="foolish">James Lewitzke</member>
Location: / public_html / Universe / Virgo_Supercluster / Local_Group / Milky_Way / Orion_Arm / Solar_System / Earth / North_America / USA / Wisconsin
|
Quote:
Originally Posted by vangogh
No subject line, no response from me 
|
Hmm? Were you saying that to me or the person above?
Quote:
Originally Posted by vangogh
You're using the latest version of the plugin, right?
|
Well, actually it's not activated, but yeah, that's the one (BTC Version 1.5.18)
|
|
|
|
05-09-2008, 08:02 PM
|
Re: A new Threaded Wordpress Comments Plugin
|
I can feel your anger....
Posts: 2,286
Name: <member type="brilliant" alt="foolish">James Lewitzke</member>
Location: / public_html / Universe / Virgo_Supercluster / Local_Group / Milky_Way / Orion_Arm / Solar_System / Earth / North_America / USA / Wisconsin
|
Actually, I have one more important question pertaining to this. Can you "move" comments around (to underneath other ones)? Is there a special admin section or something that would allow this?
I have some comments I haven't replied to and I wanted to actually "reply to the comment" rather than just having a whole new comment thread underneath it. And I don't want to put off replying specifically for too much longer.
|
|
|
|
05-11-2008, 04:36 PM
|
Re: A new Threaded Wordpress Comments Plugin
|
Posts: 9,669
Name: Steven Bradley
Location: Boulder, Colorado
|
I just sent you a PM with what I think are the changes you need.
If I'm understand right about how you want to respond to comments when you want to reply to a specific comments just click on the 'reply to comment' link in the comment. If you want to start a new thread of comments at the bottom of the comments just fill in the form like you usually do.
|
|
|
|
05-11-2008, 05:44 PM
|
Re: A new Threaded Wordpress Comments Plugin
|
Posts: 14
|
oooh, this looks cool, i think im gonna try it out on my blog and see if i can hack it into that =)
|
|
|
|
05-12-2008, 06:53 PM
|
Re: A new Threaded Wordpress Comments Plugin
|
I can feel your anger....
Posts: 2,286
Name: <member type="brilliant" alt="foolish">James Lewitzke</member>
Location: / public_html / Universe / Virgo_Supercluster / Local_Group / Milky_Way / Orion_Arm / Solar_System / Earth / North_America / USA / Wisconsin
|
OK I thought my color problems were solved, but apparently not.
Steve, I made all those changes you suggested, except the ".odd" part to black, at first I thought that meant it would only highlight my colors with that background, but I guess not.
At the same time I found out that this only changes the odd color within the comments, not one regular comment after another regular comment. I suppose in the mean time that's OK.
Basically what I wanted to have was make the administrator's comments (mine) black, not every other nested one. I think something like this would require a whole new hook.
|
|
|
|
05-12-2008, 07:10 PM
|
Re: A new Threaded Wordpress Comments Plugin
|
Posts: 9,669
Name: Steven Bradley
Location: Boulder, Colorado
|
Oh, that's something different. It's not really a BTC thing. There's at least one plugin specifically for styling the author's comments differently. I'm not remembering the name, probably author-comments or author-highlight or something like that.
I tried one on my blog, but the styles were conflicting with the styles from BTC, other plugins, or my general blog stylesheet. I forget which one. I eventually decided it wasn't worth working on for me.
The comments are automatically set up to add a class to the author's comments. What needs to happen is to have WP generate a class whenever the author comments and then styling that class how you want.
.odd just styles every other comment differently.
|
|
|
|
05-12-2008, 07:55 PM
|
Re: A new Threaded Wordpress Comments Plugin
|
I can feel your anger....
Posts: 2,286
Name: <member type="brilliant" alt="foolish">James Lewitzke</member>
Location: / public_html / Universe / Virgo_Supercluster / Local_Group / Milky_Way / Orion_Arm / Solar_System / Earth / North_America / USA / Wisconsin
|
Steve, I think this is the page you were referring to, right?
http://lorinator.feminoise.com/autho...aded-comments/
Either way, I think it does the trick, (despite not needing the extra image in there).
The only problem I seem to have with the second portion, actually entering the right code into the comments.php file. I don't think it's right.
(Or I have my wordpress ID wrong I was just using "1", I couldn't find a global ID and I think "1" is everyone's starting admin user ID)
|
|
|
|
05-12-2008, 08:20 PM
|
Re: A new Threaded Wordpress Comments Plugin
|
Posts: 9,669
Name: Steven Bradley
Location: Boulder, Colorado
|
Actually I didn't know about that specific plugin. There are some general ones not necessarily for BTC.
When you log in to WP look at the listing of users. I think it shows the ID of each. One thing to consider though is you'll need to be logged in when leaving a comment. Sometimes I don't log in and just fill out the form like everyone else. The system wouldn't see you as the author in that case.
|
|
|
|
05-12-2008, 08:44 PM
|
Re: A new Threaded Wordpress Comments Plugin
|
I can feel your anger....
Posts: 2,286
Name: <member type="brilliant" alt="foolish">James Lewitzke</member>
Location: / public_html / Universe / Virgo_Supercluster / Local_Group / Milky_Way / Orion_Arm / Solar_System / Earth / North_America / USA / Wisconsin
|
I'm not to concerned about being logged in, as I already am virtually all the time anyway, so that's not a big concern.
However I'm getting errors, I did what the page told me to, I entered this into btc.php:
PHP Code:
.authorcomment { background-color: #000000; }
And this is portion of comments.php:
PHP Code:
<div id="div-comment-<?php echo $c->comment_ID ?>" class='comment<?php echo $odd?>'>
And here's what I did:
PHP Code:
<div id="div-comment-<?php echo $c->comment_ID ?>" class='comment<?php echo $odd?><?php if($c->user_id == ‘1’) echo ‘ authorcomment’;?>''>
And I get syntax errors at the bottom of the screen:
Code:
on line Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/(username)/public_html/lightningshock/wp-content/themes/royale-10/comments.php54
I really don't know if there's suppose to be that extra tick there or not. Or if my ID is correct, as I said, I'm not quite sure where our "specific number" is.
So I was thinking maybe you know what's causing the error.
|
|
|
|
05-13-2008, 07:32 PM
|
Re: A new Threaded Wordpress Comments Plugin
|
Posts: 9,669
Name: Steven Bradley
Location: Boulder, Colorado
|
I ran into the same problem you're having. If you look at the middle line of code you posted and look at the single quotes you'll see they're angled. You have to get rid of those and replace them with ' <-- that one.
That's happened to me a couple of times when copying and pasting. Just delete and retype a single quote and it should work.
|
|
|
|
05-13-2008, 09:12 PM
|
Re: A new Threaded Wordpress Comments Plugin
|
I can feel your anger....
Posts: 2,286
Name: <member type="brilliant" alt="foolish">James Lewitzke</member>
Location: / public_html / Universe / Virgo_Supercluster / Local_Group / Milky_Way / Orion_Arm / Solar_System / Earth / North_America / USA / Wisconsin
|
Yes! It worked  .
Thanks, I think those angled quotes had something to do with the specific font or something that the webpage used.
I remember encountering similar problems when I attempted coding a page in "Word"Pad rather than "Note"Pad, and didn't think there was a major difference between the two single quote types.
|
|
|
|
05-14-2008, 07:42 PM
|
Re: A new Threaded Wordpress Comments Plugin
|
Posts: 9,669
Name: Steven Bradley
Location: Boulder, Colorado
|
It drove me nuts the first time it happened to me. It took me awhile to realize the quotes were different. Sometimes the answer is the simple one.
|
|
|
|
05-15-2008, 11:35 PM
|
Re: A new Threaded Wordpress Comments Plugin
|
I can feel your anger....
Posts: 2,286
Name: <member type="brilliant" alt="foolish">James Lewitzke</member>
Location: / public_html / Universe / Virgo_Supercluster / Local_Group / Milky_Way / Orion_Arm / Solar_System / Earth / North_America / USA / Wisconsin
|
Everything's looking fine and running great so far  .
However there is one small annoyance, whenever I decide to close a post's comments, the trackbacks also disappear. Would there be any way to have them still display even after I close it?
And also, is there anyway to move existing comments? I wanted most of my old comments made by me to basically be "nested" where they belong properly. It's not a necessity ATM, but it would still be nice to move them.
Last edited by jamestl2; 05-15-2008 at 11:37 PM..
|
|
|
|
05-16-2008, 06:49 PM
|
Re: A new Threaded Wordpress Comments Plugin
|
Posts: 9,669
Name: Steven Bradley
Location: Boulder, Colorado
|
I'm not sure about keeping the trackbacks, though I imagine it's possible. Not sure how to set it up or if it's possible without looking. Might be a few days before I'd have a chance.
I think with the old comments you'd need to delete the comment and then add it again. I'm not sure if it can be done programmatically.
If you send me an email to remind me I'll look at the trackback issue. It'll probably be a little while before I can get to it. I have a very busy week ahead of me starting this weekend unfortunately. Send me the reminder though and I'll definitely take a look when I can.
|
|
|
|
05-16-2008, 06:57 PM
|
Re: A new Threaded Wordpress Comments Plugin
|
I can feel your anger....
Posts: 2,286
Name: <member type="brilliant" alt="foolish">James Lewitzke</member>
Location: / public_html / Universe / Virgo_Supercluster / Local_Group / Milky_Way / Orion_Arm / Solar_System / Earth / North_America / USA / Wisconsin
|
I sent the Email to remind you for later.
Like I said it's nothing too urgent ATM, it'd just be nice to have.
That's what I figured pertaining to nesting comments, it's not a big deal if they were just moved or not, but I didn't want to create whole new comments just to nest them. So it's alright for the time being.
|
|
|
|
05-26-2008, 04:26 PM
|
Re: A new Threaded Wordpress Comments Plugin
|
I can feel your anger....
Posts: 2,286
Name: <member type="brilliant" alt="foolish">James Lewitzke</member>
Location: / public_html / Universe / Virgo_Supercluster / Local_Group / Milky_Way / Orion_Arm / Solar_System / Earth / North_America / USA / Wisconsin
|
I had some other curiosities too. They're like the ones in the above post though, they'd be nice to have, but they're not a necessity ATM.
One, I noticed that no matter what, at the end of the blog post, it'll say "Trackback Responses to this Post", even if there are none. So how would I get it to only display that heading if there is one or more trackbacks?
The other thing is that I found out that my comments preview function does not work in conjunction with this one:
http://www.ilfilosofo.com/blog/comments-preview/
Is there a way I could integrate this plugin with BTC? I was thinking I just had to add a line or two of code in the preview plugin to get it to somehow "read" where this new comments page (from BTC) is coming from, so it'll sense it, in a matter of speaking. Although I'm not sure.
|
|
|
|
05-30-2008, 09:28 PM
|
Re: A new Threaded Wordpress Comments Plugin
|
Posts: 9,669
Name: Steven Bradley
Location: Boulder, Colorado
|
I'm not sure about the comments preview, but I have the trackbacks on my blog set up to only show the heading when there are trackback like you're describing. I'm hoping to be able to look at everything this weekend so I'll grab the code I used on the trackbacks.
For integrating the plugins why not go back to calling your comments file comments.php? Rename your original instead so it's there, but keep the active comments file, comment.php. That's what any other plugin related to comments is going to look for.
|
|
|
|
05-30-2008, 09:53 PM
|
Re: A new Threaded Wordpress Comments Plugin
|
I can feel your anger....
Posts: 2,286
Name: <member type="brilliant" alt="foolish">James Lewitzke</member>
Location: / public_html / Universe / Virgo_Supercluster / Local_Group / Milky_Way / Orion_Arm / Solar_System / Earth / North_America / USA / Wisconsin
|
Sounds good
Quote:
Originally Posted by vangogh
For integrating the plugins why not go back to calling your comments file comments.php? Rename your original instead so it's there, but keep the active comments file, comment.php. That's what any other plugin related to comments is going to look for.
|
Not quite sure what you're asking here. I do still have my original comments file on the server (I renamed it under "comments2.php") if that's what you're asking. But why would it look for "comment.php" if the first was originally "comments.php"? (Which is what the new BTC comments page already is.)
Or are you saying rename the BTC comment page to something, and have it read as this new name? (Which would probably require editing the actual BTC plugin.)
Plus, it was just that one other plugin I had relating to comments (the comments preview one), so I'm not sure how much of a difference that one would make to BTC.
|
|
|
|
05-30-2008, 10:21 PM
|
Re: A new Threaded Wordpress Comments Plugin
|
Posts: 9,669
Name: Steven Bradley
Location: Boulder, Colorado
|
I meant comments.php. I forget it had the 's' For some reason I thought you had renamed the new file that you were using and I thought giving it back the default name could be something to try.
When you use the comments.php with BTC you're no longer using the original comments.php. I'm guessing the preview plugin either has it's own comments.php or needs to access the comments.php you're using. I thought if you were using a different name when Preview looks for comments.php it can't find it.
I suppose it could be an incompatibility between the two plugins.
|
|
|
|
05-30-2008, 10:26 PM
|
Re: A new Threaded Wordpress Comments Plugin
|
I can feel your anger....
Posts: 2,286
Name: <member type="brilliant" alt="foolish">James Lewitzke</member>
Location: / public_html / Universe / Virgo_Supercluster / Local_Group / Milky_Way / Orion_Arm / Solar_System / Earth / North_America / USA / Wisconsin
|
Quote:
Originally Posted by vangogh
When you use the comments.php with BTC you're no longer using the original comments.php. I'm guessing the preview plugin either has it's own comments.php or needs to access the comments.php you're using. I thought if you were using a different name when Preview looks for comments.php it can't find it.
|
Preview didn't create any new comments page, it was just a plugin php file, so I was originally thinking it "reads" comments.php somehow, or that it automatically inserted code into the old file, and required the old styles and such (due to the plugin generating the preview using those old styles).
Quote:
Originally Posted by vangogh
I suppose it could be an incompatibility between the two plugins.
|
I'm thinking that's more likely.
|
|
|
|
|
« Reply to A new Threaded Wordpress Comments Plugin
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|
|