Indeed, all you're doing that way is adding an empty h1 and span (and, if PunBB was using E_ALL, I think that would give a notice).

Line 148 in an unmodified copy of PunBB is a comment, so you'll need to paste your code here wink

2,153

(2 replies, posted in PunBB 1.2 troubleshooting)

You set server time to whatever the time of the server IS set to. Then you'll have GMT.
It sounds like your server's clock is set incorrectly.

2,154

(2 replies, posted in PunBB 1.2 discussion)

It lists every post you have made

2,155

(37 replies, posted in News)

Ignore that, someone was making test posts

Fixed in changeset 1055
If there are any other instances of excessive warnings that you notice, feel free to post them.

2,157

(38 replies, posted in PunBB 1.2 bug reports)

OK, I might FINALLY have a solution. For real this time. tongue

FIND

                // With MySQL/MySQLi, REPLACE INTO avoids a user having two rows in the online table
                switch ($db_type)
                {
                    case 'mysql':
                    case 'mysqli':
                        $db->query('REPLACE INTO '.$db->prefix.'online (user_id, ident, logged) VALUES('.$pun_user['id'].', \''.$db->escape($pun_user['username']).'\', '.$pun_user['logged'].')') or error('Unable to insert into online list', __FILE__, __LINE__, $db->error());
                        break;

                    default:
                        $db->query('INSERT INTO '.$db->prefix.'online (user_id, ident, logged) VALUES('.$pun_user['id'].', \''.$db->escape($pun_user['username']).'\', '.$pun_user['logged'].')') or error('Unable to insert into online list', __FILE__, __LINE__, $db->error());
                        break;
                }

REPLACE WITH

                // With MySQL/MySQLi, REPLACE INTO avoids a user having two rows in the online table
                switch ($db_type)
                {
                    case 'mysql':
                    case 'mysqli':
                        $db->query('REPLACE INTO '.$db->prefix.'online (user_id, ident, logged) VALUES('.$pun_user['id'].', \''.$db->escape($pun_user['username']).'\', '.$pun_user['logged'].')') or error('Unable to insert into online list', __FILE__, __LINE__, $db->error());
                        break;

                    case 'pgsql':
                        $db->query('INSERT INTO '.$db->prefix.'online (user_id, ident, logged) SELECT '.$pun_user['id'].', \''.$db->escape($pun_user['username']).'\', '.$pun_user['logged'].' FROM '.$db->prefix.'users WHERE id = '.$pun_user['id'].' AND NOT EXISTS (SELECT 1 FROM '.$db->prefix.'online WHERE user_id = '.$pun_user['id'].')') or error('Unable to insert into online list', __FILE__, __LINE__, $db->error());
                        break;

                    default:
                        $db->query('INSERT INTO '.$db->prefix.'online (user_id, ident, logged) VALUES('.$pun_user['id'].', \''.$db->escape($pun_user['username']).'\', '.$pun_user['logged'].')') or error('Unable to insert into online list', __FILE__, __LINE__, $db->error());
                        break;
                }

FIND

        // With MySQL/MySQLi, REPLACE INTO avoids a user having two rows in the online table
        switch ($db_type)
        {
            case 'mysql':
            case 'mysqli':
                $db->query('REPLACE INTO '.$db->prefix.'online (user_id, ident, logged) VALUES(1, \''.$db->escape($remote_addr).'\', '.$pun_user['logged'].')') or error('Unable to insert into online list', __FILE__, __LINE__, $db->error());
                break;

            default:
                $db->query('INSERT INTO '.$db->prefix.'online (user_id, ident, logged) VALUES(1, \''.$db->escape($remote_addr).'\', '.$pun_user['logged'].')') or error('Unable to insert into online list', __FILE__, __LINE__, $db->error());
                break;
        }

