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 » Mon Mar 06, 2017 1:03 am

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

If we have provided you with great information or service, there are a few ways you can show your appreciation:
  1. Become a AVNW Paid Subscriber.- We are constantly updating our data base with great tips and solutions to common problems, especially with Ultimate Member. If you found our site because of a WordPress issue, then your issue (if solved) will be published with the solution(s) for others to benefit from.
  2. Make a small donation.- We have buttons at the top and bottom that will allow you to do so via PayPal fast.
  3. Send us a testimonial.- Testimonials giving us praise for our good work is also valuable to us and encourages others to seek our support.
  4. Post a review (OP only).- If you came from a WordPress support board, posting a good review about our free service could also compel others to seek our advice & support.
  5. Like us on Facebook.- Recently our account had a problem on FB and we were forced to create a new one. We lost all our posts & likes. :(
If you do all 5, you'll get a surprise bonus from us. :)
Thank You!
User avatar
admin
Site Admin
 
Posts: 381
Joined: Mon Jan 13, 2014 3:18 am
Location: New York City

Return to PhpBB 3.0.XX

Who is online

Users browsing this forum: No registered users and 0 guests

cron