How to change it to show new posts and not just new topics?
(I'm thinking about the mod)

Coastguard wrote:

Works great this thing. smile
Can I translate the language anywhere? "Wednesday, 18 April 2007" - were can I find the weekdays and months, so that I can change it to my language. Looked in almost every file in punbb, but cant find the right one wink

I think that is a function built-in the php. So you can't change it easy, you have to write a rule, i think. Someone maybe know better than me about this.

I have a similare problem, and I don't get your script to work. What should i modify to make it work?

Anybody who have intergrated Lace Ajax Chat whith PunBB. I have succeded to make 0.1.5 work but not 0.1.6, anyone who know anyting about this?

Thanks i got i working! big_smile

I'm having a trouble and wonder if anyone could help me?

I'm trying to include the following:

define('PUN_ROOT', './');
require PUN_ROOT.'include/common.php';

The troublem is that the php file i want to include it in is not i the same place as my forum.

The file where i want to include it in is on:
../chat

And the forum is on
../forum

How do I do this?

Thanks in advance big_smile

Thanks! big_smile Works perfectly!
You made my day!

It doesn't show anything....
The page is completely blank, (the header and the navbar is still there and everything but no login) and if i look at the source code it nothing there! All PHP code are gone!

I can't make it work!

This is my code:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title></title>
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<link rel="stylesheet" type="text/css" href="styles/style.css" />
</head>
<body>
<div id="topleft"></div>
<div id="big">
        <div id="left_shadow"></div>
        <div id="right_shadow"></div>
<div id="superheader"></div>
<div id="supernavbar">
<ul>
<li><a href="../index.html" rel="self">Start</a></li>
<li><a href="../forum/index.php" rel="self">Forum</a></li>
<li><a href="../fotoalbum/index.php" rel="self">Photo</a></li>
<li><a href="../chat/index.php" rel="self">Chat</a></li>
<li><a href="../mix.html" rel="self">Mix</a></li>
<li2><a href="../login.html" rel="self" id="current">Login</a></li2>
</ul>
</div>
<div id="supercontainer">
<?php
define('PUN_ROOT', './forum/');
require PUN_ROOT.'include/common.php';
?>

<br>
<?php
// Login Menu
    function login_menu() 
        {
        global $pun_user;
        if ($pun_user['is_guest'])
            {
            $stroutput= '<form id="login" method="post" action="'.PUN_ROOT.'login.php?action=in" onsubmit="return process_form(this)">

            <input type="hidden" name="form_sent" value="1" />
            <input type="hidden" name="redirect_url" value="'.$_SERVER['PHP_SELF'].'?'.$_SERVER['QUERY_STRING'].'" />
            <label for="req_username">Username: </label>
            <input type="text" id="req_username" name="req_username" size="4" maxlength="25" />
            <label for="req_password">Password: </label>
            <input type="password" id="req_password" name="req_password" size="4" maxlength="16" />
            <input type="submit" name="login" value="Login" />
            [<a href="'.PUN_ROOT.'register.php">Register</a>] 
            </form>';

            echo $stroutput;    
            }
        else 
            {
            $stroutput= '<p>Logged in as: '.pun_htmlspecialchars($pun_user['username']).' ('.$pun_user['g_user_title'].') [<a href="'.PUN_ROOT.'login.php?action=out&id='.$pun_user['id'].'">Logout</a>]</p>';
            echo $stroutput;    
            }
        }
        ?>
       
</div>
<div id="superfooter">Copyright</div>
</div>

</body>
</html>

Please help me! hmm And what was it you should delete in the code?