• Welcome to Simple Machines Community Forum. Please login or sign up.
November 28, 2021, 09:27:40 PM

News:

SMF 2.1 RC4 has been released! Try it out and help us test! :) Read more.


Your Last Visit

Started by M-DVD, June 05, 2009, 04:46:18 AM

Previous topic - Next topic

M-DVD

June 05, 2009, 04:46:18 AM Last Edit: June 29, 2009, 03:11:08 PM by M-DVD
Link to Mod




MOD Your Last Visit v1.1
=================






  • Author:
M-DVD
  • Version:
1.1
  • Release:
24th May 2009
  • Languages:

 
  • Compatible With:
SMF 1.1.1 - 1.1.9
SMF 2 RC1-1




Comment this Mod
My MODs
Images
Help support my MODs



Features:

  • With this MOD will be displayed the date/time the last visited in the Profile Header.
  • Also, will be displayed in the Profile.
  • The 'Last Visited' date, will be hidden (for normal members) if the member has hidden his online status
  • Extra: the 'Last Active' date, also will be hidden if the member has hidden his online status

Note 1: The date/time 'Last Visited' is different to 'Last Active'.
Note 2: At the moment install the MOD, the 'Last Visited' don't exists, and isn't shows. After the next visit or logout, the 'Last Visited' will be shows.

Thanks to Blinker for idea.

==========================

Languages (normal & utf-8)


$txt['your_last_visit'] = 'You last visited:';
$txt['last_visit'] = 'Last Visit';


I welcome new translations here

==========================

Características:

  • Con este MOD será mostrada la fecha de tu última visita en el Perfil de Cabecera.
  • También se mostrará en el Perfil de Usuario.
  • La 'Última Visita' se ocultará (para miembros normales) si el usuario ha activado 'ocultarle a otros usuarios que está conectado'.
  • Extra: La fecha 'Última vez Activo' también ocultará (para miembros normales) si el usuario ha activado 'ocultarle a otros usuarios que está conectado'.

Nota 1: La 'Última Visita' es diferente a 'Última vez Activo'.
Nota 2: Al momento de instalar el MOD no habrá ninguna 'Última Visita' registrada, por lo que no se mostrará. Luego de la próxima visita o cierre de sesión, la 'Última Visita' se mostrará.

Fin.

==========================

ChangeLog:



QuoteVersion 1.0 - 24th May 2009
   o Initial release.
   o Will be displayed the date/time the last visited in the Profile Header.
   o Compatible with SMF 1.1.X & SMF 2RC-X
Version 1.1 - 29th June 2009
   ! Fix bug, last visit date incorrect after login - Thanks Blinker by report
   + Also the last visit is displayed in the profile - Thanks Jessikard by idea
   o In the profile, the 'last visit' date will be hidden if the member has hidden his online status.
   * Extra: also the 'last active' date will be hidden if the member has hidden his online status.
   + English, English_British, Spanish_Es, Spanish_Latin and Greek in the package
   ? Unistall and ReInstall - Isn't neccesary re-edit yours custom templates files

QuoteLeyend
   o Feature
   * Change
   + Added
   - Eliminated
   ! Bug Fixed
   ? How to Update

M-DVD

Had less than 9 downloads, and the package was re-uploaded to fix a spelling mistake (thanks fille87 for reporting).

Eclipse16V

Here in German

// MOD Your Last Visit
$txt['your_last_visit'] = 'Letzter Besuch:';
I worked with:
SMF 2 in German

Shop:
SID Giessen

M-DVD

Quote from: Eclipse16V on June 05, 2009, 05:09:44 PM
Here in German

// MOD Your Last Visit
$txt['your_last_visit'] = 'Letzter Besuch:';


Thanks, have been uploaded :)

speedyuk7

I installed your mod, its nice but I changed the text to "Your last visit:" instead of "You last visited:", I think it's more correct like that.
Thanks for your mod
Here in polish tho :p

//   MOD Your Last Visit
$txt['your_last_visit'] = 'Ostatnia wizyta:';

Blinker

June 06, 2009, 02:45:10 AM #5 Last Edit: June 06, 2009, 02:48:47 AM by Blinker
Hi M-DVD

I realised I have a support question in the original mod request thread so I thought I better keep that stuff in this thread.

I'm not sure if this is how you intended the mod to work but when you log in it shows your last visit as the exact time of your login. It should show (rather, what I was originally wanting) was the logout time of the last visit.

For example:

Login at 12:10pm, browse for 20 mins and logout at 12:30pm. Log back in again at 4:30pm.

Currently it will show - You last visited: Today at 16:30:00

Instead, I would like it to show - You last visited: Today at 12:30:00

Does that make sense? I use this feature on VBulletin forums to work backwards and see which posts I should be reading in certain topics I'm following (that are new since my last visit). Using the unread posts feature is useless on a board that might have 10,000 new posts since my last visit.

