[wordpress插件] bbPress WP TweaksbbPress WP调整

wordpress 插件 文章 2020-03-01 22:00 616 0 全屏看文

AI助手支持GPT4.0

评分
82
描述

bbPress WP Tweaks replaces regular sidebar with forum specific “bbPress sidebar”.

bbPress WP Tweaks用论坛特定的“ bbPress侧边栏”替换了常规侧边栏。

To setup forum specific sidebar you should first select correct forum wrapper file which has sidebar.

要设置论坛专用的侧边栏,您应该首先选择带有侧边栏的正确的论坛包装文件。

Then select what action perform with existing sidebar: replace, prepend or append.

然后选择对现有边栏执行的操作:替换,添加或追加。

Then select which sidebar to target with this action.

然后选择通过此操作定位的侧边栏。

You can also choose “none” option for target sidebar, in that case no bbPress sidebar will not be added to wordpress.

您也可以为目标侧栏选择“无”选项,在这种情况下,不会将bbPress侧栏添加到wordpress中。

If nothing in forum sidebar then regular sidebar will be shown.

如果论坛侧边栏中没有任何内容,则将显示常规侧边栏。

You can choose which forum wrapper template to use in plugin settings page or specify other custom wrapper file that exists in your theme.

您可以在插件设置页面中选择要使用的论坛包装模板,也可以指定主题中存在的其他自定义包装文件。

Features:

功能:

    • bbPress specific sidebar instead of default blog sidebar.
    • bbPress特定的侧边栏,而不是默认的博客侧边栏。

    • Change default wrapper for forum pages
    • 更改论坛页面的默认包装器

    • bbPress login links widget
    • bbPress登录链接窗口小部件

    • bbPress users widget
    • bbPress用户小部件

    • Login and register links under forum
    • 在论坛下登录并注册链接

    • Show forum description
    • 显示论坛说明

    • Forum related columns for users view in admin area
    • 与论坛相关的列供用户在管理区域中查看

    bbPress specific sidebar – you can use different sidebar on forum pages.

    bbPress特定的侧边栏 –您可以在论坛页面上使用其他侧边栏。

    You can choose which sidebar to replace, append or prepend to.

    您可以选择要替换,附加或前置的侧边栏。

    Appending or prepending is useful if you only need to add couple forum related widgets.

    如果只需要添加几个与论坛相关的小部件,则追加或前置很有用。

    Custom sidebar will be used in all forum related pages including forum, topic, reply,and user profile pages.

    自定义边栏将用于所有与论坛相关的页面,包括论坛,主题,回复和用户个人资料页面。

    default wrapper for forum pages – bbPRess uses wrapper file in your theme in this order: 'bbpress.php', 'forum.php', 'page.php', 'single.php'

    论坛页面的默认包装器 – bbPRess在您的主题中按以下顺序使用包装器文件:'bbpress.php','forum.php','page.php','single.php'

    , 'index.php'.

    ,“ index.php”。

    First existing template file will be used.

    将使用第一个现有的模板文件。

    You can choose which template file to check first.

    您可以选择首先检查哪个模板文件。

    Most themes don’t have sidebar in ‘page.php’, ‘single.php’ files, if you choose them then no sidebar will be shown in forums.

    大多数主题在“ page.php”,“ single.php”文件中没有侧边栏,如果您选择它们​​,则论坛中不会显示侧边栏。

    On the other hand most themes ‘index.php’ file always has sidebar.

    另一方面,大多数主题“ index.php”文件始终带有侧边栏。

    If you cannot see forum sidebar then change this value to index.php in plugin settings (settings -> bbPress WP Tweaks ) page.

    如果看不到论坛侧栏,则在插件设置(设置-> bbPress WP Tweaks)页面中将此值更改为index.php。

    If your theme has other non standard template files like “page-fullwidth.php” for example then you can use it by selecting “custom” option and writing page-fullwidth.php in text input field.

    如果您的主题还有其他非标准模板文件,例如“ page-fullwidth.php”,则可以通过选择“自定义”选项并在文本输入字段中写入page-fullwidth.php来使用它。

    If that file exists then it will be used as forum wrapper.

    如果该文件存在,则将其用作论坛包装。

    bbPress login links widget – if you want to display login and register links instead of login form in your sidebar then use this widget.

    bbPress登录链接窗口小部件 –如果要在侧边栏中显示登录和注册链接而不是登录表单,请使用此窗口小部件。

    By default bbPress will not show login links to visitors if they want to post in forum.

    默认情况下,如果访客要在论坛中发帖,bbPress不会显示访问者的登录链接。

    Use this widget instead of login form in your bbPress sidebar.

    在bbPress侧栏中使用此小部件代替登录表单。

    bbPress users widget – used to display users linking to their profile pages ordered by:

    bbPress用户小部件 –用于显示链接到其个人资料页面的用户,这些用户按以下顺序排序:

    * most topics with count

    *大多数主题带有计数

    * most replies with count

    *最多回复计数

    * recently active with time

    *最近随着时间活跃

    * online users with time

    *有时间的在线用户

    * new users with registration time

    *具有注册时间的新用户

    * old users with registration time

    *具有注册时间的老用户

    Login and register links under forum – will add login and register links where “You must be logged in to create new topics.”

    在论坛下登录和注册链接 –将在“您必须登录才能创建新主题”的位置添加登录和注册链接。

    and “You must be logged in to reply to this topic.”

    和“您必须登录才能回复此主题。”

    messages shown.

    显示的消息。

    By default you will see above mentioned messages with no login or register links.

    默认情况下,您将看到上述消息,没有登录或注册链接。

    With this options selected you will see under those messages login links and will be redirected back to that topic or forum after logging in using those links.

    选择此选项后,您将在这些消息登录链接下看到该链接,并在使用这些链接登录后将重定向回该主题或论坛。

    Login and register links can be customized with custom HTML code to match your website design.

    可以使用自定义HTML代码自定义登录和注册链接,以匹配您的网站设计。

    Show forum description – By default forum description is shown only on where forums are listed, not in forum page.

    显示论坛说明 –默认情况下,论坛说明仅显示在列出论坛的位置,而不显示在论坛页面中。

    With this options enabled you will show forum description on Forum page, on sub forums, on topics, on replies.

    启用此选项后,您将在“论坛”页面,子论坛,主题,回复上显示论坛说明。

    So user will know what this forum about.

    因此用户将知道该论坛的内容。

    If it is a product forum then you can add product image, links or buttons to product page, pricing/purchase page etc. This will make navigation between product and forum a lot easier.

    如果是产品论坛,则可以在产品页面,定价/购买页面等中添加产品图片,链接或按钮。这将使产品和论坛之间的导航变得更加容易。

    Forum related columns for users view in admin area – is must have feature to have for any forum administrator.

    用户在管理区域中查看的与论坛相关的列 –必须具有任何论坛管理员的功能。

    With this option enabled you will have forum related sortable columns “number of topics”, “number of replies”, “registration date”, “last active date” in “Users” admin page.

    启用此选项后,您将在“用户”管理页面中拥有与论坛相关的可排序列“主题数”,“回复数”,“注册日期”,“上次激活日期”。

    Topic and reply counts are linked to user profile pages.

    主题和回复计数链接到用户个人资料页面。

    You can sort by those columns and see latest registered users or users with most topics.

    您可以按这些列进行排序,并查看最新注册的用户或主题最多的用户。

    Each column seperately can be switched off using “Screen Options” inside users page.

    可以使用用户页面内的“屏幕选项”分别关闭每列。

    Disable not used features of plugin – you can disable sidebar by selecting “none” as target sidebar.

    禁用插件未使用的功能 –您可以通过选择“无”作为目标侧边栏来禁用侧边栏。

    Disable widgets by unchecking relaed checkboxes in plugin options page.

    通过在插件选项页面中取消选中相关复选框来禁用小部件。

    All other features also can be individually enabled or disabled in plugin options page.

    其他所有功能也可以在插件选项页面中单独启用或禁用。

    Demo

    演示

    Check out one of my sites’ bbPress forum page.

    查看我的网站之一 bbPress论坛页面

    Plugin home page

    插件主页

    bbPress wp tweaks plugin page & Documentation.

    bbPress wp调整插件页面和文档

