Simple Machines Community Forum

General Community => Site Comments, Issues and Concerns => Topic started by: Jade Elizabeth on December 22, 2014, 08:46:11 AM

Title: Post char limit
Post by: Jade Elizabeth on December 22, 2014, 08:46:11 AM
It would be nice if it told me I went over the limit and let me edit my post, instead of posting it and cutting it off.

I didn't think it would but it's pastebinned now but that's not the point, normal SMF does this, why doesn't this site? :(
Title: Re: Post char limit
Post by: Kindred on December 22, 2014, 09:19:12 AM
ummmm  "normal" smf does not do that....
Title: Re: Post char limit
Post by: Arantor on December 22, 2014, 09:23:25 AM
What limit do you have?
Title: Re: Post char limit
Post by: Jade Elizabeth on December 22, 2014, 09:27:03 AM
Yes it does Kindred, if I post a billion chars on my forum it gives me an error and I'm like "oh, ******, I will have to edit that" lol

Arantor it's here, I tried to post some code but I didnt realise it was too much. I pastebinned it for the post :).


Sorry if I sound nasty, I'm dealing with an incredible migraine and I don't mean it <3.
Title: Re: Post char limit
Post by: Kindred on December 22, 2014, 09:33:10 AM
then you must have edited something... because SMF does not do that out of the box, as far as I know...
Title: Re: Post char limit
Post by: Arantor on December 22, 2014, 09:34:51 AM
I bet this is because it's hitting the TEXT limit and the column hasn't been resized to be MEDIUMTEXT.

This is one situation where it can do it and not inform the user if the limit is set to 0.
Title: Re: Post char limit
Post by: Kindred on December 22, 2014, 09:55:01 AM
ah. hmmm....
Title: Re: Post char limit
Post by: Jade Elizabeth on December 23, 2014, 12:43:45 AM
I hope this picture makes you crave bacon, take that as punishment for doubting there was an error message :P :D
Title: Re: Post char limit
Post by: Arantor on December 23, 2014, 12:47:33 AM
There is no error message in the scenario here.

Your site has the limit set to 60,000 characters. This site has the limit set to 0 so it never checks (so no error message). But there's still a *physical* limit in the database which will truncate the post if crossing it.
Title: Re: Post char limit
Post by: Jade Elizabeth on December 23, 2014, 12:50:21 AM
Ah ha! Okay so I suggest a limit is set since it can't be gone over anyway :). Then I won't lose half a post.
Title: Re: Post char limit
Post by: Arantor on December 23, 2014, 12:53:54 AM
Even if a limit is set, it's theoretically possible in certain circumstances to stay under one limit and exceed the other and still have truncated posts. But quite rare in practice.
Title: Re: Post char limit
Post by: SleePy on December 24, 2014, 08:45:48 PM
Quote from: Jade Elizabeth on December 23, 2014, 12:50:21 AM
Ah ha! Okay so I suggest a limit is set since it can't be gone over anyway :). Then I won't lose half a post.

Your posting in the wrong board.  SMF issues go elsewhere ;)
Title: Re: Post char limit
Post by: Arantor on December 24, 2014, 08:46:27 PM
It's specific to this site in this case.
Title: Re: Post char limit
Post by: Jade Elizabeth on December 27, 2014, 09:47:23 AM
Quote from: SleePy on December 24, 2014, 08:45:48 PM
Quote from: Jade Elizabeth on December 23, 2014, 12:50:21 AM
Ah ha! Okay so I suggest a limit is set since it can't be gone over anyway :). Then I won't lose half a post.

Your posting in the wrong board.  SMF issues go elsewhere ;)

You didn't read the second line? :P

Quote from: Jade Elizabeth on December 22, 2014, 08:46:11 AM
It would be nice if it told me I went over the limit and let me edit my post, instead of posting it and cutting it off.

I didn't think it would but it's pastebinned now but that's not the point, normal SMF does this, why doesn't this site? :(