02-10-2011, 01:59 AM
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
3.Activate the plugin via
4.now we have some template edits:
a. open yor
find
and add/replace after that with this code
b.open your theme>global.css>edit in advanced mode
add this code at the bottom
dats it you are done.......
so let me show you the preview of what we are about to make
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.
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
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.