User can not register when “deep” integration.
来源:互联网 发布:word for mac 登录 编辑:程序博客网 时间:2024/05/20 06:22
Problem:
User can not register when “deep” integration.
bbPress will not have access to WordPress’ functions unless you manually tell bbPress to load WordPress first. This integration step is also known as “deep” integration, it is a totally optional part of integration and is not required to get shared cookies and logins working. In order to do it, you need to put require_once(dirname(__FILE__) . '/path/to/wp-load.php'); in bbPress’ bb-config.php (wp-load.php is in the same directory as WordPress’ wp-config.php file, so if your bbPress folder is directly inside your WordPress folder, the command becomes require_once(dirname(__FILE__) . '/../wp-load.php');).
When i do this,came across a registration problem in bbpress.
Solution:
http://bbpress.org/forums/topic/wp-30-beta-2-integrated-user-registration
The problem is that WordPress declare a global variable called $user_email and in bbPress core file register.php they use the double-dollar notation (variable variables) that are evil. EVIL. So a $$key become a $user_email that is already defined and than not assigned and blah blah blah.
- User can not register when “deep” integration.
- WHEN NOT TO USE DEEP LEARNING
- Error: can not register my instance state - -1
- JTAG error:can not read register while CPU is running
- 安装qt-eclipse-integration-win32-1.6.0.exe could not register qtcppproparser.dll
- java mock when return can not resolve method xxxx error
- user\main.c(30): error: #1285: Implicit physical register R0 has not been defined
- Simple perl Linux downLoader (addresses in a file and it can mail user when finished)
- JLINK 调试报错 JLink Error: Can not read register 解决办法
- When not now ,When?
- The user specified as a definer ('root'@'') does not exist when
- Can not enumerate cypress USB devices when extend memory upto 16K with xdata.
- relocation R_X86_64_32S against `a local symbol’ can not be used when making a shared object; recomp
- relocation R_X86_64_32 against `.rodata' can not be used when making a shared object;
- error: relocation R_X86_64_32S against `vtable for hit' can not be used when making a shared object
- What SurfaceFlinger is doing when Buffer of Layers can not be dequeued
- oracle asm service can not find disks which are configured available when restart server
- can not be used when making a shared object; recompile with -fPIC
- WCF开发实战系列二:使用IIS发布WCF服务
- 有关调试CRM系统的一些感想
- 莫斯科的年轻人(一)
- python - 语法元素 - for in
- 在CScrollView中用CRectTracker。
- User can not register when “deep” integration.
- LESSON 8 DIGITAL FORENSICS part IV
- 选择独特性技术模式或是标准式营销模式?
- 给美女们的资料
- 华软资源共享--免费下载380套大型企业管理源码
- 网络名词解释
- 登录界面中透明编辑框的实现(测试平台WINCE 5.0)
- 软文写作
- 应该收藏的五句话