Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Aiheen aloitti: Subject13 - syyskuu 05, 2011, 08:59:45 IP

Otsikko: Users Online Coding
Kirjoitti: Subject13 - syyskuu 05, 2011, 08:59:45 IP
Which file do I edit to change it from this to this...

Before:
00 Guests, 0 Users
Users active in past '000' minutes:
Admin, Testing 1, Testing 2


To

After:
00 Guests, 0 Users
Admin, Testing 1, Testing 2
Otsikko: Re: Users Online Coding
Kirjoitti: mashby - syyskuu 05, 2011, 09:04:23 IP
Themes/default/BoardIndex.template.php
Otsikko: Re: Users Online Coding
Kirjoitti: Subject13 - syyskuu 05, 2011, 09:08:02 IP
Any chance you know which line or what I change?
Otsikko: Re: Users Online Coding
Kirjoitti: mashby - syyskuu 05, 2011, 09:22:53 IP
BEFORE:
// Assuming there ARE users online... each user in users_online has an id, username, name, group, href, and link.
if (!empty($context['users_online']))
echo '
', $txt[140], ':<br />', implode(', ', $context['list_users_online']);

AFTER:
// Assuming there ARE users online... each user in users_online has an id, username, name, group, href, and link.
if (!empty($context['users_online']))
echo implode(', ', $context['list_users_online']);
Pretty sure that's it.
Otsikko: Re: Users Online Coding
Kirjoitti: Subject13 - syyskuu 05, 2011, 09:26:59 IP
Thank you so much!!! :D