[WordPress] 外掛分享: LearnDash Assignment Uploads Control

首頁外掛目錄 › LearnDash Assignment Uploads Control
40+
安裝啟用
尚無評分
3040 天前
最後更新
問題解決
WordPress 4.0+ v1.0.2 上架:2017-11-10

內容簡介

這個 LearnDash 外掛可讓管理員為 LearnDash 課程的「課程」和「主題」指定上傳檔案的限制,如最大檔案大小、允許的檔案副檔名和最大上傳數量。

注意事項:
自版本 2.5.0 起,LearnDash 推出了課程和主題級別的作業上傳控制參數。本外掛將很快進行相應更改,但在此之前建議在 LearnDash 版本 < 2.5.0 上使用。

該外掛在 Learndash LMS 管理員頁面下添加了「LDAUC 設定」子選單。點擊「LearnDash Assignment Uploads Control 設定」連結會出現設定上傳選項的頁面。

一旦設定完成,所有已登入並分配到 LD 課程的使用者都會在其「課程/主題作業上傳區」中看到有關上傳限制的其他信息。

如果執行了「不良」的作業上傳,即不符合「LearnDash Assignment Uploads Control 設定」頁面中設定的限制的情況,使用者將看到一個新頁面,提示哪些地方有問題,並提供返回課程/主題頁面再嘗試上傳的鏈接。此時「不良」作業將被忽略並不會被上傳。

此外,還會生成 [ld-markcomplete] 短代碼,應在 LearnDash 課程的課程和主題範本中使用,以在「顯示課程作業」區域顯示其他信息。

該外掛支援翻譯。

前端的佈局、樣式或添加額外的 JavaScript 等都可以在外掛的「templates」文件夾中管理。通過在您的佈景主題或子主題中添加「ld-assignment-uploads-ctrl」文件夾,並將文件複製到其中,即可覆蓋這些文件。

它:

將阻止已登入使用者上傳不符合管理員定義限制的作業。
提供 wp-admin 中的「LearnDash LMS -> LDAUC Setings」設置屏幕。
提供 [ld-markcomplete] 短碼,以放置在 LearnDash 課程的課程和主題範本中。
允許管理員為 LearnDash 課程的「課程」和「主題」設置作業上傳限制:「最大檔案大小」、「允許的檔案副檔名」和「最大上傳數量」。
讓您自定義並進一步設置「不良」上傳通知頁面和上傳作業區域信息。
允許您在主題或子主題中創建模板覆蓋文件夾,並在其中編排和設置樣式,使其可以更輕鬆地更新。

待辦事項

使插件與最新的 LearnDash 版本 >= 2.5.0 配合使用。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.2) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「LearnDash Assignment Uploads Control」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

This LearnDash plugin allows administrators to set limitations like max. file size, allowed file extensions and max. number of uploads for LearnDash Lessons and Topics assignment uploads.
notice:
Since Version 2.5.0, LearnDash introduced assignment upload control parameters at Lesson and Topic level. This plugin will be adapted for those changes soon enough, but until then it is recomennded for use on LearnDash versions < 2.5.0 The plugin adds ‘LDAUC Settings’ submenu under Learndash LMS admin link. By clicking on the link ‘LearnDash Assignment Uploads Control Settings’ page appears where upload options can be set. Once the options are set, all users, which are logged in and assigned to a LD Course will see additional information about upload limitations on their Lessons/Topics Assignment upload sections. If a ‘bad’ Assignment upload is performed, that is one which do not fit limitations set in the ‘LearnDash Assignment Uploads Control Settings’ page, the User will see a new page with a Notice about what was wrong and with a link back to the Lesson/Topic page to try another upload. In this case the ‘bad’ Assignment will be disregarded and will not be uploaded. Also, [ld-markcomplete] short code is generated which should be used in LearnDash Lesson and Topic templates to render additional info in ‘Display Lesson Assignments’ section. The plugin is translation ready. Layout, styling of plugin’s front end or adding additional java script to the front end if needed, can be managed within files placed in plugin’s ‘templates’ folder. This files could be overridden by adding ‘ld-assignment-uploads-ctrl’ folder to your Theme or Child Theme and copying them to it. It: will prevent logged in Users to upload an Assignment which does not fit limitations defined by administrator. provides a Settings screen in wp-admin: LearnDash LMS -> LDAUC Setings
provides [ld-markcomplete] short code to be placed in LearnDash Lesson and Topic templates
allows admin to set Assignment upload limitations: ‘max. file size’, ‘allowed file extensions’ and ‘max. number of uploaded files’ for LearnDash Lessons/Topics
allows you to adjust and additionally style the ‘bad’ upload Notice page and upload Assignment section information in your Topics and Lessons
allows you to make Template override folder in your Theme and make layout and style there, keeping them update safe …

TO DO
Make changes/additions so that plugin work with the newest LearnDash Version >= 2.5.0

延伸相關外掛

文章
Filter
Mastodon