Log in

View Full Version : How to display latest blog comments in the sidebar?


pokusek
11-21-2012, 12:41 PM
I guess that I will have to use a block with my custom code. Any ideas how to display these comments?

pokusek
02-23-2013, 01:51 PM
bump, any ideas?

pokusek
03-24-2013, 03:21 AM
nobody knows?

Ba'al
03-24-2013, 05:54 AM
You have to add a forum block and when doing that it gives you options of what to put in it, articles, blogs and forum posts are just a few.

pokusek
03-24-2013, 06:01 AM
Well, but the option to display blog comments isn't there.

Ba'al
03-25-2013, 02:44 AM
Well, but the option to display blog comments isn't there.

Are you using the default Forum Blocks or a Mod? You can click the link in my siggy and scroll down near the bottom and on the right side you will see the Blogs in the Forum Block, it is done using the vB 4.2.0 default Forum Blocks

Edit: If you want to use custom code, instead of choosing the Blogs you will want to select the HTML option.

pokusek
03-25-2013, 03:24 PM
But these are blog posts, not blog comments (replies under blog posts) :)
There must be a way to retrieve comments via the custom code but I don't know how, that's why I ask.

Lynne
03-25-2013, 03:53 PM
Did you try selecting New Replied as the Blog Entry Type?

pokusek
03-25-2013, 05:05 PM
That's it! Thank you very much.

I feel so dumb right now. :D

Ba'al
03-25-2013, 05:43 PM
My bad, Comments are different than Replies to me, i thought you just wanted to post Blogs in the Sidebar.

pokusek
04-05-2013, 11:20 PM
I just realized that this option displays links to blogposts only that were commented recently. What do I have to do to display actual comments?

Lynne
04-06-2013, 12:14 AM
You would need to modify the code in order to do that and I have not looked into exactly what would need to be done.