外掛標籤
開發者團隊
原文外掛簡介
RIICT Intranet turns a WordPress site into a private intranet. Employees publish documents and news, share files by department, fill in forms and work on drawings – all in the frontend, without access to the WordPress dashboard. Administrators manage everything from a frontend admin panel.
The plugin is translation-ready. English is the base language; a complete German translation (de_DE, de_CH, de_AT) is included.
Content and publishing
Documents and news – two content types with categories, types and an attached file or featured image.
Frontend editor – create and edit posts in the frontend with a drag-and-drop block editor (headings, text, lists, tables, images, columns, quotes, code). The classic editor is available as an alternative.
Four visibility levels – public, all employees, one department only, private.
Dashboard – card view with filters for type, type of post and department.
Departments and access
Departments as roles – each department is an additional user role; users can belong to several departments.
Department pages – created automatically, with the department’s articles, forms and file store.
User pages – one page per user with profile, own posts and a personal file store.
Site protection – visitors who are not logged in are redirected to a custom login page. Selected pages can be made public.
File store
Virtual file system – shared folder, one folder per department and a personal folder per user, with unlimited subfolders.
Protected downloads – files are stored in a folder that is locked with .htaccess and are only delivered after a permission check.
Drag and drop – drop files or whole folders (including subfolders) onto the browser. Large uploads are split automatically.
Privacy of personal folders – not even administrators can open personal folders. An emergency takeover is possible; it is time-limited, requires a reason, is logged and the user is notified by e-mail.
Previous versions and recycle bin
Daily snapshots – every night the state of the file store is saved. Unchanged files use hard links and take no extra space.
Recycle bin – deleted files and folders can be restored.
Retention is configurable from 1 to 14 days. Users restore files themselves; nothing is ever overwritten.
File preview
Click a file to view it instead of downloading it:
Images (JPG, PNG, GIF, WebP, BMP) with arrow-key navigation, PDF, text
Word (DOCX), Excel and spreadsheets (XLSX, XLS, ODS, CSV), PowerPoint (PPTX), OpenDocument text (ODT)
DOC, PPT, ODP and RTF through LibreOffice on the server, if installed (detected automatically). With LibreOffice, all office documents are converted to PDF for the best possible preview.
Drawings
draw.io editor – create new drawings in any folder and edit existing .drawio files. They are saved directly in the file store.
DWG and DXF – preview CAD drawings and convert them to draw.io (layers stay layers, blocks become groups).
Forms
Form builder with text, number, e-mail, date, dropdown, single and multiple choice fields.
Forms belong to a department. Results with a CSV export.
Synchronisation between two sites
Two intranet installations on different servers can keep their content in sync in both directions: documents, news, form answers, types and the complete file store. Each site only pulls content from the other; all requests are signed with a shared key (HMAC-SHA256). The partner site cannot perform administrative actions: user accounts, roles, departments and department memberships are never transferred and are managed on each site itself. Authors are matched by e-mail address.
Shortcodes
[intranet_dokumente] – dashboard. Attributes: typ, art, abt, kategorie
[riict_form] – create or edit a document; [riict_form type="riict_news"] for news
[riict_login], [riict_lost_password] – custom login pages
[riict_admin] – frontend admin panel (administrators only)
[riict_folders] – file store. Attributes: root, show_shared, show_user
[riict_abteilung_page abt="slug"] – department page
[riict_abteilung_submenu], [riict_dept_nav] – department navigation (only departments the user may access)
[riict_user_page], [riict_user_page_link], [riict_benutzer_liste] – user pages
[riict_survey_list], [riict_survey_builder], [riict_survey_results] – forms
[riict_user_info], [riict_filters], [riict_admin_link] – sidebar elements
Two widgets are included as well: “Intranet filter” and “Intranet user”.
External services
This plugin connects to the following external services. All JavaScript libraries for the file preview are included in the plugin; files are always read from your own server.
draw.io (diagrams.net)
Used for creating and editing drawings. When a user opens or creates a drawing, the draw.io editor is loaded from embed.diagrams.net in an iframe. The diagram is passed to the editor in the browser via postMessage and saved back to your server. The URL can be replaced by a self-hosted draw.io instance in the settings.
Terms of use: https://www.drawio.com/trust/terms-of-use/
Privacy policy: https://www.drawio.com/trust/
Partner site (optional synchronisation)
Only if synchronisation is enabled by an administrator: the site regularly requests changes from the partner site that the administrator entered (posts, form answers, types, files – no users, roles or settings). Requests are signed with a shared key. No other third party is involved.
Bundled libraries
The file preview and the DWG import use these open-source libraries. They are included in assets/vendor/ as unminified ES modules, built with esbuild from the original packages:
docx-preview 0.4.1 – Apache License 2.0 – https://github.com/VolodymyrBaydalka/docxjs
JSZip 3.10.1 – MIT or GPLv3 – https://github.com/Stuk/jszip
libredwg-web 0.7.17 (WebAssembly build of GNU LibreDWG) – GPLv3 – https://github.com/mlightcad/libredwg-web – the .wasm file and its loader are generated by Emscripten; the C and TypeScript sources are in the linked repository.
Spreadsheets (XLSX, XLS, ODS, CSV) and presentations (PPTX) are displayed by the plugin’s own reader in assets/js/office-lite.js.
