Linux 软件免费装

BP Post Buttons

开发者 normen
更新时间 2012年6月18日 21:21
PHP版本: WP 2.9.2, BP 1.2.3 及以上
WordPress版本: WP 3.0, BP 1.2.4

标签

buddypress buttons forum smilies smileys

下载

详情介绍:

This plugin adds a button bar to buddypress forum posting textfields. Features:

安装:

This section describes how to install the plugin and get it working.
  1. Upload the bp-post-buttons folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress

常见问题:

I'd like to have the buttons above the text area

Due to the limits of the standard buddypress hooks, this requires a theme and plugin edit: Plugin - bp-post-buttons.php:

  • remove all add_action lines below the smilies Theme - groups/single/forum/edit.php: Insert in edit-topic div: <?php if(function_exists('bp_post_buttons')){bp_post_buttons_topic();}?> Insert in edit-post div: <?php if(function_exists('bp_post_buttons')){bp_post_buttons_post();}?>
Theme - groups/single/forum/topic.php: Insert in post-topic-reply div: <?php if(function_exists('bp_post_buttons')){bp_post_buttons_reply();}?>

更新日志:

1.0 0.9.1 0.9 0.8