First time here? Check out the FAQ!
0

Why just admin questions are notified by mail?
 

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.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
jrichardsz's avatar
1
jrichardsz
asked 4 years ago

Comments

see more comments

1 Answer

0

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.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
jrichardsz's avatar
1
jrichardsz
answered 4 years ago
link

Comments

see more comments