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

XF 1.2 Why would a promotion fail to be achieved when the limits have been met?

Rambro

Well-known member
#1
This is new since the upgrade to 1.2 and I've had it happen twice in the past day. I've setup a promotion for users to start new threads at 30 posts. The only requirement checked is valid membership. I'm sort of stumped as the users passed 30 posts and nothing happened. I even had them log out and then log back in.

Thoughts?
 

Kent

Active member
#3
Users that are marked as promoted in the log won't get doubly promoted, so if your cron was run before the promotion was properly configured this could be the cause.
You can check the promotion log ( /admin.php?user-group-promotions/manage ) to see if the selected users are considered as having been promoted.
 

Rambro

Well-known member
#4
Have they been promoted now? It's done via a cron task.
I promoted them myself late last night, but yes, it shows as having been done. Looking at the time and the PM log, it seems it happened after I manually went in and added him. Isn't that odd?
Users that are marked as promoted in the log won't get doubly promoted, so if your cron was run before the promotion was properly configured this could be the cause.
You can check the promotion log ( /admin.php?user-group-promotions/manage ) to see if the selected users are considered as having been promoted.
Is there a difference between going into the user's profile and manually adding them vs. going into the promotion manager and manually promoting them?
 

Mike

XenForo developer
Staff member
#5
Is there a difference between going into the user's profile and manually adding them vs. going into the promotion manager and manually promoting them?
Probably not hugely different. They are logged a bit differently though.
 

Rambro

Well-known member
#7
Actually, this seems to be affecting other add-ons now. I'm having a problem with some other cron activities not working when they're supposed to.
 

Mike

XenForo developer
Staff member
#8
Look at the cron next run times. They're ordered by their next run time (earliest first). Are the dates/times in the past?
 

Mike

XenForo developer
Staff member
#10
They're all up to date (I assume; it's based on your time zone). So are you sure you're having problems with cron? Or did I misunderstand what you were saying?
 

Rambro

Well-known member
#11
They're all up to date (I assume; it's based on your time zone). So are you sure you're having problems with cron? Or did I misunderstand what you were saying?
Well, this was a two ago now, not sure if it matters. The promotions didn't kick in and also the Sportsbook add-on didn't come through like it should have. I suppose they just didn't happen at the right time for the cron? I wasn't aware that everything like this ran on a schedule.