Advertisement:

Author Topic: Last poster avatar in board index  (Read 2495 times)

Offline Leinnan

  • Semi-Newbie
  • *
  • Posts: 28
Last poster avatar in board index
« 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.

Offline Dhayzon

  • Sophist Member
  • *****
  • Posts: 1,345
  • Gender: Male
  • DhayZone RevolutioN
    • Dhayzon on GitHub
    • @dhayzon on Twitter
    • http://dhayzon.com/
Re: Last poster avatar in board index
« Reply #1 on: March 10, 2015, 09:26:19 PM »

Offline br360

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 2,398
    • GenXcommunity
Re: Last poster avatar in board index
« Reply #2 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.

Offline Dhayzon

  • Sophist Member
  • *****
  • Posts: 1,345
  • Gender: Male
  • DhayZone RevolutioN
    • Dhayzon on GitHub
    • @dhayzon on Twitter
    • http://dhayzon.com/
Re: Last poster avatar in board index
« Reply #3 on: March 10, 2015, 11:47:40 PM »
work me in messaggeindex.template  direct edit don't   admin setting


Offline br360

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 2,398
    • GenXcommunity
Re: Last poster avatar in board index
« Reply #4 on: March 11, 2015, 12:06:34 AM »
That looks pretty cool. What were the edits you made to the messageindex.template?