MyBB Community Forums

Full Version: Change lang file "Guest" to "a Guest user"
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey gang, I can't find in language file where I edit the word guest.

Let's say that you let guest users post threads and the guest username is always "Guest", where in language files can I change "Guest" to "a Guest User"?

Thanks for any help.
Try inc/languages/english/global.php, line 231

$l['guest'] = "Guest";
(2018-10-27, 11:29 PM)Ashley1 Wrote: [ -> ]Try inc/languages/english/global.php, line 231

$l['guest'] = "Guest";

Hey Ashely, this didn't work, it didn't change anything.
guest text lang definitions appear many places throughout the project, can you post a screenshot of exactly where, I will try to find it.
Hi Michael

I had some time to look at this.

The definition i pointed out does seem to be the one, unless you are referring to somewhere else. see before and after pics.

[attachment=41193] [attachment=41192]
(2018-11-02, 07:43 PM)Ashley1 Wrote: [ -> ]Hi Michael

I had some time to look at this.

The definition i pointed out does seem to be the one, unless you are referring to somewhere else. see before and after pics.

Hi Ashley, thanks for your time and help!

I ended up having to run some SQL queries to rewrite the lang file word "Guest"
UPDATE mybb_threads SET username = 'a guest user' WHERE username = 'Guest';
UPDATE mybb_threads SET lastposter = 'a guest user' WHERE lastposter = 'Guest';
UPDATE mybb_posts SET username = 'a guest user' WHERE username = 'Guest';
The actual issue was a broken index file, believe it or not.