Ernest Defoe
Administrators
-
Joined
-
Last visited
-
Currently
Viewing Forums Index
Everything posted by Ernest Defoe
-
Social Groups for Flarum — support and discussion
social-groups v2.3.56 What's Changed No changes Full Changelog: https://github.com/ernestdefoe/social-groups/compare/v2.3.55...v2.3.56 View release on GitHub
-
Theme Toggle — support and discussion
theme-toggle 3.0.5 What's Changed Apply Settings-page Appearance picker change without refresh Full Changelog: https://github.com/ernestdefoe/theme-toggle/compare/3.0.4...3.0.5 View release on GitHub
-
Theme Toggle — support and discussion
theme-toggle 3.0.4 What's Changed Fix logout persistence + post-login button mismatch Full Changelog: https://github.com/ernestdefoe/theme-toggle/compare/3.0.3...3.0.4 View release on GitHub
-
Social Groups for Flarum — support and discussion
social-groups v2.3.55 What's Changed No changes Full Changelog: https://github.com/ernestdefoe/social-groups/compare/v2.3.54...v2.3.55 View release on GitHub
-
Social Groups for Flarum — support and discussion
social-groups v2.3.54 What's Changed No changes Full Changelog: https://github.com/ernestdefoe/social-groups/compare/v2.3.53...v2.3.54 View release on GitHub
-
Social Groups for Flarum — support and discussion
social-groups v2.3.53 What's Changed No changes Full Changelog: https://github.com/ernestdefoe/social-groups/compare/v2.3.52...v2.3.53 View release on GitHub
-
Theme Toggle — support and discussion
theme-toggle 3.0.3 What's Changed Persist toggle choice to the user's colorScheme preference Full Changelog: https://github.com/ernestdefoe/theme-toggle/compare/3.0.2...3.0.3 View release on GitHub
-
Theme Toggle — support and discussion
theme-toggle 3.0.2 No commits between 3.0.1 and 3.0.2. View release on GitHub
-
Flarum Facebook Auto-Post
flarum-facebook-post v2.1.3 What's Changed No changes Full Changelog: https://github.com/ernestdefoe/flarum-facebook-post/compare/2.1.2...v2.1.3 View release on GitHub
-
Theme Toggle — support and discussion
theme-toggle 3.0.1 What's Changed Re-apply saved theme inside the initializer Full Changelog: https://github.com/ernestdefoe/theme-toggle/compare/3.0.0...3.0.1 View release on GitHub
-
Theme Toggle — support and discussion
theme-toggle 3.0.0 What's Changed Add release-drafter + Flarum support-site publish workflows Build changelog from commits when release body is a placeholder Replace release-drafter with commit-based draft-release workflow Add workflow_dispatch trigger to publish-to-flarum.yml Render the toggle as a labeled row inside the mobile drawer Convert to TypeScript (audit fix) README: document the new feature set + add screenshots Full Changelog: https://github.com/ernestdefoe/theme-toggle/compare/2.0.1...3.0.0 View release on GitHub
-
Social Groups for Flarum — support and discussion
social-groups v2.3.52 What's Changed Audit fixes: private realtime channels, invite gate, portable analytics (#2) @ernestdefoe Full Changelog: https://github.com/ernestdefoe/social-groups/compare/2.3.51...v2.3.52 View release on GitHub
-
Aurora — support and discussion
aurora 1.0.1 What's Changed Rename package to ernestdefoe/aurora Fix boot crash + serialize settings to forum frontend Add release-drafter + Flarum support-site publish workflows Clamp Page-hero to match Mosaic's hero width Replace mockup screenshots with live captures of the actual theme Add Dawn light-mode palette + honor prefers-color-scheme Full Changelog: https://github.com/ernestdefoe/aurora/compare/2.0.1...1.0.1 View release on GitHub
-
Theme Toggle — support and discussion
theme-toggle 2.0.1 What's Changed Add high-contrast theme variants to toggle Full Changelog: https://github.com/ernestdefoe/theme-toggle/compare/2.0.0...2.0.1 View release on GitHub
-
Cross References for Flarum 2
cross-references 2.0.1 What's Changed docs(migration): note why FK columns are unsignedInteger, not unsignedBigInteger Settings: drop dead serializeToForum + showInline; clean orphan locale key Listener: delete dead subscribe(), batch lookups, narrow catch EventPost: drop pass-through initAttrs override Full Changelog: https://github.com/ernestdefoe/cross-references/compare/2.0.0...2.0.1 View release on GitHub
-
CFB Recruiting Tracker - Live college football recruiting
recruiting 2.0.15 No commits between v2.0.13 and 2.0.15. View release on GitHub
-
Respawn — support and discussion
respawn 2.0.0 Initial release. View release on GitHub
-
Aurora — support and discussion
aurora 1.0.1 No release notes provided. View release on GitHub
-
Aurora — support and discussion
aurora 2.0.1 No release notes provided. View release on GitHub
-
Aurora — support and discussion
aurora 1.0.0 No release notes provided. View release on GitHub
-
Aurora — support and discussion
aurora 2.0.0 No release notes provided. View release on GitHub
-
Aurora — support and discussion
Aurora Theme for FlarumAn aurora-inspired theme for Flarum featuring animated gradient backdrops, glassmorphic panels, glowing accents, and a dark night-sky palette. Flarum 1.x users: this branch targets Flarum 2.0. For Flarum 1.8.x see the 1.x branch. ScreenshotsForum indexAnimated aurora backdrop, glassmorphic discussion cards, gradient text on unread titles, a glowing pill for unread counts, stat widgets inside the welcome hero, and the user-facing palette picker popover (shown open). Discussion viewGlassy posts with gradient usernames, accent-bordered blockquotes, themed inline code and code blocks, and gradient-glow avatars. Admin settingsLive color swatches, a gradient preview, and toggles for glassmorphism, glow, and background animation. HighlightsAnimated aurora backdrop — drifting radial gradients in violet, cyan, teal, pink, and magenta on a deep night-sky base. User palette picker — a circular gradient button in the header opens a popover with six presets (Aurora, Sunset, Ocean, Forest, Nebula, Ember). Choice persists per-visitor via localStorage and applies instantly. Hero widgets — Members, Discussions, Posts, and Online-now stat tiles embedded inside the welcome hero, with live trend lines. Glassmorphic surfaces — frosted header, sidebar, discussion cards, composer, modals, and dropdowns. Gradient buttons & badges — primary buttons shimmer; unread counts pulse with a cool glow. Glowing avatars & focus rings — soft cyan/pink halos on hover and focus. Gradient scrollbar & text — gradient-clipped headings, usernames, and scrollbar thumb. Configurable — admin settings for gradient colors, accent color, and toggles for glassmorphism, glow, and background animation. Accessible — honors prefers-reduced-motion, visible focus rings. Palette presets| Preset | Gradient | | ------- | -------------------------------------------------------- | | Aurora | #7c3aed → #4f46e5 → #22d3ee → #14b8a6 (default) | | Sunset | #f97316 → #f43f5e → #d946ef → #7c3aed | | Ocean | #1e40af → #3b82f6 → #06b6d4 → #22d3ee | | Forest | #15803d → #10b981 → #22d3ee → #0ea5e9 | | Nebula | #a855f7 → #d946ef → #6366f1 → #3b82f6 | | Ember | #b91c1c → #ea580c → #f59e0b → #fbbf24 | Add or override a preset by extending PALETTES in js/src/forum/palettes.js. Installationcomposer require ernestdefoe/aurora Then enable Aurora Theme under Admin → Extensions. ConfigurationOpen Admin → Extensions → Aurora Theme to customize: | Setting | Default | Description | | --- | --- | --- | | Primary gradient — start | #7c3aed | First color of the primary gradient. | | Primary gradient — end | #22d3ee | Last color of the primary gradient. | | Accent color | #f472b6 | Warm accent used for hover halos. | | Enable glassmorphism | on | Frosted-glass panels with backdrop blur. | | Enable glow effects | on | Soft glows on hover, focus, and unread items. | | Animate aurora background | on | Drifting gradient blobs in the backdrop. | Development cd aurora/js npm install npm run build # production bundle npm run dev # watch mode``` ### Project layout ```extend.php Flarum extension bootstrap composer.json Package manifest less/ forum.less Forum-facing styles admin.less Admin-facing styles variables.less Color palette, radii, easings mixins.less .aurora-glass, .aurora-text-gradient, ... animations.less drift, shimmer, pulse, float, fade-up js/ forum.js, admin.js Webpack entry points src/forum/index.js Frontend bootstrap: settings, scroll header, ripple src/forum/palettes.js Palette presets + apply/load/store helpers src/forum/palette-picker.js Header button + popover injection src/forum/hero-widgets.js Welcome-hero stat tiles src/admin/index.js Admin entrypoint (re-exports extend) src/admin/extend.js Flarum 2 Admin extender — settings registry dist/ Compiled bundles (committed) resources/locale/ en.yml English admin strings``` ## Compatibility * Flarum core `^2.0.0-beta` (built against `2.0.0-rc.1`) * PHP `^8.3` * Modern browsers with `backdrop-filter` support. Older browsers gracefully degrade to solid dark surfaces. Need Flarum 1.x? Switch to the `1.x` branch — it targets `flarum/core ^1.8.0` and uses the legacy `app.extensionData` settings API. ## License [MIT](https://github.com/ernestdefoe/aurora/blob/main/LICENSE) © Ernest Defoe
-
Theme Toggle — support and discussion
Theme ToggleA small, theme-agnostic day/night/system picker for the Flarum 2 header. Drops into any Flarum 2 theme that respects the native <html data-theme="…"> signal (every theme that ships with or extends Flarum 2 does, including the default). ScreenshotsDesktop — header buttonA compact icon button next to Search / Sign Up / Log In. The icon reflects the active choice (☾ dark, ☀ light, ◐ system). Desktop — dropdown openFive choices, each with a matching icon. The active choice is marked with a checkmark. Mobile — slide-out drawerOn phone-width viewports Flarum re-renders HeaderSecondary inside .App-drawer. The button switches to a labeled, full-width menu row so it lines up with Search / Sign Up / Log In. FeaturesFive choices. Dark, Dark (high contrast), Light, Light (high contrast), System. Native Flarum 2 signal. The extension only flips <html data-theme="…"> and localStorage — no theme-specific CSS, so it composes with any well-behaved Flarum 2 theme (default, Aurora, or any third-party theme). System mode honours OS preferences. When System is active, the theme follows prefers-color-scheme for light/dark and prefers-contrast: more for the -hc variants — so an accessibility user with macOS / Windows "Increase contrast" turned on automatically gets the right palette. Live OS updates. Changes to the OS theme or contrast preference are picked up immediately while the tab is open, with no reload. Persists per visitor. Your choice is stored in localStorage under ernestdefoe-theme-toggle.choice and re-applied on every page load before paint, so there's no FOUC. Respects the admin default. Until a visitor explicitly picks a choice, Flarum's Admin → Appearance → Color Scheme setting is left untouched. Mobile-aware UI. Renders as a compact icon button in the desktop header and as a labeled "◐ Theme" row inside the mobile slide-out drawer (where icon-only buttons would float disconnected from the surrounding Sign Up / Log In rows). Localized. All visible strings come from locale/en.yml and can be overridden in your forum's locale files. TypeScript end-to-end. Sources are authored in TypeScript and type-checked against Flarum core's bundled .d.ts files. npm run check-typings runs tsc --noEmit. CompatibilityFlarum core ^2.0 PHP ^8.3 Pairs with any theme. Tested with the default theme and the Aurora theme. Install php flarum cache:clear``` Then enable **Theme Toggle** from the admin panel's Extensions page. ## Development ```cd js npm install npm run build # production bundle (writes js/dist/forum.js) npm run dev # watch mode for development npm run check-typings # tsc --noEmit, requires `composer install` at repo root first``` The TypeScript path mapping in `js/tsconfig.json` points at `../vendor/flarum/core/js/dist-typings/`, so `composer install` at the repo root must run before `check-typings` can resolve `flarum/*` imports. ### Project layout ```extend.php Flarum extension bootstrap composer.json Package manifest locale/en.yml User-facing strings less/forum.less Header + drawer styling js/ forum.ts Webpack entry point tsconfig.json Extends flarum-tsconfig src/forum/ index.ts Initializer + HeaderSecondary hook theme.ts Choice/storage helpers + media listener components/ThemeToggle.tsx The Dropdown component dist/forum.js Compiled bundle (committed) screenshots/ Images in this README``` ## How it works Flarum 2 ships four `data-theme` values: `light`, `light-hc`, `dark`, and `dark-hc`. Themes are expected to define their dark tokens as the default and their light tokens under `[data-theme^='light']`, with a high-contrast layer under `[data-theme^='light-hc']` / `[data-theme^='dark-hc']`. Because those selectors use `^=` (prefix match), setting `data-theme="light-hc"` activates *both* the regular light palette and its HC overrides via the cascade. This extension just sets that attribute client-side: * On boot, `theme.ts` reads the saved choice from `localStorage` and writes the corresponding string to `<html data-theme="…">` **before** the initializer runs, so the page never paints in the wrong palette. * The `ThemeToggle` component reads the same choice for its icon and dropdown state. * When the user picks a new option, the choice is written to `localStorage`, `<html>` is updated, and Mithril redraws the button. * In System mode, a `matchMedia` listener for `prefers-color-scheme` and `prefers-contrast: more` re-applies the choice live. No theme-specific CSS, no setting payload, no server round-trip. ## Translations Override any string by adding the matching key under `ernestdefoe-theme-toggle.forum.toggle.*` in your forum's locale file: | Key | Default | | ------------------------- | ------------------------ | | `label` | `Theme` | | `option_dark` | `Dark` | | `option_dark_hc` | `Dark (high contrast)` | | `option_light` | `Light` | | `option_light_hc` | `Light (high contrast)` | | `option_system` | `System` | ## License [MIT](https://github.com/ernestdefoe/theme-toggle/blob/main/LICENSE) © Ernest Defoe
-
Respawn — support and discussion
Screenshots: [upl-image-preview uuid=9b2211a3-da36-4b08-b725-a326dee31bc6 url=https://ernestdefoe.online/assets/files/2026-05-20/1779281973-465673-01-index-dark.png alt=01-index-dark.png thumbnail_url=https://ernestdefoe.online/assets/files/2026-05-20/1779281973-465673-01-index-dark.png] [upl-image-preview uuid=d25bf094-8a89-4353-a870-ef47036e9b94 url=https://ernestdefoe.online/assets/files/2026-05-20/1779281974-748778-02-index-light.png alt=02-index-light.png thumbnail_url=https://ernestdefoe.online/assets/files/2026-05-20/1779281974-748778-02-index-light.png] [upl-image-preview uuid=da262908-37a6-4a96-a4e3-fa9c319989f2 url=https://ernestdefoe.online/assets/files/2026-05-20/1779281975-532309-03-index-dark-above-the-fold.png alt=03-index-dark-above-the-fold.png thumbnail_url=https://ernestdefoe.online/assets/files/2026-05-20/1779281975-532309-03-index-dark-above-the-fold.png] [upl-image-preview uuid=3875b487-0b27-4f74-8494-e957e299a1fe url=https://ernestdefoe.online/assets/files/2026-05-20/1779281976-453153-04-discussion-dark.png alt=04-discussion-dark.png thumbnail_url=https://ernestdefoe.online/assets/files/2026-05-20/1779281976-453153-04-discussion-dark.png] [upl-image-preview uuid=4bb1238c-826c-4db4-9588-f7b4ab65b1f5 url=https://ernestdefoe.online/assets/files/2026-05-20/1779281977-354752-05-discussion-light.png alt=05-discussion-light.png thumbnail_url=https://ernestdefoe.online/assets/files/2026-05-20/1779281977-354752-05-discussion-light.png]
-
Respawn — support and discussion
respawn 2.0.0 No release notes provided. View release on GitHub