MyBB Community Forums

Full Version: Template variable to display date a thread was created in forumdisplay?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Template variable to display date a thread was created in forumdisplay?
Is there one?
Like this: [Image: oFLOi.png] ?
yeah, that
If you've installed xThreads then paste the following code in your theme's forumdisplay_thread template;
<span class="smalltext">Posted on: <func my_date>{$mybb->settings['dateformat']},{$thread['dateline']}</func></span>
great, thanks!

edit: oh, when i did that, i got this ...

Parse error: syntax error, unexpected ')' in /home/admin/domains/harajuju.net/public_html/forumdisplay.php(1220) : eval()'d code on line 46
XThreads installed: {$thread['threaddate']} and {$thread['threadtime']}
Thanks Smile