已创建论坛回复
-
作者帖子
-
老师请问这个知识库使用什么插件做的呢?
回复至: 如何控制不同的用户权限? #30739感谢回复。我说错了,我之前用的就是这个,但是这个插件无法实现配置某个角色只能看到部分的插件设定,后来我下载member这个插件实现了,通过css 的办法来对某部分的用户角色隐藏后台左侧的部分菜单。
嗯,我这边测试HTTPs也是一样。好的,感谢!
另外,切换到PHP7 以后,我也打开了WP debug log,发现如下:
PHP Notice: Constant UCENTER_INTEGRATION_SETTING_NAME already defined in /wp-content/plugins/ucenter-integration/ucenter.php on line 18
Strict Standards: Redefining already defined constructor for class Ucenter_Integration in /wp-content/plugins/ucenter-integration/ucenter.php on line 50
只是我不熟悉PHP,不太懂这个是否与无法通信相关。
谢谢,不过这两篇博客其实我之前又搜索到,也尝试过了。首先,“echo $uc_note->$get[‘action’]($get, $post);”,插件文件不存在这个代码,只有在/wp-content/plugins/ucenter-integration/api/uc.php 有如下:
58: if ( in_array( $get[‘action’], array( ‘test’, ‘synlogin’, ‘synlogout’, ‘getcreditsettings’, ‘updatecreditsettings’ ) ) ) {
61: exit( $uc_note->$get[‘action’]($get, $post) );我将其就修改为:
58: if ( in_array( $get[‘action’], array( ‘test’, ‘synlogin’, ‘synlogout’, ‘getcreditsettings’, ‘updatecreditsettings’ ) ) ) {
61: exit( $uc_note->{$get[‘action’]}($get, $post) );但是DZ还是显示通信不成功,如果是PHP 56版本,未修改任何代码,倒是可以正常使用。
好的,我使用的https://devwp.bpteach.com/wp-admin/plugin-install.php?tab=plugin-information&plugin=ucenter-integration ,之前又可以正常使用一段时间,也看过你们的教程,但是现在是无法使用了。
回复至: 如何在用户中心中新增右侧边栏呢? #25264也就是其实你们是新建了1个页面,然后利用shortcode的方式,然后利用类似divi来构建的页面吗?
明白了,谢谢。
好的,谢谢,修改的是可以正常了。但是这个代码右边空白后,sidebar区域变成了空白占位区,占了大概20%的宽度,应该如何才能让左侧的论坛列表占据100%的视图呢?
回复至: BBpress 如何显示导航目录呢? #25220我是安装了Yoast的,发现吧Yoast的面包屑禁用后,BBpress的导航就显示出来了,应该bbpress默认是支持的,可能是和yoast冲突了。
-
作者帖子