Forum Replies Created
-
In reply to: Determine Profile Template File by Member Type
To my knowledge, this isn’t built in to the current template hierarchy.
Ref:
You could open a ticket on Trac requesting the enhancement (try searching open tickets first to make sure it isn’t already planned).
In reply to: bbpress edit profile in menuIn reply to: Customize BP navigationRegarding point 6, did you see @danbp’s help?
https://buddypress.org/support/topic/add-an-item-to-submenu-of-activity/
In reply to: Display filtered overview of membersRegarding the
$wpdbobject, take a look here for more info:https://codex.wordpress.org/Class_Reference/wpdb#Using_the_.24wpdb_Object
In reply to: Friendship Could not be requestedHi @chrsjensen
Try using the Twenty Fifteen theme and deactivate all of your plugins (aside from BuddyPress) to see if the problem goes away
In reply to: Inline CSSHi @josev
It’s impossible to tell without seeing all of your code for that particular page. The markup you’ve provided should display. There’s most probably something conflicting with it.
In reply to: [Resolved] WP_DEBUG Notice for bp_setup_current_usercurrent_user_can()useswp_get_current_user(). Looking at the function reference for that function, I noticed “Use the init or any subsequent action to call this function”. Take a look at the Action Reference article for the list of actions run during a typical page request. The action you use will depend on what exactly you’re doing but it looks as though the earliest available when usingcurrent_user_can()isinitHope this helps 🙂
Ref:
https://codex.wordpress.org/Function_Reference/wp_get_current_user
In reply to: [Resolved] WP_DEBUG Notice for bp_setup_current_userIt’s probably worth reporting the issue to Favicon and hopefully the authors will release an update fixing the problem.
Let us know how you get on and if you need any more info, just shout.
Yeah, see here for details of the
wp_signupstable.You may also be interested in these links:
BuddyPress database description
WordPress database description
https://codex.wordpress.org/images/9/97/WP3.8-ERD.pngIn reply to: [Resolved] WP_DEBUG Notice for bp_setup_current_userDoes the notice appear with all plugins disabled using the Twenty Fifteen theme?
In reply to: How To: change navigation?Hi @eversatile
I have been trying to find the file location of the profile and group navigation menus, with no luck
There isn’t a template file which you can change if that’s what you mean, but…
I would like to change “forums” to “discuss” and remove the “members” from groups menu, etc
You can customise slugs quite easily. See the Customizable Slugs in BuddyPress article.
bp_core_remove_nav_item()will let you remove nav items from the navigation. There is alsobp_core_remove_subnav_item()for removing sub nav items.In reply to: List of posts in a category – filtered by authorHi @wuvu2
This is more related to WordPress than it is to BuddyPress. Try asking your question over at https://wordpress.org/ where you may get more joy
In reply to: Hide members for other membersHi @delphy69
Try adding this to your theme’s functions.php file
function hide_member_profiles() { if ( bp_is_user_profile() && ! current_user_can( 'manage_options' ) ) bp_core_redirect( home_url() ); } add_action( 'template_redirect', 'hide_member_profiles', 1 );In reply to: 404 Page for Activity, Groups, MembersIf [Anyone Can Register] is checked then they are created on the fly without all the duplicates that can cause 404 issues for beginners that are not sure how to resolve the page associations.
I wasn’t aware of that! Cheers for the tip 🙂
In reply to: Style editing profile pageHi @nunolopes99
This can be done via CSS. If you decide to go down the paid route, then try posting your requirements on the BP Jobs Board
In reply to: Custom profile cover imageHi @nunolopes99
I’m not aware of anything like this available but Custom Header Extended is a plugin which allows users to set a header image on a per-post basis. You could use that as a starting point for ideas on how to achieve what you’re looking to do.
In reply to: How to “Like” ?It’s still here
@bphelp thanks for testing 🙂
@tatakatte yeah, it’s likely something in your installation is already redirecting. The priority just makes sure
my_login_redirect()is executed first.Try changing the last line to:
add_action( 'template_redirect', 'my_login_redirect', 1 );And you’re definitely logged in and visiting your register page?
You don’t need the
/**and*/In reply to: 404 Page for Activity, Groups, MembersWhat info is needed
It’s hard to say with something like this as it could be something as simple as flushing your permalinks (this just involves visiting your permalinks page under Settings) or it could be a problem with your .htaccess file or an issue with how you’ve installed WordPress.
or would you recommend a fresh installation?
It depends on how easy it is to set up afresh. If you don’t have anything to lose then go ahead. Else, if you have lots of website users, and a database full of content then it might be worth looking for a solution instead.
Were there any error messages? Can you describe what is happening when you add the code to functions.php?
In reply to: WP plugin #jesuischarlieThanks for the link, Dan. Freedom of speech is such an important thing to protect #jesuischarlie
In reply to: 404 Page for Activity, Groups, MembersI see four pages, each apparently published 5 hours ago. I can edit each of them, but viewing them also gives a 404 error.
This indicates there’s a problem. These pages shouldn’t be 404 error pages. There could be something wrong with your set-up, or perhaps your permalinks (as @aces pointed out). From the info available, it’s hard to tell.