Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'private'

Viewing 25 results - 3,076 through 3,100 (of 3,769 total)
  • Author
    Search Results
  • Boone Gorges
    Keymaster

    In bp-blogs.php, change 379 from
    if ( (int)get_blog_option( $blog_id, 'blog_public' ) || !bp_core_is_multisite() ) {
    to
    if ( (get_blog_option( $blog_id, 'blog_public' ) > 0 || !bp_core_is_multisite() ) {

    Also, change 427 from
    if ( (int)get_blog_option( $recorded_comment->blog_id, 'blog_public' ) || !bp_core_is_multisite() ) {
    to
    if ( (get_blog_option( $recorded_comment->blog_id, 'blog_public' ) > 0 || !bp_core_is_multisite() ) {

    I haven’t tested this but it should work.

    Anja Fokker
    Participant

    @Boone Gorges, well I do have the same problem in BuddyPress 1.2.3 . I can find the rule in /bp-blogs/bp-blogs-classes, but……
    the file bp-activity (in the root of BuddyPress) changed so much, that i don’t know where to find the rules like you’ve discribed.
    Will you help me again? Or maybe you know if there is a plugin for it?

    With regards Anja (afoka)

    #78936

    In reply to: Private communities

    lifemore
    Participant

    Thank you so much r-a-y. I appreciate this.
    vida

    #78911

    In reply to: Private communities

    r-a-y
    Keymaster

    You’ll have to wait for Google to check your site again.

    You can expedite this process by signing up for Google’s Webmaster Tools and requesting your site to be delisted.

    Also make sure your WP site is blocked from search engines:
    https://codex.wordpress.org/Settings_Privacy_SubPanel

    #78896

    In reply to: Private communities

    lifemore
    Participant

    Thank you Rich:
    I have used “registered user only” plugin for the site. It works OK. But apparently the member’s activity page still shows in Google cache and I can’t make that disappear even when I delete that user’s profile :(

    #78884

    In reply to: Private communities

    rich! @ etiviti
    Participant
    #78624
    mistercyril
    Participant

    Good stuff! Thanks a lot, that works perfectly :-)

    #78620
    r-a-y
    Keymaster

    @mistercyril – Add bp_is_directory() to the bp_is_register_page() line.

    #78614
    mistercyril
    Participant

    @Travel-Junkie: Hey, your solution works great on my setup (WP MU 2.9.2 & BP 1.2.3).

    I was wondering if you could help me take this one step further…

    I would like my buddypress pages to be accessible only to logged-in users as they are now… but in order to get people to want to log in I think a “teaser” would be a plus. So my question is : How can we make the main BP directory pages accessible to everyone and restrict single groups, profiles, forums… ?

    Thanks again for the great help so far!

    rich! @ etiviti
    Participant

    Might be sad if I don’t remember what my own plugin does but I have something called Group Forum Extras – which contains some functions to pull out an index of forums. But I believe I coded the sql statement only to pull out the private forums if the user is logged in and a member of. Though this would point you in the right direction if you wanted to modify the code. (just remove that conditional) look for (bp_forum_extras_index_get_forums in the file bp-forums-extras-index.php )

    #78470
    NipponMonkey
    Member

    Grrrr, how do you add code to posts in BP?

    I’ve tried pre and code tags, but nothing working >_<

    Hmmmm….

    #78467
    NipponMonkey
    Member

    Thanks for your posts ^ ^

    I’m finally getting round to setting up a private buddy press site.

    I liked the looks of @Travel-Junkie‘s solution, but I’m having the same problem as @wordpresschina, I’m getting a infinite redirect loop. It seems that functions like bp_is_register_page() and bp_is_home() aren’t working correctly from @Travel-Junkie‘s function.

    I changed it a little to:

    function sh_walled_garden()
    {
    global $bp;

    $uri = $_SERVER;

    $allowed_uris[] = ”;
    $allowed_uris[] = ‘/’;

    for ($i=0; $i < count($allowed_uris); $i++) {
    if ($allowed_uris[$i] === $uri) {
    return;
    }
    }

    if( ! is_user_logged_in() ) {
    bp_core_redirect( $bp->root_domain);
    }
    }
    add_action( ‘get_header’, ‘sh_walled_garden’ );

    Where the $allowed_uris array is set by the programmer to allow access to certain public pages. If the user isn’t logged in and they are trying to access a private page, then they will be redirected to the home page (as that page will be public in my site setup and I don’t want people to be able to register through a sign up page.)

    I’ll have to see how I get on with this solution for now…

    Thanks for your help

    r-a-y
    Keymaster

    You are always welcome to create your own default theme if you’re not pleased with the packaged one that comes with BuddyPress.
    You’ll just have to spend more time creating your own theme!

    nessradio
    Participant

    I’m totaly agree with you Marcella!
    All those imbrication of css, js and php was really a pain in the ass for me… I spend hours and hours trying to find out what was the script that was doing a conflict with my template…
    I’m sure that the buddypress team wanted to do something easy… They idea was: “just change the thing you wanna change on the default theme” but when you wanna change everything and you wanna add some functionality you realise that you are completly lost on what is doing what from where…
    @ Paul Gibbs: Im’not really agree with you… the default theme needs to showcase the basic functionality of buddypress… and juste the basic functionality… and if you want to had other functionality you can download other themes from the web…

    Marcella
    Participant

    To me it’s more troublesome for the designers and developers to get rid of js function in a child theme that inherits everything from the default.

    As a designer / developer surely you know what can happen with progressive enhancement. P2 is a fine example of what a developer knows. I mean the new 2010 WP theme doesn’t come with js does it?

    I like to grab it, dig in, or build from scratch. Now with the default theme inheriting a whole lot more it sometimes is a pain.

    Why am i complaining this is one heck of a free meal. :p

    Paul Wong-Gibbs
    Keymaster

    The default theme needs to showcase everything that BuddyPress can do. Like you point out, it’s down to individual sites to decide what BuddyPress features to use, which relates to what javascript will be required.

    Marcella
    Participant

    a little unrelated but does anyone here ever wonder why the default theme has so much js?. i understand it’s pro and progressive but really don’t think this sort of function is needed at the base theme. It’s kinda confusing because your not sure what’s core and what’s not sometimes.

    I believe it’s up to the community to serve whatever js they like.

    nessradio
    Participant

    Ok I just find the solution… It’s because of my wordpress template… I had a js file which was conflict with the crop button

    #78383
    Frank & Stein
    Participant

    Hello Boone.
    Thank you for your kind help. I’m new to BP and i am still trying to understand in depth how it works. About your suggestions there are a few things that do not work exactly as you said (at least for me).
    1. Admin has to approve all new sign-ups and make the new Member part of 1 (and only one) Group. Only after this action by the Admin, an activation email is sent to the new Member. As an alternative to this process, a new Member could only sign-up after the Admin sends him an invite to a particular Group.
    I need the Admin to review the sign-up request, add the new member to a particular group and then send a confirmation to the new member. With the suggestion you made (wp-invites + bp-group-management) all works well, but the member gains access to the website as soon as he signs-up. When he logs in for the first time he is still not part of a group, because most probably the Admin didn’t have time to do this. For me it’s not important if the system is set in a way that it has to be the Admin to invite new members or if is up for the new members to ask to join. As long as the new member gains access exclusively after he has been added to a group by the Admin.

    2. If the Groups are set to private they still appear in the group directory. I changed them to hidden and now they can only be seen by it’s members, which is perfect for my needs. But since that now i’m left with one empty tab in the groups directory (all groups), is there a way of making it disappear by editing some file? If so, which one and where?

    3. Members can only see the list of the other Members of his Group
    For now, even with all groups set to hidden, the members can have access to a list of all members. Is there a way to make them have access to a list of only the members of his group?

    4. How can i prevent members to exit the group or groups they are part of? Maybe by editing some file?

    Again, i appreciate all the help that you can provide.
    Thank you.

    #78370
    Boone Gorges
    Keymaster

    Your second, third and fourth requests can be taken care of by making sure the groups are set as Private. That means that they don’t show up in public listings, and their contents are only visible to members of the group.

    In order to make sure that people can only be part of a single group, you’ll want to hide the Send Invite screen for all users, or at least for non-admins. You could either do this through CSS, or by modifying/reproducing the functionality defined at bp-groups.php groups_setup_nav().

    As for the first question, there are WP plugins that allow you to restrict membership to invited members. A ten-second Google search turned up this: https://wordpress.org/extend/plugins/wp-invites/, for example. I imagine that this would work fine for BP as well. The most straightforward way to populate groups would then be for the admin to use a plugin like BP Group Management http://teleogistic.net/code/buddypress/bp-group-management/, which allows admins to place people manually in groups, bypassing the invitation process.

    Paul Wong-Gibbs
    Keymaster

    It’s a known bug which has been fixed in the upcoming 1.2.4 release.

    Vali Hutchison
    Participant

    Thanks for the tip Shaista,

    I followed your instructions and it worked for me. My blog is in a sub-folder. Now avatar upload and crop works ok.

    Seems a pain that we have to change the core BP code though!

    Samudradaka

    nessradio
    Participant

    So in my case I find the problem of why “upload avatar” doesn’t work.
    It’s because of the BuddyPress Template pack plugin. When I use the bp default theme everything works perfectly.
    When I use any wordpress theme that I made compatible with BuddyPress using the plugin bp Template pack I find exactly the same problem: Avatar Upload, private message, register… all of that doesn’t work… as soon as you click on the button “Submit” or “Crop” you go back to the same page and nothing happen?! It’s like the information wasn’t given at all…
    There is a conflict somewhere that I can’t find!
    Any Ideas???

    [EDIT] Ok I solved the problem!!!
    Ok so if none of the solution you have in this topic works for you it’s probably because you have a conflict between a js script in your default theme and a js script in your wordpress theme… take a minute tu disable all the js action in your wordpress theme ton test if it’s coming from there…

    nessradio
    Participant

    Ok so now I know exactly what is goin on!
    I’ve got a problem with the BuddyPress Template pack plugin. When it’s activated some of the form (upload avatar, resgiter, send privat message…) doesn’t work.
    Any ideas?

    nessradio
    Participant

    OOooooPppss I just tried to creat a new account on my website from scratch but I cant’… I really think it’s comming from my webhost or my htaccess file… please help me… !!!!

Viewing 25 results - 3,076 through 3,100 (of 3,769 total)
Skip to toolbar