-
David Cavins replied to the topic Show number of posts per member in the forum How-to & Troubleshooting 9 years 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 9 years 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 9 years ago
The simplest answer is probably to style that span as
display: blockthen 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 9 years 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…[Read more]
-
David Cavins replied to the topic Email activation in the forum How-to & Troubleshooting 9 years 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 9 years 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_actionorbp_group_members_list_itemaction 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 9 years ago
Thanks for the update!
-
David Cavins replied to the topic Goodbye Buddypress? in the forum How-to & Troubleshooting 9 years 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 9 years 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 9 years 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_templateto specifymembers/single/activity.phpfor self and friends andmembers/single/profile.phpfor…[Read more] -
David Cavins replied to the topic Bullet Points on the Buddypress Menu in the forum How-to & Troubleshooting 9 years 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 9 years 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 9 years ago
Hi @snecz–
Yes, you can filter the starred slug using the
bp_get_messages_starred_slugfilter. 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 9 years, 1 month 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
-
David Cavins replied to the topic Two different themes possible? in the forum How-to & Troubleshooting 9 years, 1 month ago
BuddyPress uses a theme compatibility layer, meaning it uses its own templates that are designed to drop into any theme. You can overload all kinds of template parts for BuddyPress:
However, there are plugins (I’ve not tested) that you could maybe get to work if you…[Read more]
-
David Cavins replied to the topic Non WP login page in the forum How-to & Troubleshooting 9 years, 1 month ago
This is sort of a big WordPress question that lots of people would like to change, but it’s not that easy. You could try using the plugin Theme My Login, which would need to be applied carefully, as it overlaps with BP a bit. https://wordpress.org/plugins/theme-my-login/ (I have no idea if this is a good plan, you’ll just have to try it.)
The…[Read more]
-
David Cavins replied to the topic Profile Page as Member Dashboard in the forum How-to & Troubleshooting 9 years, 1 month ago
There’s no way to do that via shortcode as far as I know, but lots of ways to do it via theme. You could apply a page template to the “members” page to modify what it seen. You could also overload the template at
/buddypress/members/single/home. Read more about the template…[Read more] -
David Cavins replied to the topic use group field under registration form as couple, men , women in the forum Installing BuddyPress 9 years, 1 month ago
This is the codex article I was thinking of:
-
David Cavins replied to the topic Change Profile URL to WP Default Author URL in the forum How-to & Troubleshooting 9 years, 1 month ago
Sure, you can add a filter on the
bp_get_member_permalinkhook and do whatever you wish. The BP member profile is much richer than the the authors page, though–if you’re not using the member profile fully, are you sure you need BuddyPress for your site?For the second question, use the shortcut link: https://mysite.org/members/me which will…[Read more]
-
David Cavins replied to the topic use group field under registration form as couple, men , women in the forum Installing BuddyPress 9 years, 1 month ago
You can save extra things manually on the
bp_core_signup_userhook:
https://buddypress.trac.wordpress.org/browser/tags/2.9.1/src/bp-members/bp-members-functions.php#L1900But I imagine that the simpler answer would be to use Profile Fields. If you add profile fields to the base group, then they appear on the registration form and are saved at…[Read more]
- Load More
@dcavins
Active 5 days, 5 hours ago