Recent Topics

1 May 16, 2010 14:23    

My b2evolution Version: 3.3.3

Hello there... I'm using b2evo 3.3.3. How can I show avatar image at sidebar in my blog?

Thank you..

2 May 16, 2010 23:37

Welcome to the forum.

You can add a Use avatar widget in Sidebar container on Blog settings > Widgets tab

3 May 17, 2010 15:47

sam2kb wrote:

Welcome to the forum.

You can add a Use avatar widget in Sidebar container on Blog settings > Widgets tab

Thank you for replying...

I couldn't find any avatar widget like you said.. :(

4 May 17, 2010 20:33

You're right, the widget was added in b2evo 4 :(

You can manually add the following code in the sidebar though.

global $Blog;

$owner_User = & $Blog->get_owner_User();

$img = $owner_User->get_avatar_imgtag( 'crop-80x80' ); // Any size defined in /conf/_advanced.php
$url = $owner_User->get_userpage_url( NULL ); // Link to user page

echo '<a href="'.$url.'">'.$img.'</a>';


Form is loading...