To get it working, add that line

$variables = array();

after:

static $is_forum;

in the function _phptemplate_variables in the file template.php

Now I have another problem when I click on a thread...:

Fatal error: Call to undefined function check_output() in /home/pol/public_html/drupalbeta/themes/theme_vava1/node-forum.tpl.php on line 39

And I'm searching for the moment...

Comments

Ayman’s picture

Thanks for the followup to IRC.

As for check_output, replace it with check_markup($sig).

I'll update the files soon.

Ayman’s picture

HEAD version updated, would you please get node-forum.tpl.php off CVS, test, and report back?
http://cvs.drupal.org/viewcvs/drupal/contributions/themes/flatforum/

Thanks.

pol’s picture

It seems to work with the trick ayman !
thanks alot ;)

Btw, where can I get a good CSS for flatforum to make it look like phpbb ?
I can tweak the forum view, but when I click on a message, I have the simple layout ...

Ayman’s picture

Great!

As for a phpBB-like CSS, I don't know, I *may* do some improvements to the looks later, until then, I'd love to receive contributed style enhancements.

pol’s picture

Why not using the one on gallery.sf.net ?
We can use that css as base and design some nice forums ;)

Ayman’s picture

Gallery.sf.net still uses the old table-based version, so I'm afraid we can't use it.

Ayman’s picture

Status: Active » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)