Customizing SMF > SMF Coding Discussion
Disable Date Time Stamp
arromus:
Is there a way to disable the time date stamp that shows when a post was made? IE. I don't want the post to have the date of when it was posted on my board.
Thank you,
Arromus
[Unknown]:
Yes, you can modify templates to take it out.... which places do you want it not to show up?
Everywhere? That would be in the MessageIndex (list of topics), Recent (new topics), Display (topic), BoardIndex (the main page of the forum), Search (search... ;).), and a few other templates.
There is no button to click, however, to stop showing the times things were posted on. (so you will need to modify templates... but, you won't have to modify the source files.)
-[Unknown]
arromus:
Thank you for your quick reply! ;)
Arromus
arromus:
Could you give me an example of the coding I'm looking fo in the MessageIndex... file.
Thanks,
Arromus
arromus:
Is this the code I need to remove?
<td class="smalltext" valign="middle" width="22%">';
if (!empty($board['last_post']['id']))
echo '
', $txt[22], ' ', $txt[30], ' ', $board['last_post']['time'], '<br />
', $txt['smf88'], ' ', $board['last_post']['link'], ' ', $txt[525], ' ', $board['last_post']['member']['link'];
echo '
</td>
Thanks...
Navigation
[0] Message Index
[#] Next page
Go to full version