Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'private'

Viewing 25 results - 1,601 through 1,625 (of 3,460 total)
  • Author
    Search Results
  • #155669
    bp-help
    Participant

    Add this to bp-custom.php https://codex.buddypress.org/developer/customizing/bp-custom-php/
    and it will prevent non-logged in users from accessing BP pages.
    `
    /* Block BP Pages For Non-Logged In Visitors */
    function bp_block_pages() {
    global $bp;
    if ( bp_is_activity_component() || bp_is_groups_component() /*|| bbp_is_single_forum()*/ || bp_is_forums_component() || bp_is_blogs_component() || bp_is_page( BP_MEMBERS_SLUG ) ) {
    // add components to be blocked to non-logged in visitors
    if(!is_user_logged_in()) {
    wp_redirect( get_option(‘siteurl’) . ‘/register’ );
    } // Change /register to the page you want non-logged in visitors directed to
    }
    }
    add_filter(‘get_header’,’bp_block_pages’,1);
    /* End BP Blocked Pages */
    /* Remove RSS Feeds */
    function bp_remove_feeds() {
    remove_action( ‘bp_actions’, ‘bp_activity_action_sitewide_feed’, 3 );
    remove_action( ‘bp_actions’, ‘bp_activity_action_personal_feed’, 3 );
    remove_action( ‘bp_actions’, ‘bp_activity_action_friends_feed’, 3 );
    remove_action( ‘bp_actions’, ‘bp_activity_action_my_groups_feed’, 3 );
    remove_action( ‘bp_actions’, ‘bp_activity_action_mentions_feed’, 3 );
    remove_action( ‘bp_actions’, ‘bp_activity_action_favorites_feed’, 3 );
    remove_action( ‘groups_action_group_feed’, ‘groups_action_group_feed’, 3 );
    }
    add_action(‘init’, ‘bp_remove_feeds’);
    /* End Remove RSS Feeds */
    `

    #155667
    Hugo Ashmore
    Participant

    @billgates82 you should always start a new post rather than tack onto an existing one that may seem to cover the same issue.

     

    As in the post above yours consider looking at the S2 member plugin.

    #155661
    billgates82
    Participant

    hi to everybody;

    I have a BuddyPress Community that I’m building that’s based around a rather sensitive topic for my users and as such I need to make parts of the community totally private and not accessible by non logged in users.

    I would like guests to be redirected to a page/message that requests login/sign-up before proceeding to the following parts of my community:

    mysite.com/members
    mysite.com/activity
    mysite.com/groups/

    However, I like guests to be able to freely view public blog and public content.

    Is there a way to accomplish this?

    imtrevormrose
    Participant

    The private messaging decided to work. But a basic user still can’t send a public message ( mentions ) or comment or favorite mentions. They also can’t accept or add friends.

    I’m going through the coding now and I’m not turning anything up that has to do with “permissions” or level of user. I’ve attempted turn error logging on, but if it is on, nothing is being populated into the error_log.php file.

    #155127
    bruce-s
    Participant

    I’ve also run into this… it’s not clear from the debugging page if a resolution has been found though?

    @mercime
    Participant

    >>users cannot communicate with, see each other, or even know other users exist). Only the admin will have the privilege of viewing profiles or commenting on users’ blog posts.


    @bg01
    As I see it, you don’t even need BuddyPress especially with the configuration you posted above.
    – Just create a network (go multisite)
    – allow students to create own blogs or create the blogs yourself and add student/user per blog
    – make all sites private (Super Admin can see anything and everything)
    – post comment on each student’s blog post.
    If you have any issues with your multisite installation, please post at https://wordpress.org/support/forum/multisite

    Alternatively, you can have one single WP site. Make it private, no feeds. Set access of all posts in front end and back end to Site Admin and respective post Author in custom WP theme. Only Site Admin can post comment in all posts.
    If you have any issues, please post at https://wordpress.org/support/forum/how-to-and-troubleshooting

    #155082
    VegasKev88
    Participant

    @mercime Thanks for the assist. Close, but not quite. Apparently I was at 2MB. I’m on a private server, so no worries, upgraded via php.ini and .htaccess Change is visible in wp mediau uploader upload limit.

    tested in the wp admin media uploader with a 56kb image (the same test image for all upload tests in this specific post) and all worked…until I did test on profile frontside.

    I tried to upload via the buddypress profile page and here is what I got.

    • 1. Was able to select an image.
    • 2. When I selected ‘upload image’ I got the error below
    • 3. Checked in wp-admin media library for potential image upload and none present

    ERROR MESSAGE: Upload Failed! Error was: No editor could be selected.

    Any thoughts?

    rizingsun
    Participant

    Thanks @bphelp

    But my intent is that the “Friends” tab should not be visible to anyone except the account user (like “Settings” and “Messages” tabs are only visible to an account user).

    Even if you’re friends with a user, you should not be able to see his other friends.

    Complete privacy.

    I would like to make the “Friends” tab a private setting. Is there any way to do that?

    #154753

    In reply to: Group Notifications

    Jon Henwood
    Participant

    Hi

    Can make a plugin for Buddypress so that the forum sends private messages to group users. This will then cause the notification system to pick up the message and show it in the grey WordPress/Buddypress notification bar. Your forum notification problem solved for only £15.

    Let me know if you are interested and we will build it

    #154645

    In reply to: Group Notifications

    Jon Henwood
    Participant

    I would say sure no prob unfortunately though the role I played was suggesting that when a new topic was posted a private message is sent to the members. The actual implementation was done by my developer…will see if I can get him to post a how to here.

    #154578
    jordas
    Participant

    ok, what I just figured out two is that if you do not close the boxes with radiobuttons on the register page. It actually saves your choices correctly. So actually the ‘close’ option on the register page sets it back to the default, public. Still, I would like that default to be private, or better to speak in terms of ‘loggedin’ or ‘friends’…

    Jon Henwood
    Participant

    In case anyone else is looking for an answer and comes across this post, this may help…

    We found a solution of a sort.

    What you need to do is include an automatic private message send to all group members except the person posting the topic. This private message then gets hooked in to the notification system and lets the user know they have a new message.

    #154574

    In reply to: Group Notifications

    Jon Henwood
    Participant

    We found a solution of a sort.

    What you need to do is include an automatic private message send to all group members except the person posting the topic. This private message then gets hooked in to the notification system and lets the user know they have a new message.

    #154561
    jordas
    Participant

    Thank you so much for this, especially the conformation I’m not loosing it :p

    I will try and see if I can hack the register page of my theme so it has the ‘private’ setting as a default.

    #154556
    jordas
    Participant

    Hey Hugo, yes, I have done this. But no matter if user override is set or not. At the registration page everything stays public, even if the admin forces it to private. Is this only me who has this problem? Can you keep me updated on this?

    guiye
    Participant

    Thanks, great job @dwenaus

    #153930
    bp-help
    Participant

    For buddypress specific pages see this thread:
    https://buddypress.org/support/topic/private-community-with-public-wordpress/
    For post and pages you could try this plugin:
    https://wordpress.org/extend/plugins/wp-members/

    #153895

    In reply to: BuddyPress Compatible

    Hugo Ashmore
    Participant

    This is a public help forum you shouldn’t really be soliciting private help, all help here is on a volunteer basis.

     

    Have you actually bothered to contact Continuum author yet as has been suggested once or twice now? It has been strongly suggested that it is actually a theme issue so it is down to the theme author to try and help really.

    We can try and help but frankly have probably exhausted the limits to which we can.

     

    On the duplication issue, there was another thread in which this was happening so I suspect that there is a common cause involved that is being induced by some themes – an extremely long shot but there have been occasions where members loops duplicated odd members this nearly always resolved down to Caching plugins, you shouldn’t be running any until such time as thought necessary on a production site but in case you are deactivate them.

    #153771
    jimah
    Participant

    @modemlooper I have installed the Buddypress 1.7. Before I installed it, I was having problem with sending Private Message, so I was hoping it will be resolved. However, the problem still persist. When my users and I send a Private Message, it indicate message: No data received…..Unable to load the web page because the server sent no data. Yet the user receives it. I have deactivated all my plugins except buddypress still I encounter the same problem. I change my theme to bp-default theme, yet the problem still persist. I even uploaded a non-buddypress to take advantage of the 1.7 feature but the problem still persist.

    I am at my wits’ end here. Please can you help or suggest an approach for me.

    Shalom

    #153648
    bp-help
    Participant

    Also, how can I hide the Activity pages etc. until the user loggs in?

    Read my reply in the following thread to accomplish this.
    https://buddypress.org/support/topic/private-community-with-public-wordpress/

    #153624
    Kevin M. Schafer
    Participant

    @bphelp I do believe I have it now. Yes, my butchered theme that I’m learning on was sending off errors. I enabled the BP-Default Theme and we’re good. I have the BP navigation tabs going to the Sample Page.

    I knew you had it right, but I didn’t understand and I didn’t know my theme was causing errors. I use this site for practicing, then I implement the changes that work back to my new site: http://www.gumpolen.com

    Thanks,

    Kevin

    #153617
    bp-help
    Participant

    That sounds more like your theme is shooting off errors. Try activating the bp-default theme and see what happens. also make sure there is no extra lines before or after the opening and closing php tags in the bp-custom.php

    #153615
    bp-help
    Participant

    did you add the code to the bp-custom.php you create in yoursite/wp-content/plugins? did you remember to add the code between opening and closing php tags and save the file? I have it working flawless on wp 3.5.1 and bp 1.7 beta 1. for example this line:
    wp_redirect( get_option(‘siteurl’) . ‘/register’ );
    redirects to register page
    you could for example change it to something like this:
    wp_redirect( get_option(‘siteurl’) . ‘/sample-page’ );
    that would redirect to the sample page.

    #153612
    Kevin M. Schafer
    Participant

    @bphelp I missed my greater than sign in starting out the page. Now your code doesn’t show, but when I log out, i get an error across the top of the screen instead:

    Warning: Cannot modify header information – headers already sent by (output started at /home/*****/public_html/inlandcoder/wp-content/themes/frisco-for-buddypress/members/index.php:12) in /home/*****/public_html/inlandcoder/wp-includes/pluggable.php on line 876

    #153611
    Kevin M. Schafer
    Participant

    @bphelp I tried this and when I refreshed my site, all of your code appears below the admin bar on my site — above my header.

    I created a new page and named it “new page here.”

    Here’s your code with my info:

    function bp_guest_redirect() {

    global $bp; if ( bp_is_activity_component() || bp_is_groups_component() /*|| bbp_is_single_forum()*/ || bp_is_forums_component() || bp_is_blogs_component() || bp_is_page( BP_MEMBERS_SLUG ) ) { // enter the slug or component conditional here if(!is_user_logged_in()) { // not logged in user wp_redirect( get_option(‘siteurl’) . ‘/new-page-here’ ); } // user will be redirect to any link to want } } add_filter(‘get_header’,’bp_guest_redirect’,1);

    Am I to insert my URL as well? I tried with and without changing it and that didn’t work either.

    Kevin

Viewing 25 results - 1,601 through 1,625 (of 3,460 total)
Skip to toolbar