Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Blocks
Author Message
jackel
Worker
Worker


Joined: Jan 15, 2009
Posts: 145
Location: Iowa, USA

PostPosted: Fri Mar 27, 2009 12:02 pm Reply with quote

Hey guys i have the user info from RN2.31

It works great but when someone closes the site it still shows them online in the user infor block is there anyway to fixs this so that even if they just close the site with out login out it shows them offline even in my who is where block is shows them online. I did a phpbbhack for online offline and it is accurate..


Thanks guys once again
 
View user's profile Send private message
jackel
PostPosted: Mon Mar 30, 2009 12:59 pm Reply with quote

any one have any ideas? Shocked
 
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 6793
Location: Ha Noi, Viet Nam

PostPosted: Tue Mar 31, 2009 1:21 am Reply with quote

First off, I believe the UserInfo block takes it's data from RavenNuke and not phpBB (the forum module).
What you are seeing is probably the result of;
a - the online status is updated at a given interval, not every second as that would use too many resources

b - browser caching
 
View user's profile Send private message Send e-mail
montego
Site Admin


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

PostPosted: Tue Mar 31, 2009 7:16 am Reply with quote

Sorry, running out of time this morning, but "G" is definitely right. They are separate time outs. I believe the one you are concerned about is in function online() within mainfile.php. The server has no idea these people closed their browsers, so you have to adjust the timeout period. It is probably this line here:

$past = time()-3600;

_________________
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
jackel
PostPosted: Tue Mar 31, 2009 10:44 am Reply with quote

Ty
 
luckson
New Member
New Member


Joined: Aug 02, 2008
Posts: 22
Location: NaGaLim

PostPosted: Mon Aug 02, 2010 12:48 am Reply with quote

Hi,
Please allow me to post my question regarding Info_Block_v1.1-RN.
Is there a way to enable/edit/add Lost password link in the block? I think Lost password is really necessary as some of my members/visitors have lost their passwords. Please enlighten me.

Heres the site 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
spasticdonkey
RavenNuke(tm) Development Team


Joined: Dec 02, 2006
Posts: 1693
Location: Texas, USA

PostPosted: Mon Aug 02, 2010 1:39 am Reply with quote

this one has a lost password link Wink 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 -> Blocks

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 ©