Rename and move "Last visit was:"

General discussion of development ideas and the approaches taken in the 3.x branch of phpBB. The next feature release of phpBB 3 will be 3.2/Rhea followed by 3.3.
Forum rules
Please do not post support questions regarding installing, updating, or upgrading phpBB 3.1. If you need support for phpBB 3.1 please visit the 3.1.x Support Forum on phpbb.com.

If you have questions regarding writing extensions please post in Extension Writers Discussion to receive proper guidance from our staff and community.
savemebarry
Registered User
Posts: 6
Joined: Mon May 25, 2015 1:31 pm

Rename and move "Last visit was:"

Post by savemebarry » Wed Sep 02, 2015 1:29 am

Hello. I think that the "Last visit was:" at the index would be better if it was renamed into "Last login was:", because the word 'visit' is a bit ambiguous.

Also, I think that it could be moved inside the UCP frontpage as that piece of information is for members only and to make the index even cleaner... what do you guys think?

User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 1731
Joined: Thu Mar 02, 2006 4:29 pm
Location: Earth
Contact:

Re: Rename and move "Last visit was:"

Post by DavidIQ » Wed Sep 02, 2015 1:40 am

The data displayed actually is "Last visit" not "Last login". They're both different data entries and tracked differently.
Image

User avatar
Pony99CA
Registered User
Posts: 986
Joined: Sun Feb 08, 2009 2:35 am
Location: Hollister, CA
Contact:

Re: Rename and move "Last visit was:"

Post by Pony99CA » Fri Sep 04, 2015 1:37 am

Presumably "visit" means "hit a phpBB page while logged in", so it's not when you logged in. If you were clicking through pages for hours, your last visit would be hours later than your login time.

Steve
Silicon Valley Pocket PC (http://www.svpocketpc.com)
Creator of manage_bots and spoof_user (ask me)
Need hosting for a small forum with full cPanel & MySQL access? Contact me or PM me.

User avatar
Louis7777
Registered User
Posts: 378
Joined: Fri Apr 04, 2014 12:32 am

Re: Rename and move "Last visit was:"

Post by Louis7777 » Fri Sep 04, 2015 2:22 am

Pony99CA wrote:
Fri Sep 04, 2015 1:37 am
Presumably "visit" means "hit a phpBB page while logged in"
This is currently my own last visit: Last visit was: Sat Feb 07, 2015 8:44 am

February? wtf

And at my profile there's the "last active": Last active: less than a minute ago

That one makes sense.

Khaos-Rage
Registered User
Posts: 35
Joined: Wed Aug 06, 2014 12:27 am

Re: Rename and move "Last visit was:"

Post by Khaos-Rage » Fri Sep 04, 2015 11:24 am

Louis7777 wrote:
Fri Sep 04, 2015 2:22 am
This is currently my own last visit: Last visit was: Sat Feb 07, 2015 8:44 am
Yeah mine said March 26, 2015, I think it may be date of last login.

Just logged out and back in and it now says "a minute ago".

User avatar
VSE
Extension Customisations
Extension Customisations
Posts: 670
Joined: Mon Mar 08, 2010 9:18 am

Re: Rename and move "Last visit was:"

Post by VSE » Fri Sep 04, 2015 6:39 pm

Last visit looks broken here. Mine also says February. However on phpBB.com, last visit is correct (shows a time from last night).

According to my login keys, I last logged in back in May, but last visit is showing a date even older than that. So I'm not sure what is wrong, but the session last visit time is definitely very stale and just wrong here.
Has an irascible disposition.

User avatar
Pony99CA
Registered User
Posts: 986
Joined: Sun Feb 08, 2009 2:35 am
Location: Hollister, CA
Contact:

Re: Rename and move "Last visit was:"

Post by Pony99CA » Fri Sep 04, 2015 8:59 pm

The Last Visit problem may also explain the problem that I reported in New Posts Not Working? back in January.

Steve
Silicon Valley Pocket PC (http://www.svpocketpc.com)
Creator of manage_bots and spoof_user (ask me)
Need hosting for a small forum with full cPanel & MySQL access? Contact me or PM me.

User avatar
VSE
Extension Customisations
Extension Customisations
Posts: 670
Joined: Mon Mar 08, 2010 9:18 am

Re: Rename and move "Last visit was:"

Post by VSE » Sat Sep 05, 2015 12:42 am

Pony99CA wrote:
Fri Sep 04, 2015 8:59 pm
The Last Visit problem may also explain the problem that I reported in New Posts Not Working? back in January.

Steve
That may well be the case. For me, it's all about Feb 22. That's when area51 thinks I last visited, and that's how far back my New Posts results go.

So the two are connected.
Has an irascible disposition.

User avatar
Dragosvr92
Registered User
Posts: 624
Joined: Tue May 31, 2011 12:08 pm
Location: Romania
Contact:

Re: Rename and move "Last visit was:"

Post by Dragosvr92 » Sat Sep 05, 2015 1:34 am

^Outch.

My last login key is from Sep 01. But my last visit is Last visit was: Sun Dec 14, 2014 1:08 pm.
This seems to work well on phpbb.com and my 3.1.5 board.
Previous user: TheKiller
Avatar on Memberlist 1.0.3

User avatar
bantu
3.0 Release Manager
3.0 Release Manager
Posts: 557
Joined: Thu Sep 07, 2006 11:22 am
Location: Karlsruhe, Germany
Contact:

Re: Rename and move "Last visit was:"

Post by bantu » Sun Sep 06, 2015 9:13 pm

This may have had to do with this board having system cron enabled, but lacking a call to cron. System cron is now off, which may fix this problem.

Post Reply