Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Display Avatars in Threadlist like XenForo (for MyBB)
03-05-2012, 04:36 AM (This post was last modified: 03-23-2012 11:55 PM by Detrition.)
Post: #1
Display Avatars in Threadlist like XenForo (for MyBB)
Firstly, you need to download and activate this plugin. Add to ./inc/plugins
Download Avatars in Threadlist
(when downloaded make sure you renamed it to aitl.php)

Second, you need to navigate here:
Code:
ACP > Themes and Templates > Templates > Your Theme Templates > Forum Display Teamples > Forumdisplay_thread

Find
Code:
<div>
            <span>{$prefix} {$gotounread}{$thread['threadprefix']}<a href="{$thread['threadlink']}" class="{$inline_edit_class} {$new_class}" id="tid_{$inline_edit_tid}">{$thread['subject']}</a>{$thread['multipage']}</span>
            <div class="author smalltext">{$thread['profilelink']}</div>
        </div>

Replace with
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>

Then, finally, add this code to your global.css
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;
}


You're done!
www find
quote
03-05-2012, 05:08 AM
Post: #2
RE: Display Avatars in Threadlist like XenForo (for MyBB)
Wow really good, too bad it requires a plugin or I could've integrated it in my themes.

[Image: YnmR8.png]
find
quote
03-08-2012, 05:12 AM
Post: #3
RE: Display Avatars in Threadlist like XenForo (for MyBB)
anydemo..or pictures dscribe before and after..........
find
quote
03-08-2012, 07:24 AM
Post: #4
RE: Display Avatars in Threadlist like XenForo (for MyBB)
It is used on the MyBB Addict threadslist.
www find
quote
03-08-2012, 07:37 AM
Post: #5
RE: Display Avatars in Threadlist like XenForo (for MyBB)
Peter you know you can do all the replacing via plugins?

I love to break things.
www find
quote
03-08-2012, 09:27 AM
Post: #6
RE: Display Avatars in Threadlist like XenForo (for MyBB)
Yes, it can be done but I don't have the time or will to do it at the moment. :P
www find
quote
03-10-2012, 04:14 AM
Post: #7
RE: Display Avatars in Threadlist like XenForo (for MyBB)
Although I won't be using this, it is a good tutorial.
Thanks for posting. =)
www find
quote
03-23-2012, 02:58 PM
Post: #8
RE: Display Avatars in Threadlist like XenForo (for MyBB)
Hi,

You have a download link to a .php file with a long name (it downloads as: "downloaded_file_232_26ce41d384ab5cd15d47d7f78f83776c.php") but it won't do anything. I added it via FileZilla to the plugins folder and then went through ACP as usual but it does not list.
find
quote
03-23-2012, 11:55 PM
Post: #9
RE: Display Avatars in Threadlist like XenForo (for MyBB)
I apologize! Rename the file to aitl.php
www find
quote
10-13-2012, 11:37 AM
Post: #10
RE: Display Avatars in Threadlist like XenForo (for MyBB)
nice..!!
thank's for share..
find
quote


Forum Jump:


User(s) browsing this thread: 1 Guest(s)


MyBB Addict | Contact Us | Return to Top | Return to Content | Mobile Version | RSS Syndication