Moodle

Tracking forum

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor 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>'; }
}

Activity

Hide
Petr Škoda (skodak) added a comment -

also if forum has tracking off the button to enable it is still there

Show
Petr Škoda (skodak) added a comment - also if forum has tracking off the button to enable it is still there
Hide
Petr Škoda (skodak) added a comment -

fixed in cvs, thanks for the report and patch

Show
Petr Škoda (skodak) added a comment - fixed in cvs, thanks for the report and patch

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: