Current Version of SMF: RC2 1.1
Current Theme: blackTed
I was wondering if it was possible to change the 'Moderator:' prefix on the board description to something else.
By 'Moderator:' prefix, I mean within the board description if there's a moderator assigned it will display 'Moderator: x.'
Any help would be appreciated.
Thank you!
Nevermind!
Got it to work thru trial and error.
Much appreciated if anyone can tell me if there's anything wrong with the code I'm using?
echo '
<div style="padding-top: 1px;" class="smalltext"><b>', count($board['moderators']) == 0, 'Guild Head: ', implode(', ', $board['link_moderators']), '</b></div>';
You can just change the moderator word string in index.english.php couldn't you?
Yeah LGS is right, it's much easier to simply change the language files.
In /Themes/default/languages/index.english.phpFind:$txt[298] = 'Moderator';
$txt[299] = 'Moderators';Replace With:$txt[298] = 'Guild Head';
$txt[299] = 'Guild Heads';
That should be the right thing to edit. If you really want to go all out and change all instances of "Moderator" to "Guild Head" then look through every language file for instances of "Moderator" and change them. The files which have the word "Moderator" or "Moderators" in are:
- Admin.english.php
- Help.english.php
- index.english.php
- Install.english.php
- ManageBoards.english.php
- Reports.english.php
Although that's a lot of work for something which won't affect many of your members.
Oh, thanks guys, didn't know that.
Appreciate the help!
Much obliged.
You're welcome :) No problem.
Tau Online