Users Stay Active

This forum is now closed as part of retiring phpBB2
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

This forum is now closed due to phpBB2.0 being retired.
Post Reply
User avatar
yngwiethps
Registered User
Posts: 138
Joined: Thu Jun 16, 2005 1:22 am
Contact:

Users Stay Active

Post by yngwiethps » Mon Mar 13, 2006 9:59 pm

Can you make the users online list so users stay on the list no matter how long it has been since they last clicked?

Just like Invision Power Boards,
where it displays the users names in order from who had clicked a page. And if you leave the site or log off, it takes you off the list.

User avatar
yngwiethps
Registered User
Posts: 138
Joined: Thu Jun 16, 2005 1:22 am
Contact:

Post by yngwiethps » Wed Mar 15, 2006 1:26 am

yo?

ckwalsh
Former Team Member
Posts: 1837
Joined: Wed Mar 15, 2006 1:50 am
Location: Seattle, USA
Name: Cullen Walsh
Contact:

Post by ckwalsh » Wed Mar 15, 2006 2:19 am

I've never written a Mod before, but *think* this is a really easy fix that doesn't need a special mod.

In the overall_header.tpl file of each of your styles, add this next to the other meta tags:

Code: Select all

<meta http-equiv="refresh" content="300">
That should force the page to refresh every 5 minutes, also re-adding them to the active users list.

chrisb123
Registered User
Posts: 409
Joined: Fri Jan 20, 2006 4:05 am
Location: Bury, UK

Post by chrisb123 » Wed Mar 15, 2006 4:42 am

Please note this will increase your bandwidth consumption

User avatar
Elias
Registered User
Posts: 4626
Joined: Sat Feb 25, 2006 4:31 pm
Location: In the Water!
Name: Elias

Post by Elias » Wed Mar 15, 2006 4:55 am

Is there a MOD just like this one but on the "who is online" the users always stay online..?
Is there anything like that?
"Mystery creates wonder, and wonder is the basis of man's desire to understand." - Neil Armstrong
|Installing Extensions|Writing Extensions|Extension Validation Policy|

chrisb123
Registered User
Posts: 409
Joined: Fri Jan 20, 2006 4:05 am
Location: Bury, UK

Post by chrisb123 » Wed Mar 15, 2006 4:59 am

there is a fake users mod if thats what u mean

User avatar
Elias
Registered User
Posts: 4626
Joined: Sat Feb 25, 2006 4:31 pm
Location: In the Water!
Name: Elias

Post by Elias » Wed Mar 15, 2006 5:01 am

And what does that MOD do?
"Mystery creates wonder, and wonder is the basis of man's desire to understand." - Neil Armstrong
|Installing Extensions|Writing Extensions|Extension Validation Policy|

chrisb123
Registered User
Posts: 409
Joined: Fri Jan 20, 2006 4:05 am
Location: Bury, UK

Post by chrisb123 » Wed Mar 15, 2006 5:02 am

Here >> http://www.phpbb.com/phpBB/viewtopic.php?t=180515

Ensure that is what you want by reading it properly and be aware that this mod is not a full release and shouldnt really be used on your live site :)

ckwalsh
Former Team Member
Posts: 1837
Joined: Wed Mar 15, 2006 1:50 am
Location: Seattle, USA
Name: Cullen Walsh
Contact:

Post by ckwalsh » Wed Mar 15, 2006 10:43 pm

It seems like it would be easy to set up a small, hidden ifram that refreshed every 5 minutes, and the page is would request wouldn't have anything, just readd them to hte list.

User avatar
stickerboy
Former Team Member
Posts: 7349
Joined: Mon Mar 29, 2004 2:27 pm
Location: Airdrie, UK (127.0.0.1)
Name: Kenny Cameron
Contact:

Post by stickerboy » Wed Mar 15, 2006 10:59 pm

Brainy wrote: It seems like it would be easy to set up a small, hidden ifram that refreshed every 5 minutes, and the page is would request wouldn't have anything, just readd them to hte list.

i'm sure someone did that for the admin panel :?
have you tried using the MOD search tool, or looked throught some older pages in the MOD Dev forums?
I'm a web-designing code-decrypting tech-support musician
|| Twitter || Flickr || phpBB Snippets ||
Formerly known as cherokee red

Merlin Sythove
Registered User
Posts: 2339
Joined: Tue Mar 16, 2004 7:42 am

Re: Users Stay Active

Post by Merlin Sythove » Thu Mar 16, 2006 9:10 am

yngwiethps wrote: Can you make the users online list so users stay on the list no matter how long it has been since they last clicked?

Just like Invision Power Boards,
where it displays the users names in order from who had clicked a page. And if you leave the site or log off, it takes you off the list.


How will you know, when someone has just requested a page, that they are sitting behind their computer reading it, or that they switched off their computer and have gone to the pub?

I have augmented my "Who is online" list by a list of users who have visited the board in the past 24 hours. That gives a good idea of how many people are interested and have seen some posts etc.

User avatar
yngwiethps
Registered User
Posts: 138
Joined: Thu Jun 16, 2005 1:22 am
Contact:

Post by yngwiethps » Sun Mar 19, 2006 5:17 am

Brainy wrote: I've never written a Mod before, but *think* this is a really easy fix that doesn't need a special mod.

In the overall_header.tpl file of each of your styles, add this next to the other meta tags:

Code: Select all

<meta http-equiv="refresh" content="300">
That should force the page to refresh every 5 minutes, also re-adding them to the active users list.


Hey thanks man.

User avatar
yngwiethps
Registered User
Posts: 138
Joined: Thu Jun 16, 2005 1:22 am
Contact:

Re: Users Stay Active

Post by yngwiethps » Mon Mar 20, 2006 4:35 pm

Merlin Sythove wrote:
yngwiethps wrote:Can you make the users online list so users stay on the list no matter how long it has been since they last clicked?

Just like Invision Power Boards,
where it displays the users names in order from who had clicked a page. And if you leave the site or log off, it takes you off the list.


How will you know, when someone has just requested a page, that they are sitting behind their computer reading it, or that they switched off their computer and have gone to the pub?

I have augmented my "Who is online" list by a list of users who have visited the board in the past 24 hours. That gives a good idea of how many people are interested and have seen some posts etc.


I dunno, so if i change
<meta http-equiv="refresh" content="300">
to <meta http-equiv="refresh" content="5">
and somebody is inactive for 5 seconds they are taken off the list?

Post Reply

Return to “[2.0.x] MOD Requests”