Simple Machines Community Forum

Archived Boards and Threads... => Archived Boards => SMF Feedback and Discussion => Aiheen aloitti: Thiefjack - elokuu 19, 2006, 01:21:42 AP

Otsikko: Changing 'Moderator' to 'Board Admin' on board description
Kirjoitti: Thiefjack - elokuu 19, 2006, 01:21:42 AP
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>';
Otsikko: Re: Changing 'Moderator' to 'Board Admin' on board description
Kirjoitti: L.G.S - elokuu 19, 2006, 06:02:50 AP
You can just change the moderator word string in index.english.php couldn't you?
Otsikko: Re: Changing 'Moderator' to 'Board Admin' on board description
Kirjoitti: Tristan Perry - elokuu 19, 2006, 06:17:14 AP
Yeah LGS is right, it's much easier to simply change the language files.

In /Themes/default/languages/index.english.php
Find:
$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:


Although that's a lot of work for something which won't affect many of your members.
Otsikko: Re: Changing 'Moderator' to 'Board Admin' on board description
Kirjoitti: Thiefjack - elokuu 19, 2006, 02:07:55 IP
Oh, thanks guys, didn't know that.

Appreciate the help!
Much obliged.
Otsikko: Re: Changing 'Moderator' to 'Board Admin' on board description
Kirjoitti: Tristan Perry - elokuu 19, 2006, 04:52:26 IP
You're welcome :) No problem.
Tau Online