MyBB Community Forums

Full Version: Group Promotions --> If you choose more than one thing, is it OR or AND?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Like, if you want to promote someone into level 1 and you type in the group settings:

Post count: 100
Rep count: 50

Does this mean the user will be promoted after 100 posts OR 50 rep, or 100 posts AND 50 rep?

It depends on what you put.
Greater Than
Greater Than or Equal To
Equal To
Less than or Equal To
Less Than

Which one is assigned to each of those?
I don't think I explained properly, sorry. I'll try again.

I want a user to be level 1 after 100 posts OR when they get 25 rep.

What I'm asking is:

When I make a new group promotion, and I select 'Post Count' and 'Reputation' and then type in 100 for post count and 25 for reputation amount (both greater or equal to), will my user switch to level 1 when "either" is true or both must be true for them to be promoted?

Basically like boolean algebra: Is it an && or an || ?
Yes, that's correct.
(2011-01-18, 06:12 AM)Derek M. Wrote: [ -> ]Yes, that's correct.

You didn't answer my question, Derek. Does it check to see if both criteria has been met by the user (both post count and reputation) or does it check only for 1 to be met to promote the user?

E.g. My level 1 group promotion is set at 100 posts and 50 reputation points.

Here are my theoretical newbies:

User #1: 150 posts, 20 rep.
User #2: 75 posts, 55 rep.
User #3: 150 posts, 55 rep.
User #4: 75 posts, 20 rep.

Can you tell me which of these users would be promoted to level 1?
It checks both, meaning user 3 would.
Ah, ok thanks Derek!
No problem, glad it is solved! Smile