Dante`

Here is turkish

//   MOD Your Last Visit
$txt['your_last_visit'] = 'Son Ziyaretin:';

and nice mod
thx

islam2hamy

nice mode

Arabic translation (utf-8) :

$txt['your_last_visit'] = 'آخر زيارة لك كانت فى :';

please before put the translation in the file be sure that the file encode is UTF-8

Arabic Translator - Web Designer
My Mods / My Themes  //  GfxLand





Sudhakar Arjunan

Good Mod.

Thank you M-DVD
Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum

Jessikard

i think it would be great - but is it possible to show this in each profile
because then the mods and admins can see how many time is between the visit now and the visit before


M-DVD

June 07, 2009, 08:02:26 PM #10 Last Edit: June 07, 2009, 08:06:51 PM by M-DVD
Quote from: speedyuk7 on June 05, 2009, 10:27:31 PM
I installed your mod, its nice but I changed the text to "Your last visit:" instead of "You last visited:", I think it's more correct like that.
Thanks for your mod

Thanks for your comments, and yes, have been fixed :)

--

Quote from: speedyuk7 on June 05, 2009, 10:27:31 PM
Here in polish tho :p

//   MOD Your Last Visit
$txt['your_last_visit'] = 'Ostatnia wizyta:';


Quote from: dantebyy on June 06, 2009, 05:36:58 AM
Here is turkish

//   MOD Your Last Visit
$txt['your_last_visit'] = 'Son Ziyaretin:';

and nice mod
thx

Quote from: islam2hamy on June 06, 2009, 05:48:23 AM
nice mode

Arabic translation (utf-8) :

$txt['your_last_visit'] = 'آخر زيارة لك كانت فى :';

please before put the translation in the file be sure that the file encode is UTF-8

Thanks for translate, have been uploaded :)

--

Quote from: Blinker on June 06, 2009, 02:45:10 AM
Login at 12:10pm, browse for 20 mins and logout at 12:30pm. Log back in again at 4:30pm.

Currently it will show - You last visited: Today at 16:30:00

Instead, I would like it to show - You last visited: Today at 12:30:00

I will check it ::)

--

Quote from: A.SK on June 06, 2009, 11:24:58 AM
Good Mod.

Thank you M-DVD

Thanks for your comment :)

--

Quote from: Jessikard on June 07, 2009, 07:39:11 PM
i think it would be great - but is it possible to show this in each profile
because then the mods and admins can see how many time is between the visit now and the visit before

I can try add this feature. Thanks. :)

Jessikard

if you could, you´ll be my hero , because that is a perfect mod for our forum  :-*

villasg

Good mod

greek
//   MOD Your Last Visit
$txt['your_last_visit'] = 'Η τελευταία σας επίσκεψη:';

M-DVD

Quote from: villasg on June 09, 2009, 05:07:13 PM
Good mod

greek
//   MOD Your Last Visit
$txt['your_last_visit'] = 'Η τελευταία σας επίσκεψη:';


Thanks for translate, in the next update i will add this translation. :)

--

Quote from: Jessikard on June 08, 2009, 02:23:05 AM
if you could, you´ll be my hero , because that is a perfect mod for our forum  :-*

Ok, I need a new text.

$txt['last_visit'] = 'Last Visit:';

I will include in the new package (It will have this new feature and an fix bug) all translations (Will be released when I have this new text.)

Jessikard

 O:) i think it would be one of the most helpful mods for our team

i expect your update and if it run to our 1.1.9 smf i´ll rate 5 stars for you

fille87

Translated to swedish:


//   MOD Your Last Visit
$txt['your_last_visit'] = 'Ditt senaste besök:';

Blinker

Quote from: M-DVD on June 07, 2009, 08:02:26 PM
Quote from: Blinker on June 06, 2009, 02:45:10 AM
Login at 12:10pm, browse for 20 mins and logout at 12:30pm. Log back in again at 4:30pm.

Currently it will show - You last visited: Today at 16:30:00

Instead, I would like it to show - You last visited: Today at 12:30:00

I will check it ::)

Hi M-DVD

Any news on this? It still shows current login time as last visit.

Have you (or anyone else) been able to replicate this?

villasg

greek-utf8
$txt['last_visit'] = 'Tελευταία επίσκεψη:';


milenmk

On Bulgarian - $txt['Вашето_последно_посещение'] = 'Вашето последно посещение:';

M-DVD

June 29, 2009, 02:59:11 PM #19 Last Edit: September 28, 2009, 12:20:58 AM by M-DVD
Update Your Last Visit v1.1:
=========================


New features:

  • Fix bug, last visit date incorrect after login - Thanks Blinker by report
  • Also the last visit is displayed in the profile - Thanks Jessikard by idea.
  • In the profile, the 'last visit' date will be hidden if the member has hidden his online status.
  • Extra: also the 'last active' date will be hidden if the member has hidden his online status.
  • English, English_British, Spanish_Es, Spanish_Latin and Greek in the package

How do I upgrade?

  • Uninstall the previous version
  • Install the new
  • Isn't neccesary re-edit yours custom templates files

=======================================

Características Nuevas:

  • Reparado bug con fecha problema luego de deslogearse.
  • Ahora, también es posible ver en el perfil de los usuarios la hecha de Última Visita.
  • Esta fecha no será visible (para usuarios normales) si el usuario mantiene oculto su estado de conexión.
  • Extra: También la fecha de Última vez Activo no será visible (para usuarios normales) si el usuario mantiene oculto su estado de conexión

¿Como actualizar?

  • Desinstalar la anterior versión
  • Instalar la nueva
  • No es necesario reeditar archivos templates

Advertisement: