{useronline} edit

You made an own skin or theme for phpMyFAQ. You can share it here with others!

Moderator: Thorsten

Post Reply
R0CKY
Posts: 62
Joined: Mon May 19, 2008 9:18 pm

{useronline} edit

Post 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.
Rocky.
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: {useronline} edit

Post by Thorsten »

Hi,

which version do you use?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
R0CKY
Posts: 62
Joined: Mon May 19, 2008 9:18 pm

Re: {useronline} edit

Post by R0CKY »

Sorry, v2.5.0
Rocky.
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: {useronline} edit

Post 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
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
R0CKY
Posts: 62
Joined: Mon May 19, 2008 9:18 pm

Re: {useronline} edit

Post by R0CKY »

Thank you!
Rocky.
Post Reply