Page 1 of 1

Change the display duration of active users

Posted: Sun Jul 13, 2008 3:21 pm
by teelak
I have changed the active users from 5 mins to 60 mins from the ACP.
How could I change the display of "based on users active over the past 60 minutes" from 60 mins back to 5 mins after I changed the setting from ACP?

Thanks.

Re: Change the display duration of active users

Posted: Sun Jul 13, 2008 3:46 pm
by jimdunn
Is it not displaying the correct information after your ACP change ?
I just tested that ACP change and it seems to work ok for me.

Re: Change the display duration of active users

Posted: Sun Jul 13, 2008 5:40 pm
by teelak
oh...I mean, now I have changed the record from 5 mins to 60 mins by ACP
but I still want to show the display duration is 5 mins not 60 mins.

Re: Change the display duration of active users

Posted: Sun Jul 13, 2008 6:24 pm
by jimdunn
Oh, ok - I think I see
You mean you want to present misleading statistics to your users ?

Re: Change the display duration of active users

Posted: Mon Jul 14, 2008 3:30 am
by teelak
how could i do that pls?

Re: Change the display duration of active users

Posted: Mon Jul 14, 2008 3:45 am
by blazes
OPEN:

Code: Select all

language/en/common.php
FIND:

Code: Select all

'VIEW_ONLINE_TIMES'			=> 'based on users active over the past %d minutes',
REPLACE WITH:

Code: Select all

'VIEW_ONLINE_TIMES'			=> 'based on users active over the past 5 minutes',
I'm not gonna lie, I find this unethical and I don't think you should do it.

Re: Change the display duration of active users

Posted: Mon Jul 21, 2008 10:23 pm
by scotty123
Just tried to take this back to 5 minutes & got erros, so I'd leave it be ;)

Re: Change the display duration of active users

Posted: Mon Jul 21, 2008 10:30 pm
by scotty123
Opp's sorry posted 2x

Re: Change the display duration of active users

Posted: Mon Jul 21, 2008 11:02 pm
by blazes
What errors? I tested it before I posted it.

Re: Change the display duration of active users

Posted: Mon Jul 21, 2008 11:11 pm
by matgallis
Where exactly can u change this from the ACP? I've been searching for it :(

Re: Change the display duration of active users

Posted: Tue Jul 22, 2008 12:01 am
by jimdunn
ACP-Server Configuration
Load Settings-View online time span

Re: Change the display duration of active users

Posted: Sun Jul 27, 2008 8:47 am
by LCT
Hello, sorry for bad english... :oops:
Wonderful forum...

This is my problem: I want to change the duration of display users, but my admin account can't use the server configuration tab, and the admin founder isn't detectable at the moment.
But i have ftp login to the files of our phpbb 3.0.0 forum: my question is: can i change the duration of display users editing files manually? If possibile, what files?

Thanks!!! :D

Re: Change the display duration of active users

Posted: Sun Jul 27, 2008 8:55 am
by jimdunn
Not from the files, but if you have access to the database with phpmyadmin or something similar, it is stored in the load_online_time record in the phpp_config table.

Re: Change the display duration of active users

Posted: Mon Mar 09, 2009 8:48 am
by taimurkazmi
I have try to change my online time as per you instructions, now i am facing following error :-
VIEW_ONLINE_TIMES' [phpBB Debug] PHP Notice: in file /includes/functions.php on line 3760: Cannot modify header information - headers already sent by (output started at /language/en/common.php:857)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3762: Cannot modify header information - headers already sent by (output started at /language/en/common.php:857)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3763: Cannot modify header information - headers already sent by (output started at /language/en/common.php:857)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3764: Cannot modify header information - headers already sent by (output started at /language/en/common.php:857)

Please let me know what to do know ?