Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: How to make a topic invisible until topic_start_time?

The names of the inputs on post-form.php are year, month etc

bb-includes/functions.php

new_topic becomes

function bb_new_topic( $title, $forum, $tags = '', $year, $month, $day, $hour, $minute, $second ) {

and $now

if ($year == NULL )
{
$now = bb_current_time('mysql');
}
else
{
$now = $year . '-' . $month . '-' . $day . ' ' . $hour . ':' . $minute . ':' . $second;
}

bb_new_post becomes the same

function bb_new_post( $topic_id, $bb_post, $year, $month, $day, $hour, $minute, $second ) {

and $now is calculated in the same way

Skip to toolbar