-
David Cavins replied to the topic Remove rel="nofollow" for admin only? in the forum How-to & Troubleshooting 8 years, 5 months ago
Hi @jameshh93–
You’ll have to make sure that you’re removing the action _after_ it’s been added, which is when the activity component is loaded.
Here’s a handy list of BP startup actions: https://codex.buddypress.org/developer/buddypress-action-hook-sequence-during-startup/
I’d probably try something around the
bp_loadedaction, like…[Read more] -
David Cavins replied to the topic Temporary Groups in the forum Creating & Extending 8 years, 5 months ago
Hi @plumis–
A group will always have an admin (the person who created it), so I’m not sure about your criteria for deletion, but deleting groups is straightforward. You’re going to need to add some cron jobs that run every fifteen minutes, then find the groups your want to delete (based on your criteria). Something like this:
[Read more]
// Get recently… -
David Cavins replied to the topic Custom Profile Filters for BuddyPress question in the forum How-to & Troubleshooting 8 years, 5 months ago
Can you post the URL of a page that returns a “page not found” error?
-
David Cavins replied to the topic Help.. Accidentally Deleted Base (Primary) Group in Profile Fields in the forum Miscellaneous 8 years, 5 months ago
You could probably write something, but I’d use the built-in tool at the profile > settings > general.
-
David Cavins replied to the topic Disable 'Last Active' time since member logged in? in the forum How-to & Troubleshooting 8 years, 5 months ago
I’d override the template by copying the existing template at
wp-content/plugins/buddypress/src/bp-templates/bp-legacy/buddypress/members/single/member-header.phpand adding it to my theme at:
buddypress/members/single/member-header.phpAdd a permissions check around the block you’re wanting to restrict access to (something like this):
`
<?php…[Read more] -
David Cavins replied to the topic Changing Email Content based on Situation (Taxonomy) in Code in the forum Creating & Extending 8 years, 5 months ago
Are you sure that
get_the_ID()works in that situation (it has to be used in a loop)? What happens if you access the ID like this:
global $post;
$terms = get_the_terms( $post->ID, 'bp-email-type' );
-
David Cavins replied to the topic How do I link blog post authors to their BP profiles? in the forum How-to & Troubleshooting 8 years, 6 months ago
Yes, anywhere that the author link is created using the
the_author_posts_link()function, the link will no longer be/author/usernamebut/members/username. -
David Cavins replied to the topic How do I link blog post authors to their BP profiles? in the forum How-to & Troubleshooting 8 years, 6 months ago
You’ll have to read the syntax error warning to see where it is. My code starts with a
<?phptag you won’t need if you’re adding it to an existing php file, for instance, so that could be tripping you up. -
David Cavins replied to the topic Members Component has no Associated Pages in the forum How-to & Troubleshooting 8 years, 6 months ago
Hi @baccoeur. What happens if you disable the plugin that includes Widget_Stockdio_Ticker? It sounds like the page load is being aborted before BP can save the values.
-
David Cavins replied to the topic backslash apostrophe bug in the forum How-to & Troubleshooting 8 years, 6 months ago
Hi @mbv–
The data should be slashed on the way into the database. When you call the activity content using
bp_get_activity_content_body(), many filters are applied, includingstripslashes_deephere: https://buddypress.trac.wordpress.org/browser/tags/2.9.3/src/bp-activity/bp-activity-filters.php#L82If you’re displaying activity using an activity…[Read more]
-
David Cavins replied to the topic Images are missing at Group Type Codex in the forum Installing BuddyPress 8 years, 6 months ago
Thanks for the heads up! I’ll see if the original authors have those images stored away somewhere.
-
David Cavins replied to the topic Translate Buddy press in the forum How-to & Troubleshooting 8 years, 6 months ago
Hi @jungdchinese–
In the short term, you can copy the .pot file out of the 2.9.2 release and replace the bad one in the 2.9.3 file. You can download the 2.9.2. .pot here: https://plugins.trac.wordpress.org/browser/buddypress/tags/2.9.2
-
David Cavins replied to the topic How do I link blog post authors to their BP profiles? in the forum How-to & Troubleshooting 8 years, 6 months ago
Hi, the easiest way to do this is to filter the WP “author link” so that it redirects to the member’s BP profile: https://gist.github.com/dcavins/94e4989cad997d0553e8e5db37f30b40
If you want to change the template used by an article, it will depend on your theme. For instance, if you were using twentyseventeen and wanted to add the author’s link…[Read more]
-
David Cavins replied to the topic How to link to BB member profile instead of author profile? in the forum How-to & Troubleshooting 8 years, 6 months ago
Hi, the easiest way to do this is to filter the WP “author link” so that it redirects to the member’s BP profile: https://gist.github.com/dcavins/94e4989cad997d0553e8e5db37f30b40
If you want to change the template used by an article, it will depend on your theme. For instance, if you were using twentyseventeen and wanted to add the author’s link…[Read more]
-
David Cavins replied to the topic Translate Buddy press in the forum How-to & Troubleshooting 8 years, 6 months ago
Hi @jungdchinese–
Thanks for bringing this issue up. Yes, the .pot file has been broken in the most recent release and we’ll be fixing it as soon as we can.
-David
-
David Cavins replied to the topic group superuser role in the forum Creating & Extending 8 years, 6 months ago
Hi @louie171,
You are correct that group permissions are mostly independent of WP roles. The exception is that WP “administrators” can basically do everything that a group admin can do, but in any group. Site admins are always allowed to do things that are protected by this permissions check:
bp_current_user_can( 'bp_moderate' ). This is not…[Read more] -
David Cavins replied to the topic A Favorite BuddyPress Button In Post Pages? in the forum Creating & Extending 8 years, 6 months ago
Great! If you’ve got a working version of favoriting posts from around a site, please share a link to your Github repository or similar. It’s likely that other users are looking for the same functionality.
-David
-
David Cavins replied to the topic Help – Change Profile Photo in the forum How-to & Troubleshooting 8 years, 6 months ago
Hi @gleydsonbr,
Are you having trouble in all browsers or just specific browsers?
-
David Cavins replied to the topic This forum is impossible in the forum Ideas 8 years, 6 months ago
Keep in mind that BuddyPress is developed and supported by an all-volunteer community.
If you are in need of more specialized help or more immediate help than this forum can provide, I’d recommend that you develop a business relationship with a local WP developer. Any WP developer who understand the filters/actions approach of WordPress will be…[Read more]
-
David Cavins replied to the topic I don't have the same setting on my buddypress in the forum How-to & Troubleshooting 8 years, 6 months ago
Hi, the settings are at wp-admin > BuddyPress > Options:
See this image: https://imgur.com/ySqPNZw
If you’re not seeing it, then someone could have set a filter that prevents cover options. (Check for custom code or a plugin.) Or, you could be using a really old version of BP, I guess.
- Load More
@dcavins
Active 1 week, 3 days ago