Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-16618

Allow links for admins and moderators in posting and private messages despite the acp disabled setting allow links in posts/private messages

    XMLWordPrintable

    Details

      Description

      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

       

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            smanst3r smanst3r
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: