FX - Quick Post 1.0.3

XF 2.3 FX - Quick Post 1.0.3

Add-on xenforo 2

Ressources et modules complémentaires pour XenForo 2

Styles xenforo 2

Styles / Thèmes et apparence pour xenforo 2

Templates xenforo 2

Codes pour modifier les templates sur xenforo 2

Section Premium

Add-on et Styles pour membre Premium
  • ⚠️ Section Premium. Réserver aux Membres Premium ⚠️
FX - Quick Post 1.0.3

XF 2.3 FX - Quick Post 1.0.3

Catégorie Catégorie Add-Ons
Titre du sujet Titre du sujet FX - Quick Post 1.0.3
Auteur de la discussion Auteur de la discussion laurent68
Date de début Date de début
Réponses Réponses 0
Affichages Affichages 5
Réaction Réaction 0
Dernier message par Dernier message par laurent68

laurent68

Fondateur

Staff
fondateur
Réputation: 100%
Discussions
5 084
Messages
13 297
Solutions
85
J'aime
8 133
Points
198
[FX] Quick Post brings a fast, modern social-media-style thread creation experience to your forum. Designed to streamline thread posting, boost member engagement, and provide clear category routing between regular members and forum staff.



✨ Key Features​

1. Social-Style Post Card Bar Widget​

  • Displays an intuitive thread creation bar inspired by modern social feeds (such as Facebook's News Feed), featuring user avatar and quick-input prompt to encourage thread creation.
  • Provides Widget Definition ID: fx_post_card_bar, which can be placed anywhere on your forum (forum_list, thread list, sidebar, or custom positions).
  • Full Light and Dark Mode compatibility. Automatically hidden for guests or when no default forum node is configured.

2. Smart Category Selector​

  • Embeds a sleek category dropdown right above the editor form (forum_post_thread).
  • Allows members to switch to their desired destination node directly while writing without having to navigate back through forum trees.
  • Role-based node access control:
    • Regular Members (Group 2): Limited to standard public posting categories.
    • Management & Staff (Group > 2 / Staff): Granted access to administrative and restricted internal nodes.
  • Strict server-side verification at both Controller and Service levels (CreatorService), preventing unauthorized thread submissions into non-permitted nodes.

3. Popup Overlay Form Option​

The fx_post_overlay option provides flexible submission behavior:
  • Enabled: Launches the thread creation form in a lightweight, responsive popup modal overlay.
  • Disabled: Redirects directly to the dedicated full-page thread creation URL of the selected forum node.

4. Header Opposite Navigation Icon​

  • The fx_post_nav_opposite setting inserts a quick post action icon (<xf:fa icon="fa-edit" />) directly before .p-nav-opposite (next to user avatar and notifications).
  • Seamlessly matches XenForo’s native iconic navigation style and supports native tooltips.

5. Main Navigation Link​

  • The fx_post_nav_link option adds a dedicated "Post Thread" item to the main navigation menu (.p-nav-list).
  • Automatically syncs across desktop navigation bars and mobile off-canvas sliding menus.

6. Replace Default "Post thread…" Button on Forum List​

  • The fx_post_replace_forum_list_button option redirects the default "Post thread…" button in the forum list (forum_overview_wrapper) directly to Quick Post’s configured default node.

7. Hide Thread Creation Buttons in Forum View​

  • The fx_post_hide_forum_view option hides thread creation buttons within specific forum views (forum_view), channeling all posting activity through the unified Quick Post flow.



⚙️ Configuration Options (AdminCP)​

Navigate to AdminCP > Options > [FX] Quick Post to configure:
Option (Option ID)Data TypeDefaultDescription
fx_post_box_defaultForum Node (Select)UnsetDefault destination node when users click the Quick Post bar, nav icon, or quick thread button.
fx_post_boxForum Node List (Multi-select)EmptyAllowed categories available for regular members (Group 2) during post creation.
fx_post_box_managerForum Node List (Multi-select)EmptyExtended categories reserved specifically for staff and management groups (Group > 2 / Staff).
fx_post_overlayBoolean (On/Off)OnOpens the thread creation form in a popup modal overlay instead of a full page reload.
fx_post_nav_oppositeBoolean (On/Off)OffInserts a quick post icon at the front of .p-nav-opposite in the header bar.
fx_post_nav_linkBoolean (On/Off)OffAdds a quick post link into the main navigation bar (.p-nav-list).
fx_post_replace_forum_list_buttonBoolean (On/Off)OnReplaces the default "Post thread…" button on the forum list with the Quick Post link.
fx_post_hide_forum_viewBoolean (On/Off)OffHides all thread creation buttons on individual forum view pages (forum_view).

🚀 Installation & Upgrade​

Install via AdminCP:​

  1. Upload the FX/QuickPost directory to src/addons/FX/QuickPost/.
  2. Go to AdminCP > Add-ons, locate [FX] Quick Post and click Install.
  3. Go to AdminCP > Options > [FX] Quick Post to select your fx_post_box_default and allowed forum categories.
  4. (Optional) Go to AdminCP > Appearance > Widgets, add the Post Card Bar widget to the Forum list: Above nodes position to show the posting bar on your forum index.

Install / Rebuild via Command Line (CLI):​

php cmd.php xf-addon:install FX/QuickPost
# Or rebuild add-on data:
php cmd.php xf-addon:rebuild FX/QuickPost



📂 Add-on Directory Structure​

src/addons/FX/QuickPost/
├── Option/
│ └── Node.php # Dropdown category renderer for AdminCP options
├── Widget/
│ └── PostCardBar.php # Widget handler for Quick Post bar
├── XF/
│ ├── Pub/Controller/
│ │ └── ForumController.php # Controller extension loading nodeTree & validating forbox
│ └── Service/Thread/
│ └── CreatorService.php # Service extension routing node_id on thread save
├── _data/
│ ├── class_extensions.xml # Controller & Service class extensions
│ ├── options.xml # 8 configurable options
│ ├── option_groups.xml # fx_quickpost option group
│ ├── phrases.xml # Bilingual phrase entries
│ ├── templates.xml # Templates (fx_choose_box, fx_post_card_bar & LESS)
│ ├── template_modifications.xml # Modifications for PAGE_CONTAINER, forum_view, forum_overview_wrapper
│ └── widget_definitions.xml # Widget definition for fx_post_card_bar
├── addon.json # Add-on identification manifest
├── hashes.json # SHA256 file integrity verification
└── logo.png # Add-on logo



📄 License & Credits​

  • Brand: FX Add-on Suite
  • Compatibility: XenForo 2.2.0 or higher (XenForo 2.3.x recommended)
  • Source: Exclusively developed for XenForo systems.
Télécharger V1.0.3 :
 
XF 2.2 / 2.3  API Users 1.0.0  beta 2

Pièces jointes

  • quick-post.webp
    quick-post.webp
    66.6 KB · Affichages: 0
  • Capture.webp
    Capture.webp
    12.3 KB · Affichages: 0
  • Capture2.webp
    Capture2.webp
    2.1 KB · Affichages: 0
  • Capture3.webp
    Capture3.webp
    21.9 KB · Affichages: 0
Contenu similaire Les plus vues Voir plus
Retour
Haut Bas