已創建論壇回覆
-
作者帖子
-
老師請問這個知識庫使用什麼插件做的呢?
回覆至: 如何控制不同的用户權限? #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 衝突了。
-
作者帖子