I like your theme, but for some reason the template is not able to find the function _forum_format() which is used in line 118 in template.php.

I'm looking forward to a fix :)

Comments

Elstgeest’s picture

Oh, and ofcourse: thanks in advance.

paddy_deburca’s picture

Assigned: Unassigned » paddy_deburca
Status: Active » Needs review

Thanks.

It seems that _forum_format is a 5.x function and no longer appears in 6.x...

I replaced the call to this function with
t('@time ago<br />by !author', array('@time' => format_interval(time() - $forum->last_post->timestamp), '!author' => theme('username', $forum->last_post))))

We'll see if that helps.

Paddy.

tofix’s picture

I need help too with this defect.

I replaced line 118

array('data' => _forum_format($forum->last_post), 'class' => 'last-reply'));

to

array('data' => t('@time ago<br />by !author', array('@time' => format_interval(time() - $forum->last_post->timestamp), '!author' => theme('username', $forum->last_post))));

It works, but within of drupal I got a new error message:
warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'dark_forum_list' was given in /var/www/web37/html/includes/theme.inc on line 617.

Does I have replaced the line in a wrong way?

Thanks!

paddy_deburca’s picture

Status: Needs review » Closed (fixed)

I am closing this issue as the latest version of the theme fixes this problem. Please download the latest version of the template.php from CVS.

Paddy.