News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

date registerd in post

Started by Chaos Dragon, September 15, 2008, 11:58:04 PM

Previous topic - Next topic

ManilaGurL

Where do I look for this? Thanks!


Quote from: Matthew Schenker on September 17, 2008, 06:04:27 PM
Thanks for this mod!  It's a nice, simple addition that helps members know a bit more about each other.

By the way, here's how I made this work, which may help others wanting to do the same thing:

After this section...
// Show the member's gender icon?
            if (!empty($settings['show_gender']) && $message['member']['gender']['image'] != '')
                echo '
                                ', $txt[231], ': ', $message['member']['gender']['image'], '<br />';


Add this...
// This will show the date that the user registered
            echo 'Member Since: ', strftime('%b %Y', $message['member']['registered_timestamp']), '<br />';


Thanks again for doing this!

Matthew

SA™

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 -___-

ManilaGurL

Okay, I need to install this app first then look for display template.php? Is that in themes folder? Sorry I am just confused.

SA™

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 -___-

bullbreedluverz

i want to change the date format from Jun 2008 (%b %y) to 06/08 - does anyone know the date code i need to put in to achieve that, thanks

SA™

ill have a look over the weekend for ya
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 -___-

bullbreedluverz

cheerz, ive seen them on the net before but tried searching and cant find em now

Xavi-Nena

ok upon applying this mod i got both files with a test failed, so i tried to add it where suggested in display.template and it is still not showing, what else should i do? thanks.

SA™

smf version ??


can you post up your diplay.template.php
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 -___-


SA™

you shore you added it i coudent find nopthing todo with this mod in thereor did you remove it ??

try attached
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 -___-

Xavi-Nena

Ok this is when i get:

Installing this package will perform the following actions:
   Type    Action    Description
1.    Execute Modification    ./Themes/default/Display.template.php    Test failed
2.    Execute Modification    ./Themes/default/languages/index.english.php    Test failed


and attached is the updated file.

SA™

did you try the file attached to my last post ??
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 -___-

Xavi-Nena

oh no not yet, is this an edited version of my file? im just double checking because my file had customizations to the layout i just want to make sure i dont lose those.

SA™

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 -___-

Xavi-Nena

lovely thanks...

now i just need to shorten the date info up

Xavi-Nena

Quote from: bullbreedluverz on January 16, 2009, 08:31:52 AM
i want to change the date format from Jun 2008 (%b %y) to 06/08 - does anyone know the date code i need to put in to achieve that, thanks

was this ever figured out?

SA™

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 -___-

JOSHSKORN

I'd like to be able to customize the format of the date.  Is there a way you can set this up so I can customize it without having to mess with the files themselves?  Kinda like a dropdown box somewhere when configuring it or a way to manually do it with codes?  Kinda like MS Excel.  Also, how about an option to customize the text?  Instead of the default "Date Registered" I'd like to specify what it says, maybe I'd say "Join Date" or just leave it at "Registered" without the hassle of modifying a file.

SA™

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 -___-

Advertisement: