[SOLVED] Question regarding last post author in board index

For support and discussion related to templates, themes, and imagesets in phpBB 3.2.
Post Reply
Aleksandar
Registered User
Posts: 126
Joined: Tue Feb 01, 2005 8:23 pm

[SOLVED] Question regarding last post author in board index

Post by Aleksandar » Mon Aug 05, 2019 9:34 pm

We have a custom style that originally did not show the last post author on the board index page. I looked around and it appears this is controlled by forumlist_body.html. I compared this file to the same file in the prosilver style and noticed a difference. In our custom style, the line that mentions "L_POST_BY_AUTHOR" are as follows:

Code: Select all

{# {L_POST_BY_AUTHOR} #}
Whereas in prosilver, that line is as follows:

Code: Select all

{L_POST_BY_AUTHOR} <!-- EVENT forumlist_body_last_poster_username_prepend -->{forumrow.LAST_POSTER_FULL}<!-- EVENT forumlist_body_last_poster_username_append -->
Seeing this, I replaced the line in the custom style with the line from the prosilver style and now the author's name appears. However, the one difference is that the name is on the same line as date/time as shown below:

Clipboard05.jpg

Is there a way to get it to show on a separate line? Our forum is at www.bearsfansonline.com if it helps.

Thanks in advance!
Last edited by Aleksandar on Mon Aug 05, 2019 11:36 pm, edited 1 time in total.

User avatar
3Di
Former Team Member
Posts: 14390
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: Question regarding last post author in board index

Post by 3Di » Mon Aug 05, 2019 9:42 pm

Append a <br> at the very end of that line.
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
✒️ Black Friday 2019 @ The Studio ▪️◾️

User avatar
warmweer
Registered User
Posts: 3059
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Belt ... well actually Belgium

Re: Question regarding last post author in board index

Post by warmweer » Mon Aug 05, 2019 9:46 pm

Did you by any chance remove the <br /> from <br />{forumrow.LAST_POST_TIME} ?

edit: basically the same idea as 3Di
The year is 2192. The British Prime Minister visits Brussels to ask for an extension of the Brexit deadline. No one remembers where this tradition originated, but every year it attracts many tourists from all over the world.

Aleksandar
Registered User
Posts: 126
Joined: Tue Feb 01, 2005 8:23 pm

Re: [SOLVED] Question regarding last post author in board index

Post by Aleksandar » Mon Aug 05, 2019 11:36 pm

Ah, I knew it was something obvious. Thanks a lot!

Post Reply

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