• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.5 Trophy awarding issue (very odd)

Glockie

Well-known member
#1
Hello and good evening,
Some users get trophies, others don't.

I even created an admin account for a developer earlier who's helping me with something, and 4-5 hours still no award for first post...

I have tried everything in these threads;
http://tinyurl.com/gr8pyz6

And clearing the trophy awards cache did it.
The problem is, how do I ensure it doesn't happen again?
I've never had to raise a single ticket yet - as it's that reliable, and I'd hate to now, but I am a bit lost as I cannot understand why trophies are not being issued..

Will having the online status time increased, cause us an issue?
Or could an add-on be conflicting?

Under user options the online time is quite high, would this do it and thus affect the awards and a particular add-on that is somewhat based upon the same detection methods?

We have it at;
Online Status Timeout (minutes) 1440
I followed this guide
https://xenforo.com/community/threads/how-to-set-the-default-time-for-users-to-stay-logged-in.20019/
Maybe it's this, because when I run the cache, it works fine.

Or is it an add on causing issues? Am a bit lost and a bit tired, so sorry if rambling.
Many thanks
 

Mike

XenForo developer
Staff member
#3
And clearing the trophy awards cache did it.
Do you mean rebuilding trophies? If so, that's somewhat expected, as trophies are only calculated when a user is active and then a couple additional times afters (until they're active again). The rebuild will redo trophies for all users at that time.

So when a user is active, you'd want to wait at least (worst case) 2 hours to see if the trophy is awarded as expected. If not, then you will want to check to see if your crons are running (based on last run date listed in the control panel).
 

Glockie

Well-known member
#4
Do you mean rebuilding trophies? If so, that's somewhat expected, as trophies are only calculated when a user is active and then a couple additional times afters (until they're active again). The rebuild will redo trophies for all users at that time.

So when a user is active, you'd want to wait at least (worst case) 2 hours to see if the trophy is awarded as expected. If not, then you will want to check to see if your crons are running (based on last run date listed in the control panel).
Okay thank you, they do run but seem to be taking an extremely long time to award the trophies.
Even the developer who's helping us, waited 2 days I think before being awarded the first post trophy? Seems extremely long.
I am quite unsure if the session is possibly causing this..
Will keep digging and see what we can find.
Thank you :)
 

Glockie

Well-known member
#5
Hmm I noticed something, last activity for users in the ACP is way off.
For example, mine shows last active yesterday at 23:17, but I have been online since 5:45 this morning.. I have read about this somewhere before.
@Mike would that have something to do with it? Surely it would.. wouldn't it?
 

Mike

XenForo developer
Staff member
#6
Yes, that would cause it. I note you posted in a thread last night talking about a 4GB session table and you made some references to online status timeout here, so it's very possible that those changes are related.
 

Glockie

Well-known member
#7
Yes indeed, I 'forced' the system into increasing the logout time period as mentioned in several threads.
https://xenforo.com/community/threads/online-status-timeout-increase.23273/
https://xenforo.com/community/threads/how-to-set-the-default-time-for-users-to-stay-logged-in.20019/

But of course, I am debugging and tracing as much as I can, and have a developer also looking - and I retraced my steps back to this. I think it's a considerable contributor to this issue.
Some get awarded, some don't - it's erratic.
Oddly user group promotions work, as do birthday trophies.

So, resetting the timeout information will probably undo this would it?
Many thanks again for the help. Appreciated a lot.