326

(8 replies, posted in PunBB 1.3 extensions)

PHP constant doesn't need to be quoted, otherwise it will become a string.

Thanks for reporting this. We will investigate the problem.

consolibyte wrote:

OK, but then I have to do that every time a new user registers, correct?

No, you need to do it only once.

Set the default value of the "auto_notify" column in the "users" table to "1".

Thanks for reporting. Fixed in [1437]

Thanks for the nice idea. Perhaps, we will add this feature to the Forum core.

chovy wrote:

I don't know if it's possible to hook it in with an extension, it should be rather easy as I'm guessing the post object is available given the date of the post is displayed.

You need to use just two hooks:

  • "in_qr_get_cats_and_forums" - to fetch the topic subject

  • "in_normal_row_pre_display" -to replace the HTML code of the last post link with a new one.

332

(31 replies, posted in Supported extensions)

Thanks for reporting. Language pack updated in [1434].

333

(1 replies, posted in PunBB 1.3 troubleshooting)

Where and when did this message appear? Provide more details, please.

In order for PunBB to function properly, the directory named <em>cache</em> must be writable by PHP. Use chmod to set the appropriate directory permissions. If in doubt, chmod to 0777.

jordi wrote:

PS. PunBB Dev Team, you have a bug report from me...

Could you resend it, please?

Such changes require much change in the code of the core. Perhaps we will use tables instead of divs in the next branch of PunBB. But not in PunBB 1.3.

337

(115 replies, posted in Supported extensions)

Whater Soer wrote:

Slavok, in the 1.1.7 version I'm observing bug which I have reported before. And the behavior is absolutely same. Could you have a look, please smile

Thanks! The bug fixed in [1432].
Also the bug repoted here fixed. pun_poll 1.1.8 has been released.

vaska94 wrote:

1. on a attachment Mod i chmoded all folders and files to 777 but
when i upload files all files ar 0 bytes on FTP smile

Is there some records in the attachments table in DB?

vaska94 wrote:

2. on a Poll Mod when i'm posting a topic and 
when poll fields are blank forum gives error
http://img687.imageshack.us/img687/3386/wtfux.jpg

Thanks for reporting! Fixed in pun_poll 1.1.8.

Language pack for pun_poll should be placed in "<FORUM_ROOT>/extensions/pun_poll/lang/de" directory. This directory should contain "pun_poll.php" file with extension translation.

This should work without such error:

<?php ob_start(); ?>
<html>
<body>
<ul>
   <?php

    define('FORUM_ROOT', './');//your own forum_root here!!!!
    $_GET['type']='html';
    require FORUM_ROOT.'extern.php';

?>
</ul>
</body>
</html>
<?php ob_end_flush(); ?>

Comment the 425 line of "<FORUM_ROOT>/viewtopic.php". And add this line after 350 line of "<FORUM_ROOT>/misc.php":

message($lang_common['Bad request']);

342

(9 replies, posted in PunBB 1.2 troubleshooting)

It seems that problem was solved. I can see the banner at the header.

343

(22 replies, posted in Discussions)

Just install latest version of pun_antispam via pun_repository or manually download it from our site.

I don't like that all words have id=1. I think it's wrong. Have you installed any mods, which can affected on the search mechanism?

345

(3 replies, posted in PunBB 1.3 discussion)

Could you describe in more detail what exactly you want to add, please?

346

(1 replies, posted in PunBB 1.3 discussion)

8k84 wrote:

And is there a recommended procedure for moving a forum to a new server?

There are no special recommendations. If you use a custom URL scheme, check that mod_rewrite is installed on your new server.

The page title is generated based on the page breadcrumbs. Setting breadcrumbs for a viewtopic page is done at 231-235 lines of "viewtopic.php". The function "generate_crumbs" (502 line of "<FORUM_ROOT>/include/functions.php") generates the resulting string. Will this information be enough for you?

348

(3 replies, posted in PunBB 1.3 discussion)

After including the "include/common.php" file, $forum_user variable will be available in code. It is store all information about user.

349

(2 replies, posted in PunBB 1.3 discussion)

http://punbb.informer.com/forums/topic/ … generator/

Remove the index for "search_matches" table with "word_id" keyname.
What is the first column in "search_words" table? Post here the structure of "search_words" table, please.