For selecting lesser active users, something like this could work?
Rich (BB code):$users = $this->getModelFromCache('XenForo_Model_User')->getUsers(array( 'user_status' => 'valid', 'receive_admin_email' => 1, 'is_banned' => 0, 'last_activity' (some operator) (some value),
'last_activity' > (mktime() - (90*3600*24));
I think it would be
PHP:'last_activity' > (mktime() - (90*3600*24));
where the 90 represents days. Meaning last activity > 90 days ago.
'last_activity' => array('>', XenForo_Application::$time - 86400 * 90)
Code:'last_activity' => array('>', XenForo_Application::$time - 86400 * 90)
'last_activity' => array('>', XenForo_Application::$time - 86400 * 90),
'last_activity' => array('<', XenForo_Application::$time - 86400 * 8),
Can you post a screenshot of what an email with the default settings would look like?
Great Mouth! I'll give a try on my test board and report back!Could you then have
Code:'last_activity' => array('>', XenForo_Application::$time - 86400 * 90), 'last_activity' => array('<', XenForo_Application::$time - 86400 * 8),
so that it behaves as a last_activity is between 90 day and 8 days ago? Or would the 2nd line 'overwrite' the first line?
Fatal error: Maximum execution time of 30 seconds exceeded in /www/htdocs/xxxxxx/xxxxxx/library/Zend/Mail/Transport/Sendmail.php on line 128
Warning: Unknown: Error occured while closing statement in Unknown on line 0
Simply modify the cron job to your liking.Any way to make this a "weekly" email? Monthly is too long of a duration. Thanks.
It not works for me, if i run the Script manual.
And where i can change the phrases in german?
Need help
How can I change email.php so it only selects sticky threads?
$conditions = array(
'node_id' => $nodeIds
);
$conditions = array(
'sticky' => true,
'node_id' => $nodeIds
);
How did you go - did that work?Great Mouth! I'll give a try on my test board and report back!
No Mouth, this addon is "too smal"l for me. I need something bigger and betterHow did you go - did that work?
I agree, and staying with this until thenI need something bigger and better
Apparently my last fix did not work. This new fix should show the board name now.
We use essential cookies to make this site work, and optional cookies to enhance your experience.