1,251

(6 replies, posted in PunBB 1.2 troubleshooting)

Well, you need to take a backup of the old forum database somehow (maybe using the backup plugin) and then you need to upload and restore that backup on the new server. Then edit your config.php accordingly.

1,252

(121 replies, posted in PunBB 1.2 discussion)

morepork wrote:

I can't figure out why it is that the demo won't come up in Firefox (beta 1.5).
When I used the HTML Tidy extension and its "Clean Up Code" function, it then displayed the demo in the extension window. Strange ...

I use Firefox 1.5 Beta 2 and it works for me. Odd.

1,253

(69 replies, posted in News)

sverrir wrote:

Are you working in .net these days Rickard?

Well, yes. I work full-time as an ASP.NET developer smile

1,254

(13 replies, posted in Archive)

Danke. Uppdaterar.

1,255

(69 replies, posted in News)

I got fed up with all the crappy mass mailer applications out there, so I wrote my own in .NET:

http://punbb.org/stuff/mailtorrent.png
http://punbb.org/stuff/mailtorrent2.png

It took about an hour. Testing out maybe 10 other applications that didn't work properly took a lot longer.

1,256

(1 replies, posted in PunBB 1.2 bug reports)

I'll put it on the never-shrinking list smile

BTW, that topic hasn't been lost. It's in my todo list somewhere smile

1,257

(8 replies, posted in Feature requests)

Huh? Avatars are a standard feature of PunBB.

Uziel wrote:

Our rules show it is a flaw in punbb version 1.2.2 and below.

Pardon me?

1,259

(2 replies, posted in PunBB 1.2 discussion)

It provides feedback to the user.

1,260

(3 replies, posted in General discussion)

No, they've found collisions in SHA1 as well. It's nowhere as commonly recurring as MD5 though.

1,261

(3 replies, posted in General discussion)

I get the impression people are spending more time trying to "hack" current existing algorithms than actually developing new ones.

1,262

(10 replies, posted in PunBB 1.2 bug reports)

Ah, of course. I see the problem now.

                        $num_chars = pun_strlen($word);

                        if ($num_chars < 3 || $num_chars > 20 || in_array($word, $stopwords))
                                unset($words[$i]);

should be

                        $num_chars = pun_strlen($words[$i]);

                        if ($num_chars < 3 || $num_chars > 20 || in_array($words[$i], $stopwords))
                                unset($words[$i]);

It's not a the end of the world though, so I'll hold off on fixing it until 1.3.

1,263

(4 replies, posted in PunBB 1.2 troubleshooting)

I am not aware of any such vulnerability. It should be noted however, that a ban is set for the username and or IP address. Anyone can just register with a new username and a new IP. There is no way to protect the forums from that.

1,264

(10 replies, posted in PunBB 1.2 bug reports)

Cubiq wrote:

ho, I see... are side effects related to the indexing of web domains? (eg: www.punbb.org)

Yes, but also for words such as "file.php".

Cubiq wrote:

mmmh I guess there's something else that should be done for this issue then. Words in the stopwords file followed by a "." [period] are still inserted into the DB, and two letters words followed by a period are treated as 3 letters words (eg: "dr." is inserted as "dr").

I can't see what's wrong with the current implementation. It filters out any periods at the beginning and the end of words, but it allows them in the middle of words.

True. In the case of "l'éléphant", it would be good because the "l" doesn't affect the "meaning" of the word. On the other hand, "shouldn't" would be treated as "should" and "t" where "t" would be ignored and then it inverts the meaning of the word.

1,266

(10 replies, posted in PunBB 1.2 bug reports)

Actually, that was an error. Adding it to the end of the march/replace arrays had some unwanted side-effects. I "re-removed" the period from those arrays and instead filtered it out with trim().

http://dev.punbb.org/changeset/284

Cubiq wrote:

Sorry to bump this rather old topic... but replacing ' with a [space] instead of a [null] wouldn't solve this issue?

No, because then it would be treated as two words.

1,268

(69 replies, posted in News)

Connorhd wrote:

http://dev.punbb.org/changeset/286 - my IP address is now wrong sad

I'm sorry, but there's just no way of solving it. HTTP_X_FORWARDED_FOR was just too easy to spoof.

1,269

(69 replies, posted in News)

a63548 wrote:

Thanks a lot for the new version. I have one question though. I haven't kept up on updates, and my version is 1.27. I have many mods installed, and would have to upgrade using the patch, then the hdiff if needed. What I am wondering is, would I need to do the patch for 1.28, then 1.29, then 1.2.10, or if I did the newest 1.2.10 patch and probably hdiff would it cover everything? Thank you for everything you do.

Just grab the diff or hdiff that takes you from 1.2.7 directly to 1.2.10. You can find them if you look around in the download archive. Then run the upgrade script 12_to_1210_update.php. That will bump up your version number in the database.

1,270

(69 replies, posted in News)

analogue wrote:

In punbb-1.2.10-changed_files.zip the update file is 12_to_129_update.php. Need a fix ?

Thanks. I've update the changed files packages.

Note to self: Write shell script to create the packages for a new release so I don't f*ck up again.

1,271

(69 replies, posted in News)

In the effort to release updated version as soon as possible after new issues are discovered, I hereby present PunBB 1.2.10. This release has been made to fix a couple of semi-serious security issues as well as a few minor bugs and annoyances. Fingers crossed, 1.2.10 should be the last release in the 1.2 tree. No, that does not mean I have a date or even an educated guess as to when 1.3 will be released. There are just too many variables involved for me to do that.

Thanks go out to Jonatan Wulcan, Stefan Esser, Smartys and Michael "PMD" Dorman.

Enjoy!

Edit: While trying to send out the newsletter for this release, the program I have been using to broadcast the announcement broke down completely. I will find a different tool tomorrow and give it another go. I apologize for this.

We discussed this the other day.

http://punbb.org/forums/viewtopic.php?id=9279

Edit: GRR! big_smile

1,273

(2 replies, posted in PunBB 1.2 troubleshooting)

Check out 3.4 in the FAQ.

1,274

(10 replies, posted in PunBB 1.2 bug reports)

I see the problem. For some reason, PunBB doesn't strip out periods. I can't believe I've missed that. I will fix it for the next release. Thanks for the detailed report.

1,275

(5 replies, posted in Archive)

Ingen aning faktiskt. Det är inget rättighetsproblem?