lessen length of time users show as online in CZ User info

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   lessen length of time users show as online in CZ User info
Cirque
CZ Newbie
Cirque has been a member for over 19 year's 19 Year Member
usa.gif newyork.gif
Gender: Male
Status: Offline
Joined: Sep 03, 2004
0.00 posts per day
Posts: 18
Points: 2,150
   
I am using a modified CZ User Info block v3 and 4, that shows who is online and such but I would like it not to show users who have left the site or closed their brower more then 5 mins ago. However I do not want users to have to log in every 5 minutes either.

Is this a possiblity and if so, what files need editing and what parts?


I also have an unreleated problem, perhaps someone is familar with it: I can validate SOME areas of files, or weblinks, but not others, and I cannot validate all of them at the same time. I get sent to a non existent page supposidly if I try. I had this problem before upgrading from 7.0 to 7.4 in hopes it would be fixed, but it is still bothering me. Any ideas would be helpful, thanks.

Edit: Just noticed I posted this in the area below the one I wanted to.. if anyone can move it to the correct forum area, thank you.

Edit:
Ok, after looking around some more I found a post mentioning mainfile.php for this, so the below change should do what I wanted. I keep track of my changes by adding in a comment and commenting out the old line. So does that look like the proper edit to have this check whos online within the last 5 mins?


// Check User Online every 5 mins instead of 30
//    $past = time()-1800;
    $past = time()-300;


And still having issues with not being able to validate all files or weblinks. Once in awhile I have to "fix block weight" to get my main index.php to appear also, but hard to say if thats truely fixing whatever causes it not to appear or its just random luck.

Update: My index.php, downloads, and weblinks all just went "not found" for a few moments. After disabling mod'ed cz whos online, link to me block, blookmark us block, and reenabling the normal login and whos online block and fixing weight of blocks, the pages came back. This is becoming a pattern, but I am unable to figure out the cause.

Any help would be most appreciated.


Back to top Reply with quote
#2   re: lessen length of time users show as online in CZ User in
Telli
Site Admin
Telli has been a member for over 20 year's 20 Year Member
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.06 posts per day
Posts: 8089
Points: 494,430
   
Not sure why your having those problems. If your not using a heavily modifeied admin area you may want to reupload the files. The session length is in the mainfile.php and the edit you made is correct.




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#3   re: lessen length of time users show as online in CZ User in
Cirque
CZ Newbie
Cirque has been a member for over 19 year's 19 Year Member
usa.gif newyork.gif
Gender: Male
Status: Offline
Joined: Sep 03, 2004
0.00 posts per day
Posts: 18
Points: 2,150
   
Apparently my theme (milo,modified) had something to do with it, so I went back and remodified it a bit less.. and somehow that seems to have made a diffrence. I am now able to verify weblinks and files using the 'verify all' type of link. All I can guess is I took out some td/tr/table tag that made a diffrence in rare occasions perhaps. This is nice because now I get to use the cz user block again without to much worry.



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
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 cannot attach files in this forum
You cannot download files in this forum