The following warnings occurred:
Warning [2] Undefined array key "pointsview" - Line: 1442 - File: inc/plugins/newpoints/core/hooks.php PHP 8.2.11 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/newpoints/core/hooks.php 1442 errorHandler->error_callback
/inc/class_plugins.php 142 newpoints_blockview
/showthread.php 471 pluginSystem->run_hooks



This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Tutorial Disable edit time limit for first posts
Files
#1
The group permission `Edit Time Limit` might be useful for some boards, probably as a moderation mechanism. Unfortunately, this permission doesn't distinguish between threads (first posts) and replies (posts), and if set to a value higher than zero, this will block edition of all posts alike. To change this, you can import the attached file to the Hooks plugin system.

This should accomplish the following:
  • The edit button for threads (first posts) should be visible, based on permissions.
  • Users should be able to always edit threads (first post), by quick or full edit, based on permissions.

In summary, this should completely ignore the `Edit Time Limit` permission for threads (first posts), respecting all other checks MyBB does for the user or replies.
Reply