Last Post Avatar

Shows avatars from last posters in forum sections

This little plugin will show the avatar of the latest poster in the forums sections and forums topics page.

#1. Installation:

  1. Download the file and unzip it to a folder.
  2. Upload the folder 'lastpostavatar' to your Cotonti plugins folder.
  3. Go to Adminstration / Extensions and install the plugin.

#2. Adding tags to the TPL files:

In forums.topics.tpl

<!-- BEGIN: FORUMS_SECTIONS_ROW_SECTION -->
    <img src="{POSTER_AVATAR_TOPICS_SECTIONS}" alt="{POSTER_AVATAR_TOPICS_SECTIONS_NAME}" height="30px;" width="30px;" />
<!-- END: FORUMS_SECTIONS_ROW_SECTION -->
<!-- BEGIN: FORUMS_TOPICS_ROW -->
    <img src="{POSTER_AVATAR_TOPICS}" alt="{POSTER_AVATAR_TOPICS_NAME}" height="30px;" width="30px;" />
<!-- END: FORUMS_TOPICS_ROW -->

In forums.sections.tpl

<!-- BEGIN: SECTION -->
    <img src="{POSTER_AVATAR_SECTIONS}" alt="{POSTER_AVATAR_SECTIONS_NAME}" height="30px;" width="30px;" />
<!-- END: SECTION -->

You can change the height and width of the avatars to whatever works for you.


1. Kingsley  2012-03-26 15:37

nice one twieb!

2. diablo  2012-05-01 17:18

just the thing i need

3. Lover  2014-09-12 08:21

link borcked !

Only registered users can post new comments