Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'private'

Viewing 25 results - 1,351 through 1,375 (of 5,233 total)
  • Author
    Search Results
  • #244136
    Antipole
    Participant

    I have a solution to this – I have written a minimal plugin that diverts to a ‘denied’ page if a non-logged-in user tries to access the private type of information. I still allow the profile to be displayed as that has its own permissions arrangements. Here is my plugin:

    <?php
    /*
    Plugin Name: Make certain pages private
    Description: Specifically for ******** website: prevents not-logged-on users from seeing certain pages otherwise visible
    Version:     1.0
    Author:      Tony *****
    */
    
    function check_for_private_pages()
    {
    	if (is_user_logged_in() == true){
    	/* nothing to do if logged in */
    	return;
    	}
    	else {
    	if (bp_is_activity_component() || bp_is_forums_component() || bp_is_blogs_component() || bp_is_groups_component()){
    	header('Location: http://'. $_SERVER["HTTP_HOST"] . '/oops-cant-get-you-where-you-tried-to-go/');
    	}
    	}	
    }
    
    add_action('template_redirect', 'check_for_private_pages');
    
    ?>
    
    #244133
    modemlooper
    Moderator
    function bp_keep_user_private( $user_login, $user ) {
    
    	global $wpdb;
    
    	if( 'username' === $user->user_login ) {
    
    		$wpdb->query( $wpdb->prepare( "UPDATE $wpdb->users SET user_status = 2 WHERE ID = %d", $user->ID ) );
    	}
    
    }
    add_action( 'wp_login', 'bp_keep_user_private', 10, 2 );

    you can try something like this that will set that account to inactive on every login. change username to the real username

    #244131
    Henry Wright
    Moderator

    If your site is private then you don’t need a verification procedure. But my point was you should look at the verification procedure because the functionality is very close to what you’re trying to achieve.

    #244130
    demonboy
    Participant

    We don’t have a verification procedure on our website (it’s private) so I don’t think this would apply. If you think this is relevant and that I should put some kind of verification procedure in place in order to get this working, please let me know.

    #244119
    danbp
    Participant

    Yes ! You need to use template overload, then you can remove that part from the template.
    While creating a new group:
    See bp-templates/bp-legacy/buddypress/groups/create.php
    While modifying a group:
    bp-templates/bp-legacy/buddypress/groups/single/admin.php

    Caution: if you do this, you can only use public or private groups. Hidden groups are “invite users” only.

    #244085
    demonboy
    Participant

    I have a private intranet where only logged-in users can see and interact in the pages. However I need to create a ‘demo’ account which is read-only. Currently if I try this and create a profile with just ‘read’ status (like ‘subscriber’), they can still write and comment on various posts and pages. I assume this is because being a logged-in user automatically gives you certain capabilities above and beyond what I can see.

    I have User Role Editor installed and have tried to set the demo user to ‘subscriber’ with just ‘read’ status, but this doesn’t work. Something is over-riding this. There are certain capabilities that are greyed out, like delete_posts etc.

    Any clues?

    djsteveb
    Participant

    @ajaysingh-1
    man – there is post_comment, post_update – and a bunch of others on the hookr io page
    http://hookr.io/plugins/buddypress/#index=a

    not sure what you mean post button comment section..
    hmm.. section on the site-wide activity page?
    via private message emails / replies?

    hmm.. group replies?

    I don’t know anything about the functions and code actually – but hopefully the hookr info will help ya, or this comment will help you detail what exactly you are looking for – so if someone does know about this code they will know more about what you mean..

    #244049
    hotconductor
    Participant

    When users receive a private message notification, they have started to just reply via email. This ofcourse goes to the default wordpress admin email, or wordpress@website.com. How/where can we change the reply-to field on a PM notification, to go to the original sender’s email account?

    #243996
    VeeLow
    Participant

    One more piece of info, in case this helps somebody help me.

    I also have entered a user called “Alter Ego”. That user, it turns out, can only be private messaged at “alter-ego”. (To clarify: “Prof L” gets private messages using “admin”: the @ symbol appears to be working normally, for ‘mentions’)

    So is this a problem with username formatting? Have I accidentally introduced this problem with these usernames?

    #243995
    VeeLow
    Participant

    Sadly, I’m not here with an answer, but another manifestation of this same problem.

    Am running WordPress with bbpress and BuddyPress, Twentyfourteen theme, everything updated except I’ve not yet gone to BuddyPress 2.3.3.

    My login is “Prof L”; so is my user name. To the best of my knowledge I’ve set “admin” nowhere in BuddyPress……but to private message me, “@admin” is required!

    Update: OK, I see that in email settings, one of the options reads as follows:

    A member mentions you in an update using “@admin”

    So somehow that has been set to my “handle” (is that the right BP term?) But again, I never to my knowledge entered “admin”, nor does it display anywhere on the front end of the site.

    I will try the plugin mentioned up thread, and report back–but wanted to testify that this problem is real and ongoing….

    #243993
    Ingram_AV_98
    Participant

    Hi all,

    Thanks for any help in adavnce on this, I’ve been going round in circles for a few days now. I’m working on a localhost at the moment for testing, and both WordPress and BuddyPress are up to date (WP 4.3, I can’t quite remember the BP version).

    I want to have a manual activation process managed by the admin account, as its a private site.
    I’ve successfully forwarded the users activation email to the site admin email, and changed the subject and email message but the activation link doesn’f work for the admin account when logged in.

    To be clear, the activation url works for the test account it’s designed for or if the admin is logged out, but when the Admin user is logged-in the link just goes to the home page.

    I need the site admin to be able to click the link in the activation email but I can’t figure out what format the link needs to be in to work for a logged in admin.

    As an Admin is able to click the activation link in the dashboard, there must be a link that will work from an email, but I can’t find where this would be generated.

    Does anybody know how I could generate a link that admin can use from emails to activate a users account?

    Thanks to anyone that can shed some light on this.

    #243937
    bayshanac
    Participant

    I tried echo before preg_match in order_by_most_favorited function and nothing. It seems that the function isn’t loaded. It is called in setup_filters:

    private function setup_filters() {
    		add_filter( 'bp_ajax_querystring',              array( $this, 'activity_querystring_filter' ), 12, 2 );
            add_filter( 'bp_activity_get_user_join_filter', array( $this, 'order_by_most_favorited' ), 10, 6 );
    	}
    #243919
    Caleb
    Participant

    Hi,

    How can I change what some elements say with Buddypress? I need to change the button under the users that says “Private Message” to “Chat User”.

    Is this possible?

    Thanks!

    #243910
    anae88
    Participant

    Hiya,

    So I want to use BuddyPress to allow certain members of my community access to files. I want to host downloadable pdfs, photos and etc but have them only accessible by certain members.

    How do I do this?

    #243894
    DevynCJohnson
    Participant

    I shared some ideas and suggestions of mine for BBPress on BBPress’s forum. I would like to do the same here for BuddyPress.

    As I said at BBPress, I am the owner and admin of http://dcjtech.info/ and I love computer programming. Not only do I love programming, but I love to help other developers. I would like to contribute to BuddyPress by offering some suggestions and ideas.

    Please keep in mind that these are just my ideas; I understand that the BuddyPress team has ideas, needs, and concerns of their own that they must address. In addition, even though I learned a lot about the WordPress, BBPress, and BuddyPress framework and inner workings, I admit that there are some parts that I may have over-looked or mis-understood. In summary, I am trying to help make BuddyPress better and more powerful based on what I know, and I want to contribute my ideas as a thanks to all the developers that have spent time and effort making BuddyPress what it is today.

    My ideas –

    1. BuddyPress needs more options and configurable items – the more customizable, the better. Obviously, some developers are concerned about confusing or overwhelming users, so make a special admin page for “advanced” or “miscellaneous” options. Some additional options I think are needed or helpful include disable/enable feeds, disable the activity features while keeping “@” mentions (the activity profile pages attract spam), and fine-tuned settings for various features (like limiting what is shown in the activity streams, limits on messaging and activity stream age and size, etc.).

    2. Export/Import BuddyPress settings – Correct me if I am wrong, but I do not think BBPress has an easy way to export/save settings to be imported to use as a backup or transfer/share settings.

    3. Add a “clear/clean database” option – provide an easy way to selectively perform these various actions. (A) Remove “Manage Sign-up” users (my spam users never get past this, so some sign-ups may be weeks old or more). (B) Remove and delete all “friendships” from the SQL database if “friendships” is disabled (apply a similar feature for private messages and others). (C) Allow the option to delete the SQL tables of disabled BuddyPress modules and re-create them when enabled.

    4. 100% HTML5 Compliant – I have not studied BuddyPress in this perspective or tested anything concerning this idea, so it is possible that I may be very wrong or the developers have a plan already. However, use of HTML5 (or the option to do so) would be helpful.

    Here is an exact copy-paste of idea #12 that I posted on BBPress. I am including it here just in-case this is an idea that should be given to BuddyPress rather than BBPress.

    12. Implement a built-in avatar system (perhaps BuddyPress or WordPress should use this rather than BBPress) – This would allow local avatars and provide a way for Gravatar to be disabled or used as a secondary. True, BuddyPress provides a way to upload avatars, and “Basic User Avatars” and “Simple Local Avatars” are plugins offering that feature. However, after upgrading my theme to HTML5 and removing Flash from my browser, I can no longer upload avatars using any of the three mentioned possibilities (backend or frontend). However, I can still upload media via the backend (w/o Flash) and via the frontend (with Flash). NOTE: I do list “plupload.full.min.js” and other similar scripts in Autoptimze “Exclude list”

    If you see any features on my website that you want to implement in BuddyPress, feel free to let me know and then I can give you the code and tell you how I did it. Also, I use my own style sheets for BBPress, BuddyPress, and some plugins. I have been able to increase performance and decrease size by using a CSS minifier (http://csscompressor.com/) and implementing ideas from errors given by a CSS checker (http://csslint.net/). I saw significant improvements even before I changed the style sheets to specifically suit my website.

    By the way, making BuddyPress templates that can be placed in the regular WordPress theme was a great idea and feature for BuddyPress; smart thinking BuddyPress developers.

    ctuxboy
    Participant

    Hello,

    – I activate the original WP twentyfifteen-theme, and i see no errors in the developer console (Chrome browser)

    Is this an issue? Have more people this?
    Can i adding manually the private button links?

    This are the installed plugins:
    – All In One WP Security
    – Black Studio TinyMCE Widget
    – Bowe Codes
    – BP Registration Options
    – Bp Stickers
    – BuddyPress Members only
    – BuddyPress
    – Child Theme Configurator
    – Contact Form 7
    – Duplicator
    – Events Manager
    – FB like notification for buddypress
    – Loco Translate
    – Page Builder by SiteOrigin
    – Peter’s Login Redirect
    – Really Simple CAPTCHA
    – SiteOrigin Widgets Bundle
    – User Switching (deactivated for the moment!)
    – WP Statistics

    The strange thing is that all the buttons showing correctly in the user profiles when nothing a friend.

    (sorry for my bad english!)

    #243741
    djsteveb
    Participant

    @iseestarz

    Activity wall – Yes – in core.
    all members chat – private user to user email like messages in core. Chat rooms with plugins like “quick chat” – so yes
    sleek custom profiles for members, -hard to tell what is “sleek” – custom? for each member? There are a couple of plugins that played with this – not sure how they work, if they’ve been updated lately.. modding how all profiles look to make them “sleeker” than default 2015 – theme – possible..

    a paid membership option – that would be a plugin.. there are several that get into that.. s2member, paid memberships pro, ultimate member maybe? Some options from wpmudev as well I think.

    A way to let paid members make their own post/articles on the homepage – hmmm.. maybe prevent non paid members from even creating a blog.. or you mean any activity posts on home page – I think these things are possible.. BP recently added “user levels” but I have not see much actually use that.. but extending this should be easy to some degree..

    However if your focus is on paid members things, and you will need support to put all this together and keep it running (you are not a php coder with lots of time to read codex and test things) – then developing around BP is likely to get expensive, and you might be better off forgetting bp exists and looking at some of the more premium systems others have put together around wordpress (a few wpmudev plugins combined achieve what you describe without needing BP) – and there are others..

    Of course you don’t have to look for such a system revolving around wordpress either – there are more mature social network options that may save you time and sanity – things like phpfox, boonex dolphin, oxwall..

    random thoughts from a bp user.. I’m not a dev and have not tested all the things out there that get into paid members things and restrictions.. if you search the forums here there have been a few comments from others pointing to some other similar plugin options – and some people have pointed out troubles with some of those on the market.

    danbp
    Participant

    is there an other setting ? No other setting in BP.

    Deactivate the child and use original Fifteen while testing.

    – no error message ? No JS error in console (browser tool) ?

    A similar topic here, with other advice
    https://buddypress.org/support/topic/private-message-button-only-appears-sometimes/

    danbp
    Participant

    Sorry to ask this, but are Friend Connections and Private messaging enabled in BP settings ?

    What happend when you deactivate all plugins ?

    ctuxboy
    Participant

    Hello,

    I have build a Social Network with BP.

    When I looking to my friends profiles the private-message-button is disappeared.
    How can friends send private messages to other friends?

    PS: When a profile is not a friend then the private-message-button shows correctly.

    Regards,
    Christophe

    SuitePlugins
    Participant

    I have created a plugin specifically for this.

    BP Private Avatars

    Let me know what you think.

    jessy
    Participant

    For all private social network, but login and register page is available to access.

    add_action( 'template_redirect', 'redirect_to_login_page_for_premium_members' );
    function redirect_to_login_page_for_premium_members() {
      if( (!is_page_template("loginpage.php")) && (!is_user_logged_in()) && (!is_page("Register") )) {
          $page = get_page_by_title( 'Login' );
          wp_redirect(get_permalink($page->ID));
          exit();
      }
    }
    

    Restrict buddypress components just for logged-in users:
    *UNTESTED

    add_action( 'template_redirect', 'redirect_to_login_page_for_premium_members' );
    function redirect_to_login_page_for_premium_members() {
      if( (is_buddypress()) && (!is_user_logged_in()) ) {
          $page = get_page_by_title( 'Login' );
          wp_redirect(get_permalink($page->ID));
          exit();
      }
    }
    
    Paul Bursnall
    Participant

    You could also use this plugin. Exclude the URLs you want to be accessible to all. Everything else will be hidden, including from SERPS.

    https://wordpress.org/plugins/jonradio-private-site/

    Henry Wright
    Moderator

    You will need to go through all of the BuddyPress communication channels available:

    1. Private messaging
    2. Public messaging

    etc

    Then when a user attempts to send a message to a user they have not been assigned to, disallow it to happen via one of the hooks BuddyPress makes available.

    With reference to assigning a user to a user, this could be achieved via user meta.

Viewing 25 results - 1,351 through 1,375 (of 5,233 total)
Skip to toolbar