-
David Cavins replied to the topic Broken links in the forum Installing BuddyPress 6 years, 10 months ago
The links themselves look OK to me (BuddyPress is generating the correct links), but they are redirecting away at the server level. I’d check your htaccess files and other server-level routing code to find where the malicious code’s been added.
Also, change your hosting setup passwords (like control panel, FTP access, DB access) as soon as you can.
-
David Cavins replied to the topic Is there a Child Plugin or do we start afresh after update? in the forum How-to & Troubleshooting 6 years, 10 months ago
Place the template file you want to use in your child them at the location specified here: https://codex.buddypress.org/themes/theme-compatibility-1-7/template-hierarchy/#registration-page
When BuddyPress is updated, it won’t affect your child theme.
-
David Cavins replied to the topic Is there a Child Plugin or do we start afresh after update? in the forum How-to & Troubleshooting 6 years, 10 months ago
Yes, the template hierarchy will use template parts from your theme:
If you’re using a theme that is updated, then, yes, you should use a child theme to keep your changes.
-
David Cavins replied to the topic Showing groups, filter users in the forum How-to & Troubleshooting 6 years, 10 months ago
Hi Marc-
It sounds like you’re just getting started. Custom fields are part of the extended profile component. Read more about it here:
It is not really possible to show groups with…[Read more]
-
David Cavins replied to the topic why buddypress have unknow autocomplete code? in the forum Third Party Plugins 6 years, 10 months ago
Hello there. BuddyPress doesn’t add jQuery to a site (it relies on WordPress to provide jQuery). It looks to me like you’re using a plugin to fetch jQuery from a CDN rather than use the local version that comes with WordPress. Disable your plugins one at a time until the code changes, then you’ll have found the cuplrit.
-
David Cavins replied to the topic url with code for username in the forum Requests & Feedback 6 years, 10 months ago
I’m not sure exactly what you’re asking for, but my best guess is that you’re looking for a URL that will redirect the current user to his or her user profile.
-
David Cavins replied to the topic Show number of posts per member in the forum How-to & Troubleshooting 6 years, 11 months ago
WordPress has a built-in function for getting the number posts published by a user:
https://codex.wordpress.org/Function_Reference/count_user_postsIf you’ve been able to figure out how to display profile data, use the same approach here, and you should be in good shape.
-
David Cavins replied to the topic Moderation for buddypress activity in the forum How-to & Troubleshooting 6 years, 11 months ago
This plugin doesn’t add a pending queue for approval, but it does allow users to flag inappropriate posts for moderation:
https://github.com/hwdsbcommons/BP-Moderation/ -
David Cavins replied to the topic Moving time-since span in the forum How-to & Troubleshooting 6 years, 11 months ago
The simplest answer is probably to style that span as
display: block
then you have a number of options for forcing it below other elements. It’s going to depend a lot on your theme.If you choose to modify the template, the template to modify would go in
child-theme/buddypress/members/member-header.php
. -
David Cavins replied to the topic Login Issues in the forum How-to & Troubleshooting 6 years, 11 months ago
There are a few non-BuddyPress reasons I can think of for this:
• The page is cached by WP Super Cache or a similar plugin
• Your shared server has some sort of caching built-in (like object caching or expires headers)
• Your browser is using the cached version from your last visit to that page (try a different browser to test)The setup you d…[Read more]
-
David Cavins replied to the topic Email activation in the forum How-to & Troubleshooting 6 years, 11 months ago
This is probably a server configuration problem. This simple plugin can help you figure out if your WP installation can send emails:
Alternatively, the emails may be being sent, but ending up in your users’ spam folders.
-
David Cavins replied to the topic Additional info on group memberlist in the forum How-to & Troubleshooting 6 years, 12 months ago
Hi Georgio-
It depends on how they’re being added. I’m guessing that they’re being added (by a plugin?) on the
bp_group_members_list_item_action
orbp_group_members_list_item
action hook. If I were adding a button in that case, I’d add a conditional like in this example:
[Read more]
add_action( 'bp_group_members_list_item',… -
David Cavins replied to the topic Magic Quotes? Strip Slashes? Why is this an issue? in the forum How-to & Troubleshooting 6 years, 12 months ago
Thanks for the update!
-
David Cavins replied to the topic Goodbye Buddypress? in the forum How-to & Troubleshooting 6 years, 12 months ago
Hi @VentureCore-
It seems like you can make avatars work remotely. Check
bp_core_fetch_avatar()
for some filter opportunities. https://buddypress.trac.wordpress.org/browser/tags/2.9.2/src/bp-core/bp-core-avatars.php#L98I’ve not done what you’re trying to do, but it seems that the filter points
bp_core_avatar_folder_url
,bp_core_avatar_folder_dir…
[Read more] -
David Cavins replied to the topic Wiki within Each Group in the forum How-to & Troubleshooting 6 years, 12 months ago
I’d use BuddyPress Docs for this purpose, but I’m a fan of and contributor to that plugin. It’s great for creating organized shared libraries with tags and search ability.
If you’d rather it be more forum-like, use bbPress.
-David
-
David Cavins replied to the topic set a default tab for non friends in the forum How-to & Troubleshooting 6 years, 12 months ago
What about using a custom member front page? Then you’d have total flexibility:
Custom Front Pages for your users profilesOtherwise, I think you could conditionally filter
bp_displayed_user_get_front_template
to specifymembers/single/activity.php
for self and friends andmembers/single/profile.php
for…[Read more] -
David Cavins replied to the topic Bullet Points on the Buddypress Menu in the forum How-to & Troubleshooting 6 years, 12 months ago
Regarding your first question, it appears that your theme is adding marks to your navigation menu. You’ll need to inspect the element to see what rule is causing it, then override it. (Or choose a different theme.)
Regarding your second question, if your theme has a full-width page template, select it for your BuddyPress pages. If it doesn’t…[Read more]
-
David Cavins replied to the topic Correct CHILD-THEME dir doesnt work in the forum How-to & Troubleshooting 6 years, 12 months ago
HI @khappamj–
It sounds like you’re overriding the file the right way and at the right location. There must be some other reason the file isn’t being used. I’d try checking the file permissions to make sure that apache can read the file.
-
David Cavins replied to the topic Permalinks slugs in the forum How-to & Troubleshooting 6 years, 12 months ago
Hi @snecz–
Yes, you can filter the starred slug using the
bp_get_messages_starred_slug
filter. Unfortunately, the ‘sentbox’ slug is not currently customizable.Here’s an example of how you might filter the starred slug:
[Read more]
add_filter( 'bp_get_messages_starred_slug', 'bp_codex_filter_starred_slug' );
function bp_codex_filter_starred_slug( $slug )… -
David Cavins replied to the topic There was a problem cropping your avatar, please try uploading it again in the forum How-to & Troubleshooting 7 years ago
Were you adding the avatar upload to the registration form via some custom code? (I think I’ve seen plugins and such that do that.) It looks like you’ve removed that step for now, so maybe all is well?
-David
- Load More
@dcavins
Active 1 month, 2 weeks ago