First time here? Check out the FAQ!

pol0nium's profile - activity

2021-06-30 19:48:44 -0500 received badge Taxonomist
2017-09-11 12:51:29 -0500 received badge Popular Question (source)
2016-08-25 01:24:24 -0500 received badge Popular Question (source)
2013-11-29 05:50:02 -0500 received badge Famous Question (source)
2013-06-29 05:33:52 -0500 received badge Famous Question (source)
2013-05-04 01:21:10 -0500 commented answer Specific user permission

I think you misunderstood me. I wasn't requesting a new feature. I'm just asking you those questions to understand the code and be able to add new features by my own. I'll take a look at askbot/models/__init__.py as you mentioned in your answer. I don't know yet if I prefer playing with badges for my custom permissions or adding new assertions into __init__.py. I'll give you a feedback of my work if you're interested. Thank you ;-).

2013-05-04 00:43:21 -0500 commented answer Specific user permission

If the guy is a member of my team (if I know him in real life!), then I know that he is an expert because I'm the admin and I decided it (with great power comes great responsibility)! So my goal is to highlight all his answers. Your idea about custom badge is great. I can define a custom badge without any rule to earn it and give him the badge manually through the admin panel.

So now, let's assume I have this badge. Is there a function like this : user_has_badge(badgename) ? I'd use such a function to test if I need to set a background in my template or not.

2013-05-04 00:38:43 -0500 commented answer What is this "dummy" tag and how to remove it?

Solution 1) worked just fine (why didn't I think about it?)

2013-05-04 00:38:24 -0500 received badge Scholar ( source )
2013-05-04 00:33:59 -0500 commented answer Specific user permission

The idea is to define someone as the only BMW expert and make all his posts appear in a specific color.

2013-05-03 23:17:01 -0500 commented answer What is this "dummy" tag and how to remove it?

The updated code is not working. I also tried to add old_data = old_data.replace("[[\"dummy\",[]]]", "") in the forwards method into save_category_as_json.py but it's not working too.

2013-05-03 22:29:41 -0500 commented answer What is this "dummy" tag and how to remove it?

I'll try this in a minute :)

2013-05-03 22:28:45 -0500 commented answer Specific user permission

Let's imagine I want to create a garage askbot forum. I want to create one user who will provide answers for "Ford" cars, one who will provide answers for "Renault" cars and one who will provide answers for "Bmw" cars. If I have such users, I'll assume they'll always give the best response and I want to highlight their answers. For this I see two possibilities : - automatically mark the answer as correct OR - set the answer background of a specific color.

What do you think about that? I think the background color is the better idea. How to add the feature?

Thanks !

2013-05-02 23:39:42 -0500 asked a question Specific user permission

Hi,

I would like to do two things : First, making everyone unable of marking an answer as correct. Then, creating an user which is capable of marking an answer as correct only if a specific tag is present in the post.

Is such a thing possible? If so, where should I implement it?

Thanks in advance.

2013-05-02 22:25:04 -0500 received badge Supporter (source)
2013-05-02 20:23:33 -0500 commented question What is this "dummy" tag and how to remove it?

This is a new install. I cloned the repository and followed the documentation for the installation.

2013-05-02 20:23:14 -0500 received badge Student (source)
2013-05-02 20:21:13 -0500 asked a question What is this "dummy" tag and how to remove it?

Hello,

I would like to remove the "dummy" tag category. Is it possible and how?

Screenshot can be found here : http://upl.lt/images/00801270107854910730.png

Thank you in advance.