Not Solved Avatar on last post
#1
Not Solved
Is there a way to display a users avatar on the forum display catergory sections where it says
Last post by.....
So basically the avatar from the last user to post would display?

Either we could post the avatar by the last post section or allow another colum on page? Huh

The section of page i refer to is seen in the image
   
Reply
#2
Not Solved
This would require a plugin that fetches the avatar for display. If you post in the plugins group I'm sure someone would help you with this relatively simple plugin. I would if I had the time, but I don't. Sorry Smile
Reply
#3
Not Solved
Thanks for that Smile
Wasnt sure how it could be done and if it could be done as a template edit as such.
Ive posted it in the plugin request section.

Thanks for your thoughts
Reply
#4
Not Solved
Heres what you can use to call a users avatar :
<img src="{$mybb->user['avatar']}" height="40" width="40" >

So maybe adding a new colum in forumdisplay somewhere might work.
Reply
#5
Not Solved
<img src="{$mybb->user['avatar']}" height="40" width="40" >

That wouldn't work. It would display your avatar.
No longer involved in the MyBB project.
Reply
#6
Not Solved
Hmm, I didn't even consider calling the $mybb var directly in the template like that. Good call Janota. Elegant solution.
Reply
#7
Not Solved
(2010-08-15, 08:45 PM)N.Malcolm Wrote: <img src="{$mybb->user['avatar']}" height="40" width="40" >

That wouldn't work. It would display your avatar.

Yes, that would, which is why I didn't think of it. Crud, and here I was congratulating Janota on a nice idea. It still IS a nice idea, however it still needs the plugin to work.

<img src="{$poster['avatar']}" height="40" width="40" >
added into the appropriate place in forumdisplay_thread template then just needs a plugin to load that variable.

And then the plugin simply
Reply
#8
Not Solved
i want this plugin too.. anyone?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)