Ask Your Question
0

Why just admin questions are notified by mail?

asked 2020-08-11 10:56:24 -0500

Hi.

I installed askbot in my server and I just need the email alerts configuration to present it to my users.

According to my tests, just the questions created by the admin are notified by mail. I created another users but when a question is created by them, mails notifications do not arrive :(

I also decrease the value to be an approved user to 1, with no success.

Please any help is appreciated.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-08-12 17:49:50 -0500

After a lot of hours I found this:

../askbot/askbot/models/post.py

    if askbot_settings.MIN_REP_TO_TRIGGER_EMAIL:
        if not (updated_by.is_administrator() or updated_by.is_moderator()):
            if updated_by.reputation < askbot_settings.MIN_REP_TO_TRIGGER_EMAIL:
                for_email = [u for u in notify_sets['for_email'] if u.is_administrator()]
                notify_sets['for_email'] = for_email

And I noticed of this configuration parameter in /settings/MIN_REP/

Trigger email notifications
Users with smaller reputation will not be generating email alerts
Default value: 15

I changed to 1, and my new questions of new users are being notified.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2020-08-11 10:56:24 -0500

Seen: 137 times

Last updated: Aug 11 '20