Hello Julian. Thank you for your very useful answer.
The plugin was an old version.
I just did uninstall then reinstall the last nodebb-api-write plugin (version 3.1.5) on our instance, but now I get the following error :
/admin/plugins/write-api Introuvable (not found)
UNSOLVED How to remove post submit restrictions?
I need remove composer textfield, and i can remove this from the composer.tpl in my plugin, but where i try submit the topic, the NodeBB sendme a notification says: Please enter a longer post. Posts should contain at least 8 character(s).
How i can disable this verifications via my plugin?
... but... if you want to send a reply, you need text, don't you?
This post is deleted!
@julian Yes, for reply, but no for Topic creation
If you use this variable in composer.tpl <!-- IF isTopicOrMain --> you can remove the textfield only for topic creation and no for reply
What if you set the minimum text required to 0? ACP setting...
@julian Yes, but this thing tells me to enter more than 0 characters.
I try send textfield with value=" " with whitespace but not recognize spaces as chars
Esteban Constante last edited by
@sdantuoni Yeah, I ran into that problem too, I want to have some section where you can put the link in the title (a-la-reddit style)
@julian You can reply this post? I need that for work.
No, there's no way to bypass the check (though 0 should ignore the check, technically)...
Have you set it to -1? Just thinking out loud.
Otherwise, you'll have to input some dummy text and have a post submit hook that removes it or replaces it with spacer symbols, etc....
@julian Cool, and... How can we do what you suggest to send text if we remove the textfield in the composer template?