-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
-
4.0.0-a1, 3.3
-
php 7.3
mysql 8
ubuntu 19.10
Chrome 86
Allow links in posting and private messages despite the disabled setting in acp Allow links in posts/private messages.
For such reason overwrite $url_status in posting.php and ucp_pm_compose.php like this
$url_status = ($config['allow_post_links'] || $auth->acl_get('a_') || $auth->acl_get('m_')); |
Also we need to replace
$config['allow_post_links'] |
on
$url_status
|
Because we initialize $url_status with
$url_status = ($config['allow_post_links'] || $auth->acl_get('a_') || $auth->acl_get('m_')); |
Also the message ALLOW_POST_LINKS_EXPLAIN should be overwriten in appropriate way in board.php