Trophy is not issuing to all people

kingston

Well-known member
I have people who are not getting issued a trophy the deserve. From preliminary tests it seems to affect those that have been registered for more than a year (but don't let this notion cloud thinking).

Any ideas?
 

kingston

Well-known member
If they are recently active then it should update their trophy points if you run that cron:

Admin CP -> Tools -> Cron Entries -> Update User Trophies
Yeah I have been. I did transfer my database from vB4. The registration dates of people having trouble seem to be from Dec 2009...
 

Jake Bunce

XenForo moderator
Staff member
The cron also excludes users who are banned or awaiting moderation or email confirmation:

library/XenForo/CronEntry/Trophy.php

Code:
		$users = $userModel->getUsers(array(
			'user_state' => 'valid',
			'is_banned' => 0,
			'last_activity' => array('>', XenForo_Application::$time - 86400)
If that doesn't explain your problem then I can take a look if you want to give me access to your forum and database.
 

kingston

Well-known member
The cron also excludes users who are banned or awaiting moderation or email confirmation:

library/XenForo/CronEntry/Trophy.php

Code:
		$users = $userModel->getUsers(array(
			'user_state' => 'valid',
			'is_banned' => 0,
			'last_activity' => array('>', XenForo_Application::$time - 86400)
If that doesn't explain your problem then I can take a look if you want to give me access to your forum and database.
If you wouldn't mind I could use some help.
 

Brogan

XenForo moderator
Staff member
Did you manage to get it sorted?
Can you post what the issue was for future reference?
 

Jake Bunce

XenForo moderator
Staff member
It was the user activity dates. The problem users had not been active within the last 24 hours so the cron wasn't processing them.
 
Top