Advertisement:

Author Topic: How to remove the moderator from the link tree?  (Read 6549 times)

Offline faliro

  • Semi-Newbie
  • *
  • Posts: 81
How to remove the moderator from the link tree?
« on: February 25, 2017, 08:28:38 AM »
Just want the moderator removed from the linktree:


Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 58,500
  • Gender: Male
    • Kindred-999 on GitHub
Re: How to remove the moderator from the link tree?
« Reply #1 on: February 25, 2017, 08:35:30 AM »
Code: (Sources/MessageIndex.php) [Select]
$context['linktree'][count($context['linktree']) - 1]['extra_after'] = ' (' . (count($context['link_moderators']) == 1 ? $txt['moderator'] : $txt['moderators']) . ': ' . implode(', ', $context['link_moderators']) . ')';

untested....  but I think, commenting out that line should do the trick.
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.