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

Tracking forum

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.8.3, 1.8.4
    • 1.8.5, 1.9
    • Forum
    • None
    • PostgreSQL
    • MOODLE_18_STABLE
    • 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

            skodak Petr Skoda
            fjrincon Jesús Rincón
            Adrian Greeve, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              3/Mar/08