Ask Your Question
1

Can we force the karma to show on the line after the name?

asked 2011-07-13 09:18:35 -0500

NoahY gravatar image NoahY
313 4 2 14
https://github.com/NoahY/...

updated 2011-07-13 09:29:03 -0500

It looks like if your karma is over 1000, and you've got lots of badges, the karma appears beside the username in your answers. Just adding a
before the karma tag fixes this. I'm adding it to my server, and my git fork.

Edit: Ah, sorry, I see... it's the website that's the problem... it looks like an improper if statement in askbot/skins/default/templates/macros.html:

{% if not user.website %}<br/>{% endif %}

this seems useless, since the website comes below anyway... just leaving the <br/> works fine.

delete close flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2011-07-21 07:20:50 -0500

NoahY gravatar image NoahY
313 4 2 14
https://github.com/NoahY/...

So, the answer is to change the file askbot/skins/default/templates/macros.html:

{% if not user.website %}<br/>{% endif %}

to simply:

<br/>

link publish delete flag offensive edit

Comments

Still can't accept my own answer :P NoahY ( 2011-07-21 07:21:15 -0500 )edit
Yay... accepting own answer works now. NoahY ( 2011-07-22 10:58:16 -0500 )edit

Your answer

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Reliable Askbot Hosting

Create your Q&A site at askbot.com. Managed Askbot hosting at just $15/mo. Dedicated hosting, support contracts, consulting services.

create your Q&A site
30 days free trial

Question tools

Follow

subscribe to rss feed

Stats

Asked: 2011-07-13 09:18:35 -0500

Seen: 41 times

Last updated: Jul 21 '11