User last visit date/time

Get help with installation and running phpBB 3.1.x here. Please do not post bug reports, feature requests, or extension related questions here.
Ideas Centre
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTE: phpBB 3.1.x is at its End of Life stage and support will NOT be provided after July 1st, 2018.
Ivgoneridng
Registered User
Posts: 41
Joined: Mon Jan 16, 2017 6:23 pm

User last visit date/time

Post by Ivgoneridng »

Is there a way, without visiting each individual profile and without viewing the database directly of displaying when users last visited the forum? For example, would it be possible to display it as a column in the member list?
Last edited by bonelifer on Fri Jan 27, 2017 12:12 am, edited 1 time in total.
Reason: Moved from [3.1.x] Support Forum

User avatar
david63
Registered User
Posts: 17257
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: User last visit date/time

Post by david63 »

Ivgoneridng wrote:
Thu Jan 26, 2017 11:17 pm
would it be possible to display it as a column in the member list
If you use prosilver style then it already does
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

Ivgoneridng
Registered User
Posts: 41
Joined: Mon Jan 16, 2017 6:23 pm

Re: User last visit date/time

Post by Ivgoneridng »

I'm using a modified version of prosilver (colour change and modied login page only) and the membership list shows join date not last login.

User avatar
3Di
Former Team Member
Posts: 14837
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: User last visit date/time

Post by 3Di »

Switch to prosilver and see if it goes.
If it does then your modified style has issues.
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
:studio_microphone: Premium extensions @ The Studio

Ivgoneridng
Registered User
Posts: 41
Joined: Mon Jan 16, 2017 6:23 pm

Re: User last visit date/time

Post by Ivgoneridng »

All my sub-style does is change colours (colours.css) and modify the login page (login_body.html and login_forum.html). Everything else is inherited from pro silver


Because this topic has been moved from support requests to extension requests by a mod, I can't add my screen dumps showing that changing the colour makes no difference.

User avatar
3Di
Former Team Member
Posts: 14837
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: User last visit date/time

Post by 3Di »

3Di wrote:
Fri Jan 27, 2017 7:56 am
Switch to prosilver and see if it goes.
If it does then your modified style has issues.
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
:studio_microphone: Premium extensions @ The Studio

Ivgoneridng
Registered User
Posts: 41
Joined: Mon Jan 16, 2017 6:23 pm

Re: User last visit date/time

Post by Ivgoneridng »

3Di wrote:
Fri Jan 27, 2017 8:13 am
3Di wrote:
Fri Jan 27, 2017 7:56 am
Switch to prosilver and see if it goes.
If it does then your modified style has issues.
Ivgoneridng wrote:
Fri Jan 27, 2017 8:09 am

Because this topic has been moved from support requests to extension requests by a mod, I can't add my screen dumps showing that changing the colour makes no difference.

User avatar
david63
Registered User
Posts: 17257
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: User last visit date/time

Post by david63 »

Posting screen dumps has nothing to do with switching styles
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

Ivgoneridng
Registered User
Posts: 41
Joined: Mon Jan 16, 2017 6:23 pm

Re: User last visit date/time

Post by Ivgoneridng »

I know, but it shows that I have switched styles.

I switched styles and the list still shows joined date.

User avatar
3Di
Former Team Member
Posts: 14837
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: User last visit date/time

Post by 3Di »

I can confirm that in the 3.1.10's (the version which I am testing) prosilver it works.

http://prntscr.com/e0xm07
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
:studio_microphone: Premium extensions @ The Studio

Ivgoneridng
Registered User
Posts: 41
Joined: Mon Jan 16, 2017 6:23 pm

Re: User last visit date/time

Post by Ivgoneridng »

Having given myself global admin rights (was "just" board founder before) I can see last active, not last visit. Two different things.
From memberlist.php:
// If we sort by last active date we need to adjust the id cache due to user_lastvisit not being the last active date...

User avatar
3Di
Former Team Member
Posts: 14837
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: User last visit date/time

Post by 3Di »

I am "simply" the founder at my test board and I can see both of them: last visit and last active.

last joined and last active, sorry.
See the grab I above posted.

The excerpt of code you quoted isn't related, that's another stuff.
Last edited by 3Di on Fri Jan 27, 2017 8:45 am, edited 1 time in total.
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
:studio_microphone: Premium extensions @ The Studio

Ivgoneridng
Registered User
Posts: 41
Joined: Mon Jan 16, 2017 6:23 pm

Re: User last visit date/time

Post by Ivgoneridng »

Ivgoneridng wrote:
Fri Jan 27, 2017 8:38 am
Having given myself global admin rights (was "just" board founder before) I can see last active, not last visit. Two different things.
From memberlist.php:
// If we sort by last active date we need to adjust the id cache due to user_lastvisit not being the last active date...
As an example, I last visited my forum this morning at 8:31, but I was last active at 8:42.

Ivgoneridng
Registered User
Posts: 41
Joined: Mon Jan 16, 2017 6:23 pm

Re: User last visit date/time

Post by Ivgoneridng »

3Di wrote:
Fri Jan 27, 2017 8:42 am
I am "simply" the founder at my test board and I can see both of them: last visit and last active.

See the grab I above posted.

The excerpt of code you quoted isn't related, that's another stuff.
Your grab doesn't show last visit, and as founder with no admin rights I couldn't see even last active in the member list in prosilver

User avatar
3Di
Former Team Member
Posts: 14837
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: User last visit date/time

Post by 3Di »

I got the point.

Yes, indeed this stuff needs to be an extension.
So you need both last active and last joined or simply last active instead of last joined? Or both?
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
:studio_microphone: Premium extensions @ The Studio

Locked

Return to “[3.1.x] Support Forum”