تقويم Discourse (والحدث)

:discourse2: ملخص يضيف Discourse Calendar and Event ميزات تقويم وأحداث ديناميكية وتفاعلية إلى موقع Discourse الخاص بك.
:open_book: دليل التثبيت هذه الإضافة مدمجة في نواة Discourse. لا حاجة لتثبيت الإضافة بشكل منفصل.

تمكين التقويم (والأحداث)

يمكن تمكين إضافة التقويم إما عن طريق المفتاح أو من إعداداتها، وكلاهما متاح من صفحة admin/plugins الخاصة بك:

/admin/plugins

الميزات

بشكل غير مفاجئ إلى حد ما، تضيف Discourse Calendar (and Event) ميزات التقويم والأحداث إلى موقع Discourse الخاص بك. باستخدام هذه الميزات، يمكنك إنشاء تقويمات مواضيع فردية لتتبع المناسبات المهمة أو الجداول الزمنية، وعرض التقويمات في الفئات، وإضافة تقويم العطلات لتحديد الإجازات أو الغياب أو أيام المرض، وإنشاء مواضيع أحداث تفاعلية، بالإضافة إلى عرض ملخص تقويم سهل الوصول لجميع الأحداث القادمة.

التقويمات

يمكن إنشاء تقويمات مخصصة في مواضيع متعددة، ويمكن عرض تلك التي ترغب في منحها رؤية أعلى فوق قائمة مواضيع الفئة.

يمكنك العثور على معلومات مفصلة حول كيفية إنشاء التقويمات واستخدامها في:

الأحداث

تسمح ميزة الحدث بإدراج عناصر تفاعلية في المواضيع التي يمكن لأعضائك استخدامها للتسجيل لحضور أو المشاركة في أنشطة مجتمعك. يتم تلخيص هذه العناصر جميعًا في تقويم مخصص للموقع بأكمله، مع خيار إضافة رابط سهل الوصول إلى قائمة التنقل. يمكنك العثور على مزيد من المعلومات حول كيفية إنشاء هذه الميزة واستخدامها في:

:exclamation: لا ينبغي الخلط بين هذا وإضافة Events الخاصة بـ Pavilion (لاحظ الجمع)

إعدادات التقويم

الاسم الوصف
calendar enabled تمكين إضافة discourse-calendar. سيؤدي هذا إلى إضافة دعم لوسم [calendar][/calendar] في المنشور الأول للموضوع.
holiday calendar topic id معرف الموضوع الخاص بتقويم إجازات/غياب الموظفين.
holiday status emoji يحدد رمز الإيموجي المستخدم لحالة العطلة.
delete expired event posts after سيتم حذف المنشورات ذات الأحداث المنتهية تلقائيًا بعد (n) ساعة. اضبط على -1 لتعطيل الحذف.
all day event start time تبدأ الأحداث التي لا يتم تحديد وقت بدء لها في هذا الوقت. التنسيق هو HH:mm. بالنسبة لـ 6:00 صباحًا، أدخل 06:00
all day event end time تنتهي الأحداث التي لا يتم تحديد وقت انتهاء لها في هذا الوقت. التنسيق هو HH:mm. بالنسبة لـ 6:00 مساءً، أدخل 18:00
calendar categories عرض تقويم في أعلى الفئة. الإعدادات الإلزامية هي categoryId و postId. على سبيل المثال: categoryId=6;postId=453[1] إعدادات أخرى صالحة: tzPicker[2]، وweekends[3]، وdefaultView[4].
calendar categories outlet يسمح بتغيير المخرج الذي يجب أن يعرض تقويم الفئة.
working days تعيين أيام العمل. يمكنك عرض توفر مجموعة باستخدام وسم timezones في منشور، على سبيل المثال: [timezones group=admins][timezones]
working day start hour وقت بدء ساعات يوم العمل.
working day end hour وقت انتهاء ساعات يوم العمل.
close to working day hours extension تعيين وقت الامتداد في ساعات يوم العمل لتسليط الضوء على المناطق الزمنية.
calendar automatic holidays enabled تعيين حالة العطلة تلقائيًا بناءً على منطقة المستخدم (ملاحظة: يمكنك تعطيل عطلات تلقائية محددة في إعدادات الإضافة)
map events title يربط عنوان تقويم الشريط الجانبي بالفئة. الافتراضي هو “الأحداث القادمة”

إعدادات الأحداث

الاسم الوصف
discourse post event enabled تمكين ميزات الحدث. ملاحظة: يحتاج أيضًا إلى تمكين calendar enabled.
discourse post event allowed on groups المجموعات المسموح لها بإنشاء أحداث.
displayed invitees limit يحدد عدد المدعوين المعروضين في حدث.
display post event date on topic title يعرض تاريخ الحدث بعد عنوان الموضوع.
use local event date استخدام التاريخ المحلي بعد عنوان الموضوع بدلاً من الوقت النسبي.
discourse post event edit notifications time extension يمدد (بالدقائق) الفترة بعد انتهاء الحدث عندما لا يزال المدعوون المكونون من going يتم إشعارهم من التعديل في المنشور الأصلي.
discourse post event allowed custom fields يسمح لكل حدث بتعيين قيمة الحقول المخصصة.
events calendar categories عرض تقويم أحداث في أعلى الفئة.
sort categories by event start date enabled تمكين ترتيب مواضيع الفئة حسب تاريخ بدء الحدث.
disable resorting on categories enabled السماح للفئات بتعطيل قدرة المستخدمين على الترتيب في فئة الحدث.
sidebar show upcoming events عرض رابط الأحداث القادمة في الشريط الجانبي تحت “المزيد”. يتطلب post event enabled
map events to color تعيين لون حدث لوسم أو فئة محددة

