I like it, the only thing was this:
When you use the default themes without a forums folder the block doesn't take any css or img's. Nuke on his side does take the subSilver theme located in modules/Forums/templates/subSilver/ so I adjusted your file a bit to take modules/Forums/templates/subSilver/subSilver.css when there isn't a forums folder in tha theme.
These are the changes:
Find
Before Add
Code:
if (file_exists("themes/$template_name/forums/forums.css")) {
$css = "themes/$template_name/forums/forums.css";
$img = "themes/$template_name/forums";
}
else{
$css = "modules/Forums/templates/subSilver/subSilver.css";
$img = "modules/Forums/templates/subSilver";
}
find
Code:
themes/$template_name/forums/forums.css
change to
Find
Code:
themes/$template_name/forums/images/folder.gif
change to
Code:
$img/images/folder.gif
Find
Code:
themes/$template_name/forums/images/icon_latest_reply.gif
change to
Code:
$img/images/icon_latest_reply.gif
If you want to see what I mean use NukeNews with your block and afterwards with my adjustments and you'll see the differance.
Bye,
Mighty_Y