Author

Topic: The message exceeds the maximum allowed lenght (64000 characters) (Read 309 times)

legendary
Activity: 2506
Merit: 1517
#1 VIP Crypto Casino
Is frustrating to try random cuts and hope for the best.

Any modern doc processor should give you a word count.

Notepad++ ?



They point to skip copy pasting on 3rd part programs/websites (yeah I'm lazy)

@tryninja ty, I will try it.
legendary
Activity: 2758
Merit: 6830
However, it would be better if there is character counter, so people will able to write/delete accordingly.
See my post above.
legendary
Activity: 2282
Merit: 2196
Signature space for rent
Expected a thread like this from cryptohunter not you bro..
Me to Grin, may be Alt of CH Wink

Just learned there is characters limit on bitcointalk. Because I didn't faced this problem. How it will be if if limit increase according to rank?
However, it would be better if there is character counter, so people will able to write/delete accordingly.
Vod
legendary
Activity: 3668
Merit: 3010
Licking my boob since 1970
Is frustrating to try random cuts and hope for the best.

Any modern doc processor should give you a word count.

Notepad++ ?

legendary
Activity: 2758
Merit: 6830
@coinlocket$

Here is my try (in case you are interested).

It's a GreaseMonkey/TamperMonkey script. Just paste this in a new script file and whenever you start typing a new post/thread, it will show up "Characters left: X" a little bit under the text area; (X = 64000 - current count)

Preview: https://talkimg.com/images/2023/05/14/blobf823ce262e9a3868.png

Code:
// ==UserScript==
// @name     BitcoinTalk Characters Left
// @version  1
// @include  https://bitcointalk.org/index.php?action=post;*
// @grant    none
// ==/UserScript==

function getElementByXpath(path) {
  return document.evaluate(path, document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue;
}

countText = document.createElement('span');
countText.setAttribute("id", "countText");
getElementByXpath('/html/body/div[2]/form/table[2]/tbody/tr[2]/td/table').appendChild(countText);

document.getElementsByName('message')[0].onkeyup = function () {
  document.getElementById('countText').innerHTML = "Characters left: " + (64000 - this.value.length);
};

P.S: I suck at Js.
legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
I use a text editor and some margin: I think the limit is 64000 characters HTML, not 64000 in BBCode. If you count the characters in a text editor, the result may or may not fit if it's close to 64000.

I think that's what lead to this error for tables much smaller than 64000 characters:
I'm trying to post a (big) table on Bitcointalk, to show the results of a giveaway. I know the maximum post size is 64000 bytes. My post is just over half that size, and I get this error:
Code:
INVALID BBCODE: loop, probably unclosed tags

The BBcode is valid. If I make it a bit shorter by taking out a few rows, I can post it.

And it looks like there's a bug: recently one of my topics was cut short without getting an error:
This topic was cut short: without giving an error about the 64kB limit, the last part was just cut off.



I would really like to see exceptions from this restriction for some users (me me me !). I sometimes create a thread in Archival for very long posts, but it would be much easier with a much higher limit. Especially BBCode and tables easily reach 64k characters.

legendary
Activity: 2758
Merit: 6830
I could make you a tampermonkey script that does this (with a live count bellow the textarea). Would you mind?

Unfortunately I’m on the phone right now. But it would be relatively simple.
legendary
Activity: 2506
Merit: 1517
#1 VIP Crypto Casino
Expected a thread like this from cryptohunter not you bro..

Ehehe, I needed to use Pastebin in the end, was a lot of shit. https://pastebin.com/1dv1c7mr

Edit and offtopic: Btw he is off by 3 days now does he get a temp ban? Saw theymos talking about it not a long time ago.
legendary
Activity: 1414
Merit: 1808
Exchange Bitcoin quickly-https://blockchain.com.do
Expected a thread like this from cryptohunter not you bro..
legendary
Activity: 2744
Merit: 1708
First 100% Liquid Stablecoin Backed by Gold
snip
A good idea for a new thread in which such Interesting facts would be posted about the Bitcointalk forum.

I am sure that there are many more such curiosities about which we have no idea and it would be nice to find them out.
legendary
Activity: 2506
Merit: 1517
#1 VIP Crypto Casino
Yes, I know the existence of those 3rd part tools but if we can do it on the forum it will better and faster without copypasting several times on that kind of websites.

(saved the second one on my bookmarks, seems very powerful).
legendary
Activity: 2758
Merit: 6830
legendary
Activity: 2506
Merit: 1517
#1 VIP Crypto Casino
Sometimes I need to post big texts, usually with the BB [ code ] format to keep the post short.

Is it possible to add some info on this error message to know how many chars I need to cut?



Is frustrating to try random cuts and hope for the best.
Jump to: