[WordPress] 外掛分享: MyBB Cross-Postalicious

首頁外掛目錄 › MyBB Cross-Postalicious
10+
安裝啟用
★★★★★
5/5 分(5 則評價)
4064 天前
最後更新
問題解決
WordPress 3.5+ v1.1 上架:2012-12-18

內容簡介

重要提示:我個人不再更新、修補或支援此外掛,詳細資訊請參見此主題。

我需要一個外掛,讓我能夠:

發佈新的部落格文章或頁面時,自動將新主題跨貼到 MyBB 上
自動連結新創建的主題與我的 WordPress 文章,作為評論的替代方法
顯示小工具以列出最近的話題,並具有白名單的論壇 ID
能在多站台的安裝上運作
讓 MyBB 縮在 WordPress 背後,避免混淆(參閱下面的注意事項)

所以我研發了這個外掛並分享成果。

幾個注意事項:

測試適用於 WordPress 3.5、4.1.1 和 MyBB 1.6
儘管在當時 MyBB 被認為是最好的 FOSS 論壇軟體,但對我來說,MyBB 代碼庫似乎是一團混亂,而且有點過時。我不喜歡與之結合,也不信任它,因此我不希望兩個系統共用資料庫,也不想直接與 MyBB 代碼互動。因此,我只使用一些簡單的資料庫查詢,當需要進行更複雜的操作(例如發佈主題)時,我會讓 WordPress 透過 HTTP 與 MyBB 連接,就像一個常規的使用者發佈。事實上,您的 MyBB 安裝甚至可以在另一台伺服器上運行,只要您可以存取 MyBB 資料庫即可。
沒有單一登入,我希望保持賬戶的分離。
論壇帖子不會顯示為評論,而是有一個(可配置的)指向討論串的連結。起初我有一個「顯示評論」的功能(如果需要,還在我的程式碼中),但後來因為某些原因刪除了它。處理起來非常麻煩,最後我覺得評論比較缺乏社區氛圍,所以我寧願將用戶指向論壇,告訴他們「嘿,這裡有一個真正的社區,不只是帶有評論的博客文章,加入其中,玩得開心!」。
跨貼是從原始文章的編輯頁面進行更新,直接使用論壇更新跨貼則會在下次更新原始文章時丟失更改。
刪除原始文章不會觸及跨貼的內容(您可以從 MyBBXP 設定頁手動連結至其他原始文章)。
使用論壇刪除跨貼會使原始文章表現得好像從未跨貼過(可以重新跨貼)。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.1) 或搜尋安裝

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

原文外掛簡介

Important: I am not personally updating/fixing/supporting this plugin any more, please see this thread for details.
I needed a plugin to:

Automatically cross-post a new thread to MyBB when I publish a blog post or page
Automatically link the newly created thread from my WordPress post as a substitute for comments
Display a widget to list recent topics, with forum ID whitelist
Work on a multisite installation
Keep MyBB as far away from WordPress as possible (see notes below)

So I scratched my itch and now share the result.
A couple of notes:

Tested with WordPress 3.5, 4.1.1 and MyBB 1.6
Although at the time of writing MyBB seems like the best FOSS forum software no money can buy, the MyBB codebase, to me, seems like an unholy mess and rather dated. I didn’t like working with it, I don’t trust it and I don’t want any of it to touch my WordPress installation. I don’t want the two to share databases and I don’t want to interface directly with MyBB code. Therefore, I do a couple of simple database queries and when things get more complex (e.g. posting a thread), I have WordPress connect to MyBB via HTTP and post just like a regular user. As a matter of fact, your MyBB installation could run on a different server entirely as long as you have access to the MyBB database.
No single-signon, I like to keep accounts separate.
Forum posts are not listed as comments, there is a (configurable) link to the discussion thread instead. I actually had a “display posts as comments” feature in at first (still have the code somewhere if you want it), but then took it out for a couple of reasons. It was messy to deal with and in the end I felt that comments are less community oriented than a forum, so I’d rather point my users to the forum saying “Hey look, there is a real community, not just a blog post with comments, join in, have fun!”.
Cross-Posts are to be updated from the edit page of the original post, directly updating a cross-post using your forum will result in the changes being lost the next time you update the original post.
Deleting an original post will leave the cross-post untouched (you can manually link it to a different original post from the MyBBXP settings page).
Deleting a cross-post using your forum will cause the original post to behave as if it were never cross-posted (it can be cross-posted anew).

延伸相關外掛

文章
Filter
Apply Filters
Mastodon