Paul wrote:

I just tested on your test board. Very weird. Its not the code tag either. I just posted the test markup as normal text and the same problem. Take out a couple of line and it previews fine except preview also submits it.

I also tried it with a long item of lorem ipsum text and the same problem happens so it seems to be long posts in general.

I can't see how this problem could be related to PunBB. If it was I'm pretty sure somebody else would have experienced it by now.

Thank you very much for investigating the issue on your own! I appreciate your time and help!

I will contact my hosting provider as it seems there is something wrong with the server configuration.

Thanks everyone for your help! smile

Paul wrote:

What happens if you replace the modified version of post.php with a bog standard one. Do you still get the problem? Do you get the problem with the quick post form?

Just, checked it - the same thing happens with the original version of "post.php" from the PunBB v1.2.14 package. Yes, I now remember that I altered a bit the original version and added the smileys mod but now I checked it with the original version and there's no difference. hmm

I also tried with quick post and still the same behaviour.

I now noticed something even stranger. For instance, I click Preview or Submit and the browser hangs and I wait for about 30 seconds and then I close the browser window. I load the thread again immediately after that in a new browser window and the post I was trying to make is not there. But if I load the page again in say 2 minutes, the post is there (truncated). Sometimes it's even posted a few times even though I didn't even click Preview or Submit more than once. Phew, that's really weird..

Thanks for your tip!

Hmm, let me check this...

EDIT:
---
post_max_size = 8M
---

So you suppose this problem is not related to PunBB itself? If that's the case, then it's better to talk to my hosting provider.. What do you think?

Still no ideas? :?

Nope, I haven't modified post.php, as far as I remember.

I created a test forum where guests are allowed to post:

http://www.smartmenus.org/forum/viewforum.php?id=7

You can try posting the following code sample:

http://www.smartmenus.org/down/misc/pem … ucture.txt

to see what happens.

I noted, however, that when guests are trying to post such longer code samples and hit "Preview" it doesn't get posted after waiting awhile. But still PunBB seems to hang.

I wonder, could this be caused by some configuration on my hosting server. hmm

Hi,

I have a problem - when I am posting a longer code sample within a code block (for instance, some HTML code about 2.78KB) and I hit the "Preview" button my copy of PunBB hags forever on the current page and visually does nothing. But if I visit the topic that I tried to post to in a minute I can see that the reply I tried to post has been posted numerous times with the code sample truncated at some position ending with "%3" although I didn't even manage to hit the "Submit" button as PunBB hanged when I hit the "Preview" button.

So I was wondering is there some kind of size limit that I could tweak or something like this? hmm

As far as I can see, the problem is not present on this forum when I try to post the same code sample.

Thanks for any help!

PS: I run the latest version 1.2.14.

Hi,

I have a suggestion that you might consider for the upcoming PunBB releases. Currently the following hack is used for IE5.x and 6 on Windows:

/* IEWin Font Size only - to allow IEWin to zoom. Do not remove comments \*/
* HTML .pun {FONT-SIZE: 68.75%}
/* End IE Win Font Size */

However, as you might know, IE7 doesn't support the "* html" hack any more. So at the moment the text size cannot be controlled in IE7 (yes, it allows page zooming but it's not exactly the same and I wouldn't say it's that usable).

So my suggestion is to use the following IE7 specific hack in addition:

/* IE7Win Font Size only - to allow IE7Win to zoom text. */
*:first-child+html .pun {FONT-SIZE: 68.75%}

I have personally tested the hack with all Windows/Mac/Linux browsers I have access to (which includes pretty much all well-known browsers) and I can confirm that this hack is specific to IE7 and to no other browser. Furthermore, even if some future yet-unreleased browser possibly applies this rule, it most probably won't do any harm to that browser as normally 68.75% font-size corresponds to 11px.

For more info about the hack, please visit - http://nanobox.chipx86.com/blog/2006/04 … or-ie7.php

This hack has been working in all IE7 versions since Beta 2 (when the improved rendering engine was first introduced) and today I verified that it is still working in the final IE7.0. I am pretty much convinced they will not "drop support" for it in future versions and even if they do so, they promised to make the text size resizable, no matter which units are used in the future IE releases after 7.0.

Anyway, I just wanted to make this suggestion. smile

8

(27 replies, posted in PunBB 1.2 troubleshooting)

Here's how I have virtually coped with spam bots on my site:

http://www.smartmenus.org/down/anti-spam.gif

I followed an idea I saw on the phpBB forums a few months ago. It's basically creating a custom question/field that every (or nearly every smile) human could easily answer but for which the spam bots have almost no chance at guessing the answer. The question can be well-thought so that it doesn't bring accessibility issues.

Since I did this, I haven't got ANY spam delivered to my mailbox through the contact forms on the site. And before that I used to get about 10-20 spam emails per day.

So I am planning to implement the same technique with my copy of PunBB soon. I only need to find some free time to take a closer look at the code.. roll

I am happy you like the style! If somebody would like to use it, let him/her feel free to (of course, just replace the logo etc.).

As for the conversion, it was really very easy. The PunBB Migration Tool seems to be very well designed and worked flawlessly with our phpBB base. I had to make just few manual changes to the database after using the migration tool (for instance updated all links to topics in the posts from ./viewtopic.php?t=number to ./viewtopic.php?id=number).

As a whole I am very happy with the "PunBB experience" so far (and I believe I will be in the future)! smile

We switched to PunBB and think it's great! smile

http://www.smartmenus.org/forum/