Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-13565

Tracking forum

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.8.3, 1.8.4
    • Fix Version/s: 1.8.5, 1.9
    • Component/s: Forum
    • Labels:
      None
    • Database:
      PostgreSQL
    • Affected Branches:
      MOODLE_18_STABLE
    • Fixed Branches:
      MOODLE_18_STABLE, MOODLE_19_STABLE

      Description

      In the page that is in charge of generate the forums of a course (mod/forum/index.php), if we have the tracking disable, in the next learningforum. the link that we use to disable the tracking is not working. It gets the id's of the previous forum.

      To fix the problem
      we have to add the following code in the file index.php

          • 353,356 ****
          • 353,359 ----

      if ($forum->trackingtype == FORUM_TRACKING_OPTIONAL) {
      $trackedlink = '<a title="'.$strnotrackforum.'" href="settracking.php?id='.$forum->id.'">'.$stryes.'</a>';
      }
      + else

      { + $trackedlink = $stryes; + }

      } else

      { $unreadlink = '-'; $trackedlink = '<a title="'.$strtrackforum.'" href="settracking.php?id='.$forum->id.'">'.$strno.'</a>'; }

      }

        Attachments

          Activity

            People

            Assignee:
            skodak Petr Skoda
            Reporter:
            fjrincon Jesús Rincón
            Participants:
            Component watchers:
            Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              3/Mar/08