asked 2012-03-21 11:38:34 -0500
This post is a wiki. Anyone with karma >100 is welcome to improve it.
Askbot developers, I can really use your help.
Under the subscriptions section I would like to have the option to get emails if questions are asked which contain my predefined tags.
So I want to - set a list of tags for which I want to receive alerts - get an alert if any question is posted with these tags.
Which python files should I edit to get this to work?
I have the dev. version installed.
answered 2012-03-21 13:21:21 -0500
This post is a wiki. Anyone with karma >100 is welcome to improve it.
There is a feature like that - give users a url such as:
http://example.com/subscribe-for-tags/?tags=bug askbot documentation
with space separated tags. Then users can subscribe.
Appropriate email subscription settings must be selected for that user too.
Please try it out.
answered 2012-03-22 07:24:09 -0500
This post is a wiki. Anyone with karma >100 is welcome to improve it.
Great! That works, I see the template for it in; askbot/skins/default/templates
I added
<form method="post" action="{% url subscribe_for_tags %}">{% csrf_token %}
<input type="text" name="tags" value="{{tags|join(' ')|escape}}" />
<input type="submit" name="ok" value="{% trans %}Subscribe{% endtrans %}" />
<input type="submit" name="nope" value="{% trans %}Cancel{% endtrans %}" />
</form>
to user_profile/user_email_subscriptions.html
and it's working fine as far as I can tell, although I haven't setup the email-servers yet :).
Thanks Evgeny
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 siteAsked: 2012-03-21 11:38:34 -0500
Seen: 55 times
Last updated: Mar 22 '12
Can tag preferences be displayed in the profile(/subscriptions) view?
should email from askbot be improved?
email for comments: link missing a href [fixed]
email subscription improvements suggestions
Is instant email tag filtered? [fixed]
Can askbot use sendmail instead of SMTP
Ability to add a question via email?
Copyright Askbot, 2010-2011. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.