Skip to:
Content
Pages
Categories
Search
Top
Bottom

  • About
  • News
  • Codex
  • Develop
  • Make
  • Forums
  • Download

BuddyPress.org


  • All Members
  • RSS
  • Profile picture of modemlooper

    modemlooper replied to the topic required Username twice at Registration in the forum How-to & Troubleshooting 10 years, 8 months ago

    the column on the right are added profile fields, you can remove the field from the admin

    more info on profile fields https://codex.buddypress.org/administrator-guide/extended-profiles/

  • Profile picture of modemlooper

    modemlooper replied to the topic Project / Film Credit for Buddypress such as IMDB in the forum How-to & Troubleshooting 10 years, 8 months ago

    If you are not a developer then you are better off using something like Gravity forms and having a front end submission for a custom post type.

  • Profile picture of Henry Wright

    Henry Wright replied to the topic How to create a read-only logged-in user? in the forum How-to & Troubleshooting 10 years, 8 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]

  • Profile picture of modemlooper

    modemlooper replied to the topic required Username twice at Registration in the forum How-to & Troubleshooting 10 years, 8 months ago

    BuddyPress and WP do not have two usernames. Is this the BuddyPress registration form or another form by a plugin?

  • Profile picture of modemlooper

    modemlooper replied to the topic How to create a read-only logged-in user? in the forum How-to & Troubleshooting 10 years, 8 months ago

    function bp_keep_user_private( $user_login, $user ) {

    global $wpdb;

    if( 'username' === $user->user_login ) {

    $wpdb->query( $wpdb->prepare( "UPDATE $wpdb->users SET user_status = 2 WHERE ID = %d", $user->ID ) );
    }

    }
    add_action( 'wp_login', 'bp_keep_user_private', 10, 2 );

    you can try something like this that will set that account to…[Read more]

  • Profile picture of Henry Wright

    Henry Wright replied to the topic How to create a read-only logged-in user? in the forum How-to & Troubleshooting 10 years, 8 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.

  • Profile picture of Henry Wright

    Henry Wright replied to the topic How to create a read-only logged-in user? in the forum How-to & Troubleshooting 10 years, 8 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.

  • Profile picture of radar

    radar's profile was updated 10 years, 8 months ago

    radar

    @radarwolf

    View Profile
  • Profile picture of radar

    radar's profile was updated 10 years, 8 months ago

    radar

    @radarwolf

    View Profile
  • Profile picture of Henry Wright

    Henry Wright replied to the topic PM – reply by email? in the forum How-to & Troubleshooting 10 years, 8 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 🙂

  • Profile picture of Henry Wright

    Henry Wright replied to the topic No option to upload profile photo in BP in the forum How-to & Troubleshooting 10 years, 8 months ago

    Can you try deactivating all of your plugins whilst you have the TwentyFifteen theme activated? Sometimes a rogue plugin can be responsible.

  • Profile picture of Henry Wright

    Henry Wright replied to the topic PM – reply by email? in the forum How-to & Troubleshooting 10 years, 8 months ago

    You’d need a plugin for this. Check out BuddyPress Reply By Email.

  • Profile picture of Henry Wright

    Henry Wright replied to the topic Profile Signature in the forum Third Party Plugins 10 years, 8 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.

  • Profile picture of Henry Wright

    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 10 years, 8 months ago

    The bp_activity_comment_posted hook fires near the end of an activity comment posting, before the returning of the comment ID.

  • Profile picture of Henry Wright

    Henry Wright replied to the topic New plugin: BuddyPress Mute in the forum Showcase 10 years, 8 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

  • Profile picture of developer

    developer replied to the topic urgent !!!! need a hook which is called during click og comment button urgent! in the forum How-to & Troubleshooting 10 years, 8 months ago

    thanks @djsteveb for replying
    i am looking for a do_action hook so that i hook my customize function during the post button is clicked when user reply or comment on any post
    actually i am placing a captcha in buddypress comment which is done
    look what i do here…

    //action hook to display captcha in…[Read more]

  • Profile picture of developer

    developer started the topic urgent !!!! need a hook which is called during click og comment button urgent! in the forum How-to & Troubleshooting 10 years, 8 months ago

    need a hook which is called during click of comment button
    i want to call my custom function during click of post button of comment section of buddypress?
    please can anyone help me out there???

  • Profile picture of Angelo Rocha

    Angelo Rocha replied to the topic filter activity loop in the forum How-to & Troubleshooting 10 years, 8 months ago

    Works fine with a little change:

    function omni_filter_activity( $retval ) {
    $retval['action'] = 'bbp_reply_create,bbp_topic_create'; // change scope per action
    return $retval;
    } add_filter( 'bp_after_has_activities_parse_args', 'omni_filter_activity' );

  • Profile picture of Henry Wright

    Henry Wright replied to the topic groups_get_groupmeta in functions.php in the forum Installing BuddyPress 10 years, 8 months ago

    Just looked it up

    * Filter SQL query strings to swap out the 'meta_id' column.
    *
    * 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…
    [Read more]

  • Profile picture of Henry Wright

    Henry Wright replied to the topic groups_get_groupmeta in functions.php in the forum Installing BuddyPress 10 years, 8 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 with bp_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]

  • Load More

WordPress.org bbPress.org BuddyPress.org Matt Blog RSS

GPL Contact Us Privacy Terms of Service X

Skip to toolbar
    • WordPress.org
      • About WordPress
      • Documentation
      • Support Forums
      • Feedback
      • Developer Trac
      • Developer Blog
    • bbPress.org
      • About bbPress
      • Documentation
      • Support Forums
      • Feedback
      • Developer Trac
      • Developer Blog
    • BuddyPress.org
      • About BuddyPress
      • Documentation
      • Support Forums
      • Feedback
      • Developer Trac
      • Developer Blog
  • Log in
  • Anonymous
    • AnonymousNot Logged In
    • Register
    • Log In