安装步骤

Updgrading From A Previous Version

从以前的版本升级

To upgrade from a previous version of this plugin, delete the entire folder and files from the previous version of the plugin and then follow the installation instructions below.

要从此插件的先前版本升级,请从该插件的先前版本中删除整个文件夹和文件,然后按照以下安装说明进行操作。

Installing The Plugin

安装插件

Extract all files from the ZIP file, making sure to keep the file structure intact, and then upload it to /wp-content/plugins/.

从ZIP文件中提取所有文件,确保保持文件结构完整,然后将其上传到 / wp-content / plugins /

This should result in the following file structure:

这将导致以下文件结构:

- wp-content    

 -wp-content    

- plugins        

-插件        

- bbpress-wp-tweaks            

-bbpress-wp-调整            

|

|

bbpress-wp-tweaks.php        

bbpress-wp-tweaks.php        

|

|

readme.txt        

readme.txt        

|

|

style.css

style.css

Then just visit your admin area and activate the plugin.

然后只需访问您的管理区域并激活插件即可。

Or use plugin installer by navigating to “Plugins” -> “Add new” page and search for “bbPress wp tweaks”.

或通过导航到“插件”->“添加新”页面并使用“ bbPress wp tweaks”来使用插件安装程序。

Then click install and then activate buttons for related plugin.

然后点击安装,然后激活相关插件的按钮。

See Also: “Installing Plugins” article on the WP Codex

另请参见:WP Codex上的“安装插件”文章

>

>

Using The Plugin

使用插件

    • Add bbPress login links and other bbPress related widgets to bbPress sidebar in “Appearence” -> “Widgets” page
    • 将bbPress登录链接和其他bbPress相关的小部件添加到“外观”->“小部件”页面中的bbPress侧栏中

    • Select forum wrapper file in plugin settings page (“Settings” -> “bbPress WP Tweaks”)
    • 在插件设置页面(“设置”->“ bbPress WP调整”中)选择论坛包装文件

    • Check other options for tweaking your forum
    • 检查其他选项以调整您的论坛

下载地址
https://downloads.wordpress.org/plugin/bbpress-wp-tweaks.1.4.3.zip
-EOF-

AI助手支持GPT4.0