[WordPress] 外掛分享: Evangelische Termine

首頁 › 外掛目錄 › Evangelische Termine
WordPress 外掛 Evangelische Termine 的封面圖片
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
100+
安裝啟用
★★★★★
5/5 分(2 則評價)
7 天前
最後更新
—
問題解決
WordPress 5.0+ PHP 7.4+ v3.5.0 上架:2015-07-21

內容簡介

Evangelische Termine 外掛可將「Evangelische Termine」活動資料庫串接至 WordPress,透過多種 Shortcode 與小工具顯示單一或多個主辦單位及地區的活動資訊。請注意:此外掛已於 2023 年 8 月起停止開發維護。

【主要功能】
• 提供多種 Shortcode 嵌入活動列表與篩選功能
• 支援 Teaser 模式與 Panel 面板式活動展示
• 提供迷你日曆 Shortcode 嵌入功能
• 內建小工具可於側邊欄顯示活動資訊
• 後台設定頁面統一管理外掛基本參數
• 支援自訂 CSS 樣式與參數覆寫預設值

外掛標籤

開發者團隊

⬇ 下載最新版 (v3.5.0) 或搜尋安裝

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

原文外掛簡介

“Evangelische Termine” (https://www.evangelische-termine.de/) is the event calendar of the Protestant churches in Germany. This plugin fetches the events of one or more organisers, or of a whole region (Dekanat), from that calendar and shows them in WordPress. Shortcodes and a widget control what is shown.
The calendar itself is in German, so its output is in German.
Shortcodes

[et_veranstalter]: event list with a filter form, pagination and detail view, for example [et_veranstalter vid="952"]
[et_teaser]: event list without a search form, for example [et_teaser vid="952,988" itemsperpage="5"]
[et_panels]: events as panels with their images, for example [et_panels vid="952"]
[et_minical]: the mini calendar of Evangelische Termine, for example [et_minical vid="952"]

The widget “Evangelische Termine” shows the next events in a widget area. Every default from the settings can be overridden per shortcode and per widget. Documentation (German): https://github.com/habakuk007/evangtermine/tree/master/docs
To hide the “Mehr laden” (load more) panel of [et_panels], add #load1 { display: none; } to your CSS.
External service
This plugin fetches the events live from an external service: Evangelische Termine (www.evangelische-termine.de). The host can be changed in the settings, for example for the calendar of another regional church.

When: every time [et_veranstalter], [et_teaser], [et_panels] or the widget is shown. The output of [et_teaser] and of the widget is cached for 5 minutes. [et_minical] loads its data from your own site: its JavaScript calls two public REST routes of this plugin (/wp-json/evangtermine/v1/minical/events and /detail), and your server fetches the data from the host in the settings. These answers are cached for 5 minutes too.
What is sent: the query parameters (organiser ID, region ID, filters, a visitor’s search term and page number, the ID of an event), the URL of the requesting page as Referer and the plugin version in the User-Agent. This request is made by your server, so it does not contain the IP addresses of your visitors. For [et_minical] only known filter parameters are passed on (organiser, region, filters, search term), the month and the ID of an event.
Returned content: the HTML delivered by the service is shown on your site as it is, without filtering. Only use a host that you trust. Scripts and libraries (jQuery, jQuery UI, Bootstrap, Font Awesome) are loaded from WordPress and from this plugin, not from the service.
What the visitor’s browser loads directly: the images of events in [et_panels] and in the detail view, which are stored at the service’s hosting provider (currently et-live.obsv3.de-global-1.spacenet.cloud) or at the service itself; the popup of [et_minical] (shown after a click on an event) additionally references stylesheets, scripts, fonts and images of the service. These servers receive the IP address and the user agent of the visitor. The calendar and the list of events of [et_minical], [et_teaser] and the widget load nothing from other servers.
Privacy policy of the service: https://www.evangelische-termine.de/datenschutz

Settings and parameters
Settings
The settings are under “Settings” > “Evangelische Termine”. Several organiser IDs (Veranstalter-ID) are given as a comma-separated list without spaces. The CSS file (CSS-Datei) replaces the stylesheet of Evangelische Termine; enter nocss to load no stylesheet. The encoding is utf8 (default) or latin1, the protocol http:// or https:// (default), the host (Host des Kalenderbetreibers) defaults to www.evangelische-termine.de.
Parameters
The parameters are described in the manual of Evangelische Termine (German). The plugin supports:
vid: organiser ID or several IDs separated by commas, for example [et_teaser vid="952,988"].
region: three-digit region number, or several numbers separated by commas. [et_veranstalter] then shows a field to choose the organiser. Set vid to all or to a preselected organiser.
eventtype: ID of the event category. A leading - excludes it. Several IDs can be separated by commas.
highlight: all or high (only highlighted events).
people, person, place, ipm, cha: comma-separated IDs of target groups, contact persons, venues, event types (input masks) and channels.
itemsperpage: number of events. For [et_veranstalter] use 5, 10, 20, 30, 40, 50 or 100. Default: 20.
dest: extern (public only, default), intern or all.
until: show an event until its end date (yes, default) or not (no).
q: search terms, separated by spaces.
auswahl: eb shows adult education events in Bavaria (input mask or channel “Erwachsenenbildung”).
Widget
The widget form offers these parameters except people and person, plus a field for additional parameters in the form param1=value1¶m2=value2.
Filters for developers

evangtermine_http_timeout: request timeout in seconds (default 15, 1 to 30).
evangtermine_cache_ttl: cache lifetime of [et_teaser] and the widget in seconds (default 300, 0 = off).

Bundled libraries

Bootstrap 3.4.1, CSS only (MIT), https://getbootstrap.com/ – used by [et_panels]. Last 3.x release, fixes the known CVEs. No Bootstrap JS.
Font Awesome 4.7.0, CSS and woff/woff2 fonts (OFL 1.1 / MIT), https://fontawesome.com/v4/ – used by [et_panels]. No JavaScript, no known CVE.
jQuery UI 1.12.1 base theme (MIT), https://jqueryui.com/ – used by [et_minical] and the date filter of [et_veranstalter]
Colorbox 1.6.4 (MIT), https://www.jacklmoore.com/colorbox/ – used by [et_minical]. Final release, no known CVE.

jQuery, the date picker and moment come from WordPress.
Alternative
Evangelische Termine also has its own widget for any CMS (after login at the service: “Information” > “Widgets”).
Credits
Originally developed by Norbert Räbiger (https://profiles.wordpress.org/regibaer).

延伸相關外掛

文章
Filter
Mastodon