XPressME Integration Kit

フォーラム

Xoops+Xpress+Buddypress

  • このトピックには5件の返信、2人の参加者があり、最後にtoemonにより10年、 7ヶ月前に更新されました。
6件の投稿を表示中 - 1 - 6件目 (全6件中)
  • 投稿者
    投稿
  • #2694
    匿名
    ゲスト

    Hi, greetings from Argentina!

    I want to install Xoops 2.55 + Xpressme 2.45 + BuddyPress WP plugin 1.56.

    Xoops + Xpressme works fine. Also when I have installed Buddypress + Buddypress theme default all works fine while I´m logged, but when logout, and anonymus try to enter to module Xpressme, I receive a white page with the following message:

    “Fatal error: Call to a member function exists() on a non-object in /public_html/modules/xpress/wp-includes/capabilities.php on line 1375”

    Line 1375 of this PHP file says:

    if ( ! $user->exists() )

    return false;

    And is in a the function “is_super_admin()

    I think the issue is about xoops groups and wordpress roles, but I´m not an expert.

    I want to add Buddypress to Xoops+Xpress because to upgrade a Xoops site with multiblogs and socialnetwork addons. The first solved by your excellent Xpresme, but Xoops don´t have a socialnetwork module. Only Yogurt, but dropped since 2009 by the death of the author.

    Can you help me? Many thanks!

    Roberto

    #3393
    toemon
    キーマスター

    hi Roberto.

    Thank you for the check of XPressME.

    I did not confirm the operation of Buddypress plugin.

    First, please tell me the version of wordpress you are using.

    And give me a little time to check.

    thanks.

    #3394
    匿名
    ゲスト

    Hi Toemon,

    I´m using WP 3.4.1. To fix the BuddyPress problem (version 1.56), reading your forum, I have copied the same change of code that says on the topic “pluggable.php after upgrade to wordpress3.4”, to the file capabilities.php (line 1375):

    OLD

    if ( ! $user->exists() )

    return false;

    NEW

    if (method_exists($user, ‘exists’)) {

    if ( ! $user->exists() ) return false;

    } else {

    if ( empty( $user->ID ) ) return false;

    }

    And now, all works fine! Few minutes ago, I have upgraded without problem, from WP Xpressme panel, the Buddypress version 1.56 to 1.57. Really, I´m very happy. The only issue I have tested yesterday, was if I changed on WP Xpressme panel the WP mode to Xoops mode, the Buddypress goes down and I had to reinstall. But my idea is to join with Xpressme Xoops+WP+Buddypres only on WP mode, then no problem by the moment. Greetings, Roberto.

    #3395
    toemon
    キーマスター

    Thank you for the useful information.

    I will consider the modification of XpressME, as do not like change the file capabilities.php.

    Now, I do build an environment to reproduce the problem.

    toemon.

    #3396
    toemon
    キーマスター

    if I changed on WP Xpressme panel the WP mode to Xoops mode, the Buddypress goes down and I had to reinstall.

    fixed(changeset/812) the above bug.

    #3397
    toemon
    キーマスター

    “Fatal error: Call to a member function exists() on a non-object in /public_html/modules/xpress/wp-includes/capabilities.php on line 1375”

    fixed(changeset/813) the above bug.

    If applying this fix, you will do not have to change the file capabilities.php.

6件の投稿を表示中 - 1 - 6件目 (全6件中)
  • フォーラム「インストール」には新規投稿および返信を追加できません。