[wordpress插件] BuddyPress GroupblogBuddyPress Group博客

wordpress 插件 文章 2020-03-10 10:40 628 0 全屏看文

AI助手支持GPT4.0

评分
62
描述

Requires BuddyPress 1.7+ and PHP 5.3+.

需要BuddyPress 1.7+和PHP 5.3 +。

The BuddyPress Groupblog plugin extends the group functionality by enabling each group to have a single blog associated with it.

BuddyPress Groupblog插件通过使每个组具有与其关联的单个博客来扩展组功能。

Group members are automatically added to the blog and will have blog roles as set by the groupblog admin settings.

网上论坛成员会自动添加到博客,并将具有由groupblog管理员设置设置的博客角色。

Features:

功能:

    • P2 integration and frontend posting.
    • P2集成和前端发布。

    • Admin can set Template specific groupblogs.
    • 管理员可以设置模板特定的组博客。

    • Allow group admins choose the desired template page themselves.
    • 允许组管理员自己选择所需的模板页面。

    • Full blog theme integration.

    • 完整的博客主题集成。

      The included bp-groupblog theme mimics the group pages.

    • 包含的bp-groupblog主题模仿了组页面。

    • Automated blog registration at group creation stage.
    • 在组创建阶段自动进行博客注册。

    • Bypass default blog validation to allow dashes, underscores, numeral only and minimum character count.
    • 绕过默认博客验证,以允许破折号,下划线,仅数字和最小字符数。

    • Blog privacy settings are initially inherited from group privacy settings.
    • 博客隐私设置最初是从网上论坛隐私设置继承的。

    • Group members are automatically added to the blog.
    • 群组成员会自动添加到博客中。

    • Blog roles match group roles as set by the group admin.
    • 博客角色匹配组管理员设置的组角色。

    • Solid error checking that the blog follows validation.
    • 固态错误检查博客是否经过验证。

    • Group admin tab to access the group-blog settings.
    • “组管理”标签可访问组博客设置。

    • Blog themes will have the ability to pull in group info and create a theme that could resemble the group exactly.
    • 博客主题将能够提取群组信息并创建与群组完全相似的主题。

    • Leaving the group will downgrade the member role to ‘subscriber’.
    • 离开小组会将成员角色降级为“订户”。

    • Allow the group admin to select one of his/her existing blogs.
    • 允许论坛管理员选择他/她现有的博客之一。

    • A new ajax backend.

      一个新的ajax后端。

      Known Issues:

      已知问题:

    • In order for Group Avatars to show on blogs please adjust the bp-core-avatars.php file.

      为了使Group Avatars显示在博客上,请调整bp-core-avatars.php文件。

      I realize this is a nono, but I don’t see another way.

      我意识到这是一个麻烦事,但我看不到其他方法。

      Patches and ideas are welcome.

      欢迎补丁和想法。

      For know adjust the last two functions for plugins/buddypress/bp-core/bp-core-avatars.php to the following:

      众所周知,将plugins / buddypress / bp-core / bp-core-avatars.php的最后两个功能调整为以下值:

      /**

      / **

        • bp_core_avatar_upload_path()
        • bp_core_avatar_upload_path()

        • Returns the absolute upload path for the WP installation
        • 返回WP安装的绝对上传路径

        • @global object $current_blog Current blog information
        • @global对象$ current_blog当前博客信息

        • @uses wp_upload_dir To get upload directory info
        • @使用wp_upload_dir获取上传目录信息

        • @return string Absolute path to WP upload directory

          @return string WP上传目录的绝对路径

          */

          * /

          function bp_core_avatar_upload_path() {

          函数bp_core_avatar_upload_path(){

          global $current_blog;

          全球$ current_blog;

          // Get upload directory information from current site

          //从当前站点获取上传目录信息

          $upload_dir = wp_upload_dir();

          $ upload_dir = wp_upload_dir();

          // If multisite, and current blog does not match root blog, make adjustments

          //如果多站点和当前博客与根博客不匹配,请进行调整

          if ( bp_core_is_multisite() && BP_ROOT_BLOG != $current_blog->blog_id )
              

          if(bp_core_is_multisite()&& BP_ROOT_BLOG!= $ current_blog-> blog_id)
              

          $upload_dir[‘basedir’] = WP_CONTENT_DIR .

          $ upload_dir [‘basedir’] = WP_CONTENT_DIR。

          ‘/uploads/’;

          ‘/ uploads /’;

          return apply_filters( ‘bp_core_avatar_upload_path’, $upload_dir[‘basedir’] );

          返回apply_filters('bp_core_avatar_upload_path',$ upload_dir ['basedir']);

          }

          }

        /**

        / **

          • bp_core_avatar_url()
          • bp_core_avatar_url()

          • Returns the raw base URL for root site upload location
          • 返回根网站上载位置的原始基本URL

          • @global object $current_blog Current blog information
          • @global对象$ current_blog当前博客信息

          • @uses wp_upload_dir To get upload directory info
          • @使用wp_upload_dir获取上传目录信息

          • @return string Full URL to current upload location

            @返回字符串指向当前上传位置的完整URL

            */

            * /

            function bp_core_avatar_url() {

            函数bp_core_avatar_url(){

            global $current_blog;

            全球$ current_blog;

            // Get upload directory information from current site

            //从当前站点获取上传目录信息

            $upload_dir = wp_upload_dir();

            $ upload_dir = wp_upload_dir();

            // If multisite, and current blog does not match root blog, make adjustments

            //如果多站点和当前博客与根博客不匹配,请进行调整

            if ( bp_core_is_multisite() && BP_ROOT_BLOG != $current_blog->blog_id )
                

            if(bp_core_is_multisite()&& BP_ROOT_BLOG!= $ current_blog-> blog_id)
                

            $upload_dir[‘baseurl’] = WP_CONTENT_URL .

            $ upload_dir [‘baseurl’] = WP_CONTENT_URL。

            ‘/uploads’;

            ‘/上载’;

            return apply_filters( ‘bp_core_avatar_url’, $upload_dir[‘baseurl’] );

            返回apply_filters('bp_core_avatar_url',$ upload_dir ['baseurl']);

            }

            }

