-
Henry Wright replied to the topic Search members based on their usernames in members page search bar in the forum Installing BuddyPress 9 years, 2 months ago
I’m not sure that the standard member search looks for usernames. @danbp can you shed any light on that?
You may need to use the BP Profile Search plugin.
-
Henry Wright replied to the topic [Resolved] How to delete specific members from a large group? in the forum How-to & Troubleshooting 9 years, 2 months ago
/plugins/bp-custom.php
If you don’t already have one, you should create one yourself.
-
Henry Wright replied to the topic [Resolved] How to delete specific members from a large group? in the forum How-to & Troubleshooting 9 years, 2 months ago
There may be an easier way via the back-end (I haven’t checked) but via code you could do this in functions.php:
function palmdoc_remove_group_user() {
$group_id = 6 // Change this value
$user_id = 320 // Change this value
groups_leave_group( $group_id, $user_id );}
add_action( 'init', 'palmdoc_remove_group_user' );The next time…[Read more]
-
Henry Wright replied to the topic Hide Buddypress pages from google serch. in the forum Installing BuddyPress 9 years, 2 months ago
You can add this to your robots.txt file:
User-agent: *
Disallow: /members/Feel free to add more fields for the different areas of BuddyPress.
Note that it doesn’t guarantee Googlebot et al won’t index these pages, it just requests that they don’t.
-
Henry Wright replied to the topic urgent !!!! need a hook which is called during click og comment button urgent! in the forum How-to & Troubleshooting 9 years, 2 months ago
do we have to passed argument along with that hook…
It isn’t mandatory but you can if you want to.
$comment_id
,$r
and$activity
can be passed to your custom function.Ref:
[Read more]
@param int $comment_id ID of the newly posted activity comment.
@param array $r Array of parsed comment arguments.
@param int $activity ID of the activity i… -
Henry Wright replied to the topic Using a generic user not found page in the forum How-to & Troubleshooting 9 years, 2 months ago
A “generic user not found” page would be worse for SEO than a 404 (which would be the correct response for a page not found).
-
Henry Wright replied to the topic How to create a read-only logged-in user? in the forum How-to & Troubleshooting 9 years, 2 months ago
…but a read-only account can still comment, add files to the file repository (Multiverso plugin), add a calendar event, upload photos to the photo album and edit (but not create) wiki articles.
You may need to add custom validation in each of these cases. There should be hooks available at the relevant points which you can attach your custom…[Read more]
-
Henry Wright replied to the topic How to create a read-only logged-in user? in the forum How-to & Troubleshooting 9 years, 2 months ago
If your site is private then you don’t need a verification procedure. But my point was you should look at the verification procedure because the functionality is very close to what you’re trying to achieve.
-
Henry Wright replied to the topic How to create a read-only logged-in user? in the forum How-to & Troubleshooting 9 years, 2 months ago
I think writing abilities become available only once a user has verified their email address. So a registered but unverified user sounds kind of like what you need. They get a profile page and can browse the site but can’t write.
-
Henry Wright replied to the topic PM – reply by email? in the forum How-to & Troubleshooting 9 years, 2 months ago
That plugin completely crashed my site
Ouch!
The developer of that particular plugin is a BuddyPress core developer so if you open an issue on the plugin’s GitHub repo, he should be able to help 🙂
-
Henry Wright replied to the topic No option to upload profile photo in BP in the forum How-to & Troubleshooting 9 years, 2 months ago
Can you try deactivating all of your plugins whilst you have the TwentyFifteen theme activated? Sometimes a rogue plugin can be responsible.
-
Henry Wright replied to the topic PM – reply by email? in the forum How-to & Troubleshooting 9 years, 2 months ago
You’d need a plugin for this. Check out BuddyPress Reply By Email.
-
Henry Wright replied to the topic Profile Signature in the forum Third Party Plugins 9 years, 2 months ago
The
bp_after_profile_content
hook fires after the display of member profile content. You will need to:Write a custom function to “get” and “output” the signature.
Hook your custom function to the hook I mentioned above so that the signature is displayed on the profile page.
-
Henry Wright replied to the topic urgent !!!! need a hook which is called during click og comment button urgent! in the forum How-to & Troubleshooting 9 years, 2 months ago
The
bp_activity_comment_posted
hook fires near the end of an activity comment posting, before the returning of the comment ID. -
Henry Wright replied to the topic New plugin: BuddyPress Mute in the forum Showcase 9 years, 2 months ago
Hey djsteveb
Thanks for your feedback! As you say it could be a plugin conflict or maybe even a theme issue.
Not using GitHub isn’t a problem. Once you’ve completed all of your tests, can you post the issues you find on the plugin’s support forum? I’d be happy to take a look
-
Henry Wright replied to the topic groups_get_groupmeta in functions.php in the forum Installing BuddyPress 9 years, 2 months ago
Just looked it up
* Filter SQL query strings to swap out the 'meta_id' column.
[Read more]
*
* WordPress uses the meta_id column for commentmeta and postmeta, and so
* hardcodes the column name into its *_metadata() functions. BuddyPress, on
* the other hand, uses 'id' for the primary column. To make WP's functions
* usable for BuddyPress, we use this… -
Henry Wright replied to the topic groups_get_groupmeta in functions.php in the forum Installing BuddyPress 9 years, 2 months ago
Good shout @shanebp.
Also, looking at the
groups_get_groupmeta()
function definition, I’m wondering why we need to filter the query string withbp_filter_metaid_column_name
?Anyway, alternatively, this may work but I haven’t tested:
$retval = get_metadata( 'group', $group_id, $meta_key, $single );
var_dump( $retval );Edit: Looks as though…[Read more]
-
Henry Wright replied to the topic groups_get_groupmeta in functions.php in the forum Installing BuddyPress 9 years, 2 months ago
That’s strange. I’m assuming you’re passing it an actual group ID (integer)? That’s required. Can you
var_dump
what it’s returning? -
Henry Wright replied to the topic Need Help Choosing Plugins for Website Concept in the forum How-to & Troubleshooting 9 years, 2 months ago
I agree it sounds as though you’ll need a bookmarking plugin as the “core”. There are most probably lots to choose from in the WordPress Plugin Directory. My advice is set up a WordPress site locally for testing, install BuddyPress and try out some of the bookmarking plugins to see which suits your idea best.
-
Henry Wright replied to the topic Activation Key in the forum Installing BuddyPress 9 years, 2 months ago
The activation key is emailed to each new member in the form on a link after they register on your site. Does that help?
- Load More
@henrywright
Active 8 months, 2 weeks ago