Page 1 of 1

{useronline} edit

Posted: Sat Jul 25, 2009 4:55 pm
by R0CKY
I cannot figure out how to edit the result of {useronline}.

At the moment it is displayed like this

1 Users online :: 0 Guests and 1 Registered

As my FAq will not have user registration, I'd like to edit that so it simply looks like this

1 Users online

I have tried a full search for {useronline} but cannot find anywhere I can format that result as above.

Any help...?

Thanks.

Re: {useronline} edit

Posted: Thu Jul 30, 2009 7:13 am
by Thorsten
Hi,

which version do you use?

bye
Thorsten

Re: {useronline} edit

Posted: Thu Jul 30, 2009 8:24 am
by R0CKY
Sorry, v2.5.0

Re: {useronline} edit

Posted: Thu Jul 30, 2009 8:40 am
by Thorsten
Hi,

open the file index.php, goto line 384 and edit this code

Code: Select all

    'userOnline'          => $totUsersOnLine.$PMF_LANG['msgUserOnline'].
                             sprintf($PMF_LANG['msgUsersOnline'],
                             $usersOnLine[0],
                             $usersOnLine[1]),
to

Code: Select all

    'userOnline'          => $totUsersOnLine.$PMF_LANG['msgUserOnline'],
bye
Thorsten

Re: {useronline} edit

Posted: Thu Jul 30, 2009 12:01 pm
by R0CKY
Thank you!