Recent Topics

1 Jun 07, 2009 16:37    

My b2evolution Version: 3.2.0 Beta

We have this code

$Item->author( array(
				'before'    => '',
				'after'     => ':',
			) );


in the skin file that displays the author text link for each post..
Is there any code that displays the author's avatar for each post?
I want to display author's avatar at top of the posts that has link to profile instead of author text link..

2 Jun 07, 2009 16:49

				<?php
					$Item->author( array(
							'link_text'    => 'avatar',
							'link_rel'     => 'nofollow',
							'thumb_size'   => 'crop-32x32',
							'thumb_class'  => 'leftmargin',
						) );
				?>

¥

3 Jun 08, 2009 14:58

Thank u very much.. It works...
And how about the code that displays blog owner avatar in the sidebar?
If a blogger have chosen an avatar it automatically displays in the sidebar......

4 Jun 08, 2009 15:17

I'd imagine you'd need to code a widget to do that ;)

¥

5 Jun 08, 2009 23:57

farhad2na2 wrote:

Thank u very much.. It works...
And how about the code that displays blog owner avatar in the sidebar?
If a blogger have chosen an avatar it automatically displays in the sidebar......

that's sth in the avatars plugin that sam2kb took over afair


Form is loading...