Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'how to hide pages'

Viewing 25 results - 1 through 25 (of 286 total)
  • Author
    Search Results
  • janurmas
    Participant

    Hello, I have a bit issue on my site: Skillonpage.com after installing BuddyPress. My WordPress Admin Bar appears to non-logged-in users. I want to disable the admin bar for the non-logged-in users. Is it possible to do that?

    Then, how should I make the BuddyPress’ profile page becomes full-width instead of having a sidebar? And how to hide the header and footer for the BuddyPress pages? Because it’s a blog that has articles too, while the BuddyPress is just for the authors’ profile pages.

    I also want to list the articles under the author’s profile on my site. Could you please tell me how to set it? Is that possible to make it without doing some customization? Thank you, in advance!

    balebond
    Participant

    Ideally, I want to customize which groups a user can post to on profile and activity pages. The drop down lists all groups they are a member of but want to restrict non-admins from posting activity to certain groups. I have achieved this on the group page but members can still post from Activity using the dropdown.

    An alternative would be to just hide “Post to:” dropdown entirely. Any ideas? Thanks in advance.

    lz430
    Participant

    Hey everyone,
    I have a membership site. It’s running Woocommerce, WP 4.9.6 and Buddypress 3.0.0. My BuddyPress status is below.

    I’m having a problem when someone is choosing a any kind of membership(I only have free and 1 paid at the moment). When they get to the billing screen they can either use Facebook or Google to login and fill in the details.

    Once they do that, Buddypress redirects them to their wall. I want them to be able to continue the checkout process. I’ve tried so many things, but can’t override it.

    Please help!

    
    ### WordPress Environment ###
    
    Home URL: http://www.specialtactics.global
    Site URL: http://www.specialtactics.global
    WC Version: 3.4.1
    Log Directory Writable: ✔
    WP Version: 4.9.6
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: –
    WP Cron: ✔
    Language: en_US
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 7.1.16 - We recommend using PHP version 7.2 or above for greater performance and security. How to update your PHP version
    PHP Post Max Size: 128 MB
    PHP Time Limit: 3000
    PHP Max Input Vars: 1000
    cURL Version: 7.54.0
    OpenSSL/1.0.2k
    
    SUHOSIN Installed: –
    MySQL Version: 5.6.39-cll-lve
    Max Upload Size: 128 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    
    ### Database ###
    
    WC Database Version: 3.4.1
    WC Database Prefix: wp_
    MaxMind GeoIP Database: ✔
    Total Database Size: 11.24MB
    Database Data Size: 10.10MB
    Database Index Size: 1.14MB
    wp_woocommerce_sessions: Data: 0.04MB + Index: 0.00MB
    wp_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_order_items: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_order_itemmeta: Data: 0.00MB + Index: 0.01MB
    wp_woocommerce_tax_rates: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_log: Data: 0.00MB + Index: 0.00MB
    ts_redirects: Data: 0.00MB + Index: 0.00MB
    wp_achievements: Data: 0.02MB + Index: 0.01MB
    wp_bp_activity: Data: 0.01MB + Index: 0.01MB
    wp_bp_activity_meta: Data: 0.00MB + Index: 0.01MB
    wp_bp_friends: Data: 0.00MB + Index: 0.00MB
    wp_bp_groups: Data: 0.00MB + Index: 0.00MB
    wp_bp_groups_groupmeta: Data: 0.00MB + Index: 0.00MB
    wp_bp_groups_members: Data: 0.00MB + Index: 0.00MB
    wp_bp_links: Data: 0.00MB + Index: 0.00MB
    wp_bp_links_categories: Data: 0.00MB + Index: 0.00MB
    wp_bp_links_linkmeta: Data: 0.00MB + Index: 0.00MB
    wp_bp_links_votes: Data: 0.00MB + Index: 0.00MB
    wp_bp_messages_drafts: Data: 0.00MB + Index: 0.00MB
    wp_bp_messages_labels: Data: 0.00MB + Index: 0.00MB
    wp_bp_messages_label_message: Data: 0.00MB + Index: 0.00MB
    wp_bp_messages_messages: Data: 0.00MB + Index: 0.00MB
    wp_bp_messages_meta: Data: 0.00MB + Index: 0.00MB
    wp_bp_messages_notices: Data: 0.00MB + Index: 0.00MB
    wp_bp_messages_recipients: Data: 0.00MB + Index: 0.00MB
    wp_bp_notifications: Data: 0.00MB + Index: 0.00MB
    wp_bp_notifications_meta: Data: 0.00MB + Index: 0.00MB
    wp_bp_user_blogs: Data: 0.00MB + Index: 0.00MB
    wp_bp_user_blogs_blogmeta: Data: 0.00MB + Index: 0.01MB
    wp_bp_xprofile_data: Data: 0.00MB + Index: 0.00MB
    wp_bp_xprofile_fields: Data: 0.03MB + Index: 0.05MB
    wp_bp_xprofile_groups: Data: 0.00MB + Index: 0.00MB
    wp_bp_xprofile_meta: Data: 0.01MB + Index: 0.02MB
    wp_buddyboss_media: Data: 0.00MB + Index: 0.00MB
    wp_buddyboss_media_albums: Data: 0.00MB + Index: 0.00MB
    wp_commentmeta: Data: 0.00MB + Index: 0.01MB
    wp_comments: Data: 0.01MB + Index: 0.01MB
    wp_gde_profiles: Data: 0.00MB + Index: 0.00MB
    wp_gde_secure: Data: 0.00MB + Index: 0.00MB
    wp_learndash_user_activity: Data: 0.01MB + Index: 0.03MB
    wp_learndash_user_activity_meta: Data: 0.04MB + Index: 0.03MB
    wp_links: Data: 0.00MB + Index: 0.00MB
    wp_options: Data: 2.97MB + Index: 0.09MB
    wp_pmpro_discount_codes: Data: 0.00MB + Index: 0.00MB
    wp_pmpro_discount_codes_levels: Data: 0.00MB + Index: 0.00MB
    wp_pmpro_discount_codes_uses: Data: 0.00MB + Index: 0.00MB
    wp_pmpro_memberships_categories: Data: 0.00MB + Index: 0.00MB
    wp_pmpro_memberships_pages: Data: 0.00MB + Index: 0.00MB
    wp_pmpro_memberships_users: Data: 0.00MB + Index: 0.01MB
    wp_pmpro_membership_levelmeta: Data: 0.00MB + Index: 0.00MB
    wp_pmpro_membership_levels: Data: 0.00MB + Index: 0.01MB
    wp_pmpro_membership_orders: Data: 0.00MB + Index: 0.02MB
    wp_pmxi_files: Data: 0.00MB + Index: 0.00MB
    wp_pmxi_history: Data: 0.00MB + Index: 0.00MB
    wp_pmxi_imports: Data: 0.00MB + Index: 0.00MB
    wp_pmxi_posts: Data: 0.00MB + Index: 0.00MB
    wp_pmxi_templates: Data: 0.00MB + Index: 0.00MB
    wp_postmeta: Data: 0.83MB + Index: 0.21MB
    wp_posts: Data: 2.47MB + Index: 0.17MB
    wp_pp_login_builder: Data: 0.01MB + Index: 0.00MB
    wp_pp_password_reset_builder: Data: 0.01MB + Index: 0.00MB
    wp_pp_registration_builder: Data: 0.01MB + Index: 0.00MB
    wp_revslider_css: Data: 0.09MB + Index: 0.00MB
    wp_revslider_layer_animations: Data: 0.00MB + Index: 0.00MB
    wp_revslider_navigations: Data: 0.00MB + Index: 0.00MB
    wp_revslider_sliders: Data: 0.02MB + Index: 0.00MB
    wp_revslider_slides: Data: 0.18MB + Index: 0.00MB
    wp_revslider_static_slides: Data: 0.00MB + Index: 0.00MB
    wp_signups: Data: 0.00MB + Index: 0.00MB
    wp_social_users: Data: 0.00MB + Index: 0.00MB
    wp_termmeta: Data: 0.00MB + Index: 0.01MB
    wp_terms: Data: 0.00MB + Index: 0.01MB
    wp_term_relationships: Data: 0.00MB + Index: 0.01MB
    wp_term_taxonomy: Data: 0.00MB + Index: 0.01MB
    wp_usermeta: Data: 0.05MB + Index: 0.04MB
    wp_users: Data: 0.00MB + Index: 0.01MB
    wp_waiting: Data: 0.00MB + Index: 0.00MB
    wp_wc_download_log: Data: 0.00MB + Index: 0.00MB
    wp_wc_webhooks: Data: 0.00MB + Index: 0.00MB
    wp_wfBadLeechers: Data: 0.00MB + Index: 0.00MB
    wp_wfBlockedCommentLog: Data: 0.00MB + Index: 0.00MB
    wp_wfBlockedIPLog: Data: 0.00MB + Index: 0.00MB
    wp_wfBlocks7: Data: 0.00MB + Index: 0.00MB
    wp_wfConfig: Data: 0.36MB + Index: 0.01MB
    wp_wfCrawlers: Data: 0.00MB + Index: 0.00MB
    wp_wfFileChanges: Data: 0.00MB + Index: 0.00MB
    wp_wfFileMods: Data: 0.48MB + Index: 0.11MB
    wp_wfHits: Data: 0.14MB + Index: 0.03MB
    wp_wfHoover: Data: 0.00MB + Index: 0.00MB
    wp_wfIssues: Data: 0.00MB + Index: 0.00MB
    wp_wfKnownFileList: Data: 0.97MB + Index: 0.12MB
    wp_wfLeechers: Data: 0.00MB + Index: 0.01MB
    wp_wfLiveTrafficHuman: Data: 0.00MB + Index: 0.00MB
    wp_wfLocs: Data: 0.00MB + Index: 0.00MB
    wp_wfLogins: Data: 0.01MB + Index: 0.00MB
    wp_wfNet404s: Data: 0.00MB + Index: 0.00MB
    wp_wfNotifications: Data: 0.00MB + Index: 0.00MB
    wp_wfPendingIssues: Data: 0.00MB + Index: 0.00MB
    wp_wfReverseCache: Data: 0.00MB + Index: 0.00MB
    wp_wfScanners: Data: 0.00MB + Index: 0.00MB
    wp_wfSNIPCache: Data: 0.00MB + Index: 0.00MB
    wp_wfStatus: Data: 0.06MB + Index: 0.03MB
    wp_wfVulnScanners: Data: 0.00MB + Index: 0.00MB
    wp_wp_pro_quiz_category: Data: 0.00MB + Index: 0.00MB
    wp_wp_pro_quiz_form: Data: 0.00MB + Index: 0.00MB
    wp_wp_pro_quiz_lock: Data: 0.00MB + Index: 0.00MB
    wp_wp_pro_quiz_master: Data: 0.02MB + Index: 0.00MB
    wp_wp_pro_quiz_prerequisite: Data: 0.00MB + Index: 0.00MB
    wp_wp_pro_quiz_question: Data: 1.24MB + Index: 0.03MB
    wp_wp_pro_quiz_statistic: Data: 0.01MB + Index: 0.00MB
    wp_wp_pro_quiz_statistic_ref: Data: 0.00MB + Index: 0.00MB
    wp_wp_pro_quiz_template: Data: 0.00MB + Index: 0.00MB
    wp_wp_pro_quiz_toplist: Data: 0.00MB + Index: 0.00MB
    wp_wsluserscontacts: Data: 0.00MB + Index: 0.00MB
    wp_wslusersprofiles: Data: 0.00MB + Index: 0.00MB
    
    ### Post Type Counts ###
    
    attachment: 121
    bmt-member-type: 4
    bp-email: 32
    cdfc: 1
    condition_group: 1
    custom_css: 1
    customize_changeset: 9
    forum: 1
    jetpack_migration: 2
    mc4wp-form: 1
    nav_menu_item: 33
    page: 39
    post: 24
    product: 12
    revision: 1003
    scheduled-action: 16
    sfwd-certificates: 1
    sfwd-courses: 7
    sfwd-lessons: 36
    sfwd-quiz: 38
    sfwd-topic: 147
    shop_order: 7
    shop_subscription: 5
    sidebar: 1
    sp_wps_shortcodes: 1
    topic: 4
    wc_membership_plan: 6
    wcps: 1
    woocarousel: 1
    wpachievements: 3
    wpcf7_contact_form: 1
    wpe_product_carousel: 1
    yith_wcps_type: 1
    
    ### Security ###
    
    Secure connection (HTTPS): ❌
    					Your store is not using HTTPS. Learn more about HTTPS and SSL Certificates.
    Hide errors from visitors: ✔
    
    ### Active Plugins (50) ###
    
    Addons for WPBakery Page Builder: by Livemesh – 1.9.1
    Akismet Anti-Spam: by Automattic – 4.0.7
    bbPress: by The bbPress Community – 2.5.14
    Better Search Replace: by Delicious Brains – 1.3.2
    Boss for LearnDash: by BuddyBoss – 1.3.0
    BP Redirect To Profile: by Brajesh Singh – 1.2.2
    BuddyBoss Inbox: by BuddyBoss – 1.1.3
    BuddyBoss Media: by BuddyBoss – 3.2.4
    BuddyBoss One Click Installer: by BuddyBoss – 1.0.6
    BuddyBoss Wall: by BuddyBoss – 1.3.3
    BuddyPress for LearnDash: by BuddyBoss – 1.2.4
    BuddyPress Member Types: by BuddyBoss – 1.1.2
    BuddyPress: by The BuddyPress Community – 3.0.0
    Contact Form 7: by Takayuki Miyoshi – 5.0.2
    Force HTTPS: by LittleBizzy – 1.0.6
    Google Doc Embedder: by Kevin Davis
    Dan Lester – 2.6.4
    
    Insert or Embed Articulate Content into WordPress Trial: by Brian Batt – 4.292
    WPBakery Page Builder: by Michael M - WPBakery.com – 5.4.7
    LearnDash Content Cloner: by WisdmLabs – 1.2.2
    LearnDash & bbPress Integration: by LearnDash – 2.0.2.1
    LearnDash Course Grid: by LearnDash – 1.4.1
    LearnDash ProPanel: by LearnDash – 2.1.3
    LearnDash WooCommerce Integration: by LearnDash – 1.4.0 – Not tested with the active version of WooCommerce
    Mega Addons For Visual Composer: by Nasir – 2.2
    Nextend Social Login: by Nextendweb – 3.0.10
    Nextend Social Login Pro Addon: by Nextendweb – 3.0.8
    WooCommerce Product Carousel Slider: by ADL Plugins – 3.0.2 – Not tested with the active version of WooCommerce
    Restrict Content: by Pippin Williamson – 2.2.3
    Slider Revolution: by ThemePunch – 5.4.7.3
    LearnDash LMS: by LearnDash – 2.5.8.2
    Simple Buddypress Profile Privacy: by Justin Hansen – 0.7.7
    String Locator: by Clorith – 2.3.0
    Theme My Login: by Jeff Farthing – 6.4.16
    Uncanny LearnDash Toolkit: by Uncanny Owl – 2.4.2
    Uncanny LearnDash Toolkit Pro: by Uncanny Owl – 2.3.1
    UpdraftPlus - Backup/Restore: by UpdraftPlus.Com
    DavidAnderson – 1.14.11
    
    Essential WPBakery Page Builder (formerly Visual Composer) Addons: by themebon – 1.9.1
    Waiting: by Plugin Builders – 0.4.5
    WC4BP -> WooCommerce BuddyPress Integration (Premium): by ThemeKraft – 3.1.4 – Not tested with the active version of WooCommerce
    WC4BP -> Subscriptions: by ThemeKraft – 1.1.0 – Not tested with the active version of WooCommerce
    WC4BP -> BuddyPress xProfile Checkout Manager: by ThemeKraft – 1.3.0 – Not tested with the active version of WooCommerce
    WooCommerce Colors: by WooThemes – 1.0.7 – Not tested with the active version of WooCommerce
    WooCommerce PayPal Express Checkout Gateway: by WooCommerce – 1.5.5
    WooCommerce Stripe Gateway: by WooCommerce – 4.1.6
    WooCommerce Memberships: by SkyVerge – 1.10.4
    WooCommerce Social Login: by SkyVerge – 2.5.2
    WooCommerce Subscriptions: by Prospress Inc. – 2.2.21
    WooCommerce: by Automattic – 3.4.1 – 3.4.2 is available
    WP File Manager: by mndpsingh287 – 2.7
    WP Rollback: by WordImpress – 1.5
    
    ### Settings ###
    
    API Enabled: ✔
    Force SSL: ✔
    Currency: USD ($)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    Taxonomies: Product Types: course (course)
    external (external)
    grouped (grouped)
    simple (simple)
    subscription (subscription)
    variable (variable)
    variable subscription (variable-subscription)
    
    Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
    exclude-from-search (exclude-from-search)
    featured (featured)
    outofstock (outofstock)
    rated-1 (rated-1)
    rated-2 (rated-2)
    rated-3 (rated-3)
    rated-4 (rated-4)
    rated-5 (rated-5)
    
    ### WC Pages ###
    
    Shop base: ❌ Page not set
    Cart: #562 - /cart/
    Checkout: #9648 - /woocommerce-checkout/
    My account: #9671 - /membership/
    Terms and conditions: ❌ Page not set
    
    ### Theme ###
    
    Name: Boss. Child Theme
    Version: 2.4.3
    Author URL: http://www.buddyboss.com
    Child Theme: ✔
    Parent Theme Name: Boss.
    Parent Theme Version: 2.4.6
    Parent Theme Author URL: https://www.buddyboss.com
    WooCommerce Support: ✔
    
    ### Templates ###
    
    Overrides: –
    
    ### subscriptions ###
    
    WCS_DEBUG: ✔
    						No
    Subscriptions Mode: ✔
    						Live
    Subscriptions Template Theme Overrides: –
    Report Cache Enabled: ✔
    						Yes
    Cache Update Failures: ✔
    						0 failure
    
    gheebuttersnaps
    Participant

    Hey there,

    I am currently setting up a members directory for our alumni association using buddypress (currently Version 3 RC1 from trac). I really love it and so far the feedback from our testers is really positive. I might consider contributing a showcase/case study if there is anything like that for buddypress. I have already contributed several translations and will add more during the weekend!

    I have one issue remaining which is related to the search function. We allow our members to hide certain information from other members. For example one member can set their current location to “adminsonly”. Let’s assume this example. We have user Thomas in city Berlin and user Peter in city Munich. Thomas decides to hide his location from other members and sets the field visibility to adminsonly. Now Peter views Thomas’ profile and is not able to see his location. So far everything works as expected. Now Peter uses the search function and uses the keyword “Berlin”. The result set contains Thomas (without displaying any information about the city) although Peter should not be able to know the city.

    I would tend to consider this as a breach of privacy for users. That’s why I currently have removed the search boxes from all pages. Technically, if someone knows the URL search strings he/she could still do the search. Is it possible to configure the search so that it only searches fields which are available to the user conducting the search?

    Thanks and regards!

    ngoegan
    Participant

    WP 4.9.2
    Theme Twenty Twelve
    BP 2.9.3
    BP Registration Options

    I have a private social network site using the Buddypress Registration Options plugin. It only hides bp component pages from non-logged in users. I’d like to hide the Events page as well, which isn’t a bp component. Is there anyway to do this without adding a plugin that would conflict?

    Thank you.

    #269758
    inderlovy
    Participant

    Which is best plugin to show particular pages after login from buddypress and hide rest of the pages?

    #269378
    grimbot
    Participant

    ok.. it works again.. Not sure which step fixed it but here is what I did..

    In the database area I clicked the Optimize, repair, and reset permission buttons.

    In wordpress I cleared off some of the warning notifications I was getting about “Activity Stream” and “User Links” pages not having pages set for them..

    I had those removed on purpose btw.

    The code to hide the members directory doesn’t work anymore but someone said something about maybe being able to redirect traffic to that page to a password protected or otherwise restricted page.

    So.. That should do it if you have the problem I did.. clear the page missing error for user links and activity and run the one click fixes on the database to reset permissions and such.

    Boone Gorges
    Keymaster

    Hi @richardmiller-1 – The purpose of the @username part of the interface is to tell other users how to mention the user when posting new activity items, etc. It’s possible to change the value that’s displayed here, but if you do, and if users then use that text to “mention” others, then things like auto-linking of @-mentions and @-mention notifications will break, since BP doesn’t know by default how to search by display names.

    If you just want to change the display, then you should copy the cover-image-header.php template to your own child theme, and then change the line you’ve referenced to:

    
    <h2 class=”user-nicename”>@<?php echo bp_core_get_user_displayname( bp_displayed_user_id() ); ?></h2>
    

    It might be possible to retool some of the @-mention plumbing so that notifications etc work. You’d want to start by filtering bp_activity_mentioned_users(), and copying some of the logic in bp_activity_find_mentions() but with modified regex + user lookup. (This is going to be hard because, among other things, display names are not necessarily unique across a network, so @Richard could refer to multiple people. But that depends on the nature of your network.)

    The h1 at the top of the profile page is generated in a weird way, as part of BP’s theme compatibility system. It’s not directly generated by BP, but comes from your WP theme; BP is faking the theme into thinking that the user’s display name is the title of the WP page, so that your theme’s page.php template outputs it as the_title(). There are various workarounds for this. One is to tap into BP’s template hierarchy, so that WP would use a separate template file for single member pages. See https://codex.buddypress.org/themes/theme-compatibility-1-7/template-hierarchy/#single-member-pages for details. Basically, you’d copy page.php to buddypress/members/single/index.php, and remove the call to the_title(). A simpler solution is to hide with CSS:

    
    .bp-user .entry-title {
    	display: none;
    }
    
    jeffm2008
    Participant

    hi.

    JetPack Widget Visibility does not seem to work on BuddyPress pages (Register, Members, Activity, etc.).
    But, when I disable BuddyPress plugin, the visibility options work.

    Example: I’m trying to hide certain widgets on the Register page. But they are still there unless I disable BuddyPress.

    Also, JetPack visibilty works perfectly on all other pages when BuddyPress is enabled, except BuddyPress pages.

    Any help would be appreciated. Thanks in advance!

    WordPress 4.8.3 running Point theme.
    BuddyPress Version 2.9.2

    #268054
    xmginc
    Participant

    Hey guys,

    Would anyone know how to hide and disable member pages based on their role type. (e.g. yoursite.com/members/username)

    Goal: if a member is set to a WordPress Administrator role, we would like to make his/her page inaccessible from the public

    Purpose: while we have been able to hide specific roles from displaying in the member directory, their member/page is still visible if you know the URL.

    Similar to how we can make the WordPress Author page inaccessible, we’d like to do the same for BuddyPress’s equivalent Member page.

    Thanks in advance

    #265687
    threwthenevr
    Participant

    Tyvm for the reply.

    It seems I get redirected to a 404 page when the resend activation email link is clicked.
    Here’s the path that leads to it.
    /wp-login.php?action=bp-resend-activation&id=3586&_wpnonce=1fc8482a5b
    Most likely a plugin conflict since I hide wp pages from the public.

    I’m trying to do something similar like the code below.
    class=”bp_registration_needs_activation”>Resend Activation Email

    #265408
    Johninbc
    Participant

    I administer two social sites and both are asking of there is any way to remove notifications of people joining the group and who made friends with whom… It is plugging up the group notification area and users are getting annoyed.
    I have searched for appropriate plugins and found a few but all are depreciated and mess up the site.
    Wordpress 4.7.3
    Buddypress 2.8.2
    Bbpress 2.5.12

    I found a code hack for the functions.php but it can’t be used in the child “guideline” theme. When added to the child, I lose admin pages. code snippet below

    // Remove (hide) various activities from streams.
    function my_hidden_activities($a, $activities) {
    //if admin we want to know
    //if (is_site_admin())
    // return $activities;

    $nothanks = array(“new_blog_post”, “created_group”, “joined_group”, “new_member”, “friendship_created”, “activity_liked”);

    foreach ($activities->activities as $key => $activity) {
    if (in_array($activity->type, $nothanks, true)) {
    unset($activities->activities[$key]);
    $activities->activity_count = $activities->activity_count-1;
    $activities->total_activity_count = $activities->total_activity_count-1;
    $activities->pag_num = $activities->pag_num -1;
    }
    }

    // Renumber the array keys to account for missing items.
    $activities_new = array_values( $activities->activities );
    $activities->activities = $activities_new;

    return $activities;
    }
    add_action(‘bp_has_activities’, ‘my_hidden_activities’, 10, 2 );

    The author suggests adding to functions.php but without using the child theme the code would be lost after an update. It also broke the site… Even after reverting the changes, the menu and page formatting was gone.

    Is there any way that is up to date to filter what activity is reported on the group wall?

    #264286
    ryanb898
    Participant

    im using a theme called social marketplace by buddyboss, it comes bundled with buddypress.. they have these hideous login and register overlays that are cool in theory but i dont know how to style them in CSS… (im a noobie) so i went into the theme settings and shut them off.. now my login page goes to /wp-login and my register page goes to /my-account

    my account page still looks like the buddypress registration form.. when it should infact look like this

    i use a plugin called wc vendors.. that say they hook into the my-account page ( whatever that means)

    i just want to get my login and register pages looking similar i cant seem to figure it out.. thanks

    #264120
    djsteveb
    Participant

    interesting recent discussion on the privacy thing here: https://buddypress.org/support/topic/hide-members-from-search-results/#post-264118 – hope others can chime in on best practices for the future.

    An easy way to choose that gives put in and what gets left out of the main activity stream is a top issue I think for bp, as well as an easier way to manipulate page titles, meta descriptions, and other content on the bp-psudoe pages likes groups and member profiles is a consistent pain point for many.

    hopefully media handling will get more standardized.

    #264118
    djsteveb
    Participant

    @johanna75 – We do need some kind of universal “display public ok” field perhaps?

    Some people have fields set to ‘friends only’ – so things in search should only display to them.

    Bp has a thing in it when a user is marked as spam, then they are only visible to admins – so I think this kind of functioning is half in there already.

    Would be nice for the buddyblock and rtmedia plugins to also consider this visibility thing, and for buddyblock to be able to conditionally affect that as well.

    I could see the need for someone to hide certain things from the public and from specific people – what a nightmare it is when things that were assumed secret pop up in search results.. I had this happen with a wp install – pages published but password protected – well either the theme, or the post teaser plugin pulled data from those non public pages and put them smack in the public search results.

    Luckily the bp profile search pluing (that I also use – it’s great!) – is under active development – (I see the author has responded to the support forum on wp repo saying it is an issue that is under consideration, but bp does the same thing – so it’s no different in the privacy regard) wonder if we could ping the other bp peeps and rtmedia and buddyblock peeps tp put some heads together on this..

    I have a similar problem right now with rtmedia not meshing with buddyblock. When a user blocks and enemy on my site – that enemy can not message them or comment on their activity – but they can harass the sh*t out of them via comments on their media.

    #263916
    mw93
    Participant

    Hello, I’m currently using a plugin to show the activity-stream on my home page. I want that if users place an update it always shows up in the stream. Problem is that if i attach an image, it will not show up. Here is the plugin’s code:

    <?php
    
    /**
     * Plugin Name: BuddyPress Activity ShortCode
     * Description: Embed activity stream in page/post using shortcode
     * Author: BuddyDev
     * Plugin URI: https://buddydev.com/plugins/bp-activity-shortcode/
     * Author URI: https://buddydev.com/
     * Version: 1.0.8
     * License: GPL
     */
    
    // exit if access directly
    if ( ! defined( 'ABSPATH' ) ) {
    	exit;
    }
    
    class BD_Activity_Stream_Shortcodes_Helper {
    
    	private static $instance;
    
    	private function __construct() {
    		$this->register_shortcodes();
    	}
    
    	/*
    	 * Register ShortCode
    	 *
    	 * @example [activity-stream display_comments=threaded|none title=somethimg per_page=something]
    	 */
    	private function register_shortcodes() {
    		add_shortcode( 'activity-stream', array( $this, 'generate_activity_stream' ) );
    	}
    
    	/**
    	 * Get Instance
    	 *
    	 * @return BD_Activity_Stream_Shortcodes_Helper
    	 */
    	public static function get_instance() {
    
    		if ( ! isset( self::$instance ) ) {
    			self::$instance = new self();
    		}
    
    		return self::$instance;
    	}
    
    	public function generate_activity_stream( $atts, $content = null ) {
    
    		//allow to use all those args awesome!
    		$atts = shortcode_atts( array(
    			'title'            => 'Updates van Leden',//title of the section
    			'pagination'       => 1,//show or not
    			'load_more'        => 0,
    			'display_comments' => 'threaded',
    			'include'          => false,     // pass an activity_id or string of IDs comma-separated
    			'exclude'          => false,     // pass an activity_id or string of IDs comma-separated
    			'in'               => false,     // comma-separated list or array of activity IDs among which to search
    			'sort'             => 'DESC',    // sort DESC or ASC
    			'page'             => 1,         // which page to load
    			'per_page'         => 6,         //how many per page
    			'max'              => false,     // max number to return
    			'count_total'      => true,
    
    			// Scope - pre-built activity filters for a user (friends/groups/favorites/mentions)
    			'scope'            => false,
    
    			// Filtering
    			'user_id'          => false,    // user_id to filter on
    			'object'           => false,    // object to filter on e.g. groups, profile, status, friends
    			'action'           => activity_update,    // action to filter on e.g. activity_update, new_forum_post, profile_updated
    			'primary_id'       => false,    // object ID to filter on e.g. a group_id or forum_id or blog_id etc.
    			'secondary_id'     => false,    // secondary object ID to filter on e.g. a post_id
    
    			// Searching
    			'search_terms'     => false,         // specify terms to search on
    			'use_compat'       => bp_use_theme_compat_with_current_theme(),
    			'allow_posting'    => false,    //experimental, some of the themes may not support it.
    			'container_class'  => 'activity',//default container,
    			'hide_on_activity' => 1,//hide on user and group activity pages
    		), $atts );
    
    		//hide on user activity, activity directory and group activity
    		if ( $atts['hide_on_activity'] && ( function_exists( 'bp_is_activity_component' ) && bp_is_activity_component() ||
    		       function_exists( 'bp_is_group_home' ) && bp_is_group_home() ) ) {
    			return '';
    		}
    
    		//start buffering
    		ob_start();
    		?>
    
    		<?php if ( $atts['use_compat'] ) : ?>
    			<div id="buddypress">
    		<?php endif; ?>
    
    			<?php if ( $atts['title'] ) : ?>
    				<h3 class="activity-shortcode-title"><?php echo $atts['title']; ?></h3><hr color="#000000">
    			<?php endif; ?>
    
    			<?php do_action( 'bp_before_activity_loop' ); ?>
    
    			<?php if ( $atts['allow_posting'] && is_user_logged_in() ) : ?>
    				<?php bp_locate_template( array( 'activity/post-form.php' ), true ); ?>
    			<?php endif; ?>
    
    			<?php if ( bp_has_activities( $atts ) ) : ?>
    
    				<div class="<?php echo esc_attr( $atts['container_class'] ); ?> <?php if ( ! $atts['display_comments'] ) : ?> hide-activity-comments<?php endif; ?> shortcode-activity-stream">
    
    					<?php if ( empty( $_POST['page'] ) ) : ?>
    						<ul id="activity-stream" class="activity-list item-list">
    					<?php endif; ?>
    
    							<?php while ( bp_activities() ) : bp_the_activity(); ?>
    								<?php bp_get_template_part( 'activity/entry' ); ?>
    							<?php endwhile; ?>
    
    							<?php if ( $atts['load_more'] && bp_activity_has_more_items() ) : ?>
    								<li class="load-more">
    									<a href="<?php bp_activity_load_more_link() ?>"><?php _e( 'Load More', 'buddypress' ); ?></a>
    								</li>
    							<?php endif; ?>
    
    					<?php if ( empty( $_POST['page'] ) ) : ?>
    						</ul>
    					<?php endif; ?>
    
    					<?php if ( $atts['pagination'] && ! $atts['load_more'] ) : ?>
    						<div class="pagination">
    							<div class="pag-count"><?php bp_activity_pagination_count(); ?></div>
    							<div class="pagination-links"><?php bp_activity_pagination_links(); ?></div>
    						</div>
    					<?php endif; ?>
    
    				</div>
    
    			<?php else : ?>
    				<div id="message" class="info">
    					<p><?php _e( 'Sorry, there was no activity found. Please try a different filter.', 'buddypress' ); ?></p>
    				</div>
    			<?php endif; ?>
    
    			<?php do_action( 'bp_after_activity_loop' ); ?>
    
    			<form action="" name="activity-loop-form" id="activity-loop-form" method="post">
    				<?php wp_nonce_field( 'activity_filter', '_wpnonce_activity_filter' ); ?>
    			</form>
    
    		<?php if ( $atts['use_compat'] ) : ?>
    			</div>
    		<?php endif; ?>
    
    		<?php
    
    		$output = ob_get_clean();
    
    		return $output;
    	}
    }
    BD_Activity_Stream_Shortcodes_Helper::get_instance();
    
    #263187
    give2get
    Participant

    Hi there,

    I hope this topic is in the right sub. If not, please be so kind and move it to the right one ;-).
    Anyway, the matter is the following: We want to run the Buddypress Plugin along the mycred Plugin – operating under the Rehub:recash theme.

    Everything works great and thanks for this nice plugin of BP!
    But there is a thing: We want to hide the mycred points in the public profile section as well as under the public product pages. Just the user himself/herself should be able to see his/her points balance.

    Is there any way to accomplish this?

    If you need any further information, feel free to ask.
    Many thanks in advance,
    best regards!

    #262590
    mkricard
    Participant

    Can anymore provide some guidance on hiding BuddyPress user profile fields and custom tabs from non-logged in users?

    I’ve been trying to figure out how to prevent non-logged in users from viewing my BuddyPress pages, but I can’t seem to quite make everything work. So far, I’ve been able to figure out how to restrict access to the Members page and redirect non-logged in users to the login page. I put the following code in my bp-custom.php file, which is in my plugins folder. I got the code from this BuddyPress forum page (https://buddypress.org/support/topic/hiding-groups-activity-members-list-to-non-members/).

    <?php
    
    /**
     * Change BuddyPress default Members landing tab.
     */
    define('BP_DEFAULT_COMPONENT', 'profile' );
    
    /* Prevent logged out users from accessing bp activity page */
    function nonreg_visitor_redirect() {
    global $bp;
    if ( bp_is_activity_component() || bp_is_groups_component() || bp_is_group_forum() || bp_is_page( BP_MEMBERS_SLUG ) ) {
    if(!is_user_logged_in()) { //just a visitor and not logged in
    wp_redirect( get_option('siteurl') . '/wp-login.php' );
    }
    }
    }
    add_filter('get_header','nonreg_visitor_redirect',1);
    
    ?>
    

    However, non-logged in users can still view each user’s page and their profile tabs. How can I restrict access to those pages as well? I’d rather not use another plugin.

    #261775
    Venutius
    Moderator

    There’s a few different ways you could go about this, there’s a few privacy plugins that will hide different aspect of the site from public view. One is BP Registration Options, this installs new member moderation (so you can choose who to allow on you site) and BuddyPress privacy, where the BuddyPress pages are all private, but the WordPress pages and posts are still public.

    If that’s not private enough for you then there’s BP Simple Private which allows you to hide all aspects of your site apart from the homepage.

    #261587
    anthonylawton
    Participant

    I really need to exclude some members and none members from accessing the custom link elements eg messages etc

    I can exclude the pages – but the custom links (as submenus) are killing my site

    Can anyone help as this is also kiiling my business model!

    I was thinking of putting the custom links onto a page that I can hide (appropriately) but then I will need code as the custom links are reliant upon buddypress user id?

    I think there must be a fix?

    Please advise – thank you Anthony

    David Cameron Law
    Participant

    If you install BuddyPress on the main domain you can use the Display Widgets SEO Plus Plugin https://wordpress.org/plugins/display-widgets-seo-plus/ (I’m the developer) to show/hide widgets on specific sections of a site.

    Just released version 1.1.0 which includes specific widget logic support for BuddyPress/bbPress, could set the widgets for the BuddyPress parts of the site to NOT load on non-BuddyPress sections, this would stop some ‘bleed through’ of content from BuddyPress to the rest of the site.

    That being said, from an SEO perspective (my background is SEO) there are other issues that could leak out to potential Google visitors.

    Check this Google search: https://www.google.com/search?q=WordPress+Plugin

    Note the WordPress Plugin Repository listing (1st result) has six additional indented results (called sitelinks: https://support.google.com/webmasters/answer/47334?hl=en).

    The 6 links for the WordPress Plugin Repository listing are benign, but if there was an adult section of WordPress it could be listed as a sitelink.

    From a WordPress perspective there’s also the core WordPress Search functions. The Static Pages that BuddyPress uses for ‘holding’ the BuddyPress specific output can be found via a search. If you have the default BuddyPress setup try using the WordPress Search Form to search for the word “Members”.

    This will find your BuddyPress Members Directory Holding Page.

    Same result with “Registration”, “Activate” and “Activity”.

    It’s difficult to prevent bleed through of different types of WordPress content, so if your client is conservative I’d suggest a sub-domain/other domain to play it safe and manually add interlinking via Text Widgets and Nav Menu Links.

    David Law

    ademelo
    Participant

    Hi, i currently have my Buddpress/Wordpress site set to be Private, however, some of the pages were visible even to users awaiting an assigned role. I used the plugin “Buddypress Registration Options”, from that plugin all the buddypress pages except for the Wiki page are hidden.

    Is there some way of hiding the Wiki page from users who have not been assigned a role?

    staxracing
    Participant

    I have a problem with the Jetpack sharing buttons in combination with buddypress.
    Obviously they don’t make much sense there anyways, it’s not like I want to share my settings page or sth similar, so I am looking for a way to get rid of the sharing buttons on these pages.
    I tried hiding them via custom css, but with no success (I can either hide them globally or not at all, since I can’t find a post-id to use it only there). So I searched the web and found this code:

    function jptweak_remove_share() {
    	if ( bp_is_user_profile() ) {
    	    remove_filter( 'the_content', 'sharing_display',19 );
    	    remove_filter( 'the_excerpt', 'sharing_display',19 );
    	    if ( class_exists( 'Jetpack_Likes' ) ) {
    	        remove_filter( 'the_content', array( Jetpack_Likes::init(), 'post_likes' ), 30, 1 );
    	    }
    	}
    }
    add_action( 'loop_start', 'jptweak_remove_share' );

    This disabled the sharing buttons when viewing the user profile. I just wonder what to replace the “bp_is_user_profile()” with to get rid of the sharing buttons on the activity site, the user settings page etc.
    Hope you can help me. Thank you in advance

    #259313

    In reply to: Disable BP reg

    Ron Ashman
    Participant

    Hi Henry,

    Wow I didn’t expect an answer so quickly. Thanks!

    I wouldn’t feel comfortable opening a ticket because my understanding of developing is quite basic, and this is a free plugin so I’d feel greedy asking for things or “complaining”.

    Would you please tell me if it might cause any trouble if I leave those pages set as blank? I don’t mind the warning or might find a way to hide it.

    I tried setting private pages or assign a password, but they don’t show in the list or even if they’re password protected they still show the content (registration form).

    Disabling registration through BP would be the best option for me, I think.

    Thanks again, have a great day!

Viewing 25 results - 1 through 25 (of 286 total)
Skip to toolbar