126

(25 replies, posted in Feature requests)

Add a limit to the permission check?

// Do we have permission to edit this post?
if (($pun_user['g_edit_posts'] == '0' ||
    $cur_post['poster_id'] != $pun_user['id'] ||
    $cur_post['closed'] == '1') &&
    !$is_admmod)
    message($lang_common['No permission']);
// Do we have permission to edit this post?
// mod: edit time limit
if (($pun_user['g_edit_posts'] == '0' ||
    $cur_post['poster_id'] != $pun_user['id'] ||
    $cur_post['closed'] == '1' ||
    time() > ($cur_post['posted'] + 86400)) &&
    !$is_admmod)
    message($lang_common['No permission']);

`86400` (one day) is the time limit in seconds.

nickfzx wrote:

most of them have private message email notification enabled.

I've never seen that?

`message` is a function in PunBB's include/functions.php file. It includes PunBB's header and footer, just like other PunBB pages.

Actually, it is being floated:

#leftfieldset {
    float:left;
    padding:5px;
    width:48%;
}

#rightfieldset {
    float:right;
    padding:5px;
    width:48%;
}

This should probably be moved?

Is the content in that div being floated? Try adding this to the end of the div:

<div class="clearer"></div>

131

(2 replies, posted in PunBB 1.2 discussion)

You'll need to put these at the appropriate location in your new page?

define('PUN_ROOT', './');
require PUN_ROOT.'include/common.php';
$page_title = pun_htmlspecialchars($pun_config['o_board_title']).' / '.'Your Page Title';
require PUN_ROOT.'header.php';
require PUN_ROOT.'footer.php';

132

(4 replies, posted in PunBB 1.2 troubleshooting)

I would try the Forum Cleanup plugin on the downloads page.

133

(16 replies, posted in PunBB 1.2 discussion)

kierownik wrote:
MadHatter wrote:

it would help if they could have changed selection of the combo box with every screen shot.

do not know what you mean?!?

We're testing the different values for the combo box on that page, not watching the contents change over time (like your link seems to do).

134

(4 replies, posted in PunBB 1.2 discussion)

fixed wrote:

All of these things are available as third party things I can install, but the install methods look horrible - manually edit files, etc.   Not only am I trusting third party code, but trying to manage upgrades of punbb and all the third party things I've put on it is going to be a bloody nightmare - I'll have to diff/edit a million files manually.  Ugh.

http://blog.punbb.org/2007/02/14/mods-extensions/

Edit:

fixed wrote:

There's some missing features I definitely want in it, namely:
[attachments ? BBCode ? Private messages]

http://punbb.org/forums/viewtopic.php?pid=86126#p86126

fixed wrote:

The ability to change the page/post layout without ?

http://blog.punbb.org/2007/02/14/mods-e … comment-68

pedrotuga wrote:

But i didnt got yet ( despite all the articles i red about it out there ) how da heck does the salt is put together with the unencrypted password to match the final hash.

Check out the login.php file: http://dev.punbb.org/browser/branches/p … /login.php

$form_password_hash = sha1($salt.sha1($form_password));

136

(16 replies, posted in PunBB 1.2 discussion)

Amaya 9.54 works for me. (Changing the box and double clicking the submit button worked for me, pogenwurst.)

Also, Camino, OmniWeb, and Shiira all work on Mac OS X (Camino uses Gecko, and the other two use WebKit, like Safari).

137

(6 replies, posted in PunBB 1.2 troubleshooting)

You have to have a title element, even if it's empty (thought what is shown when it is empty depends on the browser)? Hmm, I see you have an image in your header?

How about this? Try replacing this (in header.php)?

$tpl_main = str_replace('<pun_title>', '<h1><span>'.pun_htmlspecialchars($pun_config['o_board_title']).'</span></h1>', $tpl_main);

? with this:

$tpl_main = str_replace('<pun_title>', '<h1><span></span></h1>', $tpl_main);

That should stop text from appearing over your image, so that you can set your board title (in the admin options) to whatever you want.

138

(6 replies, posted in PunBB 1.2 troubleshooting)

`<pun_title>` is what appears at the top of every page.

139

(6 replies, posted in PunBB 1.2 troubleshooting)

header.php

<title><?php echo $page_title ?></title>

140

(51 replies, posted in News)

Why can't you use numbers in extension ids?

141

(6 replies, posted in PunBB 1.2 discussion)

Maybe he's trying to enjoy the calm before the storm. wink tongue

142

(8 replies, posted in PunBB 1.2 troubleshooting)

There isn't a built-in way. A query [in PunBB] would look like this though:

$db->query('DELETE FROM '.$db->prefix.'reports WHERE zapped IS NOT NULL') or error('Unable to delete reports', __FILE__, __LINE__, $db->error());

143

(6 replies, posted in General discussion)

pogenwurst wrote:

It's quite well designed too, in my opinion.

I definitely agree with that.

144

(6 replies, posted in General discussion)

I like PunBB 1.3 and Facebook. *shrugs*

145

(16 replies, posted in PunBB 1.2 discussion)

Works in Opera 9.10 [Mac OS X].

Maybe the BBCode part will be included when the parser is reworked?

http://dev.punbb.org/ticket/39

147

(51 replies, posted in News)

That works for me, Rickard. (I was a little thrown off by the icons as well.)

148

(40 replies, posted in PunBB 1.2 discussion)

Who's going to make a version for Mac OS X?

149

(18 replies, posted in PunBB 1.2 troubleshooting)

It's being worked on: http://dev.punbb.org/ticket/36

150

(16 replies, posted in General discussion)

Have you seen these?
http://area51.phpbb.com/docs/features.html
http://www.phpbb.com/development/