Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Comments, trackbacks & pings (http://forum.bytesforall.com/forumdisplay.php?f=19)
-   -   Author comment background to appear the same in all levels of commenting (http://forum.bytesforall.com/showthread.php?t=1421)

perdox808 Apr 25, 2009 12:50 AM

Author comment background to appear the same in all levels of commenting
 
Hi Flynn.

When you get a chance, can you please help me with this post:

http://forum.bytesforall.com/showthread.php?t=1356

Thank you.

Flynn Apr 25, 2009 05:41 AM

The bypostauthor class is not being added to your sub level post author comments. I am not sure where you got your comments.php from but it looks like the one from Otto. Try using this comments.php from his site http://ottodestruct.com/comments.phps

perdox808 Apr 25, 2009 07:23 AM

This is getting a little beyond me Flynn.

I have replaced the comment.php I had with the original one from the atahualpa theme. I have turned off the Greg's Threaded Comment Numbering plugin. So that I think brings me back to square one.

Now, the first and 2nd levels of my comments are in the background color I have chosen in Comments panel in the theme options.

Why isn't the color kept in the 3rd and 4th levels? All I've changed in my CSS Inserts is the indentation of the various levels.

ul.commentlist li ul.children li.depth-2 {
margin-top: 6px;
margin-left: 66px;
border-top: solid 1px #0000cc;
padding-top: 9px;
}
ul.commentlist li ul.children li.depth-3 {
margin-top: 6px;
margin-left: 66px;
border-top: solid 1px #cc0000;
padding-top: 9px;
}
ul.commentlist li ul.children li.depth-4 {
margin-top: 6px;
margin-left: 66px;
border-top: solid 1px #0000cc;
padding-top: 9px;
}

Please see the page: http://theperdoxrant.com/2009/04/20/...igitize-books/ for the effect I'm getting now.

Flynn, I know I have pestered you about the comments for a while, but I am almost there. This is what Greg wrote to me about getting the threaded numbering working.

Quote:

@Perdox — Your theme does not use the standard built-in WordPress comment walking class by itself, but rather extends it with some additional custom code. Therefore, I would recommend caution when replacing anything that might result in breaking the custom code extensions.

From a very cursory look, it appears that the theme’s default callback function is contained in the file bfa_comment_walker.php, starting around line 94. You could try modifying it by inserting a direct call to gtcn_comment_numbering, as described in the advanced usage instructions.

Alternatively, you might try giving the name of the basic callback function gtcn_basic_callback in the array which the theme is passing to wp_list_comments, rather than the null which is there now.

My best suggestion, though, would be to contact the author of the theme directly and ask them to support the plugin when the plugin is active. That way, the theme author can integrate the numbering functionality into the theme seamlessly, preserving their own custom modifications to the WordPress core code, without someone else like me coming along and trying to guess what to tweak where in order to work with the modifications — and possibly messing up all their hard work in the process.
All the best,
Greg



Can you please tell me (in a step by step fashion) what files to alter and what to change so I don't screw things up?

I would really appreciate it if you could. Thanks again.

perdox808 Apr 27, 2009 10:08 PM

Flynn, any suggestions? I haven't seen a reply for this.

Flynn Apr 27, 2009 10:22 PM

Sorry for the delay, Greg

The 3rd and lower level issue may be a bug. I am looking into this tomorrow

perdox808 May 1, 2009 06:40 AM

Have you had a chance to look at this Flynn. Sorry about the confusion. Greg is the guy that replied to me on his website. I didn't include his name in the quoted block. It was me that posted the query.

Flynn May 1, 2009 06:08 PM

I am at it. I'll include a fix in 3.3.3 which I 'll release this weekend


All times are GMT -6. The time now is 01:14 AM.

Powered by vBulletin® Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.