Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'private'

Viewing 25 results - 2,701 through 2,725 (of 5,233 total)
  • Author
    Search Results
  • Baconbits
    Participant

    Hello, I have this code here that I’ve been using to keep profiles private to non-friends (admin overrides this).

    I would also like to allow editors to have access to user profiles/streams for moderation purposes. Is there any way to implement that? Here is the code:

    `// ——- Check if member is a friend ————- //

    function bp_displayed_user_is_friend() {
    global $bp;
    if ( bp_is_profile_component() || bp_is_member() ) {
    if ( (‘is_friend’ != BP_Friends_Friendship::check_is_friend( $bp->loggedin_user->id, $bp->displayed_user->id )) && (bp_loggedin_user_id() != bp_displayed_user_id()) )
    if ( !is_super_admin( bp_loggedin_user_id() ) )

    return true;
    }
    }`

    Is there an is_editor function I can use to give editors access?

    #149567
    James
    Participant

    Hi!

    How do I create a link, which would lead to a PM “compose” screen with predefined “send to” id, subject and message?

    latest wp, bp.

    thanks!

    #149528

    For anyone looking for same snippet, put the following code in your functions.php

     

    /*remove email addresses from private messages*/

    function wdw_remove_email_from_private_msg($message){

    $replacement = “[Warning: Contact removed]”;

    /*if you dont want any replacement text, replace the above line with

    $replacement = “”;

    */

    return preg_replace(“/[^@\s]*@[^@\s]*\.[^@\s]*/”, $replacement, $message);

    /*the code is short and works in most cases but not full proof. Check */

    }

    add_filter(‘messages_message_content_before_save’, ‘wdw_remove_email_from_private_msg’);

    add_filter(‘messages_message_subject_before_save’, ‘wdw_remove_email_from_private_msg’);

    Hi,
    Please does anyone know of a snippet which i can use to filter email address or to notify Admin when a user include email address in private message.
     I dont want my user to include their  email address in private message because recently a user who happens to be a fraudster send message to many of his friends asking them to contact him through email.

    Regards
    Regards

    #149379
    Ben Hansen
    Participant

    You can visit and navigate public groups; you can’t access private groups without becoming a member.

    oh yeah i forgot 😛 good suggestion with that invite anyone plugin.

    #149366
    aaclayton
    Member

    OK, I looked into the code, and this is something I’ll need to go bring up on the bbPress forums as it’s an issue with the extend buddypress component of the bbPress plugin.

    I opened a ticket here: https://bbpress.trac.wordpress.org/ticket/2140. Hopefully this helps!

    #149320
    mrjarbenne
    Participant

    You can visit and navigate public groups; you can’t access private groups without becoming a member. I’m not sure how familiar you are with CSS, but you can drop that code in a CSS plugin. There is a WordPress.com CSS plugin that has been swallowed up by Jetpack, so if you use jetpack that works too.

    https://wordpress.org/extend/plugins/safecss/

    #149300
    Ben Hansen
    Participant

    isn’t that the same way private groups already behave?

    mrjarbenne
    Participant

    I’m using this code to make my buddypress site private to logged in users only, but keeping the blog and non-BP pages available to visitors.

    function sh_walled_garden()
    {
    if( ! bp_is_blog_page() && ! is_user_logged_in() )
    bp_core_redirect( $bp->root_domain );
    }
    add_action( 'wp_loaded', 'sh_walled_garden' );

    I’m now trying to block access to one specific page. I thought I could do it with the same code like this

    if( ! is_page( 697 ) && ! is_user_logged_in() )
    bp_core_redirect( $bp->root_domain );

    but I think I’ve got a few too many exclamation marks creating redirects that will never complete.

    Any thoughts on how I can block a specific page from view?

    aaclayton
    Member

    Members of my private groups are getting the following bbPress notice when attempting to create a new topic in their group forum. I’m using the bbPress 2.2 group forums, not the old BuddyPress group forums.

    ERROR: This forum is hidden and you do not have the capability to read or create new topics in it.

    I thought the idea was that the “participant” forum role capabilities got hit with an override when it is a group member posting in his/her own group. Unfortunately my group members don’t seem to be acquiring the necessary capabilities to create topics in a hidden forum. I realize the philosophy governing bbpress roles and group forums moving forward is still in limbo, but it would be really great to get my private groups back to a point where their forums are operational.

    If anyone has ideas, I’d love to hear them!

    #149248
    DPoncy
    Participant

    I run a private site for an arts community with about 150 members. I need to create an Artists’ directory on a dedicated blog other than my primary Buddypress blog.

    Is it possible to use the Buddypress profile information on another blog in that way, or am I going to have to have everybody fill out their profile in two different places?

    I am a Buddypress newby. I have no idea if what I want to do is even possible. Any help would be greatly appreciated.

    WP 3.5, BP 1.6.2

    #149186
    seppy
    Participant

    Can’t seem to get this working, I’ll just disable the ability to let people leave for now (so they can only be removed by admin). Doesn’t matter too much as the site is only private groups.

    #149132
    doncgarner
    Participant

    Hello to all, I have JUST freshly installed Buddypress Last night with No Hitches. I DIDN’T install the forums or the BBPress features because I wanted to do that when I needed to later. My Site is Currently using/in WP Maintenance Mode Plug-in (Only Plugin NOT Disabled)…All the other Plugins were de-activated before my BP install. I’m using ThemeForest’s Continuum Theme for WP. I ONLY Want Buddypress’s FEATURES & FUNCTIONALITY…..NOT it’s template, at all, at least throughout the Content Pages & Categories on my site. I do want a MEMBERS site, with all of BP’s features for members when they join and become a part of my Artists community. However, I am STUCK!!! After the install What Do I Do Next, and HOW Do I Do It with the Continuum theme? Someone please point me to a step by step video of HOW to make my template Config to the Continuum theme that I want to use throught my site’s main content. I was on the Ning.com network before I dedcided to re-design my whole website community/network. Most of WP’s features are very understandable, but…..I can’t seem to fugure out for the life of me, how to make Buddypress work, within my website, and it’s continuum theme. Here’s what I need members to be able to do within the community……..

    1. Create a members/Artist profile upon Registration. re-directing them to completing their profile, and adding a bio, photos, music, videos, links, etc….within their profile after registration.

    2. NOT be able to see the WP Admin Panel AT ALL or have any access to it. Also NOT see WordPress login Screen while signing-up or signing in. Just a simple login screen. Don’t need Anyone to know the site is a WP installed platform AT All!!!…lol

    3. Members be able to UPLOAD music, videos, photos, files, etc, to their profiles, and designated pages within the website. Even add a Music or video player on profile page.

    4. Members to Video Chat with Multiple members or privately, with SAME Access Login they signed in with to the site.

    5. Members to be able to POST a blog topic in a MAIN Blog area, where ALL members’s Blogs display, and NOT have it interfere with any other POSTS for content, on the site by admin.

    6. Add Password protected pages where I can Monetize and offer Specific content for members. All pages are NOT going to be public, but ANYONE can join. Just don’t want them to get past a certain couple of pages without Becoming A Member 1st.

    If anyone can help me with ANY of this, ESPECIALLY The BuddyPress SET-UP with my Cintinuum theme…please do so . As, I have a Launch Deadline of New Years Eve Midnight!!!! (Sign) If I can get the Buddypress Membership features working within My Template without changing the template….then I’m good. I just need members to see the current design theme, wnjoy the content, and still be able to sign-up for a new membership and get all of the buddypress features also. Thanks In Advance Friends…..Blessings.

    #149054
    danbpfr
    Participant

    Hi @hindicell

    first of all create a child theme for Frisco.

    And use conditionnal tags to show/hide template parts intended for logged in or out users.

    Something like

    <code> if ( is_user_logged_in()  ) :

    the stuff to show to logged in users

    endif;</code>

    and/or

    <code> if ( ! is_user_logged_in()  ) :

    the stuff to show to logged  out users

    endif;</code>

    But before going on a overcomplicated work, you would prefer a private BP site ? If so read here:

    https://buddypress.org/support/topic/how-do-i-make-buddypress-1-6-a-private-community/

     

     

     

    #148923
    Ben Hansen
    Participant

    hi there i’m not so much of coder but i’m thinking i’ll chime in here anyway but most of what you are looking for usually falls under the umbrella of what plugins normally do. some people like to make their own i not being a programmer tend to go with whats already been done for the most part.

    #1 you might want to check out s2 members plugin does everything you are looking for in #1 and more but then again that’s not always desirable just saying you might want to check it out.

    #2 what you are saying here seems to be a non-sequiter if you actually meant to say site instead of network however it sounds like you actually want to be giving new users Author or Contributor users roles which is actually just a WordPress thing and has very little to do with BuddyPress itself other then possible a hook into the public profiles but again this sounds like something that might also be handled by a plugin especially with regards to reordering the content. Be advised this information already exists on a contributors author page which again sort of a WP thing and not really a BP thing.

    #3 is already sorta possibly already similar to the last thing any post (wp thing) can be set to private or password protected but tying that access to different BP connections once again sounds to me like some a plugin might do.

    #4 i don’t follow this one either if nobody can see each other how would they ask them to be friends? if you wanted to do such a thing it once again sounds like a plugin.

    plugins that do what you are looking for may or may not exist, you will need to do some research or perhaps build them yourself. Like i said before i’m not actually a programmer but from what i hear WP/BP plugin coding is relatively stratiforward if you are proficient in php.

    #148899
    Baconbits
    Participant

    Hello all, I’m a novice (but learning) with regard to all server side scripting (I am only familiar with static html).

    I have a lot of ideas for my WP/BuddyPress website that I need guidance with, I am using a modified version of the Frisco BP child theme.

    1. I want to restrict access to Buddypress specific pages (forums, groups, activity feeds, profiles, etc) but keep blogs/articles 100% public and accessible through search engines. From my research I have created a bp-custom.php file in my plugins that redirects unregistered users to sign up. This is the part of the script:

    function restrict_access(){
    global $bp, $bp_unfiltered_uri;

    Is there a way to edit this to only limit it to certain pages and not globally? If not may I have a script to add to specific pages I want unauthorized to the public to refer them to the register page.

    2. I will not be creating multiple networks (as in username.website.com). I want all content available throughout the entire network. I would like each users profile to have a “works contributed” section either showing their most recent, most popular, or a link to ALL of their works. Is this possible and how?

    3. For users who are adding a post, I would like them to have an option to select “public”, “friends only”, “private” for each post they make. Obviously public would be visible site wide and included in search engines; where friends only/private would be limited to their friends/groups, and private would be for their eyes only i.e. diaries. This may not be possible, but if it can be done or something close to it is possible please let me know.

    4. I would like users to be able to BLOCK other users / set their accounts to private (non friends can’t even see they exist) they would have to friend request others in order to be seen. Is this possible?

    That’s about all for today, I appreciate any help.

    Best,
    Joe

    #148414
    valuser
    Participant

    This link should have been included in the last post. https://buddypress.org/support/topic/possible-to-exclude-post-categories-in-activity-stream-and-make-a-user-profile-private-like-with-pri/

    (Also buddypress-edit-activity-stream no longer working on https://buddypress.org/support/ – by design ???)

    #148413
    valuser
    Participant

    Not quite the answer to your query as it is supposed to be inserted into the blogs rather than the bp end. It appears to disallow posts filtered by certain categories or tags from being entered in the bp activity stream. Paul will know if it works with the current versions of bp and wp.

    #148398
    Ben Hansen
    Participant

    seems like they always find way no matter what i try. so we employed the private messaging for friends only plugin to prevent pm spamming but now they are just doing their spam messages publicly. :/ so here’s my question i know that bbpress has throttle settings but i thought i had heard or read somewhere that there were throttle setting for buddypress as well did i imagine that?

    also would akismet eventually learn to spam these messages as well?

    thanks for any input!

    #148202

    In reply to: A few email questions

    bruceleebee
    Participant

    @mercime thanks for that.

    But when I change the subject of the Activation Email it does not change anything. The subject is the same as before.

    Also there is no option to send a welcome email. Only a welcome private message, which isn’t what I was looking for because I wanted to provide them with their username and password in the email (and obviously they’d need that to login and see the private message).

    Is there any other ways to get this done?

    #147793
    ochiba77
    Participant

    I want to redirect users to login page if the access Activity page so it’s only accessible by login users. Is there any plugin or do you guys know where I should change?

    The site is already in production so I want easy solutions.

    I found this plugin but it looks old and not sure if it still works.
    http://wordpress.org/extend/plugins/buddypress-private-community/

    #147351
    Skyfox70
    Participant

    I would like you to help to realise the connection between 3 groups of users
    with 3 separate forums. Each user type can connect to a specific forum
    but cannot see or connect to the others.

    I am on WP 3.5 and BuddyPress obviously.

    So here are the steps.

    1/

    I have created 3 forums :

    Conseil d’Administration

    Délégués

    Adhérents

    2/ I have installed the plugin called Members and created 3 custom
    roles which have the same names.

    Here are the features of the roles created :

    delete_replies
    edit_replies
    participate
    spectate

    So, a member with the role ‘adherent’ should only access to the Forum ‘Adhérent’
    a member with the role ‘delegue’ should only access to the Forum ‘Délégués’,
    etc.

    This logic would occur for all the given roles & group.
    By accessing to a specific forum, the user should only be capable to :

    see topics
    create a topic
    submit attached files
    edit and cancel their own post but not the one of others !

    in their specific forum but not in the other forums.

    THE PROBLEM IS THAT ALL USERS CAN SEE TOPICS AND CREATE TOPICS IN THE OTHER FORUMS !

    Besides, the client would appreciate that only the specific forum linked to his identification username / pswd would appear at login and do not see the 2 others ones.

    3/ Then I edited the forum access with the following options :

    Status : Open
    Visibility : Private

    Here is the link and the admin access : http://www.photographes-france.net/forums

    I hope to have been really precise.

    CAN SOMEONE HELP ME ?

    Regards,

    A.Rizzotti

    #147281
    sidea
    Participant

    Hi,

    Sorry to be bothering the community with such a trivial query, but I am on my first BP install and I have a question.

    BTW I am running WP 3.4.2 and BP 1.6.1 with the Salutation theme.

    I am setting-up a private BP site for Maritime Security Professionals to indulge in peer-to-peer communication and supplier reviews/analysis away from prying eyes. A private forum where they can discuss pertinent issues and agree in principle to better maritime security practices.

    My problem is that I don’t want these members/contributors to get access to the dashboard, not because I’m afraid they’ll do anything, but because it will scare them – these aren’t very IT literate people. I just want them to have full access to the site. Access will be completely restricted to non registered users.

    Their communication will be in the form of comments, forum posts, group communication etc, they will not be adding media/writing posts etc. That will all be done by the management team.

    Do I need a plugin to manage this? As it appears that the standard BP register process gives them access to a limited dashboard. Perhaps I am doing something wrong…

    Any help/pointers would be awesome!

    #147242
    AutomatedKid
    Participant

    update: verified all sites are set to permalinks “day and name”

    verified “register” page in bp pages setup is set to “register” but the view link takes me to primarysite.com, not primarysite.com/register

    and discovered the following error in the phpadmin, possibly the culprit, not sure:

    Problems with indexes of table wp_PRIVATE_users

    The indexes user_login and user_login_key seem to be equal and one of them could possibly be removed.

    #147240
    AutomatedKid
    Participant

    Here are the 3 error logs when clicking the meta register link

    WordPress database error Multiple primary key defined for query ALTER TABLE wp_PRIVATE_usermeta ADD PRIMARY KEY (umeta_id) made by require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), do_action(‘template_redirect’), call_user_func_array, bp_template_redirect, do_action(‘bp_template_redirect’), call_user_func_array, bp_screens, do_action(‘bp_screens’), call_user_func_array, bp_forums_directory_forums_setup, do_action(‘bbpress_init’), call_user_func_array, bp_forums_load_bbpress, bp_bb_dbDelta

    WordPress database error Multiple primary key defined for query ALTER TABLE wp_PRIVATE_users ADD PRIMARY KEY (ID) made by require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), do_action(‘template_redirect’), call_user_func_array, bp_template_redirect, do_action(‘bp_template_redirect’), call_user_func_array, bp_screens, do_action(‘bp_screens’), call_user_func_array, bp_forums_directory_forums_setup, do_action(‘bbpress_init’), call_user_func_array, bp_forums_load_bbpress, bp_bb_dbDelta

    WordPress database error Duplicate key name ‘user_nicename’ for query ALTER TABLE wp_PRIVATE_users ADD UNIQUE KEY user_nicename (user_nicename) made by require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), do_action(‘template_redirect’), call_user_func_array, bp_template_redirect, do_action(‘bp_template_redirect’), call_user_func_array, bp_screens, do_action(‘bp_screens’), call_user_func_array, bp_forums_directory_forums_setup, do_action(‘bbpress_init’), call_user_func_array, bp_forums_load_bbpress, bp_bb_dbDelta

    thank you.

Viewing 25 results - 2,701 through 2,725 (of 5,233 total)
Skip to toolbar