Announcement

Collapse
No announcement yet.

Disable Quick Reply per forum

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Disable Quick Reply per forum

    Is it possible (via template edit) to disable Quick Reply on a per forum basis?
    Techzonez - Tech News
    Techzonez Forums - Tech Community

  • #2
    I'm not sure, and I haven't tested this:
    Code:
    <if condition="$forumid == '5' $vboptions['qr0'] = '1'">
    <else />
    <!-- normal quick reply code comes here -->
    </if>
    For some reason I doubt this will work, perhaps you need to put this in phpinclude_start like this:
    Code:
    <if condition="$forumid == '5'">
    $vboptions['qr0'] = '1'
    </if>

    Comment


    • #3
      No,didn't work.
      Techzonez - Tech News
      Techzonez Forums - Tech Community

      Comment


      • #4
        Then I am afraid a source code modification might be required.

        Comment


        • #5
          Turn the Quick Reply option on.

          in the Showthread template find
          Code:
          $quickreply
          and replace with
          Code:
          <if condition="in_array($forumid, array(70,72))"> 
          $quickreply
          </if>
          Where 70 and 72 are a comma delimited list of forums that you want the quick reply turned ON.

          I haven't tested this, but it should work.

          Comment


          • #6
            Thanks Daveh,that works.
            Techzonez - Tech News
            Techzonez Forums - Tech Community

            Comment

            widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
            Working...
            X