Avatars in Index Page
Aswin124 Offline
Junior Member
**
Posts: 22
Joined: Nov 2011
Post: #1
Avatars in Index Page
Hello guys,any one knows how to display avatars of last post's user in the index page ?
06-29-2012 02:26 PM
Find all posts by this user Quote this message in a reply
MrBrechreiz Offline
Member
***
Posts: 69
Joined: May 2012
Post: #2
RE: Avatars in Index Page
Look at this
http://yaldaram.com/showthread.php?tid=1836
06-29-2012 11:36 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Aswin124 Offline
Junior Member
**
Posts: 22
Joined: Nov 2011
Post: #3
RE: Avatars in Index Page
Ya I saw that already, don't have paypal to buy that stuff.
06-30-2012 12:39 AM
Find all posts by this user Quote this message in a reply
MrBrechreiz Offline
Member
***
Posts: 69
Joined: May 2012
Post: #4
RE: Avatars in Index Page
Look at this.

http://community.mybb.com/thread-114472.html
06-30-2012 01:06 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Aswin124 Offline
Junior Member
**
Posts: 22
Joined: Nov 2011
Post: #5
RE: Avatars in Index Page
Display Avatars in Threadlist, I want avatars in index page. I already have avatars in threadlist.
06-30-2012 01:12 AM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #6
RE: Avatars in Index Page
You can try this way:
http://mybbhacks.zingaburga.com/showthread.php?tid=1345

06-30-2012 01:52 AM
Find all posts by this user Quote this message in a reply
Aswin124 Offline
Junior Member
**
Posts: 22
Joined: Nov 2011
Post: #7
RE: Avatars in Index Page
Dosent seem to work Frown
06-30-2012 02:04 AM
Find all posts by this user Quote this message in a reply
MrBrechreiz Offline
Member
***
Posts: 69
Joined: May 2012
Post: #8
RE: Avatars in Index Page
Try this.

PHP Code:
1
2
3
4
5
6
7
8
9
10
<table>
<tr>
<td align="left" valign="center"><img src="{$mybb->user['avatar']}" alt="Avatar" width="50px"; height="50px" /></td>
<td>
<span class="smalltext">
<a href="{$lastpost_link}" title="{$full_lastpost_subject}"><strong>{$lastpost_subject}</strong></a>
<br />{$lastpost_date} {$lastpost_time}<br />{$lang->by} {$lastpost_profilelink}</span>
</td>
</tr>
</table>


replace your    forumbit_depth2_forum_lastpost  in Temlpate   Forum Bit Templates.

06-30-2012 02:13 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Aswin124 Offline
Junior Member
**
Posts: 22
Joined: Nov 2011
Post: #9
RE: Avatars in Index Page
Works, but thing is it shows only my avatar everywhere.

I think its bcz of $mybb->user['avatar']}
(This post was last modified: 06-30-2012 02:22 AM by Aswin124.)
06-30-2012 02:19 AM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #10
RE: Avatars in Index Page
Did you try to put the avatar code {$forum['avatar']} in your forumbit_depth2_forum_lastpost template to make sure whether the field already loaded?

(This post was last modified: 06-30-2012 02:24 AM by RateU.)
06-30-2012 02:23 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: