26

(3 replies, posted in PunBB 1.3 troubleshooting)

The "set_magic_quotes_runtime" function was removed in PHP 5.3, that's why this error appears. PunBB 1.3 has not been tested with PHP 5.3 yet.

27

(1 replies, posted in PunBB 1.2 troubleshooting)

It seems there are some errors with calculation of GMT. What value does the "date.timezone" setting in php.ini have?

Do you mean this http://punbb.informer.com/forums/search/new/ ?

29

(6 replies, posted in PunBB 1.3 extensions)

No, there is no such extension. But it is not hard to create such script: it should periodically get contents of an rss feed and add the latest record to the DB by means of the "add_topic" function.
We can help you with this script, if needed.

30

(3 replies, posted in PunBB 1.3 troubleshooting)

You need to remove or comment out these lines in <FORUM_ROOT>/include/common.php:

if (get_magic_quotes_runtime())
    set_magic_quotes_runtime(0);

There is no such option in the core. This code outputs the list of topic subscribers:

$query_subscriptions = array(
    'SELECT' => 'u.id, u.username',
    'FROM'   => 'users as u',
    'JOINS'        => array(
        array(
            'LEFT JOIN'        => 'subscriptions AS s',
            'ON'            => 's.user_id = u.id'
        )
    ),
    'WHERE' => 's.topic_id = ' . $id
);

$result = $forum_db->query_build($query_subscriptions) or error(__FILE__, __LINE__);
$sub_users = array();
while ($cur_user = $forum_db->fetch_assoc($result))
    $sub_users[] = ($forum_user['g_view_users'] == '1') ? '<a href="'.forum_link($forum_url['user'], $cur_user['id']).'">'.forum_htmlencode($cur_user['username']).'</a>' : forum_htmlencode($cur_user['username']);
echo implode(' ', $sub_users);
unset($sub_users);

32

(11 replies, posted in PunBB 1.3 extensions)

What do you mean by "refresh automatically the forum"?

I can't reproduce the bug. Can you check out the 1.3.5 version of the extension to check if the bug persists, please? It is the 1643 revision in svn.

34

(1 replies, posted in Discussions)

There is not such possibility now.

KeyDog wrote:

@PunBB Developers: Can you try this script here? (I don't have enough rights to upload to forum)

I send you PM with link to this script. It says: "Total records: 0".

Add this line to your code:

define('FORUM_SKIP_CSRF_CONFIRM', 1);

to skip token validation or study out the example of how it is generate in <FORUM_ROOT>/login.php, for example.

8k84 wrote:

Current version needs extra work: if topic is closed and user is not admin or moderator, topic messages should not contain “Reply” and “Quick quote” links in them.

Thanks for the report. We will fix this.

jamesa00789 wrote:

Problem is fixed for the userlist when disabling Admin add user extension, and the problem is fixed for creating a new topic when disabling the Pun poll extension.

Perhaps a bug?

What does the php log show? Are there still any errors  in this log?

39

(115 replies, posted in Supported extensions)

Unfortunately, nobody develop this extension now. We will resolve the problem with Postgresql in the next 2-3 days. As for the collapsible poll, we will implement it in the next extension versions. Unfortunately, I can't say exactly when a new version will be released.

40

(5 replies, posted in PunBB 1.3 bug reports)

rs324 wrote:

punbb allways uses '/' as DIRECTORY SEPARATOR this might couse some problems on some configuration of windows iis

the fix is very simple , use php language const : DIRECTORY_SEPARATOR

Thanks for the this. We will add it.

they never works as expect on diffrent options (include from other directories ,  running as cron , and can security risk if you dont handle included file checks)

Can you post examples,  please.

rs324 wrote:

More on integration info

the function add_user should return $new_uid

this way we keen save the forum userid in our database

1 more thing you request for

function add_user($user_info, &$new_uid)

Yes, it will easier to use your method.

why to call str_replace each time ? just combine all of it togeder like :

$find = array('<base_url>','<username>','<activation_url>','<board_mailer>');
        $replace = array(
                $base_url.'/',
                $user_info['username'],
                str_replace('&amp;', '&', forum_link($forum_url['change_password_key'], array($new_uid, substr($user_info['activate_key'], 1, -1)))),
                sprintf($lang_common['Forum mailer'], $forum_config['o_board_title'])
        );
        $mail_message = str_replace($find,$replace,$mail_message);

Thanks for this, we will update it.

nhodges wrote:

Hey KeyDog, checked that out, what do you think about storing settings for individual users though?

All settings about users are stored in the table "users" for each individual user. So if you need to add some info about a user you need to alter the table.

http://punbb.informer.com/forums/topic/ … ns-solved/

Please, try searching for an answer at our Forum as your question has already been discussed in some topics.

Yes, everything is fine. The displaying order of these fields  depends on the order in which you add new elements  to the $forum_page['author_info'] array.

Thanks, we will fix this.

//Grez: Created ticket

46

(4 replies, posted in News)

It is because of unnecessary tab at this line.

47

(4 replies, posted in News)

Found new vulnerability in PunBB 1.2, it was related to a bug in the PHP "unserialize" function. It was fixed and the new version of PunBB (1.2.23) has been released! It is recommended that you update your PunBB 1.2.* installation.

Thanks to hcs for report.

Changes from 1.2.22:

  • Fixed vulnerability in cookie authorization via "unserialize" function.

Visit Downloads page for the PunBB 1.2.23 packages and patches. Or get the latest revision from SVN.

It can be implemented as a feature of the pun_antispam extension. Add a feature request to the Wiki-page, please.

49

(2 replies, posted in PunBB 1.3 additions)

'Does the problem persist?

I think adding KANeKts Extension "Thanks" would be a good idea.
(Maybe even an improved version that lets you optionally see who thanked)

Good idea. I'll check the code later. Can this extension work when JS is disabled?

Also adding the ReCaptcha extension I think might be worth a try for registrations at least!

We have Antispam extension installed.