On the small screen, how to add "last post author" and "last post time" on the Index page?

For support and discussion related to templates, themes, and imagesets in phpBB 3.2.
Post Reply
TianJiao
Registered User
Posts: 12
Joined: Wed May 24, 2017 6:18 am

On the small screen, how to add "last post author" and "last post time" on the Index page?

Post by TianJiao » Mon May 29, 2017 9:26 am

phpbb4.jpg
On the small screen, how to add "last post author" and "last post time" on the Index page?
thanks a lot.

TianJiao
Registered User
Posts: 12
Joined: Wed May 24, 2017 6:18 am

Re: On the small screen, how to add "last post author" and "last post time" on the Index page?

Post by TianJiao » Tue May 30, 2017 8:16 am

yeah, i know how to add them

In forumlist_body.html, find:

Code: Select all

						<!-- IF not S_IS_BOT -->
						<div class="responsive-show" style="display: none;">
							<!-- IF forumrow.CLICKS -->
								{L_REDIRECTS}{L_COLON} <strong>{forumrow.CLICKS}</strong>
							<!-- ELSEIF not forumrow.S_IS_LINK and forumrow.TOPICS -->
								{L_TOPICS}{L_COLON} <strong>{forumrow.TOPICS}</strong>
							<!-- ENDIF -->
						</div>
						<!-- ENDIF -->
just add one line:

Code: Select all

						<!-- IF not S_IS_BOT -->
						<div class="responsive-show" style="display: none;">
							<!-- IF forumrow.CLICKS -->
								{L_REDIRECTS}{L_COLON} <strong>{forumrow.CLICKS}</strong>
							<!-- ELSEIF not forumrow.S_IS_LINK and forumrow.TOPICS -->
								{L_TOPICS}{L_COLON} <strong>{forumrow.TOPICS}</strong>
								| {L_POSTS}{L_COLON} <strong>{forumrow.POSTS}</strong><br />{L_LAST_POST} {L_POST_BY_AUTHOR} {forumrow.LAST_POSTER_FULL}<br />&laquo; {forumrow.LAST_POST_TIME}
							<!-- ENDIF -->
						</div>
						<!-- ENDIF -->
phpbb8.jpg

Post Reply

Return to “[3.2.x] Styles Support & Discussion”