1,126

(3 replies, posted in Archive)

Problemet med det är att alla skulle göra det för att ge just sin tråd extra uppmärksamhet.

That's what I thought. Your config.php is incomplete. It is missing a bunch of variables. This is how it should look:

$db_type = 'blabla';
$db_host = 'blabla';
$db_name = 'blabla';
$db_username = 'blabla';
$db_password = 'blabla';
$db_prefix = 'punbb_';
$p_connect = false;

$cookie_name = 'punbb_cookie';
$cookie_domain = '';
$cookie_path = '/';
$cookie_secure = 0;
$cookie_seed = 'asdf1234';    // Make up your own secret seed here

define('PUN', 1);

If you're running MySQL, set db_type to mysql.

1,128

(13 replies, posted in PunBB 1.2 troubleshooting)

The reasons your styles aren't working is that your web server doesn't seem to want to read them:

http://www.tameri.com/cgi-bin/forums/style/Cobalt.css

A 500 error can caused by one out of a million different things. Try downloading the tar.gz and untar:ing it on the linux box instead of uploading it file by file.

It's not a bad idea. I'll look into it.

Jeremie: What happens when two topics have the same subject? Then you have to start appending numbers at the end and then you're in a world of trouble.

1,131

(4 replies, posted in Archive)

Lite komiskt att du skulle ställa den här frågan just idag. Med tanke på det här big_smile

1,132

(12 replies, posted in General discussion)

The nice folks over at The Admin Zone just posted an interview with me. So, if you for some odd reason would want to know more about me big_smile, go ahead.

Hmm. Could you post the contents of your config.php file? Don't forget to remove any sensitive information such as your database password.

Very odd. The easiest solution to the problem is to clear the moderator field and then re-add the moderators.

1,135

(7 replies, posted in PunBB 1.2 show off)

Very nice. I prefer this style over the old one.

Have you followed the upgrade instructions to the letter?

Very nice. I might actually extend the rewriting functionality currently in Subversion to include the forum and topic title like you did. I never thought about doing it this way. There might be some problems with e.g. chinese and other multibyte languages though.

It should work with any 1.2.* version.

1,139

(9 replies, posted in PunBB 1.2 troubleshooting)

Yes, that should do it as long as the topic and the post were inserted the same second. They might not have been.

1,140

(8 replies, posted in Programming)

I'm not sure about vB3. I think it doesn't. I.e. your users will have to use the forgotten password feature to request a new one after the conversion.

Apparently, it doesn't work properly in Netscape 3 either sad Get a grip, Paul!

http://punbb.org/stuff/netscape.png

1,142

(9 replies, posted in PunBB 1.2 troubleshooting)

No, because ORDER BY is evaluated after GROUP BY.

http://dev.mysql.com/doc/refman/4.1/en/ … p-row.html

I must admit, if there is one thing I just can't quite grasp, it's time zones. I would love a good explanation of what you just suggested actually entails smile

1,144

(15 replies, posted in PunBB 1.2 discussion)

I understand. You don't want to line to break between those characters and the last word. It's difficult. Most other languages "forbid" any whitespace between the last word and any punctuation.

1,145

(9 replies, posted in PunBB 1.2 troubleshooting)

There is no guarantee you will get the message body of the first post by doing that. You're just telling MySQL to fetch _a_ message body from the posts table where the topic_id is matches that of the topic. You're not specifying which. I believe you would have to do a subselect in order to get the expected result.

That's probably a good idea. I'll put it on the never-shrinking list.

1,147

(3 replies, posted in Programming)

It must be a sign from the gods smile

1,148

(15 replies, posted in PunBB 1.2 discussion)

Sure, just hit space four times in the textbox. Like this:

    there are four spaces to the left of this text

You can't start a post with spaces though as they will be trimmed when the post is put in the database.

1,149

(10 replies, posted in PunBB 1.2 troubleshooting)

Like Smartys said, storing read/unread data for all topics and all users isn't feasible. Sure, it might work for a forum with a couple of hundred users and a couple of thousands topics, but it won't scale. The table in which these things are stored has to be relatively small.

1,150

(10 replies, posted in PunBB 1.2 troubleshooting)

I have. I haven't decided on the implementation, but I will definately beef up the topic marking in some way.