News:

Want to get involved in developing SMF? Why not lend a hand on our GitHub!

Main Menu

last login in post

Started by Chaos Dragon, September 15, 2008, 11:59:18 PM

Previous topic - Next topic

Chaos Dragon

Link to Mod

This mod will display a member's last login next to their posts

if you theme has its own  display.template.php

find
echo '
', $txt[231], ': ', $message['member']['gender']['image'], '<br />';



after add

if ($message['member']['last_login'] != '')
echo '
', $txt['last_login'], ':', $message['member']['last_login'], '<br />';
"Never stop exploring new ideas, concepts and techniques, but never forget the old ones, they just may come in handy someday!"
"Don't give up! Otherwise you do not win and nothing gets accomplished!"
Einstein "Insanity is doing the same thing over and over again, and expecting different results..."
Do Not PM me for Support. They will be Ignored. Use the Threads the have been provided.

Sabre™

Nice mod mate.
I looked at it in the parser, and it states this
"This mod will show the Date user's joind next to all the posts that they make."

I think you added this sentence to one mod too many lol ;)

Keep up the good work mate :)
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


SA™

opps lol sry dam copy and past  :D ill update it tonight
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

Bobn

Hi,

Installed yer mod,, neat! But,, it just says ":Yesterday at 03:48:44 "  and not something like "Last Logged In Yesterday at 03:48:44 "

Where can I edit that bro?

SA™

are you using a custom theme ? if so has it got it own modifaction.english.php?

if so try adding this

$txt['last_login'] = 'Last Login';
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

RoarinRow


SMF 2.0
TP 1.0 RC1.1
Wordpress 3.1.3

alex30

how do you remove time from this?

thanks

Chaos Dragon

"Never stop exploring new ideas, concepts and techniques, but never forget the old ones, they just may come in handy someday!"
"Don't give up! Otherwise you do not win and nothing gets accomplished!"
Einstein "Insanity is doing the same thing over and over again, and expecting different results..."
Do Not PM me for Support. They will be Ignored. Use the Threads the have been provided.

flamechica

Will this be updated for RC2?

Chaos Dragon

Sorry for the late reply. I will try to have an update by the end of the week.
"Never stop exploring new ideas, concepts and techniques, but never forget the old ones, they just may come in handy someday!"
"Don't give up! Otherwise you do not win and nothing gets accomplished!"
Einstein "Insanity is doing the same thing over and over again, and expecting different results..."
Do Not PM me for Support. They will be Ignored. Use the Threads the have been provided.

flamechica

By any chance did you get around to updating this for RC2? I checked the download page, but the latest compatible version is RC1.2

Chaos Dragon

Working on it..Sorry other projects have taken a lot of my time...
"Never stop exploring new ideas, concepts and techniques, but never forget the old ones, they just may come in handy someday!"
"Don't give up! Otherwise you do not win and nothing gets accomplished!"
Einstein "Insanity is doing the same thing over and over again, and expecting different results..."
Do Not PM me for Support. They will be Ignored. Use the Threads the have been provided.

baijianpeng

Any progress on this? I want to install this Mod on 2.0 RC3 but failed.

Hope you will continue to develop it, this is a must-have Mod.

Thanks.
JoomlaGate: The way to the World of Joomla!

http://www.joomlagate.com

madman71

I have installed this on 2.0 RC 3 and it worked just fine.  Allow the package manager to write to your costume theme.  At least that's what i did.

madman71

Chaos,

thanks for this small but nice mod  ;)

rootuid

Not sure whey this isn't working on 2.0.2

Error in Package Installation
At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF.


   Type    Action    Description
*    1.    Execute Modification    ./Themes/default/Display.template.php    Test failed
      1.    Add After    ./Themes/default/Display.template.php    Test failed

Advertisement: