Change the display duration of active users

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Suggested Hosts
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
Locked
teelak
Registered User
Posts: 11
Joined: Tue Mar 11, 2008 5:32 pm

Change the display duration of active users

Post by teelak » Sun Jul 13, 2008 3:21 pm

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.

User avatar
jimdunn
Registered User
Posts: 1570
Joined: Tue Mar 25, 2008 11:49 am
Location: Australia

Re: Change the display duration of active users

Post by jimdunn » Sun Jul 13, 2008 3:46 pm

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.

teelak
Registered User
Posts: 11
Joined: Tue Mar 11, 2008 5:32 pm

Re: Change the display duration of active users

Post by teelak » Sun Jul 13, 2008 5:40 pm

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.

User avatar
jimdunn
Registered User
Posts: 1570
Joined: Tue Mar 25, 2008 11:49 am
Location: Australia

Re: Change the display duration of active users

Post by jimdunn » Sun Jul 13, 2008 6:24 pm

Oh, ok - I think I see
You mean you want to present misleading statistics to your users ?

teelak
Registered User
Posts: 11
Joined: Tue Mar 11, 2008 5:32 pm

Re: Change the display duration of active users

Post by teelak » Mon Jul 14, 2008 3:30 am

how could i do that pls?

User avatar
blazes
Registered User
Posts: 579
Joined: Mon Feb 20, 2006 7:20 am

Re: Change the display duration of active users

Post by blazes » Mon Jul 14, 2008 3:45 am

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.
Image
I'm lazy and don't check my MOD support threads very often. If you need help and I'm not replying in the thread, PM me and yell.

User avatar
scotty123
Registered User
Posts: 77
Joined: Sun Dec 10, 2006 8:08 pm

Re: Change the display duration of active users

Post by scotty123 » Mon Jul 21, 2008 10:23 pm

Just tried to take this back to 5 minutes & got erros, so I'd leave it be ;)
Last edited by scotty123 on Mon Jul 21, 2008 10:54 pm, edited 1 time in total.

User avatar
scotty123
Registered User
Posts: 77
Joined: Sun Dec 10, 2006 8:08 pm

Re: Change the display duration of active users

Post by scotty123 » Mon Jul 21, 2008 10:30 pm

Opp's sorry posted 2x

User avatar
blazes
Registered User
Posts: 579
Joined: Mon Feb 20, 2006 7:20 am

Re: Change the display duration of active users

Post by blazes » Mon Jul 21, 2008 11:02 pm

What errors? I tested it before I posted it.
Image
I'm lazy and don't check my MOD support threads very often. If you need help and I'm not replying in the thread, PM me and yell.

matgallis
Registered User
Posts: 108
Joined: Fri Oct 13, 2006 1:03 am

Re: Change the display duration of active users

Post by matgallis » Mon Jul 21, 2008 11:11 pm

Where exactly can u change this from the ACP? I've been searching for it :(

User avatar
jimdunn
Registered User
Posts: 1570
Joined: Tue Mar 25, 2008 11:49 am
Location: Australia

Re: Change the display duration of active users

Post by jimdunn » Tue Jul 22, 2008 12:01 am

ACP-Server Configuration
Load Settings-View online time span

LCT
Registered User
Posts: 1
Joined: Sun Jul 27, 2008 8:38 am

Re: Change the display duration of active users

Post by LCT » Sun Jul 27, 2008 8:47 am

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

User avatar
jimdunn
Registered User
Posts: 1570
Joined: Tue Mar 25, 2008 11:49 am
Location: Australia

Re: Change the display duration of active users

Post by jimdunn » Sun Jul 27, 2008 8:55 am

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.

taimurkazmi
Registered User
Posts: 45
Joined: Fri Feb 20, 2009 6:45 am

Re: Change the display duration of active users

Post by taimurkazmi » Mon Mar 09, 2009 8:48 am

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 ?

Locked

Return to “[3.0.x] Support Forum”