First time here? Check out the FAQ!

mwise's profile - activity

2016-01-08 04:13:19 -0500 received badge Notable Question (source)
2013-03-22 18:22:54 -0500 received badge Notable Question (source)
2012-08-24 11:38:22 -0500 received badge Favorite Question (source)
2012-07-23 12:47:44 -0500 received badge Famous Question (source)
2012-07-23 02:38:17 -0500 received badge Famous Question (source)
2012-07-17 10:53:52 -0500 received badge Famous Question (source)
2012-07-07 10:50:35 -0500 received badge Nice Question (source)
2012-07-07 10:50:22 -0500 received badge Famous Question (source)
2011-10-02 12:04:01 -0500 received badge Popular Question (source)
2011-09-12 14:09:12 -0500 received badge Popular Question (source)
2011-07-27 08:37:17 -0500 received badge Good Question (source)
2011-07-08 00:03:36 -0500 received badge Nice Answer ( source )
2011-07-08 00:03:15 -0500 received badge Good Question (source)
2011-02-23 16:48:26 -0500 commented answer Can tag preferences be displayed in the profile(/subscriptions) view?
it would also be nice to have a method for bulk subscribing people to tags.. for example tags associated with maintainers of specific software. Yes each user could do this but it would be faster and cleaner for us programmatically generate it and send it to askbot
2011-02-23 16:43:05 -0500 commented answer how can I enable search for 3 characters or less?
do you have a tutorial for setting up Postgresql ?.. the reason we are using mysql is because there was a tutorial for it in the documentation...
2011-02-23 16:39:02 -0500 marked best answer Can an admin mark question as answered?

Hello, to get it done quickly - please change these two things:

(1) - function askbot.models.user_assert_can_unaccept_best_answer in the file askbot/models/__init__.py - this assertion is used for both accepting and unaccepting the best answer.

(2) - show icon "accept answer" to admins - around line 207 in askbot/skins/default/templates/question.html by changing it from

{% if request.user == question.author %}
       <img id="answer-img-accept-{{ answer.id }} ...

to

{% if request.user == question.author or request.user.is_administrator() %}
       <img id="answer-img-accept-{{ answer.id }} ...

Properly it would require adding a couple of settings to the configuration and updating test cases and fix the rep awarding.

Edit: one more thing -

change file askbot/skins/default/media/js/post.js around line 288

var bindEvents = function(){
        // accept answers
        if(true){//edit on this line: was questionAuthorId == currentUserId){
            var acceptedButtons = 'div.'+ voteContainerId +' img[id^='+ imgIdPrefixAccept +']';
2011-02-19 20:14:20 -0500 commented answer Can an admin mark question as answered?
thanks everything is now working :)
2011-02-19 18:50:19 -0500 commented answer Can an admin mark question as answered?
that's a partial fix... the icon shows up and I made the edit to __init__.py but when I click on the accept icon nothing happens.. is there something I'm missing..
2011-02-18 22:55:01 -0500 commented question Can an admin mark question as answered?
any idea where in the code I should start looking to enable this feature.. basically I need to change the js to allow the icon to be shown when the admin is looking at a question
2011-02-18 15:31:27 -0500 commented answer how can an admin answer own question and accept it?
ya you probably shouldn't get karma but for now I needed a hack :)
2011-02-18 13:57:38 -0500 received badge Nice Question (source)
2011-02-18 05:08:50 -0500 received badge Teacher ( source )
2011-02-18 05:08:50 -0500 received badge Self-Learner ( source )
2011-02-18 01:25:47 -0500 received badge Scholar ( source )
2011-02-18 01:25:47 -0500 marked best answer how can an admin answer own question and accept it?

To get this done I am thinking of having the following settings:

  • minimum reputation to accept answer by person != original poster, with admins and mods exempt from the limit
  • minimum days to wait to allow such acceptance (can be 0)
  • enable/disable the feature

The "acceptor" does not earn reputation in such cases.

2011-02-18 00:39:45 -0500 answered a question how can an admin answer own question and accept it?

well i put in a hack in __init__.py on L241:

if self == answer.get_owner() and not self.is_administrator():
2011-02-17 22:31:06 -0500 asked a question Can an admin mark question as answered?

We have a lot of new users who are not familiar with askbot and are not marking the questions as answered is there a way for an admin to mark a question as answered.

2011-02-17 20:13:06 -0500 asked a question Can I respond to a question via email?

Is there a setting that would allow users to respond to a question via email without going to the askbot site?

2011-02-17 20:10:11 -0500 received badge Supporter (source)
2011-02-17 20:08:34 -0500 asked a question How can an admin create lots of tags all at once?

We have a use case where we'd like to seed our askbot with a lot of tags that reference packages in our main repository. This has two functions for us, our users will select the appropriate tags and our developers can sign up to get emails from the tags that are relevant to them so that we can answer questions as they come in without looking for them.

2011-02-16 20:24:07 -0500 received badge Nice Question (source)
2011-02-16 19:36:35 -0500 commented answer how can an admin answer own question and accept it?
sounds good, can't wait to get the hack
2011-02-15 15:50:08 -0500 commented question how can an admin answer own question and accept it?
great thanks
2011-02-14 20:43:48 -0500 commented question how can an admin answer own question and accept it?
we can work around it by using two accounts but it would be nice to have the feature for admins. We're getting our Q&A forum up and running over the next week or so
2011-02-14 20:02:07 -0500 received badge Student (source)
2011-02-14 20:00:42 -0500 received badge Organizer (source)
2011-02-14 19:59:37 -0500 asked a question how can an admin answer own question and accept it?

Basically we want to seed a bunch of questions to our askbot forum and would like to allow a couple people to answer and accept answers to questions.