Recent Topics

1 Feb 29, 2008 18:47    

My b2evolution Version: Not Entered

Hello there,

what I'm trying to do, is making a blog for a band, in which they can post the dates of their live shows. This special blog is only for announcing the dates. For this I'm using the evopress skin - manually modified. The idea is that they make a new post for every concert they give, using the "topic" for announcing the location, the text field for extra comments and the "date" as the date of the show. But giving b2evolution a release date in the future, the blog entry will only be published on that date.
What I'm trying to do, is making this post public immediately.
Can anybody help me out on this one. As I'm not really up to date on this stuff it's kind of tricky for me.

I've already posted in the german forums but got no replies there.

So long,
Sascha

2 Feb 29, 2008 19:28

so every post in that blog will be visible all the time ?
right ?
or do you want to stop showing posts, when the concert has been given ?

In both cases you need to alter the settings in your stub file.
In the former case, you put his in the stubfile

<?php
$blog = 1; // the number of the blog
$show_statuses = array();
$timestamp_min = '';
$timestamp_max = ''; 
$order = 'ASC'; // This for example would display the blog in chronological order...
require_once dirname(__FILE__).'/conf/_config.php';
require $inc_path.'_blog_main.inc.php';
?>

In the latter case you use this

<?php
$blog = 1;
$show_statuses = array();
$timestamp_min = 'now';
$timestamp_max = '';
$order = 'ASC'; // This for example would display the blog in chronological order...
require_once dirname(__FILE__).'/conf/_config.php';
require $inc_path.'_blog_main.inc.php';
?>

3 Mar 02, 2008 20:05

that's it, thanks a lot


Form is loading...