Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 6,851 through 6,875 (of 69,106 total)
  • Author
    Search Results
  • #272797
    adianand
    Participant

    Thank you varun. I’m trying buddypress with wpadverts, geo directory and events manager. I hope they all will work together well.

    yusareba
    Participant
    #272790
    yusareba
    Participant
    #272789

    In reply to: Age Field two fields

    modde
    Participant

    Thank you, but the problem is, that its displayed like: 24 years, 2 months ago
    In German its vor 24 Jahren, 2 Monaten.

    The birthday should be display like this: 24 years
    Or in German: 24 Jahre

    The solution for me was to install the plugin BuddyPress Xprofile Custom Fields Type.
    Its not maintained and got deleted from the plugin site, but it works.

    Maybe I can add a php code in the custom field of the profile fields?

    #272782
    Venutius
    Moderator
    #272778

    In reply to: sitewide notice

    sugar7
    Participant

    The first file (class-bp-messages-sitewide-notices-widget.php) may be more useful?

    <?php
    /**
    * BuddyPress Messages Sitewide Notices Widget.
    *
    * @package BuddyPress
    * @subpackage Messages
    * @since 1.9.0
    */

    // Exit if accessed directly.
    defined( ‘ABSPATH’ ) || exit;

    /**
    * A widget that displays sitewide notices.
    *
    * @since 1.9.0
    */
    class BP_Messages_Sitewide_Notices_Widget extends WP_Widget {

    /**
    * Constructor method.
    */
    function __construct() {
    parent::__construct(
    ‘bp_messages_sitewide_notices_widget’,
    __( ‘(BuddyPress) Sitewide Notices’, ‘buddypress’ ),
    array(
    ‘classname’ => ‘widget_bp_core_sitewide_messages buddypress widget’,
    ‘description’ => __( ‘Display Sitewide Notices posted by the site administrator’, ‘buddypress’ ),
    ‘customize_selective_refresh’ => true,
    )
    );
    }

    /**
    * Render the widget.
    *
    * @see WP_Widget::widget() for a description of parameters.
    *
    * @param array $args See {@WP_Widget::widget()}.
    * @param array $instance See {@WP_Widget::widget()}.
    */
    public function widget( $args, $instance ) {

    if ( ! is_user_logged_in() ) {
    return;
    }

    // Don’t display the widget if there are no Notices to show.
    $notices = BP_Messages_Notice::get_active();
    if ( empty( $notices ) ) {
    return;
    }

    extract( $args );

    $title = ! empty( $instance[‘title’] ) ? $instance[‘title’] : ”;

    /**
    * Filters the title of the Messages widget.
    *
    * @since 1.9.0
    * @since 2.3.0 Added ‘instance’ and ‘id_base’ to arguments passed to filter.
    *
    * @param string $title The widget title.
    * @param array $instance The settings for the particular instance of the widget.
    * @param string $id_base Root ID for all widgets of this type.
    */
    $title = apply_filters( ‘widget_title’, $title, $instance, $this->id_base );

    echo $before_widget;
    echo $before_title . $title . $after_title; ?>

    <div class=”bp-site-wide-message”>
    <?php bp_message_get_notices(); ?>
    </div>

    <?php

    echo $after_widget;
    }

    /**
    * Process the saved settings for the widget.
    *
    * @see WP_Widget::update() for a description of parameters and
    * return values.
    *
    * @param array $new_instance See {@WP_Widget::update()}.
    * @param array $old_instance See {@WP_Widget::update()}.
    * @return array $instance See {@WP_Widget::update()}.
    */
    public function update( $new_instance, $old_instance ) {
    $instance = $old_instance;
    $instance[‘title’] = strip_tags( $new_instance[‘title’] );
    return $instance;
    }

    /**
    * Render the settings form for Appearance > Widgets.
    *
    * @see WP_Widget::form() for a description of parameters.
    *
    * @param array $instance See {@WP_Widget::form()}.
    *
    * @return string|null Widget form output.
    */
    public function form( $instance ) {
    $instance = wp_parse_args( (array) $instance, array(
    ‘title’ => ”,
    ) );

    $title = strip_tags( $instance[‘title’] ); ?>

    <p>
    <label for=”<?php echo $this->get_field_id( ‘title’ ); ?>”><?php _e( ‘Title:’, ‘buddypress’ ); ?></label>
    <input class=”widefat” id=”<?php echo $this->get_field_id( ‘title’ ); ?>” name=”<?php echo $this->get_field_name( ‘title’ ); ?>” type=”text” value=”<?php echo esc_attr( $title ); ?>” />
    </p>

    <?php
    }
    }

    #272775

    In reply to: sitewide notice

    sugar7
    Participant

    this is the full path; /public_html/wp-content/plugins/buddypress/bp-messages/classes/class-bp-messages-sitewide-notices-widget.php

    wbcomdesigns
    Participant

    @eforreal79 You can check for BuddyPress Moderation Pro It will help to moderate content with help of community members. They can report activities and reported activated will automatically remove from activity stream after a certain number of reports.

    #272770

    In reply to: BuddyPress Moderator

    wbcomdesigns
    Participant

    We have recently created a plugin for BuddyPress Moderation, it’s live

    Hopefully, it will help the community.

    Varun Dubey
    Participant

    @beo9999 It’s already fixed you can followup following discussion
    https://buddypress.trac.wordpress.org/ticket/7391

    #272739
    Varun Dubey
    Participant

    @demiano Profile Name field is mandatory and it’s created at a time of plugin activation. It’s hard to add visibility control on it.
    You can also check a related discussion on it
    https://buddypress.trac.wordpress.org/ticket/7391

    #272738
    Varun Dubey
    Participant

    @louie171 You can use a standard loop instead of direct SQL queries

    Group Members Loop

    #272737
    Varun Dubey
    Participant

    @goshoes Domain.com/activity will be site-wide activity and it will display activities from all members including group activities. You can also check https://codex.buddypress.org/administrator-guide/activity-streams/ for further details.

    #272731

    In reply to: WP GDPR Compliance

    Venutius
    Moderator

    This is a bit of a wordpress issue in general, not just BuddyPress, for example much of the user info is actually from the WP user db, it’s also to do with the applications that you choose to use on WP. I believe the plan is for WordPress to build into core a Privacy Policy management system whereby plugins will be able to register their privacy/compliance options and the system admin will be able to use those to put together privacy policies using the mechanisms made available within this framework. Plugins can of course choose to implement their own solutons to GDPR.

    The discussion regarding BP’s response to GDPR is here:

    https://buddypress.trac.wordpress.org/ticket/7698 looks like the BP solution to this will be in 3.x.

    #272729
    Venutius
    Moderator

    You could ask for this as a feature request on Trac

    There is a premium plugin I know of that does this – BuddyPress Profile Visibility Manager by BuddyDev.

    #272720
    louie171
    Participant

    ok, after abit of digging I found away that might work.

    Buddypress seems to WP_User_Query for the members query, so I can filter on pre_get_users

    what I’m going todo is run a query where to find all users what are in a group that search term matches e.g. (pseudo query haven’t looked at the tables yet)

    select ids_of_users from users, groups
    where group_name like ‘%SEARCH_TERM%’ (join users and groups)

    Then from the ids above I can do something like this:

    $query->set( ‘include’, (array) $user_ids );

    looks like that should work, but welcome any input.

    #272714
    jameskoo
    Participant

    Yes, I have been trying to share screenshot… It’s alright, I will try it again.

    The plugin screenshot is here: https://prnt.sc/jdm8jn

    The shortcodes are working! Thank you really much for this plugin! I will leave a review soon.

    What I am trying to feedback is, the edit url shortcode is not functioning well.

    This edit url shortcode will generate url as this format:
    mysite/wp/members/username/edit/

    But the buddypress profile edit url should be this format:
    mysite/wp/members/username/profile/edit/group/1/

    Thank you once again

    #272702
    kriskl
    Participant

    thanks, I have tried it few years ago, but it didn’t quite work, maybe I was doing something wrong,

    pity, there is not a dedicated plugin for buddypress 🙁

    #272692
    jameskoo
    Participant

    Hi @venutius thanks for developing this plugin. I think this should solve my issue.

    I have tried the edit profile shortcodes, and paste it in the footer widget, it do shows the url. But it doesn’t shows the gravatar like what the buddypress login widget is.

    Is the shortcodes being used in this way?

    #272691
    yusareba
    Participant

    No, only the actual buddypress profile.

    #272688
    Venutius
    Moderator

    Sounds like you need to remove the nav item that corresponds to that link.

    There’s two menu items that possibly need to be removed. the most common one could be removed with the bp_core_remove_subnav_item( 'settings', 'general' ); function.

    Do you also use the WordPress/BuddyPress adminbar?

    #272685
    yusareba
    Participant

    In the settings (general) panel of buddypress, users can change their email address.

    How can I remove or disable this?

    If needed, I would be willing to use CSS but can’t find the identifier.

    #272677
    ChuxMark
    Participant

    All right. Everything is working now. I did NOT refresh the domain as mentioned in a prior post. Here is what I did:

    1. From wp-admin, I deactivated Jet Pack plugin.

    2. Set plugin folder back to “BuddyPress” (we previously set it to use -old suffix).

    3. From wp-admin, reactivated BuddyPress

    4. Confirmed that BuddyPress DOES work.

    5. From wp-adminm, reactivated JetPack.

    6. Confirmed BuddyPress STILL works.

    There seems to be some unknown defect/inconsistency between the BP and JetPack plugins.

    Note that there are other threads in this forum about JetPack problems that indicate SSO needs to be turned off. In my case, it wasn’t on, so that doesn’t seem to be the same problem.

    Hope this situation and resolution helps someone else.

    Best regards! CHUCK

    #272674
    Venutius
    Moderator

    In that case I don’t think that page is part of your BuddyPress install, I’m thinking it must have come with your theme, unless you renamed an existing bp page to that. there’s quite a few ways of getting the members page in masonry view, but unless you set it up specifically then it’s not part of the standard bp install I don’t think.

    #272664
    Venutius
    Moderator

    Either something went badly wrong with your install, wich is unlikelu or there’s something running on your site that is seriously messing with BuddyPress. Now you know how to recover from this, you could disable all other plugins, switch to the 2017 theme and then re-enable BuddyPress, to see if it works on it’s own.

Viewing 25 results - 6,851 through 6,875 (of 69,106 total)
Skip to toolbar