WordPress.org

China 简体中文

  • 主题
  • 插件
  • 新闻
    • 文档
    • 论坛
  • 关于
  • 获取 WordPress
获取 WordPress
WordPress.org

Plugin Directory

BP Profile as Homepage Fork

  • 提交插件
  • 我的收藏
  • 登录
  • 提交插件
  • 我的收藏
  • 登录

该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

BP Profile as Homepage Fork

作者:mort3n
下载
  • 详情
  • 评价
  • 安装
  • 开发进展
支持

描述

This plugin lets you have a normal site Homepage for visitors while logged-in users have their BP Profile as Homepage. This is similar to Facebook. The redirection can be disabled for a particular role.

** When a user logs in, (s)he is redirected to the BP Profile.

** When a logged-in user goes to the site Homepage, (s)he is redirected to the BP Profile.

** When a user logs out, (s)he is redirected to the site Homepage.

The plugin is successfully tested with WordPress 3.6 and BuddyPress 1.8.1

Note: This plugin is a fork of the excellent plugin https://wordpress.org/extend/plugins/bp-profile-as-homepage/ by Jatinder Pal Singh. This fork updates and improves the code in a variety of ways.

安装

  1. Upload bp-profile-as-homepage-fork directory to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Under Settings -> BP Profile as Homepage Fork, the plugin redirection can be disabled for a particular role. By default, the plugin redirection is disabled for No one.

常见问题

How is this plugin best used?

It is suggested that you should have a static HOMEPAGE for visitors which allows registration. Once a user has logged in BuddyPress, (s)he will be redirected to the BP Profile. While being logged in the user is redirected to the BP Profile when clicking Homepage links or the logo of the website. This provides the user with easy access to the BP Profile.

Is the plugin compatible with earlier version og WP and BP

The plugin is very likely to be compatible with earlier versions of WordPress and BuddyPress, at least to WP 3.2 and BP 1.5. However, backwards compatibility has not been tested.

Possible conflicts with this plugin?

The plugin may conflict with other redirection plugins. There are no known plugin conflicts.

Is this plugin ready for translation?

Yes.

评价

此插件暂无评价。

贡献者及开发者

「BP Profile as Homepage Fork」是开源软件。 以下人员对此插件做出了贡献。

贡献者
  • mort3n

帮助将「BP Profile as Homepage Fork」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志。

更新日志

1.1.3

  • Removed code used for debugging

1.1.2

  • Updated .POT file

1.1.1

  • Logic behind role checking redone

1.1

  • Status codes are no longer returned
  • Separated redirects after login and on homepage for logged in users
  • Removed use of $bp global variable

1.0

  • Just forked from https://wordpress.org/extend/plugins/bp-profile-as-homepage/
  • Now returns status code 302. This is required by some browsers and firewalls to allow the plugin redirection
  • Removed use of deprecated functions
  • Now uses nonces for verification
  • Now uses redirect function as described in the Codex
  • Now handles custom roles
  • Now fully ready for localization

额外信息

  • 版本 1.1.3
  • 最后更新:12 年前
  • 活跃安装数量 10+
  • WordPress 版本 3.5.1 或更高版本
  • 已测试的最高版本为 3.6.1
  • 语言
    English (US)
  • 标签
    buddypresshomepageloginprofileredirection
  • 高级视图

评级

4 星(最高 5 星)。
  • 3 条 5 星评价 5 星 3
  • 1 条 4 星评价 4 星 1
  • 0 条 3 星评价 3 星 0
  • 0 条 2 星评价 2 星 0
  • 1 条 1 星评价 1 星 1

添加我的评价

查看全部评论

贡献者

  • mort3n

支持

有话要说吗?是否需要帮助?

查看支持论坛

  • 关于
  • 新闻
  • 主机
  • 隐私
  • 陈列窗
  • 主题
  • 插件
  • 区块样板
  • 学习
  • 支持
  • 开发者
  • WordPress.tv ↗︎
  • 参与
  • 活动
  • 捐赠 ↗
  • 未来五分计划
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

China 简体中文

  • 关注我们的 X(原 Twitter)账号
  • Visit our Bluesky account
  • Visit our Mastodon account
  • Visit our Threads account
  • 访问我们的 Facebook 公共主页
  • 关注我们的 Instagram 账号
  • 关注我们的 LinkedIn 主页
  • Visit our TikTok account
  • 访问我们的 YouTube 频道
  • Visit our Tumblr account
代码如诗