Recent Topics

1 Nov 21, 2006 10:35    

Can someone please tell me what to do to modify my blogs so the comments for a post is on the same page as the post?

So far I've come across several answers to this question but I'm not sure if they apply to verison 1.8.2, and if they do, I'm not exactly sure where to make changes.

Each answer I've found says something different so I'm a little confused.

Here are the links to various answers I've discovered:

http://forums.b2evolution.net/viewtopic.php?t=6996&highlight=comment+post
http://forums.b2evolution.net/viewtopic.php?t=9675&highlight=comments+post
http://forums.b2evolution.net/viewtopic.php?t=4285&highlight=comments+posts
http://forums.b2evolution.net/viewtopic.php?t=3900&highlight=comments+posts

Can someone please help me? If so, try to be as clear as possible with your instructions cause I'm kinda' simple. I get distracted really easy so don't dangle your keys in front of me or anything like that.

Thanks in advance.

2 Nov 21, 2006 15:14

Without a link to your blog it's impossible to say what you need to do because all skins are different, so I'll go with a generic answer and you'll have to see how it applies to your blog.

Open skins/your_skin/_main.php and find something like this:

			require( dirname(__FILE__).'/_feedback.php' );
			// ---------------- END OF INCLUDE FOR COMMENTS, TRACKBACK, PINGBACK, ETC. ----------------


Now make it be like this:

			$c = 1; // make comments show up with the posts all the time
			require( dirname(__FILE__).'/_feedback.php' );
			// ---------------- END OF INCLUDE FOR COMMENTS, TRACKBACK, PINGBACK, ETC. ----------------

If you also want to include trackbacks and pingbacks with your comments then do this:

			$c = $tb = $pb = 1; // make comments and trackbacks and pingbacks show up with the posts all the time
			require( dirname(__FILE__).'/_feedback.php' );
			// ---------------- END OF INCLUDE FOR COMMENTS, TRACKBACK, PINGBACK, ETC. ----------------

I think that'll work. It should, but there are lots of things that should be that ain't so you never know untill you find out.

3 Nov 21, 2006 21:40

Thanks EdB, I'll see what I can do.

P.S. I don't have a b2evo blog yet. I'm using Xampp for now so I can learn before I start paying for hosting. That's why I didn't provide a link.

You Da Man, EdB, You Da Man!

4 Nov 22, 2006 01:09

Hey EdB,

Your solution works just fine and thanks for making your instructions so clear.

5 Oct 29, 2008 15:58

I would also like for my comments to appear on the main page as well, but do not see a _main.php in /skin/pixelgreen/. My blog is www.deshman.com. I DO see an index.main.php, but do not see the line of code that you referenced.

6 Oct 29, 2008 18:19

That'd possibly be due to the fact that the topic is almost 2 years old?

¥

7 Nov 19, 2008 13:07

Maybe there is a modern-day solution then? 8| Somewhere.. hidden amongst many other posts, never to be found.. leaving people currently "commentless".

I need to find that info too, Deshman.. don't worry.


Form is loading...