Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)

  • realmai
    Participant

    @realmai

    Happy Share

    I found a plugin then it WORKS!!!

    Plug in name
    “BP Profile as Homepage”


    realmai
    Participant

    @realmai

    Tried both method. But also can’t.

    But I changed Settings -> A static page

    It’s work.

    So it should be override the define default.

    If I can set a static page to /member/USERNAME . Then it can fixed. But I don’t know how to do.


    realmai
    Participant

    @realmai

    WordPress Address (URL) and Site Address (URL)
    also http://www.petsbk.com.

    I haven’t change any htaccess.

    So, you mean the profile is success.
    But just don’t know somehow the landing page does not netvigate to.
    http://www.petsbk.com/members/USERNAME/activity/
    Seems Setting or the other way wrong config, so you ask me the URL/Site URL.


    realmai
    Participant

    @realmai

    Um~ not exactly.
    I want to make a social web site like Facebook.
    Currently, my default page is set to “Settings” -> Front page displays -> Your last posts. And it is pointing to “activity”. But this is not the profile PAGE.
    And define(“BP_DEFAULT_COMPONENT”,”profile”); suppose it will changed to : /members/USERNAME
    But now only changed to /members/
    Every time I go to the landing page, I need to click my ICON (Profile) and then go to http://www.petsbk.com/members/USERNAME/
    What I want to do is.
    Please see my description Picture below
    http://www.petsbk.com/uploadimg/petspage.jpg

    Please correct me if I have any misunderstand.


    realmai
    Participant

    @realmai

    Dear danbp,

    First of all, I really many Thanks for your respond.

    The issue

    1. I deleted the bp-custom.php and then only define in wp-config.php with define(‘BP_DEFAULT_COMPONENT’, ‘profile’ );
    it can’t work even i clear the browser cache. (chrome)

    2. Then I create the file /wp-content/plugins/bp-custom.php
    <?php
    define(‘BP_DEFAULT_COMPONENT’, ‘profile’ );
    ?>

    But it also not well.

    Suppose the landing page will like this demo:
    http://seventhqueen.com/themes/kleo/members/kleoadmin/

    that’s means I can’t set below link to be the landing page
    http://www.petsbk.com/members/’profile&#8217;

    Regard,
    Mr. Lai


    realmai
    Participant

    @realmai

    Dear Danbp,

    I would like to change the Profile page to be the landing page. Suppose it can replace the acitivity page. Theme is using “KLEO” please see my step :

    Step 1.
    I added below code in wp-config.php

    define(‘WP_MEMORY_LIMIT’, ‘128M’);
    define(“BP_DEFAULT_COMPONENT”,”profile”);

    Step 2.
    Created a file at /wp-content/plugins/bp-custom.php with below code

    <?php
    /* my members landing tab */
    define(‘BP_DEFAULT_COMPONENT’, ‘profile’ );
    ?>

    My Homepage:
    http://www.petsbk.com/


    realmai
    Participant

    @realmai

    Can anyone help me?
    Many Thanks

    1. Which version of WordPress are you running?
    ANS : WordPress : 4.6.1

    2. Did you install WordPress as a directory or subdomain install?
    ANS: as a directory

    3. If a directory install, is it in root or in a subdirectory?
    ANS: in root

    6. Which version of BP are you running?
    2.7.0

    12. Do you have any custom functions in bp-custom.php?
    Yes.
    define(‘BP_DEFAULT_COMPONENT’, ‘profile’ );

    13. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in?
    2.5.10

    16. Is your server running Windows, or if Linux; Apache, nginx or something else?

    Linux

Viewing 7 replies - 1 through 7 (of 7 total)
Skip to toolbar