pol0nium's profile - activity

4 years ago received badge Taxonomist
7 years ago received badge Popular Question (source)
8 years ago received badge Popular Question (source)
11 years ago received badge Famous Question (source)
12 years ago received badge Famous Question (source)
12 years ago 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 ;-).

12 years ago 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.

12 years ago commented answer What is this "dummy" tag and how to remove it?

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

12 years ago received badge Scholar ( source )
12 years ago 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.

12 years ago 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.

12 years ago commented answer What is this "dummy" tag and how to remove it?

I'll try this in a minute :)

12 years ago 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 !

12 years ago 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.

12 years ago received badge Supporter (source)
12 years ago 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.

12 years ago received badge Student (source)
12 years ago 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.