First time here? Check out the FAQ!

comex's profile - activity

2014-10-09 03:50:43 -0500 received badge Famous Question (source)
2014-10-04 19:48:10 -0500 commented question Migration plans for Auth

any update on this? I still can't connect via Google+.

2014-10-04 19:47:26 -0500 commented answer Placing avatar next to question in homepage

I posted the way I did it, not the best though.

2014-10-04 19:46:48 -0500 answered a question Placing avatar next to question in homepage

I ended up editing askbot/templates/widgets/question_summary.html file. I created a new html under widgets, called user_card_small.html. This is because user_card.html gives relatively big avatar to put near voting boxes.

Here is question_summary.html change. I used votes again, I was lazy to change style.css :)

<div class="votes">                                                      
    {% with question.get_owner() as theuser %}               
    {% include 'widgets/user_card_small.html' %}             
    {% endwith %}                                            
</div>

Here is user_card_small.html

{% import "macros.html" as macros %}
{# 
    thumbnail for the user - shown on the users listings
    and elsewhere
#}
<div class="user-card">
    {{ macros.gravatar(theuser, 40) }}
</div>

Only problem though, it doesn't appear nice on the block since user_card has different size than voting box. Even though I played with css a bit, I couldn't get to fit it in the box.

2014-09-19 18:37:58 -0500 asked a question Placing avatar next to question in homepage

I would like to place user avatar's next to question in homepage. Any easy method to achieve this?