REPLACE WITH

        // With MySQL/MySQLi, REPLACE INTO avoids a user having two rows in the online table
        switch ($db_type)
        {
            case 'mysql':
            case 'mysqli':
                $db->query('REPLACE INTO '.$db->prefix.'online (user_id, ident, logged) VALUES(1, \''.$db->escape($remote_addr).'\', '.$pun_user['logged'].')') or error('Unable to insert into online list', __FILE__, __LINE__, $db->error());
                break;

            case 'pgsql':
                $db->query('INSERT INTO '.$db->prefix.'online (user_id, ident, logged) SELECT 1, \''.$db->escape($remote_addr).'\', '.$pun_user['logged'].' FROM '.$db->prefix.'users WHERE id=1 AND NOT EXISTS (SELECT 1 FROM '.$db->prefix.'online WHERE user_id = 1 AND ident = \''.$db->escape($remote_addr).'\')') or error('Unable to insert into online list', __FILE__, __LINE__, $db->error());
                break;

            default:
                $db->query('INSERT INTO '.$db->prefix.'online (user_id, ident, logged) VALUES(1, \''.$db->escape($remote_addr).'\', '.$pun_user['logged'].')') or error('Unable to insert into online list', __FILE__, __LINE__, $db->error());
                break;
        }

Keep in mind, of course, that 1.3 is in alpha, is not production quality (although search works to the best of my knowledge), and the extension system is not finished. Thus, creating any extension at this point is premature.
Also, in testing this, it looks like it pushes some links out of place, at least using Firefox 2. And you're using an extra element (<content>) that I don't think we use.

I'm going to close this: feel free to make a new topic once 1.3 is ready for general release. In the meantime though, we don't want to confuse people into thinking that it's ready when it isn't.

Yeah, in an unmodded copy of PunBB it should always be called.

The clear cache plugin doesn't fix this wink

If you mean the last post entry, how did you delete the post? It looks like update_forum wasn't called.

2,162

(20 replies, posted in PunBB 1.2 troubleshooting)

You should use $id, not $cur_topic['id'], which doesn't exist in an unmodded copy of PunBB.

2,163

(124 replies, posted in News)

banzaimonkey wrote:
Rickard wrote:

Now, as some of you might have heard, the rights to PunBB are no longer owned by myself and/or the other developers.
...
It should also be clear that once code is released under the GPL, it remains that way forever i.e. it cannot be made closed source retrospectively.

Code that has already been released cannot be un-GPLed.  However, the copyright and license on new code (future releases) is not governed by the GPL unless it is released under those terms.  There is no guarantee that future releases will be released under the GPL.  There are several examples of GPL projects that switched to proprietary models; Active Collab comes to mind.  That is entirely within the rights of the copyright holder.

Rickard wrote:

Enough with the drama. This isn't the "End of free PunBB". PunBB is GPL and will remain so. If push comes to shove, I'll fork it myself!

I think that about covers it. PunBB's code is released under the GPL and will remain that way. The copyright holder can of course choose to relicense the code at any point, but that would result in a fork of the code that remains under the GPL, as Rickard stated wink

2,164

(12 replies, posted in PunBB 1.2 discussion)

http://forums.digitalpoint.com/showthread.php?t=48460

Just use Google and you find lots of references to how to redirect index files wink

2,165

(5 replies, posted in PunBB 1.2 troubleshooting)

It could be your host killing the query, I can't find any references to MySQL having any sort of automatic query killing built in.

That is not PunBB, at least not an unmodified version: there is no module.php in PunBB.

So, is it using the username? Because if so, that's expected behavior: as I said, PunBB doesn't have a display name option.

There's no equivalent of display name in PunBB, username is what's used. Are you saying that when display name and username are different in IPB, when converting, posts show what display name was instead of the username?

2,169

(4 replies, posted in PunBB 1.2 troubleshooting)

They're not icons, they're colored boxes. Look in Oxygen_cs.css

2,170

(5 replies, posted in PunBB 1.2 troubleshooting)

1.3 has FULLTEXT search for MySQL.
I would be interested to know why the queries are just stopping like that though (do you have a script that kills long running queries?)

Moved to Modifications

I'll look into fixing this for 1.3, but you're right, it isn't really a bug.
Moved to PunBB Discussion

2,173

(37 replies, posted in News)

Please restrict your test posts to the Test forum wink

2,174

(5 replies, posted in PunBB 1.2 discussion)

You can't add wildcards to ban a whole TLD wink

2,175

(11 replies, posted in PunBB 1.2 troubleshooting)

You could manually insert a row with conf_name of o_portal_news_id and conf_value of x, where x is some forum ID