About the dutch translation. Great! You can e-mail me the updated language pack. Don't forget to tell me what name you want me to enter in the credits.
About "Recent discussions". I'll tell you how it's done here on punbb.org.
My directory structure is as follows:
/home/www/site/ - this is where the website stuff is located
/home/www/forums/ - the forums (duh!)
My index.php for the website starts out like this:
<?php
// We add the forums directory to the PHP path so that PHP can find the scripts we include later
set_include_path(get_include_path().':../forums');
@include 'config.php';
// If PUN isn't defined, config.php is missing or corrupt
if (!defined('PUN'))
exit('config.php doesn\'t exist or is corrupt. Please run install.php to install PunBB first.');
// The next line tells PunBB to not update the cookie of the visiting user
// A visit to the front page shouldn't affect stuff like new post indicators
define('PUN_DONT_UPDATE_COOKIE', 1);
require 'include/common.php';
After we have run this code we have access to $db, which is the database abstraction layer, $cookie, which holds information about the visiting users cookie, $cur_user, which is all the user information about the currently logged in visitor (the array isn't set if the visitor is a guest), $options, which is all the forum options and $permissions, which is well, the permissions :) Probably a few more variables, but there are the most interesting.
Please not that you have to alter the set_include_path()-line to reflect your own directory structure. You should change ../forums to the relative path to your forum directory.
After that code, I do a little bit of that and a little bit of that. Then, when it's time to display the "recent discussions", I run this code:
<?php
$result = $db->query('SELECT id, subject FROM '.$db->prefix.'topics WHERE moved_to IS NULL ORDER BY last_post DESC LIMIT 14') or error('Unable to fetch topic list', __FILE__, __LINE__, $db->error());
while ($cur_topic = $db->fetch_assoc($result))
{
if ($options['censoring'] == '1')
$cur_topic['subject'] = censor_words($cur_topic['subject']);
if (strlen($cur_topic['subject']) > 30)
$cur_topic['subject'] = trim(substr($cur_topic['subject'], 0, 24)).' ...';
echo "\t\t\t\t\t\t\t".'<b>·</b> <a href="http://punbb.org/forums/viewtopic.php?id='.$cur_topic['id'].'">'.pun_htmlspecialchars($cur_topic['subject']).'</a><br>'."\n";
}
?>
That should do it.
Another thing to note is that the above code will display recent topics from all forums, be they admin/mod only or not, regardless of whether the visitor has access to such forums or not.
Hope this helped!
Edit: I noticed you are running 1.0. You must upgrade to 1.0.1 for the above code to work correctly.
"Programming is like sex: one mistake and you have to support it for the rest of your life."