bunse

已建立論壇回覆

正在檢視 10 個帖子:1-10 (共 20 個帖子)
  • 作者
    帖子
  • bunse
    參與者
    • 文章數量: 30
    @bunse
    樓主

    老師請問這個知識庫使用什麼外掛做的呢?

    bunse
    參與者
    • 文章數量: 30
    @bunse
    樓主

    感謝回覆。我說錯了,我之前用的就是這個,但是這個外掛無法實現配置某個角色只能看到部分的外掛設定,後來我下載 member 這個外掛實現了,透過 css 的辦法來對某部分的使用者角色隱藏後臺左側的部分選單。

    bunse
    參與者
    • 文章數量: 30
    @bunse
    樓主

    嗯,我這邊測試 HTTPs 也是一樣。好的,感謝!

    bunse
    參與者
    • 文章數量: 30
    @bunse
    樓主

    另外,切換到 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,不太懂這個是否與無法通訊相關。

    bunse
    參與者
    • 文章數量: 30
    @bunse
    樓主

    謝謝,不過這兩篇部落格其實我之前又搜尋到,也嘗試過了。首先,「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 版本,未修改任何程式碼,倒是可以正常使用。

     

    bunse
    參與者
    • 文章數量: 30
    @bunse
    樓主

    好的,我使用的 https://devwp.bpteach.com/wp-admin/plugin-install.php?tab=plugin-information&plugin=ucenter-integration ,之前又可以正常使用一段時間,也看過你們的教程,但是現在是無法使用了。

    bunse
    參與者
    • 文章數量: 30
    @bunse
    樓主

    也就是其實你們是新建了 1 個頁面,然後利用 shortcode 的方式,然後利用類似 divi 來構建的頁面嗎?

    bunse
    參與者
    • 文章數量: 30
    @bunse
    樓主

    明白了,謝謝。

    bunse
    參與者
    • 文章數量: 30
    @bunse
    樓主

    好的,謝謝,修改的是可以正常了。但是這個程式碼右邊空白後,sidebar 區域變成了空白佔位區,佔了大概 20% 的寬度,應該如何才能讓左側的論壇列表佔據 100% 的檢視呢?

    bunse
    參與者
    • 文章數量: 30
    @bunse
    樓主

    我是安裝了 Yoast 的,發現吧 Yoast 的麵包屑禁用後,BBpress 的導航就顯示出來了,應該 bbpress 預設是支援的,可能是和 yoast 衝突了。

正在檢視 10 個帖子:1-10 (共 20 個帖子)