MyBB Hacks

Full Version: Date Field?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I was just wonder if it's possible, through the 'Custom' Input Field Type to create a date input. Something like:

[Image: attachment.php?aid=174]

And then just display as: 05 January 2004

I would do this myself, but I'm not 100% sure how the custom option works, in terms of variables and whatnot.
It's probably a little convoluted, though you could make a day+month+year field and then edit templates to display them on one line.  Make each of them selectboxes and set Hide Input Field = Yes.  Then make a copy of the newthread and editpost_first templates, with custom forum prefix and then edit this copy sticking in HTML for the field.  You can use {$tfinput['key']} to denote the HTML of the input field itself.

Sorry for the quick explanation - hopefully it makes sense.
Oh, duh, I don't know why I didn't think of that. Lol, thank you Zinga Smile
Reference URL's