MyBB Community Forums

Full Version: Edited a file now cant see forum
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
i was trying to get the part where it says
Welcome back, <name>. You last visited: <time>
to make the <name> part a link... so i went and edited the file in

./inc/languages/english/global.lang.php

i found
$l['welcome_back'] = "<strong>Welcome back, {1}</strong>. You last visited: {2}";

and edited it to be
$l['welcome_back'] = "<strong>Welcome back, <a href='/usercp.php">{1}</a></strong>. You last visited: {2}";

but then when i went to refresh my forums it was just a blank white page

the then restored the default and still no luck...

any ideas??
Your syntax is wrong. It's supposed to be.

$l['welcome_back'] = "<strong>Welcome back, <a href=\"/usercp.php\">{1}</a></strong>. You last visited: {2}";

I recommend you use the language editor in the admin cp next time.
thank-you now it works =D. i didnt know there was a language editor in the admin cp Confused
Jay_Jay Wrote:thank-you now it works =D. i didnt know there was a language editor in the admin cp Confused

Yes there is. You have to make sure you CHMOD the files in your language folder to 666 so that your webserver can write to them, or else you won't be able to edit.