Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 8,976 through 9,000 (of 94,544 total)
  • Author
    Search Results
  • #272801
    sugar7
    Participant

    /public_html/wp-content/plugins/buddypress/bp-messages/classes/class-bp-messages-sitewide-notices-widget.php

    #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
    #272781
    yusareba
    Participant

    I’m sure this has came up before, however I haven’t found a recent search result that works.

    When BuddyPress is enabled it overrides the default WP registration page.

    How can I prevent this from happening?

    #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

    ignazio
    Participant

    I’m preparing a new installation of BuddyPress and preparing a vodeotutorial I realized that the moderators do not see the puldante delete associated with the posts of the members of the group thing that is visible with administration account.
    What should I set to restore this function?

    Thank you

    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.

    aubreyw
    Participant

    I use the buddypress members widget to display active or popular members in the right sidebar of my site. Can anyone tell me why the widget is displaying a message saying “No one has signed up yet”, even though I do have three test members and I have logged all of them in within the past 24 hours?

    I think it might have been properly displaying the fake members that came with buddypress, until I deleted them. It will not show the three test members I created on my own, as if the BP widget doesn’t even recognize they exist. I do see the members listed in the BP “Users” area and in the MemberPress “Members” area, so the members are there, but the widget doesn’t see them.

    #272753
    artemplace
    Participant

    Hi,any opinion about the marketplace combo Buddypress+buddyboss social marketplace?

    prockstem
    Participant

    I am building a cofounder website. Similar to this one, different colors and different areas though.
    Our CEO really liked the profile cards http://founders-nation.com/ I figured the site is JavaScript. I use WordPress and BuddyPress with “SweetDate Child” theme. How can I make those profile badges? Thank you in advance.

    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.

    madwester
    Participant

    Hey there 🙂 I am building a BuddyPress site with my own theme on top on underscore.me. I want a special/customized login page for my BuddyPress users, which means I don’t want them to be redirected to the wp-login.php when they click on login. Does anyone know how to do this? Thanks in advance for help 🙂

    #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.

    #272726

    Topic: WP GDPR Compliance

    in group forum Requests & Feedback
    Arnegger
    Participant

    Hi, we’re building 2 sites based on BuddyPress. We’re in Europe, Germany and now the question came up if BuddyPress is GDPR Compliant… ?

    In case you wonder:
    —–
    GDPR stands for General Data Protection Regulation and is intended to strengthen and unify data protection for all individuals within the European Union. Its primary aim is to give control back to the EU residents over their personal data.

    Why the urgency? Although the GDPR was introduced two years ago, it becomes enforceable starting May 25, 2018.
    —–
    For more Details please check out: https://wordpress.org/news/2018/04/gdpr-compliance-tools-in-wordpress/

    But most important is that all companies (also US based companies, or any other company based wherever in the world want’s to do business with European Citizens, THE COMPANY must fullfill these laws, or can be tanken to court… . So it is a global problem… .

    So I was just wondering how “GDPR Compliant” BuddyPress is and if we’re protected using BuddyPress, or not.. .

    I really do hope so, since I really love BuddyPress and if not, we’re actually not allowed to continue using it – which would be a very bad for us… .

    So – looking forward to your answer, really hoping hard that BuddyPress is took care of that.

    Thx, Arnegger

    #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.

Viewing 25 results - 8,976 through 9,000 (of 94,544 total)
Skip to toolbar