Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'private'

Viewing 25 results - 976 through 1,000 (of 3,865 total)
  • Author
    Search Results
  • #258638
    danbp
    Participant

    I’m unable to reproduce your issue on a single install with over 20 plugins active and plenty of custom functions active in bp-custom.php
    I can upload medias without problem with different 3th party themes or Twenty’s

    Try to upload a fresh copy of WordPress and BP and see if it makes a difference.

    Now about the snippet.
    It works more or less, no code error. You commented the action, so it is deactivated if someone copy/paste it without correcting this.

    That said, what is the reason behind using a redirection to login if the site, or at least the buddyPress parts, should be private ?

    Wouldn’t it be more logic to redirect visitors to an anonymous page with some important information, from which the first one could be Sorry, but this site is private ? Followed by some informations how to register or pay a fee or whatever the reason.

    A private site has two type of visitors: those invited to join and the others. Don’t give the opportunity to those who are there by chance to enter the site so easily.

    I let you think about this and eventually create an appropriate page and template.
    Here a code example redirecting to a page called Intranet and the correct calls to slugs for all components (including bbPress).

    function bpfr_guest_redirect() {
    global $bp;
    // enter the slug or component conditional here
    	if ( bp_is_activity_component() || bp_is_groups_component() || bp_is_blogs_component() || bp_is_page( BP_MEMBERS_SLUG ) || is_bbpress() ) {
    	
    // not logged in user are redirected to - comment/uncomment or add/remove to your need
    		if( !is_user_logged_in() ) { 
    			//wp_redirect( get_option('siteurl') ); //back to homepage
    			//wp_redirect( get_option('siteurl') . '/register' ); // back to register page	
    			wp_redirect( get_option('siteurl') . '/intranet' ); // back to whatever page
    		} 
    	}
    }
    add_filter( 'get_header', 'bpfr_guest_redirect', 1 );

    Add it to child-theme’s functions.php

    #258630
    danbp
    Participant

    Hi,

    the logout link is redirected to the same page. If you’re on your profile notifications screen, which is only intended for you, it is normal that when you logout from there, you’re redirected to a page not found message. Notifications is even private and not public.

    The solution is to redirect to an always public part of the site on logout.

    Add this snippet to child-theme’s functions.php

    //* Redirect WordPress Logout to Home Page
    add_action( 'wp_logout', create_function( '', 'wp_redirect( home_url() ); exit();' ) );

    Advice 1: use preferably the login widget, so the user stays on the same page where he attempt to login instead to be redirected to that boring wp-login page.

    Advice 2: on the Home (which is the member directory), you have all BP pages listed at the bottom. Remove them ! You certainly don’t need to give access to account activation or register page to your visitors…

    #258619
    jowyds
    Participant

    hello danbp, thanks for your reply.

    I have tried the suggestion to use define('WP_DEBUG', true); in conjuction with define('WP_DEBUG_LOG', true); with a twenty theme. It works fine when buddypress is not activated. No error or logfile whatsover. Then after I tried to activate buddypress, and test again. The media library still cannot load out. I have tried to check for error log and I can’t seems to find any.

    Nevertheless I found the culprit can be my bp-custom.php in which I put it just under /wp-content/plugins/[here]

    if I remove the file and everything seems works fine again with buddypress activated.

    This is the content for my bp-custom.php

    
    <?php
    // hacks and mods will go here
    
    /**
     * Make a site Private, works with/Without BuddyPress
     * 
     * @author sbrajesh
     * @global string $pagenow
     * 
     */
     
     /*
    function buddydev_private_site() {
        
        //first exclude the wp-login.php
        //register
        //activate
        global $pagenow;
        
        //do not restrict logged in users
        if( is_user_logged_in() ) {
            return ;
        }
        //if we are here, the user is not logged in, so let us check for exclusion
        //we selectively exclude pages from the list
        
        //are we on login page?
        if( $pagenow == 'wp-login.php' ) {
            return ;
        }
        
        //let us exclude the home page
        if( is_front_page() ) {
            return ;
        }
        
        $exclude_pages = array( 'register', 'activate', 'excelportfolio' );//add the slugs here
        
        //is it one of the excluded pages, if yes, we just return and don't care
        if( is_page( $exclude_pages ) ) {
            return ;
        }
        
        $redirect_url = wp_login_url( site_url('/') );//get login url,
        
        wp_safe_redirect( $redirect_url );
        exit( 0 );
    }
    
    */
     
    //add_action( 'template_redirect', 'buddydev_private_site', 0 );
    
    ?>
    
    <style type="text/css">
    
    #wp-admin-bar-bp-login {
    	display:none; /* JOWY: hide login link for buddypress. */
    }
    
    #wp-admin-bar-bp-register {
    	display:none; /* JOWY: hide register link for buddypress. */
    }
    
    #adminloginform {
    	color: #ffffff; /* JOWY: text color on form. */
    }
    
    #wpadminbar {
    	opacity: 0.7; /* JOWY: Opacity for wpadminbar. */
    }
    
    </style>
    

    what can possible went wrong?

    #258503
    jaumearagay
    Participant

    Am I the only one having this problem?!

    Could you make one of your groups private and try to join it to see if you get the same problem, please?

    I want to know if the problem is from BP or something in WordPress messing with BP.

    Thanks in advance! πŸ˜‰

    Jaume.

    #258486
    andreedholm
    Participant

    Hello!

    I’m currently working on a idea for a online diary. Where you can answer questions and write down thoughts and this will be saved and stored for the future. All this need to go against the social trend of today and be totally private.

    I need my members to be able to register to the site and contribute to their diary while not being able to be seen, contacted or such. Is this possible with BuddyPress?

    Sincerely

    #258478
    seungju1
    Participant

    is anybody going through the same problem with me? or have the answer for this?
    I am not receiving verification emails which I am suppose to, to approve my customer’s role.

    I went through all the sites to figure out how to make this work,
    but none of the way they mentioned on the internet worked for me.

    I downloaded a WP mail SMTP, and from that on I am lost. I do not know what and where I’m doing wrong.

    Well.. If I can have this work out without using another plugin, that would be the best option.
    However, if I need to download a extra plugin to make it work then it is also fine with me.

    Now, this is the error I am getting, when I send out the test email.

    ——————————————————————————-
    Test Message Sent
    The result was:

    bool(true)
    The full debugging output is shown below:
    object(PHPMailer)#7825 (75) {
      ["Version"]=>
      string(6) "5.2.14"
      ["Priority"]=>
      NULL
      ["CharSet"]=>
      string(5) "UTF-8"
      ["ContentType"]=>
      string(10) "text/plain"
      ["Encoding"]=>
      string(4) "8bit"
      ["ErrorInfo"]=>
      string(0) ""
      ["From"]=>
      string(17) "teamk@onteamk.com"
      ["FromName"]=>
      string(10) "beansquare"
      ["Sender"]=>
      string(17) "teamk@onteamk.com"
      ["ReturnPath"]=>
      string(0) ""
      ["Subject"]=>
      string(44) "WP Mail SMTP: Test mail to teamk@onteamk.com"
      ["Body"]=>
      string(68) "This is a test email generated by the WP Mail SMTP WordPress plugin."
      ["AltBody"]=>
      string(0) ""
      ["Ical"]=>
      string(0) ""
      ["MIMEBody":protected]=>
      string(69) "This is a test email generated by the WP Mail SMTP WordPress plugin.
    "
      ["MIMEHeader":protected]=>
      string(301) "Date: Wed, 7 Sep 2016 06:34:55 +0000
    From: beansquare 
    Message-ID: 
    X-Mailer: PHPMailer 5.2.14 (https://github.com/PHPMailer/PHPMailer)
    MIME-Version: 1.0
    Content-Type: text/plain; charset=UTF-8
    Content-Transfer-Encoding: 8bit
    "
      ["mailHeader":protected]=>
      string(76) "To: teamk@onteamk.com
    Subject: WP Mail SMTP: Test mail to teamk@onteamk.com
    "
      ["WordWrap"]=>
      int(0)
      ["Mailer"]=>
      string(4) "mail"
      ["Sendmail"]=>
      string(18) "/usr/sbin/sendmail"
      ["UseSendmailOptions"]=>
      bool(true)
      ["PluginDir"]=>
      string(0) ""
      ["ConfirmReadingTo"]=>
      string(0) ""
      ["Hostname"]=>
      string(0) ""
      ["MessageID"]=>
      string(0) ""
      ["MessageDate"]=>
      string(30) "Wed, 7 Sep 2016 06:34:55 +0000"
      ["Host"]=>
      string(9) "localhost"
      ["Port"]=>
      int(25)
      ["Helo"]=>
      string(0) ""
      ["SMTPSecure"]=>
      string(0) ""
      ["SMTPAutoTLS"]=>
      bool(true)
      ["SMTPAuth"]=>
      bool(false)
      ["SMTPOptions"]=>
      array(0) {
      }
      ["Username"]=>
      string(0) ""
      ["Password"]=>
      string(0) ""
      ["AuthType"]=>
      string(0) ""
      ["Realm"]=>
      string(0) ""
      ["Workstation"]=>
      string(0) ""
      ["Timeout"]=>
      int(300)
      ["SMTPDebug"]=>
      bool(true)
      ["Debugoutput"]=>
      string(4) "echo"
      ["SMTPKeepAlive"]=>
      bool(false)
      ["SingleTo"]=>
      bool(false)
      ["SingleToArray"]=>
      array(0) {
      }
      ["do_verp"]=>
      bool(false)
      ["AllowEmpty"]=>
      bool(false)
      ["LE"]=>
      string(1) "
    "
      ["DKIM_selector"]=>
      string(0) ""
      ["DKIM_identity"]=>
      string(0) ""
      ["DKIM_passphrase"]=>
      string(0) ""
      ["DKIM_domain"]=>
      string(0) ""
      ["DKIM_private"]=>
      string(0) ""
      ["action_function"]=>
      string(0) ""
      ["XMailer"]=>
      string(0) ""
      ["smtp":protected]=>
      NULL
      ["to":protected]=>
      array(1) {
        [0]=>
        array(2) {
          [0]=>
          string(17) "teamk@onteamk.com"
          [1]=>
          string(0) ""
        }
      }
      ["cc":protected]=>
      array(0) {
      }
      ["bcc":protected]=>
      array(0) {
      }
      ["ReplyTo":protected]=>
      array(0) {
      }
      ["all_recipients":protected]=>
      array(1) {
        ["teamk@onteamk.com"]=>
        bool(true)
      }
      ["RecipientsQueue":protected]=>
      array(0) {
      }
      ["ReplyToQueue":protected]=>
      array(0) {
      }
      ["attachment":protected]=>
      array(0) {
      }
      ["CustomHeader":protected]=>
      array(0) {
      }
      ["lastMessageID":protected]=>
      string(56) ""
      ["message_type":protected]=>
      string(5) "plain"
      ["boundary":protected]=>
      array(3) {
        [1]=>
        string(35) "b1_b174d115801e4e072d3bddaa4d88a700"
        [2]=>
        string(35) "b2_b174d115801e4e072d3bddaa4d88a700"
        [3]=>
        string(35) "b3_b174d115801e4e072d3bddaa4d88a700"
      }
      ["language":protected]=>
      array(0) {
      }
      ["error_count":protected]=>
      int(0)
      ["sign_cert_file":protected]=>
      string(0) ""
      ["sign_key_file":protected]=>
      string(0) ""
      ["sign_extracerts_file":protected]=>
      string(0) ""
      ["sign_key_pass":protected]=>
      string(0) ""
      ["exceptions":protected]=>
      bool(true)
      ["uniqueid":protected]=>
      string(32) "b174d115801e4e072d3bddaa4d88a700"
    }

    The SMTP debugging output is shown below:

    ——————————————————————————

    I have set the mailer on ‘Use the PHP mail() function to send emails’ for right now.
    but I also have tried send all ‘WordPress emails via SMTP’ and still did not work. same result.

    SMTP Host is set as ‘localhost’
    SMTP Port is set as ’25’
    did not set up any Encryption.
    and Yes, I am using the SMTP authentication.

    Please!! I need to get my site working by next week. and I am stuck with this for past two days.

    #258438
    jaumearagay
    Participant

    Hi there! πŸ™‚

    When trying to join a hidden group I get a 404 error page when clicking to join.

    I’ve found an old solution but it does not work. It said it only failed when the user is an admin. I’ve tried both with an admin and an editor. Both fail.

    My site is in spanish. I say it for if it affects the resulting URL…

    This is the code:

    /* *** */

    On line ~1026 of buddypress/bp-templates/bp-legacy/js/buddypress.js, replace

    jq(β€˜#groups-dir-list’).on(β€˜click’, β€˜.group-button a’, function() {

    with

    jq(β€˜#groups-dir-list, #item-meta’).on(β€˜click’, β€˜.group-button a’, function() {

    /* *** */

    Any idea on how to solve it?

    This is the link I get to a page that does not exist:

    http://mydomain.com/groups/my-group-name//request-membership/?_wpnonce=xxxxxxxxxx

    Thanks.

    FEARtheMoose
    Participant

    I’ve been trying to find a way to make the activity and forum tabs only visible to the logged in user. So for example, if im logged into my profile, i will be able to see/use the activity and forum tabs, however, im the only one who can see them.

    I managed to hide the tabs from users using css, but that only works for people who are logged out. Anyone who is logged into their account can still see those tabs due to there not being a specific css class. However, i would much rather a non CSS way of removing them for obvious reasons.

    Any help would be much appreciated, as i cant seem to find to much on the topic bar removing it with css.

    Cheers

    buddycore
    Participant

    I’m struggling to get this area to position correctly.

    The autocomplete is appended to the page but there are no top and left coordinated being added for absolute positioning. (When a user begins to type a friends list will be appended to the page).

    This means I’ve had to simply ‘stick’ it to the middle of the page which isn’t good UX.

    Any ideas how I can get a handle on the CSS of this. Either by appending to the ul.acfb-holder which is inside the form or by dynamically adding the coords to the div.ac_results markup.

    It works, but not intuitive this way.

    #258281
    danbp
    Participant

    Hi,

    you can try to remove the private message button from the template or hide it with CSS.
    And add a custom one who leads to admin inbox.

    The link should look like
    http://your-site.com/members/YOU/messages/compose/?r=THE ADMIN&_wpnonce=an_alpha_numeric_value

    See here how you may code this

    Codex and Forum are your friends to search about template customization.

    #258270
    warrengroom
    Participant

    Hey guys.

    Is it possible to restrict private messages for use between users and admin only, so users can’t message each other (or even know of each others existence).

    Cheers,

    danbp
    Participant

    Hi !
    How could this have happened ?
    Are you sure you clicked on private message and not on public message ? Or have you checked the option
    This is a notice to all users ?

    But no worry ! To delete this notice, go to your profile, click on Messages > Notices and delete the message from the list.

    #258195
    cassihl
    Participant

    Is there any way to hide a Group & its associated forum by site role?

    I have several user role types set up, and for one of the user roles I want to have a private group for them. I don’t want the other user roles to see that this group exists. Right now, when I create a private group, it still shows up in the list of groups and says “private.” Can I just hide this group unless the person is logged in and has that user role?

    Maybe there is a plugin or something?

    #258187
    danbp
    Participant

    According to your specifications:

    1) We would like that user after purchase of one of those services could access to a private page where he can manage what he have purchased.

    2) We would like to have freedom to put personalized content on user private pages.

    3) We need in particular that a user could use a contact form tu send us extra information on services configuration.

    Solution:
    1) woocommerce + some page privacy settings
    2) wordpress configuration
    3) a contact form ?

    I would say you don’t need BuddyPress for that. Confirmed by your statement:
    We don’t need to have interaction between user, like a forum or a social network.

    Read about BuddyPress.

    AleCss
    Participant

    Hi everybody, I ask here to understand how to use Buddypress for my new web services platform.

    In particular, we want implement Buddypress in conjunction with Woocommerce.

    We’ll sell SEO service, landing pages, custom maps service etc. for business.

    We would like that user after purchase of one of those services could access to a private page where he can manage what he have purchased. We would like to have freedom to put personalized content on user private pages. We need in particular that a user could use a contact form tu send us extra information on services configuration.

    Another thing is that the user private page should have their usernames as web addrress: http://www.oursite.com/username-login.

    We don’t need to have interaction between user, like a forum or a social network.

    I hope that could be enough to you to undestand what we would like to do and I hope you could give some useful feedback and ideas about that.

    Thank you very much

    #258149
    danbp
    Participant

    You’re welcome. πŸ˜‰
    In case of, here’s another trick.

    #258101

    In reply to: New Privacy Plugin

    danbp
    Participant

    We’re cross-posting ! πŸ™‚ Hope you can follow !

    – As non logged visitor, when i’m on a user profile who hasn’t set anything i don’t see Private.
    – If i’m on a profile having a friend privacy setting, i see it.
    – If on a profile set for “only logged in users”, i’m redirected to register.

    #258099

    In reply to: New Privacy Plugin

    Fencer04
    Participant

    Thank you for the clarification. The “Private” tab should not appear unless you are being blocked. I posted an update that resolves that issue as well as some related to the Friends Component not being activated.

    Can you install that and let me know if you still see Private all the time?

    #258098

    In reply to: New Privacy Plugin

    danbp
    Participant

    Is it appearing all the time for you?

    Yes !

    If i see a direct access to a functionality like Add as Friend on the profile header, why would i go to a tab labeled Private to do that ? That’s not very logic imo.

    When i go to a profile, i see the header first and (depending whats used on the site) a more or less long buddynav menu. πŸ˜‰

    No worry about the notice. I don’t activate wp_debug on a production site.

    #258095

    In reply to: New Privacy Plugin

    Fencer04
    Participant

    I really appreciate the review. I’ll look into the error on a fresh install and see what happens. I have a question about the “Private” button.

    This should only appear if the person has selected Friends only. Is it appearing all the time for you?

    Can you explain this comment further:

    – the original BP Add as friend button on profile header or members directory is still there. This means that there is no need to go on Private tab to ask forfriendship.
    This is a little confusing !

    I’m not sure what you mean by this. Why is having the button in two places no good?

    I agree with the location of the settings. That is on my list of changes to make shortly.

    #258094

    In reply to: New Privacy Plugin

    danbp
    Participant

    hi @fencer04,

    thank for sharing your work. Well done, but it needs some revision (sorry).
    At his activation on 2 test sites (one with 4.5.3/bp 2.6.1, other 4.6/bp2.6.2) i got a notice.
    Array to string conversion in buddypress/bp-core/classes/class-bp-core-nav.php on line 279from

    sbpp04_privacy_check( )	..\plugin.php:525
    sbpp04_privacy_redirect( )	..\buddypress-profile-privacy.php:176
    bp_core_remove_nav_item( )	..\buddypress-profile-privacy.php:184
    BP_Core_Nav->delete_nav( )	..\bp-core-buddybar.php:798

    Another point concerning UI/UX is the Private button appearing on buddybar.
    On this tab, a default message says Friends Only.
    USERNAME has chosen to limit profile access to friends only.
    That’s wrong! Because this appear on each profile, even if the owner hasn’t setup anything about his profile privacy.

    So far i understand its fonctionality, this plugin let each member decide to show or not his whole profile page to friends or members only or to everyone (bp default).

    – imo this tab should show “This profile is private” to anybody who is concerned by a privacy setting and should not appear at all if “Everyone” is set.
    – the original BP Add as friend button on profile header or members directory is still there. This means that there is no need to go on Private tab to ask forfriendship.
    This is a little confusing !

    If the plugin is to extend profile settings, it should appear in profile settings only. And as it doesn’t superseed BP, there is no real reason to give him an extra tab on buddybar outside of the settings scope. A template notice could be enough to tell visitors what’s going on on such a profile.

    Just my 2 cents.

    #258056

    In reply to: Custom Profile View

    danbp
    Participant

    No that’s not possible.
    Only Me is very private and visitors or logged in members can’t see the profile in this case.

    #257956
    Zimm
    Participant

    Forums, blog posts, private messages, any comments, etc.

    #257946
    kfye
    Participant

    I’m building a site meant for a closed, private community. It is necessary for me to have the entire site password-protected.

    The problem is that I have a list of people I want to add as subscribers, but since the site is password-protected, they can’t access a registration page. Catch 22. Obviously I need to add the subscribers myself, but there is a long list of them. Doing each one by one will take forever.

    Here’s what I’m hoping: does anyone know a way to upload a csv file with subscriber names and emails, and to a sort of “bulk registration”?

    #257846
    annikathunberg
    Participant

    Private list
    Probably excel or converted to csv

    Thank you for the link!

    Yes, I later found out exactly that – that the users are all in wp. Forgot that. For anyone else new, now this thread might clear up a thing or two!

Viewing 25 results - 976 through 1,000 (of 3,865 total)
Skip to toolbar