Simple Machines Community Forum

Archived Boards and Threads... => Archived Boards => Install and Upgrade Help => Aiheen aloitti: snowmoon - elokuu 12, 2006, 05:35:41 AP

Otsikko: Where to change greeting text
Kirjoitti: snowmoon - elokuu 12, 2006, 05:35:41 AP
SMF Version: SMF 1.0.7
Hi. I've just installed SMF 1.0.7 and really like the look and feel of it. Two questions please:

1. When a user logs on, it says something like

Hey, {username}

I would like to change that to

Hello, {username}

Can anyone point me to where I need to change this text?

2. With the SMF default theme, a user sees two links at the top:
- Show unread posts since last visit
- Show new replies to your posts

But they don't show if I use the yaBB theme. Any idea how I can get these links on the yaBB them as they are really useful.

Thanks a lot.

Otsikko: Re: Where to change greeting text
Kirjoitti: Arbalot - elokuu 12, 2006, 05:43:52 AP
1 ) you open Themes/default/languages/index.english.php and find Hey

2)  you add this codes to index.tempalte.php file..
echo'
<a href="', $scripturl, '?action=unread">', $txt['unread_since_visit'], '</a><br />
<a href="', $scripturl, '?action=unreadreplies">', $txt['show_unread_replies'], '</a><br />
', $context['current_time'];

Otsikko: Re: Where to change greeting text
Kirjoitti: snowmoon - elokuu 12, 2006, 06:09:56 AP
Great thanks Arbalot. I've modified the files and all are working a treat. Thanks!