Forum Replies Created
-
Happy Share
I found a plugin then it WORKS!!!
Plug in name
“BP Profile as Homepage”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.
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.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.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’Regard,
Mr. LaiDear 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.phpdefine(‘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/Can anyone help me?
Many Thanks1. Which version of WordPress are you running?
ANS : WordPress : 4.6.12. Did you install WordPress as a directory or subdomain install?
ANS: as a directory3. If a directory install, is it in root or in a subdirectory?
ANS: in root6. Which version of BP are you running?
2.7.012. 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.1016. Is your server running Windows, or if Linux; Apache, nginx or something else?
Linux