內容簡介
** 重要 **
此外掛已針對 BuddyPress 1.5.1 進行更新
此外掛將「封鎖」活動記錄,不讓其存入串流/資料庫,例如新會員註冊、加入社群、建立好友。
請注意,這不會讓活動記錄進入資料庫。您需要知道活動記錄的「類型」。建議不要封鎖 activity_comment 和 activity_update 活動 (會導致 buddypress 錯誤)
什麼是活動類型?BP Core 包括幾個類型,而外掛在連接 activity_record 函數時也可以註冊自己的類型。此外掛會掃描活動表格以查看已記錄的不同類型,但由於新外掛不斷出現,因此結果會不斷變化。
相關連結:
作者網站
BuddyPress 封鎖活動串流類型 - 關於頁面
BuddyPress 和 bbPress 開發人員 Hook 和 Filter API 參考
@etivite etivite+
額外配置
查看此論壇主題,以瞭解更詳細的勾子類型檢查設置:http://etivite.com/groups/buddypress/forum/topic/quick-tip-hooking-block-activity-stream-types-plugin-on-a-granular-level/
外掛標籤
開發者團隊
② 後台搜尋「BuddyPress Block Activity Stream Types」→ 直接安裝(推薦)
原文外掛簡介
** IMPORTANT **
This plugin has been updated for BuddyPress 1.5.1
This plugin will “block” an activity record from being saved to the stream/database. Such as new member registration, joining groups, friendships created.
Please note, this will not allow an activity record to be saved into the database at all. You will need to know the “type” of activity record. It is advised NOT to block activity_comment and activity_update activities (will cause errors in buddypress)
What are activity types? BP Core includes several and plugins may register their own when hooking into the activity_record functions. This plugin will scan the activity table for distinct types already logged but will be ever changing due to new plugins.
Related Links:
Author’s Site
BuddyPress Block Activity Stream Types – About Page
BuddyPress and bbPress Developer Hook and Filter API Reference
@etivite etivite+
Extra Configuration
See this forum thread for details on hooking the type check: http://etivite.com/groups/buddypress/forum/topic/quick-tip-hooking-block-activity-stream-types-plugin-on-a-granular-level/
