Trust levels are automatically recalculated every time a user posts a thread or reply.
| Level | Constant | Label | Default Threshold |
|---|---|---|---|
| 0 | OF_Trust::LEVEL_NEW | New Member | 0 posts |
| 1 | OF_Trust::LEVEL_MEMBER | Member | 5 posts |
| 2 | OF_Trust::LEVEL_REGULAR | Regular | 25 posts |
| 3 | OF_Trust::LEVEL_LEADER | Leader | 100 posts |
Thresholds are configurable at Settings → Trust Level Thresholds.
Trust gates
| Action | Minimum Trust |
|---|---|
| Post threads and replies | Level 1 (Member) |
| Post links in content | Level 1 (Member) |
| Edit own reply | All levels (within window) |
| First post requires approval | Level 0 (New Member) only |
PHP API
php$level = OF_Trust::get_level($user_id); // int 0–3
$label = OF_Trust::get_label($level); // "New Member", "Member", etc.
OF_Trust::recalculate($user_id); // Force recalculate
$needs_approval = OF_Trust::requires_approval($user_id); // bool
