PDA

View Full Version : Alternatives for [time] Code


seventhaxis
02-01-2014, 05:46 PM
I've set up the DragonByte arcade but in the process of redesigning the layout, I'm running into one thing that consistently grinds my gears -- the [time] code. It breaks the layout and I just don't know how to keep from displaying the full <Month Day, Year, Time AM/PM>.

I just want to know how to display <Month Day, Year> when necessary. Thank you in advance for any and all help!

Here's an example found on the dbtech_vbarcade_home_stat template (the arcade home Latest Champion/Latest Scores statistics -- www.parallaxgaming.com/arcade.php).

<if condition="$stat['time']"><td class="blockrow">$stat[time]</td></if>

This results in using the parameters I configured in Datestamp Display Options within the AdminCP. I'd prefer to be able to use the Birthday code (F j, Y) or another of my choosing (if possible).

ozzy47
02-01-2014, 06:19 PM
Questions/Problems regarding modifications/styles need to be asked in the modification/style thread. That is where the support for modification/style is - not out here in the main forums. Please note that if a modification/style is unsupported (or even if it says it is supported), you may be on your own if you chose to install it.