on my site here: http://www.oldschooldaw.com/forums/index.php
id like to change the "last post by:" to show only the last date/time that a post was made
and not show the username at all
can anyone help me ?
BoardIndex.template.php
/* The board's and children's 'last_post's have:
time, timestamp (a number that represents the time.), id (of the post), topic (topic id.),
link, href, subject, start (where they should go for the first unread post.),
and member. (which has id, name, link, href, username in it.) */
if (!empty($board['last_post']['id']))
echo '
<p><strong>', $txt['last_post'], '</strong> ', $txt['by'], ' ', $board['last_post']['member']['link'] , '<br />
', $txt['in'], ' ', $board['last_post']['link'], '<br />
', $txt['on'], ' ', $board['last_post']['time'],'
</p>';
thanks very much!!!!!!!!!
do i have to make a new file called that? because i only have one called Board Index .php but not one called template?
where do i put this code?
forums/Sources?
or under /forums/Themes?
my specific theme im using doesnt have a file named BoardIndex.template.php, only has index.template.php
/Themes/default/BoardIndex.template.php for default Curve, or/Themes/themename/BoardIndex.template.php for whichever theme you're using if it has the file, else it will use the /default template.