6,526

(35 replies, posted in PunBB 1.2 show off)

I like it. It's colorful and still feels professional :)

6,527

(3 replies, posted in Programming)

Paul wrote:

Instead of having to fetch config information from the database all the time, the database is queried and the results are stored in a php file. MMCache is then used to compile the php file. This results in a speed increase because retrieving the information from a compiled php file is faster than running a database query(s).

Almost correct. MMC doesn't compile the code, the Zend engine does. MMC just keeps the compiled code in memory (or on disk if it is out of memory) for PHP, so that the next time the script is to be executed, the Zend engine can fetch the already-compiled code directly from MMC's shared memory area.

Paul wrote:

Are there any security implications because you are allowing writing to php files? Not that it makes much difference because I bet a lot of people are running PunBB with CHMOD 777 anyway.

Nono that I can think of. If people are chmodding their config.php to 777, the security is b0rked anyway :D

In PunBB, a theme is the same thing as a style. There is unfortunately no way of using different templates for different styles.

6,529

(93 replies, posted in PunBB 1.2 discussion)

That's nice to hear :)

Also, I can't emphasize this enough: If changing the current layout to some small degree makes your job a lot easier or makes the markup/style sheet much prettier, I'm sure we can work something out.

Ah, perhaps he means the fact that you don't have to upgrade in steps if you have a version that isn't the second latest. If not, I have no idea. I just checked phpBB out and upgrading from i.e. 2.0.5 to 2.0.6 is identical to upgrading from PunBB 1.1 to 1.1.1. You unpack the new files and then run an upgrade script.

Honesly, I haven't tried doing an upgrade in phpBB. How does it differ from the way it's done in PunBB?

6,532

(2 replies, posted in PunBB 1.2 bug reports)

Yes, I agree. I will update it for the next version.

Prego :)

Then you haven't entered the right stuff into your config.php. Make sure you have the table prefix in there.

Wow, what a mess :) It appears you've got three different forum software installed in the same database. Try re-installing PunBB with a table prefix (i.e. punbb_).

The very best thing would be if you could export the complete table structure from phpMyAdmin (or something similar). That way, we can get a better idea as to what might be wrong.

Pleas enable DEBUG mode and try again. Then post the error message here.

Ok, then I can't help you. I doubt anyone in here will help you since you are converting away from PunBB.

Might I ask why you want to convert to phpBB?

6,539

(7 replies, posted in PunBB 1.2 troubleshooting)

When pconnect is set to true, PunBB connects to MySQL via a so called persistent connection. A persistent connection isn't closed at the end of the script and can be reused for several script executions. The benefit is that a new connection doesn't have to be established every time. However, since the connections doesn't die at the end of the scripts, MySQL will run out of available connections quite fast. That is what happened on your host.

I believe you will have to ask in the phpBB forums for that.

6,541

(3 replies, posted in Programming)

Instead of posting the whole bit once more, I'll just link to the post I made at The Forum Insider: http://www.foruminsider.com/forums/inde … wtopic=183

6,542

(7 replies, posted in PunBB 1.2 troubleshooting)

That's odd. Are you using the latest version of PunBB? The error message shouldn't occur on line 57 if you are running PunBB 1.1 or 1.1.1. Also, that error message should be followed the error message supplied by MySQL (mysql_error()). Perhaps your host has disabled it or something.

If you host says that they are having problems, I don't believe there is anything you can do to fix it. Well, anything short of changing hosts that is.

One thing you can try is to change the variable pconnect in config.php from true to false. See if that helps.

Ah, I see. But can't you let the forums take up both the middle and the right column?

I honestly don't. Might I ask why you want to cram it into only 400 pixels?

6,545

(2 replies, posted in Archive)

De påverkar inte storleken på sidorna. Det är kommentarer i källkoden och de hoppas över av PHP-tolken.

My guess is that the forum can't be just 400 pixles wide. The table cells can only shrink to a certain degree. Try 500 pixles.

6,547

(0 replies, posted in News)

I just received the updated Icelandic language pack. Thanks to Sverrir Gunnlaugsson who also did the 1.0 version. As usual, you can find it on the download page.

6,548

(1 replies, posted in PunBB 1.2 show off)

Nice to hear :)

6,549

(15 replies, posted in PunBB 1.2 discussion)

There is no way to "decrypt" an MD5 checksum. You can brute force it by trying all possible combinations, but you can't go from MD5 to cleartext. MD5 is a checksum generation algoritm, it's not encryption per se.

I'll upload it when I come home later tonight.