[WordPress] 外掛分享: Attending Users

前言介紹

  • 這款 WordPress 外掛「Attending Users」是 2012-02-13 上架。
  • 目前有 10 個安裝啟用數。
  • 上一次更新是 2012-02-16,距離現在已有 4826 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 2.7 以上版本才可以安裝。
  • 有 1 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

menian |

外掛標籤

Event | attend | add users | event list | attending list |

內容簡介

作為網站擁有者,「Attending Users」外掛可以幫助您在文章底部添加到場名單。註冊用戶可以點擊清單上的提交按鈕以添加或刪除他們的名字。用戶名稱會作為作者頁面的鏈接,無論您如何設置固定連結。

使用方法:

安裝外掛後,您可以前往設置頁面,按需進行更改。在「設置」頁面中,您可以為自定義內容類型添加支持,添加新的標題以供選擇進行創建到場名單,或更改按鈕標籤(例如「提交」、「取消訂閱」等)。當您前往創建新文章或編輯現有文章時,會出現名為「到場名單」的新元框(例如標籤或分類的框)。從該元框中,您可以選擇清單的標題。當文章被保存/發布時,清單將添加到頁面底部。要刪除已創建的清單:為標題選擇空選項。任何已登錄的用戶都可以點擊清單上的「到場」按鈕。未註冊的用戶將看到一條消息,告訴他們如果要將其名稱添加到該列表中,則需要註冊。

更多需了解的事項:

如果用戶的名字和姓氏都添加到其個人資料中,那麼這兩個名字都會呈現在列表中。如果其中一個名字未填寫,則將使用登錄名。這樣做是為了保持列表中所有名稱的獨特性。
該外掛在刪除時會刪除其數據庫表格和選項。
該外掛將使用自定義數據庫前綴。
該外掛具有一個唯一名稱的類。這樣做可降低與其他外掛功能發生衝突的機會。
每個功能開頭都有一個注釋,解釋其所用目的。
代碼中定義了外掛版本,這樣可以更輕鬆地進行後續的更新。

不相容性:

如果啟用了「Like」外掛,則「Attending Users」外掛無法正常工作。不相容性的結果是將用戶名稱重複添加到列表中。目前尚未找到解決方案。您可以嘗試使用「Simple Social Buttons」外掛代替「Like」。如果發現任何其他造成問題的外掛,請通報。

作者模板中用戶點擊過的文章列表

在該外掛的末尾,我分享了一些代碼行(已注釋),這些代碼可以改進您的作者模板。此代碼將解鎖列出用戶點擊過的所有文章的功能。將代碼複製並粘貼到您的author.php文件的循環之前。

原文外掛簡介

As web site owner, Attending Users will help you in adding an attending list to the bottom of your posts. Registered users can click on the Submit button of the list in order to have their names added or removed. User names act as author page links, no matter how you have set your Permalinks.
Usage:
After you install the plugin, you can go to the settings page and change them as you like. In the Settings page
you can add support for your custom content types, add new titles to chose from when creating attending lists or change the labels of buttons (ex. Submit, unsubscribe). A new meta-box, called Attending List, will be present (meta-box is for example is the box for tags or categories) when you go to create a new post or edit existing one. From that meta-box you can chose a title for your list. When the post is saved/published the list will be added at the bottom of the page. To remove already created list: select the empty option for title. Any logged in user can click on the button for Attending at a list. Not registered users will see a message, telling them that they have to register if they want to have their names added to the list.
What should you know more?

If a user has both First and Last name added to his profile, than both of them will be presented on a list. If one of those names is not filled in, than the login name is used. The idea is to keep all names on the list unique.
The plugin removes it’s database tables and options when deleted.
The plugin will work with custom database prefix.
The plugin has a Class with unique name. By doing so, the chances of conflict with functions from other plugins has been reduced.
Every function starts with a comment explaining what it is supposed to do.
There is plugin version defined in the code, which will make it easier for further updates.

Incompatibility:
Attending Users doesn’t work as expected if Like plugin is active. The result of
incompatibility is in adding twice the user name to a list. No solution has been found yet. You can try using Simple Social
Buttons instead of Like. Please, report if you find any other plugins causing problems.
List of posts where user has clicked Attend on author’s template
At the end of the plugin, I’ve shared few lines of code (commented out) that can improve your author’s template. That code will unlock the feature of listing all posts where a user has clicked Attend. Copy the code and paste it right before the loop of your author.php file.

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Attending Users」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


1.0 | trunk |

延伸相關外掛(你可能也想知道)

  • VS Event List 》關於, 這是一個輕量級的外掛程式,可創建自定義事件列表。, 在頁面上添加短代碼或使用小工具來顯示您的事件。, 您可以透過設置頁面或將屬性添加到短代碼或小...。
  • Events as Posts 》「Events as Posts」是一個簡單的WordPress外掛,讓您可以像發布常規文章一樣發布事件,但包含日期、時間和地點等額外字段。, 此外,透過短碼功能 (shortcode...。
  • WordPress Event Calendar 》SpoonTalk Event Calendar 是一款簡單的外掛,可讓您在日曆中顯示事件列表。可以使用 shortcode [st_event] 將日曆嵌入到頁面/文章中。, 這個外掛正在進行 be...。
  • Simple event list for Elementor 》非常簡單易用的事件列表,您可以使用簡碼或 Elementor 小工具來添加。, 前往設定 - 簡單事件以添加或編輯事件。。

文章
Filter
Apply Filters
Mastodon