:information_source: :curling_stone: يحتوي نقطة النهاية discourse-post-event/events.json الآن على معامل إضافي للتبديل بين الاستجابة البسيطة والمفصلة. للحصول على الاستجابة المفصلة، يمكنك إضافة ?include_details=true:

/discourse-post-event/events.json?include_details=true

التكامل مع الإضافات الأخرى

يمكنك استخدام مكون من هذه الإضافة مع Right Sidebar Blocks. ستحتاج إلى التأكد من تمكين المسار المطلوب في مكون Right Sidebar Blocks. سيكون اسم الكتلة upcoming-events-list. تاريخيًا، كانت هناك إعدادات إضافية مطلوبة في إضافة التقويم نفسها، ولكن تم تبسيط ذلك.

هذا هو الشكل الذي سيظهر عليه تقويم الشريط الجانبي بشكل افتراضي.

إذا لم ترغب في عرض الوقت، يمكنك إضافة قيمة فارغة timeFormat في إعداد كتلة المكون.

:discourse2: مستضاف لدينا؟ هذه الإضافة متوفرة في مستويات الأعمال والمؤسسات لدينا Calendar | Discourse - Civilized Discussion


  1. categoryId هي الفئة التي سيتم عرض التقويم فوقها.
    postId هو المنشور الذي وضعت فيه التقويم باستخدام [calendar][/calendar] ↩︎

  2. يمكنه عرض منتقي المنطقة الزمنية في الجزء العلوي الأيمن من التقويم. الافتراضي هو False، يمكنك تمكينه باستخدام tzPicker=true ↩︎

  3. يمكنه إخفاء أيام السبت والأحد من التقويم. الافتراضي هو True. يمكنك تعيينه على False باستخدام weekends=false. ↩︎

  4. سيقوم defaultView بتعيين عرض التقويم (يوم، أسبوع، إلخ؛). يمكن تعيينه كالتالي:

    defaultView=agendaDay
    defaultView=agendaWeek
    defaultView=month (الافتراضي)
    defaultView=listNextYear ↩︎

97 إعجابًا
How to use the calendar plugin?
Events Plugin :calendar:
Discourse Calendar - How to?
Calendar plugin, nothing is displayed
Discourse 2.2.0.beta3 Release Notes
How to use the calendar plugin?
Discourse Calendar dislpay link text rather than link url
Ability to mark any post as unread
Is there a room booking plugin?
📅 Event List Widget (Layouts Plugin)
Db:migrate fails on discourse-calendar
Inserting date/time into new topic's title field (ie, right here > !)
I am looking for a webhook or event api
Go from a Wordpress + Discourse structure to a Discourse site only?
Please better document the Discourse Calendar plugin
Creating sub-communities in a discourse server
Moderator/Admin Off Duty Button
Plugin to gather approvals / signatures on an initiative?
Vacation autoresponder for users who are away?
Plugin to show upcoming events on hosted discourse
Add recurrent items within a date-range
Use Case Question - Room/Equipment Booking
Best practices for communicating to user base
Integrate with Discourse-calendar
My Wiki of useful Meta (and other) links
Quotes in event name clears attendees
Calendar in Discourse
Show Cakeday dates on the Calendar plugin
Agenda de colegio
What are your favorite plugins for your community?
Display a category as a calendar by scheduled Topic-timer dates
Why you should use Discourse internally for your company/team instead of Slack (4 years use case)
SEO applied to Discourse Official Plugins
Newbie question: Is there a comprehensive guide to configuring and administering Discourse instance?
Events Plugin :calendar:
Help us test Horizon, our newest theme
How to display different calendar views?
Discourse calendar and event iCal integration?
Can the auto-responder fire on @mentions?
Event/Calendar Plugin - Cannot select a user for bulk-invite
Bulk Invite via modal only allowing one user (and not displaying correctly)
Event Creation
500 Error when posting, moment.tz runtime error
Best practice for a topic for a recurring event
How to get "back" btn
Event Chat Channels Now Available
📅 New Calendar Feature: End Date for Recurring Events
🌍 New Calendar Feature: Show Local Time
What livestream/webinar platforms do you use?
Custom Wizard Plugin :mage:
ICS → Discourse Importer
How have you built a local community around Discourse?
Events Plugin :calendar:
What happens next?
Bundling more popular plugins with Discourse core
Calendar subscription URLs for external calendar apps
Listing event invitees with email addresses
Discourse Daily Challenges
It is very difficult to make events all day in the events modal (and 00:00 is confusing)
When "closing" event it moves it to today's date & time
Category Calendar with defaultView="listNextYear" not showing events
Calendar Core - Needs any special theme?
Creating and managing calendars
Sorting Categories by Title
Creating and managing events
Category Calendar with defaultView="listNextYear" not showing events
The "Save Changes" button is very low on my user preferences interface page
Group Timezones
Available hours / work hours flair
Could use help, setting up new community
Feature request: wrap calendar items when there's just one per day
Right Sidebar Blocks
Custom Discourse instance for a writers club
Unread messages blue numbers appearing in Latest lately (when they shouldn't)?
Database migration chokes on huge value of a "calendar-details" item in table "post_custom_fields"
"Out of office" user indicator
Database migration chokes on huge value of a "calendar-details" item in table "post_custom_fields"
Events Plugin :calendar:
Events Plugin :calendar:
Calendar plugin features to make it really useful for us
Topic List Previews (TLP)
"Out of office" user indicator
Can discourse display topic replies in reverse order?
Discourse Livestream
New to Discourse, have some questions :)
Expired events with end times are being removed from upcoming-events even with setting set to -1
Setup Continuous Integration using GitHub Actions
Add color to events based on event category or tag?
Is there any way to change the starting date of the Calendar?
Add color to events based on event category or tag?