[ABD] Last Visit 1.0.1

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
User avatar
Mickroz
Registered User
Posts: 661
Joined: Thu Mar 06, 2003 11:20 pm
Location: Netherlands
Contact:

Re: [BETA] Last Visit 1.0.1

Post by Mickroz »

ahh yeah forgot about that,ok you could do that, i think that would be better...
I don't need to "get a life." I'm a Gamer, I have lots of lives!
Q: Whats a hash and a root password?
A: hash gets you high, root password gives you god powers, combine the 2 and you are invincible.
WheelGuy
Registered User
Posts: 201
Joined: Tue Jan 30, 2007 4:07 pm
Contact:

Re: [BETA] Last Visit 1.0.1

Post by WheelGuy »

Mickroz wrote:2007-06-03 - Version 1.0.1
  • Fixed not showing when logged in
  • Added guests
Updating from 1.0.0 to 1.0.1
uninstall 1.0.0 and install 1.0.1
Not showing "when" logged in or "not" logged in? I would like to exclude the showing of the bots.
User avatar
Mickroz
Registered User
Posts: 661
Joined: Thu Mar 06, 2003 11:20 pm
Location: Netherlands
Contact:

Re: [BETA] Last Visit 1.0.1

Post by Mickroz »

should be not logged in yes

open includes/functions.php

Find:

Code: Select all

		WHERE user_lastvisit >=' . strtotime("-1 day") . '
Replace With:

Code: Select all

		WHERE user_type <> 2
			AND user_lastvisit >=' . strtotime("-1 day") . '
I don't need to "get a life." I'm a Gamer, I have lots of lives!
Q: Whats a hash and a root password?
A: hash gets you high, root password gives you god powers, combine the 2 and you are invincible.
WheelGuy
Registered User
Posts: 201
Joined: Tue Jan 30, 2007 4:07 pm
Contact:

Re: [BETA] Last Visit 1.0.1

Post by WheelGuy »

Thanks... 8-)
joebanana
Registered User
Posts: 134
Joined: Tue Nov 23, 2004 6:28 pm

Re: [BETA] Last Visit 1.0.1

Post by joebanana »

And what if I want to exclude guests? I'd like to only see registered users. Thanks!
User avatar
Mickroz
Registered User
Posts: 661
Joined: Thu Mar 06, 2003 11:20 pm
Location: Netherlands
Contact:

Re: [BETA] Last Visit 1.0.1

Post by Mickroz »

you mean in the line where it says registered,hidden and guests?
I don't need to "get a life." I'm a Gamer, I have lots of lives!
Q: Whats a hash and a root password?
A: hash gets you high, root password gives you god powers, combine the 2 and you are invincible.
joebanana
Registered User
Posts: 134
Joined: Tue Nov 23, 2004 6:28 pm

Re: [BETA] Last Visit 1.0.1

Post by joebanana »

Nevermind I was able to figure it out :)
User avatar
Mickroz
Registered User
Posts: 661
Joined: Thu Mar 06, 2003 11:20 pm
Location: Netherlands
Contact:

Re: [BETA] Last Visit 1.0.1

Post by Mickroz »

ok
I don't need to "get a life." I'm a Gamer, I have lots of lives!
Q: Whats a hash and a root password?
A: hash gets you high, root password gives you god powers, combine the 2 and you are invincible.
northerncountry
Registered User
Posts: 381
Joined: Mon Apr 18, 2005 2:54 pm

Re: [BETA] Last Visit 1.0.1

Post by northerncountry »

This is a great mod. Thank you very much for your hard work!

I have request. Where it has the registered users list that visted today. I would like the statement to read "Registered members today" How hard is that to do?

Also, I would like to remove the bots from the list of users that visited today
joebanana
Registered User
Posts: 134
Joined: Tue Nov 23, 2004 6:28 pm

Re: [BETA] Last Visit 1.0.1

Post by joebanana »

northerncountry wrote:This is a great mod. Thank you very much for your hard work!

I have request. Where it has the registered users list that visted today. I would like the statement to read "Registered members today" How hard is that to do?
It's in the file /language/en/common.php (look for the entries added by the MOD)
northerncountry wrote:Also, I would like to remove the bots from the list of users that visited today
Check this post a little higher on this page :)
northerncountry
Registered User
Posts: 381
Joined: Mon Apr 18, 2005 2:54 pm

Re: [BETA] Last Visit 1.0.1

Post by northerncountry »

Thank you for the reply.
joebanana wrote: It's in the file /language/en/common.php (look for the entries added by the MOD)
It seems that this mod is using the variable 'REGISTERED_USERS' and I am not knowledgeable in this area to modify this mod. Can someone help me?

The post above is for removing the guests. Not the bots. i want to remove the bots only. Thanks
northerncountry
Registered User
Posts: 381
Joined: Mon Apr 18, 2005 2:54 pm

Re: [BETA] Last Visit 1.0.1

Post by northerncountry »

Ok, I guess I am not as dumb as I thought i was. I was able to figure out how to create a new variable and edit the mod to point to it. But I still need to know how to remove the bots from the list.

Thanks
Z3u5
Registered User
Posts: 57
Joined: Sun Feb 12, 2006 4:52 pm
Contact:

Re: [BETA] Last Visit 1.0.1

Post by Z3u5 »

In template file is LASTVISITS and in language is LAST_VISITS

Suggestion

Add permissions to view statistics of the last visit MOD, is very simple, but very useful
Brazilian Support - Suporte phpBB
northerncountry
Registered User
Posts: 381
Joined: Mon Apr 18, 2005 2:54 pm

Re: [BETA] Last Visit 1.0.1

Post by northerncountry »

This mod don't seem right. The counts stopped at 24 and doesn't put the usernames in the list once it hits 24. Anyone else having this problem?
WheelGuy
Registered User
Posts: 201
Joined: Tue Jan 30, 2007 4:07 pm
Contact:

Re: [BETA] Last Visit 1.0.1

Post by WheelGuy »

northerncountry wrote:This is a great mod. Thank you very much for your hard work!
I have request. Where it has the registered users list that visted today. I would like the statement to read "Registered members today" How hard is that to do?
Find the code below, in language/en/common.php and change the text on the right side. DON'T delete the %d or 0 though.

Code: Select all

'REG_VISITS_TOTAL'			=> '%d registered ',
	'REG_VISITS_ZERO_TOTAL'		=> '0 registered ',
	'REG_VISIT_TOTAL'			=> '%d registered ',
northerncountry wrote: Also, I would like to remove the bots from the list of users that visited today
That code above does remove the bots, believe me. I have it on my site.
Locked

Return to “[3.0.x] Abandoned MODs”