- Option
clanbite_notifications_settings- Class
Kernowdev\Clanbite\Extensions\Notifications\Admin
Profile subpages
| Field | What it does | Default |
|---|---|---|
subpage_playercheckbox | Player profile: Notifications tab When off, the notifications template and tab are omitted and that URL redirects to the profile root. | true |
Notification bell
| Field | What it does | Default |
|---|---|---|
poll_long_pollingcheckbox | Use long-polling When enabled, poll requests may stay open until new notifications arrive or a timeout is reached (fewer HTTP round-trips). When off, each poll checks once and returns immediately (better for busy sites and limited PHP workers). Developers can still override behavior with the clanbite_notification_poll_blocking_wait filter. | false |
Popups
| Field | What it does | Default |
|---|---|---|
toasts_enabledcheckbox | Show popups Short notices that appear on the screen, such as a rank-up, points earned, a confirmation or an error. Every Clanbite extension uses the same popups, so these settings apply to all of them. When off, no popups are shown. | true |
toast_positionselect | Popup position Where on the screen popups appear. Options are built when the screen loads. Shown when toasts_enabled is on | top-right |
toast_durationselect | Show popups for How long a popup stays before it disappears. Choose Custom to type your own length. Visitors can always close it sooner. Options are built when the screen loads. Shown when toasts_enabled is on | 5 |
toast_duration_customnumber | Custom length (seconds) | 8 |
toast_pause_on_hovercheckbox | Pause when hovered Hovering over a popup pauses its countdown so it can be read; moving away resumes it. Popups always pause while they have keyboard focus. Shown when toasts_enabled is on | true |
toast_show_timercheckbox | Show a countdown bar A thin bar along the bottom of each popup fills up as it gets close to disappearing. Popups that stay until closed have no bar. Shown when toasts_enabled is on | true |
Defined in inc/extensions/notifications/class-extension-notifications-admin.php
Changelog
| Version | Description |
|---|---|
| 1.5.0 | Updated. |