安装步骤

1) unzip the bp-groupblog.zip file into /wp-contents/plugins/bp-groupblog

1)将bp-groupblog.zip文件解压缩到 / wp-contents / plugins / bp-groupblog

2) move all the themes in bp-groupblog/themes/ to your WP themes folder

2)将 bp-groupblog / themes / 中的所有主题移至WP主题文件夹

3) activate the plugin

3)激活插件

4) run through the admin setup options

4)运行管理员设置选项

5) You are done!

5)完成!

下载地址
https://downloads.wordpress.org/plugin/bp-groupblog.1.9.1.zip
-EOF-

AI助手支持GPT4.0


国内超级便宜服务器

摸鱼人热门新闻聚合

钻级赞助商 我要加入

开发者在线工具

第三方支付技术请加QQ群

相关文章
[wordpress插件] Banner Effect Header横幅效果标题
[wordpress插件] Airplane Mode飞行模式
[wordpress插件] Aspose Importer & ExporterAspose进出口商
[wordpress插件] Custom Columns自定义列
[wordpress插件] All in One Time Clock Lite – A WordPress Employee Time Tracking Plugin多合一时钟精简版–一个WordPress员工时间跟踪插件
随便看看
企业微信通讯录账号被管理员误/恶意删除,怎么办? 8006
问题? 7239
如何快速搭建抽奖助手小程序(无需代码知识) 5025
许涛 大哥在吗, 要解冻小程序的时候提示信息主体不一致, 能帮忙看下吗? 5978
小程序搜一搜全称搜索不显示 麻烦解决一下!谢谢 5502
我的小程序广告收款主体是个体工商户,每个月邮寄两次发票很是麻烦,我年底的时候打包邮寄一次可以么? 5198
如何解决渲染层网络错误Failed to load media? 16552
小程序找号找回 释放昵称? 2416
我的小程序广告主收入5301,实际进账4406,是怎么回事呀? 2499
删除部分微信用户个人数据的通知,怎么删除? 5538