2010-09-02, 05:25 PM
2010-09-02, 05:57 PM
I don't know what you're trying to ask.
2010-09-02, 06:21 PM
in 1.4.13 in forumdisplay.php at line 185 there was code
it shows moderators names colourised according to their usergroup or displaygroup namestyle (in AdminCP - Username style).
In 1.6 this code disappears.
that's why I'm asking - it's a bug or feature obsoletes ?
$moderator['username'] = format_name($moderator['username'], $moderator['usergroup'], $moderator['displaygroup']);
it shows moderators names colourised according to their usergroup or displaygroup namestyle (in AdminCP - Username style).
In 1.6 this code disappears.
that's why I'm asking - it's a bug or feature obsoletes ?
2010-09-02, 06:30 PM
Not sure really. Moderators as Groups was added as a feature so that might be why they removed it...
2010-09-02, 06:38 PM
I don't think so, groups and users are processed separately, nothing stops to do the same for users as in 1.4
1.6 forumdisplay.php lines 185-202:
1.6 forumdisplay.php lines 185-202:
if($moderator['isgroup'])
{
if(in_array($moderator['id'], $done_moderators['groups']))
{
continue;
}
$moderators .= $comma.htmlspecialchars_uni($moderator['title']);
$done_moderators['groups'][] = $moderator['id'];
}
else
{
if(in_array($moderator['id'], $done_moderators['users']))
{
continue;
}
$moderators .= "{$comma}<a href=\"".get_profile_link($moderator['id'])."\">".htmlspecialchars_uni($moderator['username'])."</a>";
$done_moderators['users'][] = $moderator['id'];
}
2010-09-02, 06:41 PM
Submit an issue over at http://dev.mybb.com and they will either fix it or explain the reason why it was removed
2010-09-02, 06:49 PM
I already submit other two bugs, no feedback. I provide patches for these bugs, still no feedback.
* asmile afraid to overflow bug tracking system
anyway I'll try.
just FYI:
colourising still works in
- "Who's Online" list in forum statistics,
- "User(s) browsing this forum" list in forum display
IMHO it looks like a bug
* asmile afraid to overflow bug tracking system
anyway I'll try.
just FYI:
colourising still works in
- "Who's Online" list in forum statistics,
- "User(s) browsing this forum" list in forum display
IMHO it looks like a bug
2010-09-02, 07:02 PM
That's because a lot of development staff are taking a little break after 1.6's release. However they are working their way through
2010-09-02, 08:18 PM
reported http://dev.mybboard.net/issues/1205
patch attached
patch attached