[WordPress] 外掛分享: SMF Group Members

首頁外掛目錄 › SMF Group Members
全新外掛
安裝啟用
尚無評分
5287 天前
最後更新
問題解決
WordPress 3.1.4+ v0.4.1 上架:2011-09-14

內容簡介

這個小工具會顯示 SMF 論壇上的所有成員。根據您的設置,它只會顯示名稱,或者名稱 + 头像圖像。如果用戶沒有在 SMF 論壇上設置頭像,它將顯示您可以指定的通用圖像(請參見下面的示例圖像)。支援鏈接:http://www.longu.de/_smfgm_redirect.php

這個外掛在 WP 管理面板中添加了一個單獨的配置菜單(名為 “SMF Groups”)。您需要添加以下數據:

將數據庫連接詳細信息添加到您的 Simple Machine Forum 數據庫中。
輸入您想在小工具中顯示的 SMF 成員組的 ID。
修改小工具的 HTML 代碼。
如果您想顯示成員頭像(從 SMF 中取得),您需要修改 /attachments/.htaccess 文件。

每個字段都有一個示例,說明它應該包括什麼內容。

“限制”字段決定總共列出多少位成員。虛擬圖像是選項性的。必須是一個 http:// URL。如果設置了它,當用戶沒有在其 SMF 概要文件中設置圖像時,它使用這個圖像。

重要提示:SMF 2.0 在 “/forum/attachments/.htaccess” 添加了一個 .htaccess 文件。這個文件會阻止來自不同域名的所有請求。因此,如果您想使用此小工具來顯示來自不同服務器/域名的 SMF 論壇的成員組,您需要修改此 .htaccess 文件(所需步驟在此小工具的管理部分中已有說明)。

需要反饋意見!這是外掛的早期版本。如果您喜歡它,它可以進一步改進,例如:

從每個頭像連接到 SMF 概要
從每個頭像連接到其他概要(如 FB)
更多的範本選項
以標籤的方式在博客文章中顯示其他的成員或所有成員
多種預定義的輸出設置
更好的緩存/性能(儘管它已經足夠滿足您的需求)

外掛標籤

開發者團隊

⬇ 下載最新版 (v0.4.1) 或搜尋安裝

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

原文外掛簡介

This widget displays all members from a SMF forum. Depending on your settings, it displays only the name or name + avatar image, if user didn’t set an avatar in the SMF forum, it displays a generic image you can specify (see the example image below). Support: http://www.longu.de/_smfgm_redirect.php
The plugin adds a seperate configuration menu in the WP admin panel (called “SMF Groups”). You need to add the following data:

Add the database connection details to your Simple Machine Forum database.
Enter ID of the SMF member group you want to display in the widget.
Modify the HTML code for the widget.
If you want to display member avatars (from SMF), you NEED to modify the /attachments/.htaccess file.

Each field has an example what it should include.
The field “Limit” determines how many mambers are listed in total. Dummy image is optional. Needs to be a http:// URL. If you set it, it uses this image if a user has no image set in his SMF profile.
Important: SMF 2.0 adds a .htaccess file at “/forum/attachments/.htaccess”. This file blocks all requests from different domains. So if you want to use this widget to display a member group from a SMF forum from a different server/domain, you NEED to modify this .htaccess file (the needed steps are explained in the admin section of this widget).
Feedback needed! This is a very early version of the plugin. If you like it, it can be improved a lot, for example:

Links from each avatar to SMF profiles
Links from each avatar to other profiles (like FB)
More options for templating
Tag option to displays one member or all members inside a blog entry/article
Several predefined output settings
Better caching/performance (though it should be suitable for your needs already)

延伸相關外掛

文章
Filter
Apply Filters
Mastodon