Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'private'

Viewing 25 results - 2,176 through 2,200 (of 5,234 total)
  • Author
    Search Results
  • #170451
    energynet
    Participant

    I’ve not seen this. How about adding a voting option for BP Groups.

    And I’m not talking about the Favorite or FB Like Button, but a bonafied capacity to do voting – or for some people “Make Community Decisions” democratically or in modified versions.

    I’m of course interested in the modified version since a lot of activist communities seek to gain consensus vs. a mere 50% + 1 vote.

    Such an addition would look just like a Forum or the BP Docs with its own menu. Each member of the group could go there and do the following:

    Phase I:

    Participate in either with real time chat or with comments in the creation of the wording of the proposed issue to be voted on. This section would also have the capacity to schedule a vote and announce it to the group. This module would also be able to identify several different types of votes that could take place from selecting a person for a position, a straw vote or informal poll on an issue, the real vote or an appeal/call for revote.

    Phase II:

    The vote Module

    Of course, this would be where a variety of formats would be defined by the phase I type of vote and then allow each user to enter their own voting booth and make a decision.

    Phase III

    Vote tabulation and archiving

    This of course would be how each individual vote is setup, much like a standard post with the ability to save comments (discussion threads) that could be closed by the admin but all of it could be held as a single event in the database. Of course just as people have elections, the archiving cycle should also be able to frame votes by time or far more important for small communities by subject. So that a group could interweave the voting plugin/option could then be woven directly into the groups bylaws. By this, I’m saying that each voting event then be given a URL so that it could then be directly linked to a public or private document like the groups internal bylaws if they want.

    You do this, and you’ve taken the next step in really making a community that can make online decisions!

    #170419
    gphp
    Participant

    how i can import private messages from phpbb forum?
    i have installed bbpress + buddypress plugins.

    thanks

    #170405
    marbler
    Participant

    Hi folks,

    Are their any coding wizards out there who can tell me how to stop “Private” groups from showing in the sidebar? I know hidden groups are not shown, but as default public and private groups do show up.

    Also, how do you hide the number of members in each group in the sidebar?

    Many thanks!

    #170404
    funmi omoba
    Participant

    @shanebp,

    thanks for your reply I thought as much but I think it get wiped during the plugin update.

    Thanks for your input anyways.

    Best Regards

    #170403
    shanebp
    Moderator

    @funmi-omoba

    Open the plugin file, find the text, replace the text

    #170400
    funmi omoba
    Participant

    @shanebp,

    Thanks for your snippet which works great with standard buddypress message system but did not work if using BP Profile Message UX plugin, is there anyway to make it work please

    https://wordpress.org/plugins/bp-profile-message-ux/

    tahnks

    #170393
    Henry
    Member

    @shanebp – oops thanks for pointing that out. global $bp; can be removed

    #170392
    Henry
    Member

    @shanebp good point about using the bp_send_private_message_link approach. Although you would avoid double buttons by using a translation file.

    #170389
    shanebp
    Moderator

    @henrywright-1
    And how would you avoid double buttons due to this call in member-header.php?
    do_action( ‘bp_member_header_actions’ );

    @tayenewm
    Use the provided apply_filters:

    function tweak_button_label ( $args ) { 
    	$args[link_text] = 'Something'; 
    	return $args;
    }
    add_filter( 'bp_get_send_message_button_args', 'tweak_button_label', 1, 1 );
    #170388
    shanebp
    Moderator

    @henrywright-1
    Don’t include the global if you aren’t going to use it.

    #170387
    Henry
    Member

    actually you could make use of the bp_send_private_message_link function and do it like this:

    <a href="<?php bp_send_private_message_link() ?>" title="Private Message">Private Message</a>

    You can change the “Private Message” text to whatever you like. You’d just paste the code into your theme where ever you’d like the button to appear

    #170386
    Henry
    Member

    You could do it like that but each time you update BuddyPress you’ll lose the changes you’ve made to bp-messages-template.php. I’d try to avoid making changes to the plugin core.

    #170385
    tayenewm
    Participant

    That process seems beyond me and very long (and I cannot find the /plugins/buddypress/bp-languages folder) I just want to change the “Private Message” button label. Can I access/change it quickly like this:
    1. access buddypress/bp-messages/bp-messages-template.php
    2. change the ‘link text’ to the new label name in this block of code?

    function bp_get_send_message_button() {
    // Note: ‘bp_get_send_message_button’ is a legacy filter. Use
    // ‘bp_get_send_message_button_args’ instead. See #4536
    return apply_filters( ‘bp_get_send_message_button’,
    bp_get_button( apply_filters( ‘bp_get_send_message_button_args’, array(
    ‘id’ => ‘private_message’,
    ‘component’ => ‘messages’,
    ‘must_be_logged_in’ => true,
    ‘block_self’ => true,
    ‘wrapper_id’ => ‘send-private-message’,
    ‘link_href’ => bp_get_send_private_message_link(),
    ‘link_title’ => __( ‘Send a private message to this user.’, ‘buddypress’ ),
    ‘link_text’ => __( ‘Private Message’, ‘buddypress’ ),
    ‘link_class’ => ‘send-message’,
    ) ) )

    #170384
    Henry
    Member

    you would add something like this to your theme’s functions.php

    function bp_disable_messaging() {
    	global $bp;
    	
    	if ( USER_TO_DISALLOW && bp_is_current_component('messages') ) {
    		wp_redirect( home_url() );
    		exit();
    	}
    }
    add_action('wp','bp_disable_messaging');

    Note: USER_TO_DISALLOW would be your unpaid WooCommerce users. You would need to get whatever this was from WooCommerce as I’m not familiar with the plugin. Once you’ve added that bit in the code should work.

    #170381
    rtandoh
    Participant

    Hi

    I would appreciate some guidance re. programmatically restricting access to Private Messaging to paid subscribers (using the WooCommerce and Groups plugins).

    Any pointers as to where in the BuddyPress codebase to look would be appreciated.

    Richard

    #170380
    Henry
    Member

    This will help you. It shows you how to change most of the text labels and messages outputted by BuddyPress:

    https://codex.buddypress.org/developer/customizing/customizing-labels-messages-and-urls/

    #170358
    tayenewm
    Participant

    Please advise how I can change the text on the “Private Message” button.
    Currently using WP version 3.5.2 BuddyPress version 1.8.1 with the Avada theme by Themeforest.
    Here is a link to the site: http://69.195.124.60/~youngwo8/

    Thanks in advance,
    taye

    Will there ever be a resolution to this problem? BP 1.8 with bbPress 2.3.2 on WP 3.6 still sees forum posts in Private groups appearing in non-group members’ activity streams!

    Henry
    Member

    I am looking for a list of the core emails that BuddyPress sends out. So far I have come up with the following

    • Activate your account
    • Recieved a new private message
    • Menitoned in an public message

    I’m sure there are more. Grateful if someone can point me in the direction of a comprehensive list

    #170209
    webheadcoder
    Participant

    I have a request to not depend on the ‘bp_xprofile_visibility_levels’ user meta setting in order to hide fields. Or simply add a hidden input explained in the workaround. Here is why:

    I developed a private membership site so naturally I wanted to disallow the ‘public’ visibility setting. I added something like:

    function myfunction($levels) {
        unset($levels['public']);
        return $levels;
    }
    add_filter( 'bp_xprofile_get_visibility_levels', 'myfunction');

    This caused a chain reaction to show all fields with an enforced visibility.

    I have a Mobile Phone field along with several others to be forced to be ‘adminsonly’. So there is no form input (radio buttons) to switch the visibility. BuddyPress checks _POST[‘field_123_visibility’] and if there is no post field, the default visibility is ‘public’. Then BuddyPress checks for the allowed visibilities. Since i took out ‘public’, ‘public’ is not an allowed visibility and does not save the users’ visibility preference (in bp_xprofile_visibility_levels) . Because the user does not have a visibility preference saved for this field it is not checked to be hidden (bp_xprofile_get_fields_by_visibility_levels()). Since it’s not even considered to be hidden, it shows. This is where I’d like a change to the code. I don’t think it’s right to skip a field if it is not in the user meta.

    I’m not expert at BuddyPress so maybe unsetting the ‘public’ visibility setting is a big no-no. It just seems very strange that unsetting the ‘public’ visibility can cause ‘adminsonly’ fields to show publicly.

    My workaround for this is to just add a hidden field so that the usermeta is saved. in members/single/profile/edit.php I added the following:
    <input type="hidden" name="field_<?php bp_the_profile_field_id();?>_visibility" value="adminsonly">

    shanebp
    Moderator

    You’ll need to know the user_id for the teacher.

    Then check the array for that id. If it’s found, remove it.

    And tell the student why, something like:

    bp_core_add_message( __( 'You cannot send a private message to the teacher.', 'buddypress' ), 'error' );

    Artisantopia
    Participant

    thank you @shanebp.

    I only know enough about filters to get myself into trouble! I’ve just had a look at that one. Are you suggesting that I remove the teacher from the array so they don’t show in the list of members to send to? Is that how that works?

    How would that work from the member/student perspective?

    I really appreciate any guidance you can give me.

    Thank you.

    shanebp
    Moderator

    Do you know how to use filters?

    Take a look at function send() in
    \buddypress\bp-messages\bp-messages-classes.php

    It has lots of filters.
    I’d use the do_action_ref_array

    Artisantopia
    Participant

    HI! I manage a site with 400+ members who are students of a course. The site owner/teacher would like to be able to block anyone from sending her private messages. We want all the students to be able to PM between themselves, but just not to the teacher.

    I’ve looked at this plugin http://etivite.com/wordpress-plugins/buddypress-restrict-messages/ but that would require her to unfriend all the members, or to ignore any future friend requests – which she doesn’t want to do as that sends a negative message.

    Is there a way to achieve this? I’d appreciate any suggestions or ideas. Thanks!

    #169953
    crashy11
    Participant

    Hello,

    is it possible to remove number of members shown up on group page?

    If you go for example on page http://www.yourdomain.com/group, there will be list of private groups and on right side it will show up for example: (Private Group / 2 members)

    How to remove that members number, so users can’t see how many people are in the group.

    Thank You

Viewing 25 results - 2,176 through 2,200 (of 5,234 total)
Skip to toolbar