Recent Topics

1 Nov 24, 2007 21:23    

My b2evolution Version: 2.02

In the multiblogs file that came with 1.9 there was an explanation on how to limit the number of posts displayed as well as limit them by category. I can't find that anywhere in the 2.x multiblogs.php file and the old code doesn't work anymore.

Does anyone know how to do this in 2.x ?

2 Nov 25, 2007 12:53

Completely untested but you *might* just be able to add them to the filters :

			$BlogBList->set_filters( array(
					'authors' => $author,
					'ymdhms' => $m,
					'week' => $w,
					'order' => $order,
					'orderby' => $orderby,
					'unit' => $unit,
					'limit' => 999,
					'cat_array' => array( 1, 2, 3, 4 ),
				) );

¥

3 Nov 25, 2007 13:55

I went slightly different at it. Above the BlogBList->set_filters thing is another thing.

			<?php
			$BlogBList = & new ItemList2( $Blog_B, $timestamp_min, $timestamp_max, $posts );

			$BlogBList->set_filters( array(

So make stuff be what you want...

			<?php
			$posts = 999;
			$BlogBList = & new ItemList2( $Blog_B, $timestamp_min, $timestamp_max, $posts );

			$BlogBList->set_filters( array(


But I haven't done it to my actual linkblog in the sidebar yet.

4 Feb 04, 2008 09:14

After a couple of days fiddling around I got things to work. I made two skins, for two blogs. One serves as a front page only (based on multiblog) and the other has the actual stories. The design is based on, ahem, my favorite cigar brand...

Go have a look: http://www.ornstein.org

And thanks for the help here.


Form is loading...