Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> How To's
Author Message
Susann
Moderator


Joined: Dec 19, 2004
Posts: 3191
Location: Germany:Moderator German NukeSentinel Support

PostPosted: Wed Aug 29, 2007 8:40 am Reply with quote

Long time ago I found this small code snippets at phpBB to change the number from 5 minutes to something else:

Open:

includes/page_header.php

Find:

Code:
AND s.session_time >= ".( time() - 300 ) . "



Replace with:

Code:
AND s.session_time >= ".( time() - 600 ) . "


Open:
language/lang_english/lang_main.php

For PHPNuke:

/modules/Forums/language/lang_english/lang_main.php


Find:

Code:
$lang['Online_explain'] = 'This data is based on users active over the past 5 minutes.';



Replace with:

Code:
$lang['Online_explain'] = 'This data is based on users active over the past 10 minutes';



You can change this to 15, 20 minutes or whatever just don´t forget to change the text of lang_main.php also. Wink
 
View user's profile Send private message
montego
Site Admin


Joined: Aug 29, 2004
Posts: 9449
Location: Arizona

PostPosted: Wed Aug 29, 2007 8:09 pm Reply with quote

Thank you for this Susann!

_________________
Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> How To's

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©