Simple Machines Community Forum

SMF Support => SMF 2.1.x Support => Topic started by: Leinnan on March 10, 2015, 05:46:28 PM

Title: Last poster avatar in board index
Post by: Leinnan on March 10, 2015, 05:46:28 PM
How to show last poster avatar next to text in last_post div?
I use SMF 2.1 Beta 1.
Title: Re: Last poster avatar in board index
Post by: Dhayzon on March 10, 2015, 09:26:19 PM
http://www.simplemachines.org/community/index.php?topic=223656.460

can help you with something
Title: Re: Last poster avatar in board index
Post by: br360 on March 10, 2015, 10:51:19 PM
Just for fun; I just tested that code for 2.1 to see if it would work. I was able to get the last post avatar to show on the board index, but so much of the message.template.php code has been changed from 2.0-2.1 that I wasn't able to get that to work on the message index.

It also fills up the error logs, as well as gives a "Parse error: syntax error" when going into the miscellaneous of the modification settings in the admin panel (although that could just be my fault depending on whether or not I put the code in the right place in manage settings.)

Hopefully phantomm or someone else will be able to release a mod for this when 2.1 does become stable.
Title: Re: Last poster avatar in board index
Post by: Dhayzon on March 10, 2015, 11:47:40 PM
work me in messaggeindex.template  direct edit don't   admin setting

(http://i.imgur.com/dH2R49E.png)
Title: Re: Last poster avatar in board index
Post by: br360 on March 11, 2015, 12:06:34 AM
That looks pretty cool. What were the edits you made to the messageindex.template?