這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

WordPress Post to SMF

描述

This plugin adds WordPress posts as topics in SimpleMachines Forum 1.1.7, and allows to put a link to this topic below the WordPress post for the user to add comments

More information on the plugin homepage:
WordPress plugin post to smf

Main features:

  • SMF post is added when the WordPress post is published
  • SMF post is updated any time the WP post is updated
  • template function for linking from WP post to SMF post
  • link back from the SMF post to the WP post
  • it is possible to show on the SMF post just an excerpt

Admin page options:

  • SMF Board ID to post to
  • SMF User ID to set the post author
  • SMF Forum path and Url
  • Link from Forum to WordPress text
  • Max characters for SMF topic

If you use this plugin, please donate to support future improvements by clicking on the “Donate to this plugin” link

安裝

  1. Upload post-to-smf.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Edit file Sources/Security.php of your SMF forum, comment out the lines from 819 to 823, which means the function is_admin. it is there just for backward compatibility and conflicts with a WP function
  4. Go to the admin page post_to_smf and configure the plugin
  5. Place <p class="comments"><?php if(function_exists('post_to_smf_link')) {post_to_smf_link('Comments: read comments in the Forum'); } ?></p>
    in your template, tipically in single.php near to the comments, outside of the php tags.

常見問題

How do I identify the numeric ID of a SMF board?

The url of your board should be:

http://example.com/forum/index.php?board=7.0

7 is the board ID

How do I identify the numeric ID of a SMF user?

the url of a user profile should be:

http://example.com/forum/index.php?action=profile;u=25

25 is the user ID

How do I find the absolute path of my forum?

Absolute path of a file

評價

There are no reviews for this plugin.

貢獻者及開發者

“WordPress Post to SMF” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 WordPress Post to SMF 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