SMF Development > Fixed or Bogus Bugs
Wrong number of reports shown to Local moderators
Vasya Pupkin:
Board (local) moderators can only see reports from their boards in moderation center, but in forum header they see a total number of reports from all boards.
String: There are currently ... moderator reports open.
Illori:
what version of smf are you running? what mods do you have installed?
Vasya Pupkin:
--- Quote from: Illori on April 09, 2011, 06:24:25 AM ---what version of smf are you running? what mods do you have installed?
--- End quote ---
SMF 2.0 RC5, default template
Mods:
Advanced Reputation System
SimpleSEF
The counter is placed in function recountOpenReports() in file Sources/ModerationCenter.php and it doesn't depend on mods installed.
Illori:
have you added this code or did it already exist in your index.template.php?
Arantor:
No, this is a bug, the count of open reports is global, it never runs an extra query to grab boards that the current user is moderator for.
Navigation
[0] Message Index
[#] Next page
Go to full version