Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[mybb]Display Avatars in threadlisting like Xenforo
#1
Display Avatars in threadlisting like Xenforo

Hi guys this is the tutorial based on xenforo's display avatar in thread listing.

it will help a lot of mybb users,so i bring you the tutorial.

so here we start with the tutorial:

1.First download the plugin by clicking this link
avatar in thread listing
avatar in thread listing.

2.transfer the file to your
Code:
web cp>public_html>your mybb root>inc>plugins

3.Activate the plugin via
Code:
ACP>plugins>aitl

4.now we have some template edits:

a. open yor
Quote:acp>themes and templates>templates>your theme template>forum display templates>forumdisplay_thread

find

Code:
{$attachment_count}

and add/replace after that with this code

Code:
<div>
            <table><tr><td id="tvatar">{$thread_avatar}</td><td>{$prefix} {$gotounread}{$thread['threadprefix']}<a href="{$thread['threadlink']}" class="{$inline_edit_class} {$new_class}" id="tid_{$inline_edit_tid}">{$thread['subject']}</a>{$thread['multipage']}<br><font color="grey">created by:</font> {$thread['profilelink']}</td></tr></table>        
        </div>

b.open your theme>global.css>edit in advanced mode

add this code at the bottom

Code:
#tvatar img {
    -moz-border-radius: 4px 4px 4px 4px;
    background-color: #FCFCFF;
    border: 1px solid #A5CAE4;
    max-height: 36px;
    max-width: 36px;
    padding: 2px;
}

dats it you are done.......

so let me show you the preview of what we are about to make
[Image: 2wfol4z.jpg]

so lets see the demo too:

click me
link

Thnkx to scoutie for this plugin
and mahigrafix for fixing this tutorial.
also regards to FBI.
[Image: lt79ucY.png]
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [MyBB] Postbit Display Group Galaxy 0 1,091 10-24-2014, 09:48 AM
Last Post: Galaxy

Forum Jump:


Users browsing this thread: 2 Guest(s)