MyBB Community Forums

Full Version: disable draft
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
i'm using mybb 1,8,27 

can i disable function DRAFT (save as draft) ??

please dascrible me when i can find this option??

thx for the answer
That's possible,

1. Hiding as a simple non-secure option:
Remove all draft-related content from Templates, e.g. "newthread", "newreply", "usercp_drafts*".
This will only 'hide' the possibility for users to save as draft. But actually the back-end function is still available and can be used with dogged will and skills.

2. Remove the function entirely:
This needs a couple of code changes in some PHP files.

[ETS]
(2021-09-17, 10:04 PM)[ExiTuS] Wrote: [ -> ]That's possible,

1. Hiding as a simple non-secure option:
Remove all draft-related content from Templates, e.g. "newthread", "newreply", "usercp_drafts*".
This will only 'hide' the possibility for users to save as draft. But actually the back-end function is still available and can be used with dogged will and skills.

[ETS]

can I remove it in admin panel??

if yes - please write where?? (i cannot find it)
There is no option to just click for deactivation.

In case 1. you need to edit mentioned templates in ACP:
> Templates & Styles > Templates > Default (or else) > "newthread", "newreply", "usercp_drafts*".

For a quick+dirty solution remove the following variable:
{$savedraftbutton}
This will hide the button to safe drafts.

[ExiTuS]