Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-8834

Approve details

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 3.0.6
    • 3.0.x
    • None
    • PHP Environment:
      Database:

      While viewing "Posts awaiting approval" you can click in the post title to see it, once you do that you get the post details.

      You get the post contest, and also the Topic review.

      At this point you get a JavaScript error :

      Error: syntax error
      bbcodeEnabled = ; 


      this happens because the code on posting_topic_review.html file :

      <script type="text/javascript">
      // <![CDATA[
      	bbcodeEnabled = {S_BBCODE_ALLOWED};
      // ]]>
      </script>

      A possible solution is replace the above code with :

      <script type="text/javascript">
      // <![CDATA[
      	bbcodeEnabled = <!-- IF S_BBCODE_ALLOWED -->1<!-- ELSE -->0<!-- ENDIF -->
      // ]]>
      </script>

      Or :

      <!-- IF S_BBCODE_ALLOWED -->
      <script type="text/javascript">
      // <![CDATA[
      	bbcodeEnabled = {S_BBCODE_ALLOWED};
      // ]]>
      </script>
      <!-- ENDIF -->

      This only happens in Prosilver, since Subsilver2 do not have this JavaScript code

            Acyd Burn Meik Sievertsen [X] (Inactive)
            leviatan21 leviatan21 [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: