|
Display Avatars in Threadlist like XenForo (for MyBB)
|
|
03-04-2012, 06:42 PM
(This post was last modified: 03-04-2012 06:42 PM by BitzDefender.)
Post: #1
|
|||
|
|||
|
Display Avatars in Threadlist like XenForo (for MyBB)
By MyBBAddict.com
Firstly, you need to download and activate this plugin. Add to ./inc/plugins Download Avatars in Threadlist or aitl.php (Size: 1.35 KB / Downloads: 190)
Second, you need to naviagte here: Code: ACP > Themes and Templates > Templates > Your Theme Templates > Forum Display Teamples > Forumdisplay_threadFind Code: <div>Replace with Code: <div>Then, finally, add this code to your global.css Code: #tvatar img {You're done! |
|||
|
03-04-2012, 11:36 PM
Post: #2
|
|||
|
|||
|
RE: Display Avatars in Threadlist like XenForo (for MyBB)
do you have a screenshot of this?
|
|||
|
03-04-2012, 11:43 PM
Post: #3
|
|||
|
|||
|
RE: Display Avatars in Threadlist like XenForo (for MyBB)
|
|||
|
03-05-2012, 03:15 AM
Post: #4
|
|||
|
|||
|
RE: Display Avatars in Threadlist like XenForo (for MyBB)
hmm thanks might just add this
|
|||
|
03-05-2012, 06:58 PM
Post: #5
|
|||
|
|||
RE: Display Avatars in Threadlist like XenForo (for MyBB) This user has been denied support.
This plugin will add a lot of extra queries to the page. If you have 25 threads shown on a page you're going to run 25 extra queries. That will more than double the existing default queries. Just an FYI.
New MyBB plugin is "My Awards 2.0".
|
|||
|
03-05-2012, 11:04 PM
Post: #6
|
|||
|
|||
|
RE: Display Avatars in Threadlist like XenForo (for MyBB)
Wow I didn't even think of that...is there a way to do this more efficiently?
|
|||
|
03-05-2012, 11:52 PM
Post: #7
|
|||
|
|||
RE: Display Avatars in Threadlist like XenForo (for MyBB)
(03-05-2012 11:04 PM)BitzDefender Wrote: Wow I didn't even think of that...is there a way to do this more efficiently? e.g. replacing PHP Code: $query = $db->query("select * from " . TABLE_PREFIX . "users where uid={$thread['uid']}");with PHP Code: $thread_user = get_user($thread['uid']); would help reducing the amount of queries. My plugins | AutoMedia 2.1 |
|||
|
03-07-2012, 03:41 PM
Post: #8
|
|||
|
|||
|
RE: Display Avatars in Threadlist like XenForo (for MyBB)
this was the actual tutorial,and it was done by scoutie,FBI, Mahigrafix and some codes by me.
http://community.mybb.com/thread-79700-p...#pid643922 i wish you retain the original credits |
|||
|
03-07-2012, 09:14 PM
Post: #9
|
|||
|
|||
|
RE: Display Avatars in Threadlist like XenForo (for MyBB)
I saw the tutorial posted on another dead forum with no credits, and it had very bad grammar. So I fixed it up and posted it, I didn't know the code was yours so don't treat me like the bad guy.
|
|||
|
03-08-2012, 07:38 PM
Post: #10
|
|||
|
|||
|
RE: Display Avatars in Threadlist like XenForo (for MyBB)
Interesting find. I'm not yet quite sold on the idea of placing avatars in that exact spot (I find them distracting from the thread icons), but it does seem to be a popular design item with XF.
|
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)
Search
Member List
Calendar
Help



![[Image: xzd39.png]](http://i.imgur.com/xzd39.png)



This user has been denied support.
![[Image: 468x60_SF.gif]](http://supportforums.net/images/banners/468x60_SF.gif)

![[Image: mTTn4.png]](http://i.imgur.com/mTTn4.png)
![[Image: 468x60-1.png]](http://www.discussmarketing.org/forum/signatures/468x60-1.png)