AVeryNiceWeb

How to add avatar in forum list, topic list and board index

Here we discuss all topic related to PHPBB 3.0 and up

How to add avatar in forum list, topic list and board index

Postby admin » Sun Mar 05, 2017 9:03 pm

Download plugin "Avatar of Poster on Index and Viewforum" for phpBB 3.11.
Installation is pretty straight forward and easy with the exception that in prosilver, the script can't find the lines to add in viewforum_body.html and forumlist_body.html.

It is recommended to do manual editing before forcing install.


For Absolution Style:

This places the poster avatar right next to the user's last post link.
Go to ~root/styles/absolution/template/forumlist_body.html

Find:
Code: Select all
<!-- ELSEIF not forumrow.S_IS_LINK -->


Add After:
Code: Select all
<dd class="lastpost"><span>
    <!-- IF forumrow.FORUM_LAST_POSTER_AVATAR --><li style="float: left; padding-top: 10px; margin-left: 5px; margin-right:  {forumrow.FORUM_LAST_POSTER_AVATAR_MARGIN}px;"><a href="{forumrow.U_LAST_POST}">{forumrow.FORUM_LAST_POSTER_AVATAR}</a></li><!-- ENDIF -->


This places the poster avatar at the start of the row next to the forum icon (the far left).
Find (aprox 26):
Code: Select all
<ul class="topiclist forums">


Add After <!-- ENDIF -->:
Code: Select all
<!-- IF forumrow.FORUM_LAST_POSTER_AVATAR --><dd style="float: left; padding-top: 10px; margin-left: 5px; margin-right:  {forumrow.FORUM_LAST_POSTER_AVATAR_MARGIN}px;"><a href="{forumrow.U_LAST_POST}">{forumrow.FORUM_LAST_POSTER_AVATAR}</a></dd><!-- ENDIF -->


Correct the category background image header :
Go to ~root/styles/absolution/theme/colours.css

Find:
Code: Select all
.custom-cat-header {
   background-color: #0e3860;
   background-image: url("{T_THEME_PATH}/images/custom-cat-header.gif");
   background-repeat: no-repeat;
   width: 930px; height: 41px;
}


Add After:
Code: Select all
.custom-cat-header2 {
   background-color: #0e3860;
   background-image: url("{T_THEME_PATH}/images/custom-cat-header.gif");
   background-repeat: no-repeat;
   width: 930px; height: 41px;
        margin-left: -10px;
}


Go to ~root/styles/absolution/template/forumlist_body.html
Find:
Code: Select all
<div class="custom-cat-header">

Replace with:
Code: Select all
<div class="custom-cat-header2">
The AVNW Support Team
http://www.AVeryNiceWeb.com

We also have great domain names for your next website. Go through the list and make an offer now!

Shopping for a new website? See our design deals.

How much is your website worth? Get a free estimate.

And, if our post has provided you with great information, there are a few ways you can show your appreciation:
  1. Like us on Facebook
  2. Post a review.- Posting a good review about this site could help us provide improved support.

Thank You!
User avatar
admin
Site Admin
 
Posts: 479
Joined: Sun Jan 12, 2014 11:18 pm
Location: New York City

Return to PhpBB 3.0.XX

Who is online

Users browsing this forum: No registered users and 0 guests

cron