MyBB Community Forums

Full Version: I need help!!! Last Post Bye Username Date and Time above
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
(2019-11-27, 06:11 PM)Stage4000 Wrote: [ -> ]Please note that I haven't extensively tested this change, and depending on your forum theme it could result in issues, particularly if a thread has many responses that require more than 1 page since the forumdisplay_thread will put page numbers on the thread list.


then there is no solution?
ok no problem
<tr class="inline_row">
	<td align="center" class="{$bgcolor}{$thread_type_class}" width="2%"><span class="thread_status {$folder}" title="{$folder_label}">&nbsp;</span></td>
	<td align="center" class="{$bgcolor}{$thread_type_class}" width="2%"><img src="images/ticon.png"</td>
	<td class="{$bgcolor}{$thread_type_class}">
		{$attachment_count}
		<div>
          <span>{$prefix} {$gotounread}{$thread['threadprefix']}<span class="{$inline_edit_class} {$new_class}" id="tid_{$inline_edit_tid}"><a href="{$thread['threadlink']}">{$stprf}{$clprf}{$clclr}{$stclr}{$str1}{$stprf}{$clprf}{$clclr}{$stclr}{$str1}{$stprf}{$clprf}{$clclr}{$stclr}{$str1}{$stprf}{$clprf}{$clclr}{$stclr}{$str1}{$stprf}{$clprf}{$clclr}{$stclr}{$str1}{$thread['subject']}{$str2}{$stimg}{$clclr2}{$stclr2}{$climg}{$str2}{$stimg}{$clclr2}{$stclr2}{$climg}{$str2}{$stimg}{$clclr2}{$stclr2}{$climg}{$str2}{$stimg}{$clclr2}{$stclr2}{$climg}{$str2}{$stimg}{$clclr2}{$stclr2}{$climg}</a></span>{$thread['multipage']}</span>
			<div class="author smalltext">{$thread['profilelink']} <br />
		{$lastpostdate}</div>
		</div>
	</td>
	<td align="center" class="{$bgcolor}{$thread_type_class}"><a href="{$mybb->settings['bburl']}/misc.php?action=whoposted&tid={$thread['tid']}" onclick="MyBB.whoPosted({$thread['tid']}); return false;">{$thread['replies']}</a>{$unapproved_posts}</td>
	<td align="center" class="{$bgcolor}{$thread_type_class}">{$thread['views']}</td>
	{$rating}
	<td class="{$bgcolor}{$thread_type_class}" style="white-space: nowrap; text-align: right;">
		<span class="lastpost smalltext"><a href="{$thread['lastpostlink']}">{$lang->lastpost}</a>: {$lastposterlink}<br/>{$lastpostdate}</span>
	</td>
{$modbit}
</tr>
there ya go
(2019-11-27, 06:13 PM)Stage4000 Wrote: [ -> ]ok no problem
<tr class="inline_row">
	<td align="center" class="{$bgcolor}{$thread_type_class}" width="2%"><span class="thread_status {$folder}" title="{$folder_label}">&nbsp;</span></td>
	<td align="center" class="{$bgcolor}{$thread_type_class}" width="2%"><img src="images/ticon.png"</td>
	<td class="{$bgcolor}{$thread_type_class}">
		{$attachment_count}
		<div>
          <span>{$prefix} {$gotounread}{$thread['threadprefix']}<span class="{$inline_edit_class} {$new_class}" id="tid_{$inline_edit_tid}"><a href="{$thread['threadlink']}">{$stprf}{$clprf}{$clclr}{$stclr}{$str1}{$stprf}{$clprf}{$clclr}{$stclr}{$str1}{$stprf}{$clprf}{$clclr}{$stclr}{$str1}{$stprf}{$clprf}{$clclr}{$stclr}{$str1}{$stprf}{$clprf}{$clclr}{$stclr}{$str1}{$thread['subject']}{$str2}{$stimg}{$clclr2}{$stclr2}{$climg}{$str2}{$stimg}{$clclr2}{$stclr2}{$climg}{$str2}{$stimg}{$clclr2}{$stclr2}{$climg}{$str2}{$stimg}{$clclr2}{$stclr2}{$climg}{$str2}{$stimg}{$clclr2}{$stclr2}{$climg}</a></span>{$thread['multipage']}</span>
			<div class="author smalltext">{$thread['profilelink']} <br />
		{$lastpostdate}</div>
		</div>
	</td>
	<td align="center" class="{$bgcolor}{$thread_type_class}"><a href="{$mybb->settings['bburl']}/misc.php?action=whoposted&tid={$thread['tid']}" onclick="MyBB.whoPosted({$thread['tid']}); return false;">{$thread['replies']}</a>{$unapproved_posts}</td>
	<td align="center" class="{$bgcolor}{$thread_type_class}">{$thread['views']}</td>
	{$rating}
	<td class="{$bgcolor}{$thread_type_class}" style="white-space: nowrap; text-align: right;">
		<span class="lastpost smalltext"><a href="{$thread['lastpostlink']}">{$lang->lastpost}</a>: {$lastposterlink}<br/>{$lastpostdate}</span>
	</td>
{$modbit}
</tr>
there ya go

ok thank you


good !



and the solution is that we only see the date?

but only show it until 11 o'clock, after that it shows the date, but I just want the date

can you help me ?

Thanks

so:

[Image: 7mlMPey.png]
Not sure what you mean
(2019-11-27, 06:22 PM)Stage4000 Wrote: [ -> ]Not sure what you mean

if the post time is past 11 o'clock, it will show the date and time afterwards, but I just want the date

can help me ?
THX
If you want to remove the time from all parts of your forum you can go to
configuration > settings > date and time formats
once there simply delete all the text in the Time Format field.

you should probably also delete the text in date/time seperator
(2019-11-27, 06:26 PM)Stage4000 Wrote: [ -> ]If you want to remove the time from all parts of your forum you can go to
configuration > settings > date and time formats
once there simply delete all the text in the Time Format field.

you should probably also delete the text in date/time seperator


i understand and if i open a new theme it will only show the date? but I want you to show the time until 11am

it is possible ?
This isn't possible without an understanding of PHP. If you understand PHP you can change the code directly, but since I don't know where this code is at specifically and since I am running short on time, I won't be able to help you with this.

I'm sure that someone else will come along and assist you though.
(2019-11-27, 06:30 PM)Stage4000 Wrote: [ -> ]This isn't possible without an understanding of PHP. If you understand PHP you can change the code directly, but since I don't know where this code is at specifically and since I am running short on time, I won't be able to help you with this.

I'm sure that someone else will come along and assist you though.

ok no problem 

if someone can help -- Thank you
Pages: 1 2