3 replies
Hello Warriors,

I am looking to have some extra Mods on my site however i want the members that are mods to not be displayed to other members so a sort of secret Moderator!

any ideas?

Danny
#machines #simple
  • Profile picture of the author brianoh
    Thanks for alerting me to this forum software Danny, it's one of the best freeware systems I've seen, and pretty close to what I've been looking for.

    'Quick & Dirty' answer, after a brief trawl through the code (it can't be done via Admin configs, unless I'm missing something). This is for version smf 1.1.10: can't say other vers are identical, but should be similar:
    Locate "\Themes\default\Display.template.php" in your Simple Machines directory.
    Locate the following comment (line 275 in above ver):
    // Show the member's primary group (like 'Administrator') if they have one.
    Add the following before the closing bracket on the next line:
    && $message['member']['group'] != 'Moderator'
    So the entire line should read:
    if (isset($message['member']['group']) && $message['member']['group'] != '' && $message['member']['group'] != 'Moderator')
    And that'll do the trick. At least, 'Moderator' won't show up in the 'Author' column, but it probably will in the member profile, haven't checked that out yet. Should be simple enough to fix as well.

    You'll have to repeat this for each "Display.template.php" file in any other Themes sub-directories.

    Or you could substitute 'Moderator' with 'Member'

    You could also a new Member Group (Admin->Members->Membergroups), e.g. 'Plainclothes Moderator' if you wanted to have some moderators displayed and some hidden, but you would still have to modify the above code. And don't forget to modify again for each update.

    A nicer solution would be to put in a feature request to make it a permanent option.

    I'm just a little curious as to why you want to do this? Umarked police car stuff? An egalitarian thing? You don't have to answer that of course

    Brian
    {{ DiscussionBoard.errors[1103025].message }}
  • Profile picture of the author Danny Cutts
    Cheers for the reply, I found a quick solution and that was to give SPACE moderator rights... however when they do mod something it says it was edited by the member doh!!

    So I will get on SMF over the next day or so and see what can be done

    Cheers

    Danny
    {{ DiscussionBoard.errors[1111960].message }}
    • Profile picture of the author brianoh
      Yeah, that's a somewhat easier solution, now that you mention it

      Re the mod edit message: that should be easy enough to eliminate as well. If you don't get any joy from the Simple Machines developers, contact me privately and I'll send you a fix for it - but again, it would have to be repeated for every update, and since there's no guarantee the code wouldn't have radically changed, it would be much better if it were built into the official releases.

      Brian
      {{ DiscussionBoard.errors[1112276].message }}

Trending Topics