Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'private'

Viewing 25 results - 2,451 through 2,475 (of 3,463 total)
  • Author
    Search Results
  • techguy
    Participant

    @Mouchoirs Do a search for “Private Buddypress site” or something like that and you’ll find lots of threads on how to redirect non-logged in users to the login or registration page.

    @djpaul,
    Seems like you should be able to just replicate the user account creation calls on another page right? This is something I was considering doing for my project. Basically, someone could upload a list of email addresses and names, and it would create the person’s account, email them a temp password and they’d be good to go. Yes, I know WP use to do temp password and took that out, but in this case it might be useful to do.

    cezar
    Participant

    is there a way to have a page with all documents uploaded from all groups? of course, preserving the permissions. Meaning that without being logged in you can see only public groups documents, if logged in you see documents from your private groups too.

    Mouchoirs
    Member

    I like the widget you recommended above. I’m wondering if you know anything about pagelines plaform. I was thinking, if it offers full buddypress functionality, I could utilize the registration widget along with the “hide primary bar” feature in pagelines. This would make the widget available on only the pages I desire.

    If I did this, do you know if there’s a way I can make every page of buddypress invisible to non-logged-in users? I could then simply have the registration and log in page visible to non-users. I’m currently using a privacy widget to hide all pages except login from non-logged-in users. However, I don’t see any way to select specific buddypress pages to choose to make private.

    Thanks again so much for your time.

    #101655
    r-a-y
    Keymaster

    To remove the default tabs, you’ll need to modify the theme.

    Read this page:
    https://codex.buddypress.org/theme-development/building-a-buddypress-child-theme/

    Then, once you’ve got the hang of that. Copy over /bp-themes/bp-default/header.php to your new child theme and modify the tab structure.

    The function you’ll want is:
    `is_user_logged_in()`

    Wrap a is_user_logged_in() conditional around the tabs you want to show only for logged in users.

    Something like this:

    `

    <li class=”selected”>
    <a href="//” title=””>

    <li class=”selected”>
    <a href="//” title=””>

    <li class=”selected”>
    <a href="//” title=””>

    <li class=”selected”>
    <a href="//” title=””>

    <li class=”selected”>
    <a href="//” title=””>

    `

    Note that if someone knows the URLs to those tabs, they’ll still be able to access them.

    You might want to look into some BP private plugins like:
    https://wordpress.org/extend/plugins/buddypress-private-community/
    https://wordpress.org/extend/plugins/private-buddypress/

    #101564
    gregfielding
    Participant

    Thanks @r-a-y

    This is a better solution. Any thoughts on how to solve the same problem with @mentions?

    #101476
    skippybosco
    Member

    Thanks @r-a-y , I’ll give it a go.

    #101458
    r-a-y
    Keymaster

    No need to hack BP.

    Put the following in your theme’s functions.php:

    `
    function ray_bp_get_send_public_message_link() {
    global $bp;

    return wp_nonce_url( $bp->loggedin_user->domain . $bp->activity->slug . ‘/?r=’ . $bp->displayed_user->userdata->user_login );
    }
    add_filter( ‘bp_get_send_public_message_link’, ‘ray_bp_get_send_public_message_link’ );

    function ray_bp_get_send_private_message_link() {
    global $bp;

    return wp_nonce_url( $bp->loggedin_user->domain . $bp->messages->slug . ‘/compose/?r=’ . $bp->displayed_user->userdata->user_login );
    }
    add_filter( ‘bp_get_send_private_message_link’, ‘ray_bp_get_send_private_message_link’ );`

    #101452
    skippybosco
    Member

    Thanks for the followup Greg. What is the exact change you made to the bp-messages-templatetags.php? Trying to figure out if it has already been updated in SVN.

    #101426
    laloma
    Participant

    @mercime

    Already select P2 on SuperAdmin > Themes, the problem is that on Appearance > Theme I select P2 but it not show as selected on same page instead BP-default show as selected, but if you hit the secon blog url it use P2.

    Is there a way to sent you blog info privately, so you can check this issue ?

    Regards,

    #101415
    gregfielding
    Participant

    For anyone else with this issue, here is the fix. Thanks to @sbrajesh

    in bp-messages-templatetags.php, starting at line 498:

    function bp_send_private_message_link() {
    echo bp_get_send_private_message_link();
    }
    function bp_get_send_private_message_link() {
    global $bp;

    if ( bp_is_my_profile() || !is_user_logged_in() )
    return false;

    $user=new WP_User($bp->displayed_user->user_id);

    return apply_filters( ‘bp_get_send_private_message_link’, $bp->loggedin_user->domain . $bp->messages->slug . ‘/compose/?r=’ .$bp->displayed_user->userdata->user_login );
    }

    Private messaging now works with persistent caching like memcached.

    #101367
    gregfielding
    Participant

    It looks like BP 1.3 is going to address some issues with object caching. https://trac.buddypress.org/ticket/2636

    Can anyone who knows confirm if it will fix these messaging issues?

    #100969
    glittereyes
    Participant

    I agree to this! For now, how can I switch the places between the cancel friendship button with send private message buttons?

    #100932
    @mercime
    Participant

    Sure. There’s one featured WordPress.tv presentation from WordCamp Yokohama. It’s a Japanese site (with English translation), http://loftwork.com, which only used BuddyPress components like Blog Tracking, Activity Streams, Private Messaging and Extended Profiles. Didn’t use Friends, Groups and Forums.

    #100865
    stoi2m1
    Participant

    @r-a-y I think my issue is beyond a simple email issue. I installed the email plugin you mentioned just to humor the situation. When I try to send a private message I get redirected to the homepage of my site. So I could either be experiencing a 404 error or some other similar problem.

    Also Im not even getting notifications at the recipient. I also do not have a message in the senders sent message box nor in the recipients inbox.

    Thanks,

    #100637
    gregfielding
    Participant

    Just to update, I applied the code from the patch with no luck. Here’s what my messages-templatetags.php code now says:

    function bp_send_private_message_link() {
    echo bp_get_send_private_message_link();
    }
    function bp_get_send_private_message_link() {
    global $bp;

    if ( bp_is_my_profile() || !is_user_logged_in() )
    return false;

    return apply_filters( ‘bp_get_send_private_message_link’, $bp->loggedin_user->domain . $bp->messages->slug . ‘/compose/?r=’ . bp_core_get_username( $bp->displayed_user->user_id, $bp->displayed_user->userdata->user_nicename, $bp->displayed_user->userdata->user_login ) );
    }

    It looks like I now need to “apply a filter to “bp_get_send_private_message_link” and override it so it doesn’t use bp_core_get_username().” Anyone know how to do this?

    Thanks guys.

    #100635
    gregfielding
    Participant

    @r-a-y

    Thanks for the link, but I’m confused a bit. My current code already has that patch in it, changing the “public” to “private” looks to be the only switch. I’m guessing this was changed in a more recent BP release?

    And, you said:

    “With the patch, you’d still need to apply a filter to “bp_get_send_private_message_link” and override it so it doesn’t use bp_core_get_username().

    The same problem occurs with the bp_get_send_public_message_link() function – aka the “Mention this user” link.”

    It sounds like this is the step I need to take. How exactly do I apply this filter?

    Thanks!

    #100628
    r-a-y
    Keymaster

    Check out:
    https://trac.buddypress.org/ticket/1332
    https://trac.buddypress.org/ticket/2636

    You can temporarily fix private messaging by overriding the username filter. See #2583 for hints.

    #100626
    gregfielding
    Participant

    Batcache isn’t supposed to impact logged-in users, so it seemed like a natural fit for BP.

    Paul, you think this is a BP issue as opposed to just tweaking a caching setting?

    I know that there are people using BP with memcached and W3Total cache…are any of you guys having trouble with this? (W3TC doesn’t worth with multi-db’s or I’d be using it)

    #100615
    Paul Wong-Gibbs
    Keymaster

    Probably more the other way; that BuddyPress needs to communicate when caches need to be refreshed better.

    #100614
    teebes
    Participant

    Hmm, I was under the impression batcache would only cache public pages (non-logged in users). The above seems to indicate otherwise. Is batcache really buddypress aware (I noticed the last update of the plugin via the repo was back in April ’09).

    #100593
    David Carson
    Participant

    No courseware. The site was launched March 2009 on WordPress MU/BuddyPress. Slight modifications based on snippets/plugins posted by Burt Adsit, Paul G., Boone G., JJJ and Andy.

    The content is mostly pre-recorded video and audio – not a formal educational program with assignments etc. So the setup is pretty straightforward and most of the customization is just theming. Main site has different content for logged out and logged in users. “Classrooms” are private sub-domain blogs (soon-to-be sub-domain sites) with a classroom theme. The main site and classroom sites are both using custom child themes powered by the BuddyPress default theme.

    I’m in the process of upgrading the site so I’ll be around here more often if you have questions.

    #100306

    In reply to: BP Sections?

    @mercime
    Participant

    That “section” could be a “group” component already in WordPress and joining groups is either voluntary for public groups or by invitation for private groups and each group can have a forum if the group admin so chooses. That’s basic behavior which can be changed via a plugin you can make to do so. You could check out BuddyPress Group component and other default components by logging in http://testbp.org/ with the username and password you used here.

    #100109
    r-a-y
    Keymaster

    Object caching bug most likely experienced with W3 Total Cache.
    If you don’t have W3 Total Cache installed, not sure.

    toffee
    Participant

    if ‘User A’ is admin of two private groups (B and C)
    when members request to join those groups, the notification is sent to ‘User A’ with multiple notification
    the notification may look like this: “2 requests group membership”
    the problem is the link of notification is just only one of two group, when click that notification, it will redirect to group admin request (B or C), and notification will gone.

    brief: request is both B and C but notification link is only B or C
    So, I’d like to change multiple notification to each single notification or any idea to fix above problem, please help.

    #99574
    roman
    Participant

    similar problem over here, autocomplete function finds valid users and shows them up, but in the following lines an error is displayed 3 times:

    “Warning: Cannot modify header information – headers already sent by (output started at mountpointwp-contentpluginsbuddypressbp-themesbp-default_incajax.php:556 in mountpointwp-contentpluginsbuddypressbp-messages.php on line 556”

    any idea?

    by the way, is there a plugin which enables a better useabbility for choosing multiple user’s to send a private message to? Something like a list with checkboxes for example?

Viewing 25 results - 2,451 through 2,475 (of 3,463 total)
Skip to toolbar