How to change it to show new posts and not just new topics?
(I'm thinking about the mod)
1 2007-09-27 06:32
Re: [Release?] Extern.php News Extension (81 replies, posted in PunBB 1.2 modifications, plugins and integrations)
2 2007-09-26 20:06
Re: [Release?] Extern.php News Extension (81 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Works great this thing.
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
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.
3 2007-09-26 18:38
Re: extern.php (print last topics) - troubleshotting :( (3 replies, posted in PunBB 1.2 troubleshooting)
I have a similare problem, and I don't get your script to work. What should i modify to make it work?
4 2007-05-08 17:07
Re: Integrate a chat script into punbb (13 replies, posted in PunBB 1.2 modifications, plugins and integrations)
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?
5 2007-05-05 08:19
Re: Prevent guests from opening some pages (15 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Thanks i got i working!
6 2007-05-04 21:32
Re: Prevent guests from opening some pages (15 replies, posted in PunBB 1.2 modifications, plugins and integrations)
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
7 2007-05-02 15:45
Re: Combine PunBB login and registration with the main site (17 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Thanks! Works perfectly!
You made my day!
8 2007-05-02 15:16
Re: Combine PunBB login and registration with the main site (17 replies, posted in PunBB 1.2 modifications, plugins and integrations)
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!
9 2007-05-02 14:40
Re: Combine PunBB login and registration with the main site (17 replies, posted in PunBB 1.2 modifications, plugins and integrations)
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! And what was it you should delete in the code?