Quote:
Originally Posted by Fungsten
What I was asking you about was what other settings could there be where email would not get sent? Should I ask that question in the other forum for general questions?
|
maybe it is just a case of you dont have any inactive users?
the code works like this:
- Find inactive users based on last visit/last post
- Check previously returned inactive users against usergroups
- Check aforementioned inactive users for receive admin email settings
if a users is considered inactive, is a member of specified usergroups, and has selected to be sent admin emails then an email will be sent.
if any one of the previous is not true then an email will not be sent.
if you increase the quantity, it is more likely to send emails out.
Quote:
Originally Posted by PassLab.net
It is sending e-mails to the banned users  thats why I ve asked for your help...
|
there is nothign wrong with thequoted code - the usergroup checking comes later.
make sure your users which are banned are not part of any other usergroups.
the code will check each member against the list of usergroups specified, and if they are a member of that usergroup then they will be sent an email. it uses vbulletin's is_member_of function.