Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'custom activity page'

Viewing 25 results - 126 through 150 (of 831 total)
  • Author
    Search Results
  • #276634
    groston
    Participant

    I did not develop, but help support, the http://www.EmbraceCreatives.com website. I have stumbled across three issues with the site, but I believe all are closely related.

    Issue 1: The default settings for the News Feed are too inclusive and the News Feed gets clogged with uninteresting stuff. To address this issue, I received some help form this forum which resulted in my adding the following code to …/wp-content/themes/social-portfolio/functions.php. (Yes, this does belong in social-portfolio-child, but when I added it there, it did not function. It would require too much time and effort to address fix this problem, which just means that I have to be careful should we update the theme.)

    function ec_filter_activity( $activity_object ) {
      $activity_object['action'] = array( 'item1', 'item2');
      return $activity_object;
    }
    add_filter( 'bp_after_has_activities_parse_args', 'ec_filter_activity');

    The good news is that this code does limit the items shown in the News Feed to those in the item list. However, the dropdown filter, which allows filtering by activity type, no longer functions. Selecting any value causes the page to refresh, but the items displayed are not changed. Also note that removing the code shown in Issue 2 below does not change this behavior.

    Issue 2: Part of the customization is to allow site members to post portfolios of their work. This was implemented as a custom component called gallery and there are two activities associated with this component. The first thing I did was register these activities (as the developer had failed to do so). Next, I added the following code to …/wp-content/plugins/embrace-creatives/include/components/gallery/gallery-component.php

    function setup_actions() { /*other lines from this function omitted for clarity */
        add_action( 'bp_activity_filter_options', array( $this, 'display_activity_actions' ) );  /* added */
    }
    
    public function display_activity_actions() {  /* newly added function */
    ?>
        <option value="<?php echo 'portfolio_published'; ?>"><?php _e('Portfolio Published'); ?></option>
        <option value="<?php echo 'project_published'; ?>"><?php _e('Project Published'); ?></option>
    <?php  }

    The good news is that these two actions are shown in the dropdown mentioned above. However, whereas the dropdown functions properly with regard to all other activities, it does not function for these two newly added ones (when this code is active and the code from Issue 1 is disabled).

    Issue 3: The list of activities shown in the dropdown filter should match the list specified under Issue 1. While I think that I may have figured out how to add activities to this filter (see Issue 2), I do not know how to remove ones on the list, or better yet, simply specify only the ones that should be included.

    We would truly appreciate any assistance you can provide. I would be more than willing to jump onto a phone call or even provide access to our clone site if someone wants to jump in.

    ngoegan
    Participant

    I’m running WP 4.9.8 with the Twenty Twelve theme on my site http://www.charlottemasoneducation.org
    All plugins are updated.

    Plugins:

    Akismet Anti-Spam
    bbPress Version 4.0.8
    BP Registration Options Version 2.5.14
    BP xProfile Location Version 4.3.5
    BuddyPress Version 1.6
    BuddyPress Activity Plus Version 3.1.0
    BuddyPress Activity ShortCode Version 1.6.4
    BuddyPress Edit Activity Version 1.1.5
    BuddyPress Group Email Subscription Version 1.0.9
    BuddyPress Groups Extras Version 3.8.2
    InfiniteWP – Client Version 0.3.0
    Remove Dashboard Access Version 3.4.1
    The Events Calendar Version 1.0.2
    W3 Total Cache Version 1.4.2
    Widget Logic Version 0.9.7
    Wordfence Security Version 5.9.0
    WP SMTP Version 7.1.11 | By Wordfence | View details

    When I go to APPEARANCE > CUSTOMIZE > HOMEPAGE SETTINGS and choose Sitewide Activity as the home page, it causes a redirect loop on the homepage. While I’m logged in as admin, I can see the Sitewide Activity page by clicking on the home page, but anyone who is logged out, gets a “too many redirects” error.

    When I change the settings to REGISTER as the home page, logged in members are redirected to the MEMBER page after logging in.

    I have tried adding a redirect plugin and that breaks the site. I would really like members to land on the Sitewide Activity feed once they log in.

    Any help would be greatly appreciated. Thank you.

    #276296
    dom123
    Participant

    Hello Prashant Singh,

    thanks for your quick reply. With the plugins you mention I can only put single parts on a page (like the activity stream or the members listing), but not the whole content (with the profile picture, the profile header, all the menu tabs etc.). I need to do this so I can design the surrounding with the theme’s settings (such as custom sidebars with background gradient colors etc.) …I guess there is not an easy way to take the whole BuddyPress console and put it within a normal page, but what would be a good workaround for that?

    lookingahead
    Participant

    Hiya.

    I only want one topic per forum. Just one.

    And that single-topic forum? It will be attached to a hidden group.

    So I’m looking for….a way to bypass the screen that lists “topics” in a forum; there will only be ONE topic PER forum, so having that screen there is unnecessary and confusing to my forum participants. And creates “click fatigue.” They should be able to get to the group front page, click “Forum”…then be brought to the discussion on the only topic that that forum will ever be tied to.

    And each group’s topic will be different. But ONLY one topic per forum, per hidden group.

    Note: I’ll eventually be creating hundreds of individual hidden groups….so I do not want to have to go in and hand code the direct link to the single forum topic for each of these groups, just to bypass a page, each time….

    Soooo……I want the flow to be:
    – [click on ‘My Groups’ which is right next to ‘All Groups’ — it’s at that page]
    – [I then see a group link, in list of groups….so I click on a desired group]
    – [get to that group’s front page]
    – [click on ‘Forum’ option there]
    – [***NOW I should see no other things to choose from — there are no other topics that will be in this forum, so I should not be brought to a page with a list of topics to choose from; instead, I am immediately brought to a discussion, which is a discussion that is covering the only topic that that group is ever going to discuss]

    HOW do I achieve this….???

    I was looking for a widget that was a “discussion” widget that I could use to customize the group front page, but never found one.

    And the “activity stream” is littered with an RSS feed and a search bar, and it doesn’t allow for uploading pictures (WHICH IS CRITICAL)….forums allow to upload pictures. So I’d just use the Activity Stream if it was feasible, which it appears to not be. But hell — if that was easier to modify than skipping a forum ‘topic list’ page….let me know that too, please.

    Thanks in advance for all your assistance. I’m losing my mind over this project, lol…..HAAALLLPPP, hahhaa…PLEEEASE…. 😀

    #274682
    ghosted
    Participant

    BuddyPress :3.1

    I really hope someone can help me with this. I’ve read a lot of support pages/articles from varying sources, nothing I put in bp-custom.php works for removing profile nav tabs/sub nav tabs.

    I’ve already tried https://buddypress.org/support/topic/the-right-way-to-remove-nav-items/

    Is it possible to make Activity and Forum profile tabs private?


    which doesn’t seem to have any effect at all.

    the only thing i’ve found that kind does anything is:

    function bp_remove_activity_from_profile()
    {
    bp_core_remove_nav_item('activity');
    }
    add_action('bp_activity_setup_nav','bp_remove_activity_from_profile');

    but it’s not ideal since there are quite a few things i’d like to remove.

    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
    
    #273992
    FrankCaban
    Participant

    Hello I was wondering is you guys can help me out:

    I want to build a member’s area (for a dating/matchmaking hybrid) where after registration (or during it, doesnt matter) they get a compatibility test. (doesnt matter if they are in a seperate page or as part of registration, they just need to integrate with everything else im gonna describe)

    After they join they are directed to a page where they choose 2 paid levels of service and 1 free.
    If they select a membership they pay and are redirected to a Consultation Appointment calendar and after that they become a free member (we manually upgrade them once the matchmaker approves in person) the free ones go straight to the member’s area as free.
    Now unlike many sites, need to be able to restrict communication, the highest level (VIP) would have a video profile (with photo option) with his name age occupation and mile range (automatically there based on the other viewers location), the 3 best matches based on compatibility and a “Request button” that allows them to be requested for a date.
    The requested then sees it in his activity field or wherever and accept or denies. If rejected the other member simply receives a notification, if accepted the accepting person gets a pop up (or other page doesnt matter) and sets Date, Time, and pickup location address, that is then notified to both parties and the administrators (we make arrangements for them).
    The 3 best matches in a VIP profile have a request button too, however this invites them to a group date which they accept or deny just like a regular request.
    They also will be notified by admins about major special events in a notification with the same Accept/Reject format, if so we are notified that they accepted. Regular members are not invited to the events.
    Normal members can request, have a request button themselves, search the directory (more on that later) and pay for events they see in the Events tab, but they do not get invites to them, and they have to pay a fee.
    Free members can only see people in the directory, nothing else, no events tab.
    Events Calendar: there will be a tab in all paid members profile leading to an events calendar. if VIP the member simply selects the event and if interested clicks to attend (no payment). If non VIP a pop-up appears to make them pay a fee and after processing they are registered for the event.

    Directory and Search page (either combined or separate): people should be able to search members based on profile parameters entered during registration/compatibility test (age, gender, etc etc, the fields for the search are the profile info) If combined they see all members and they can then filter out, if separate they use the parameters to bring up result.

    Based on that:
    I guess the ability to add custom tabs for events etc (in here its personal, mentions, favorite) basically to integrate that into functions.

    Any i mean ANY advice will be appreciated, thanks to Varun for suggesting “Match me for Buddypress”
    Anything else people have in regards to how to make this possible even if i have to create somethings outside of buddypress and then bring them back etc, workarounds, plugins, anything will be appreciated.
    I don’t know if it’s allowed but if anyone can implement that for a reasonable fee, feel free to let me know how to contact you, but im looking for advice, anyone offering something has to give the plan at the risk of me implementing it and not taking services, services accepted would be out convenience due to time restraints (very urgent)

    Thank you in advance and thank you for anyone who read this.
    -F.C.

    #273751
    Jonas
    Participant

    I had some issues with this earlier too, using the code supplied in this thread should clear up your issue.

    Here’s the code if you’re unable to click the link for some reason. You should put it in your bp-custom.php file.

    function toa_check_page_reqiurement_and_lie_to_buddypress ($is, $component) {
        global $bp;
        if ($is || "activity" !== $component) return $is;
        if ((defined('BP_GROUPS_SLUG') && bp_is_groups_component() && 'activity' == $bp->current_action)){
            return true;
        }
        return $is;
    }
    function toa_setup_activity_filter () {
        add_filter('bp_is_current_component', 'toa_check_page_reqiurement_and_lie_to_buddypress', 10, 2);
    }
    function toa_teardown_activity_filter () {
        remove_filter('bp_is_current_component', 'toa_check_page_reqiurement_and_lie_to_buddypress', 10);
    }
    add_action('bpfb_init', 'toa_setup_activity_filter');
    add_action('bpfb_add_cssjs_hooks', 'toa_teardown_activity_filter');
    #273403
    richardrcook2
    Participant

    Thank you for replying to my question Ray. I wasn’t able to load the console the way you asked, so I right-clicked on the activity page and clicked on “Inspect Elements (Q).” I clicked the console tab and pasted everything that was underneath it in this message. I hope that was the console tab you were referring to. Here is what I found:

    JQMIGRATE: Migrate is installed, version 1.4.1
    jquery-migrate.min.js:2:542
    whatsNewOptionsIsHidden true
    jquery.customSelect.js:83:29
    injectLoop11
    injectLoop11.js:2:1
    message
    message { target: Window, isTrusted: false, data: {…}, origin: “null”, lastEventId: “”, source: Restricted https://romancingrarehearts.com/chronic-odor-info/embed/#?secret=ClI98jtN2m, ports: Restricted, eventPhase: 0, bubbles: false, cancelable: false, … }
    injectLoop11.js:66:5
    message
    message { target: Window, isTrusted: false, data: {…}, origin: “null”, lastEventId: “”, source: Restricted https://romancingrarehearts.com/chronic-odor-info/embed/#?secret=ClI98jtN2m, ports: Restricted, eventPhase: 0, bubbles: false, cancelable: false, … }
    injectLoop11.js:66:5
    message
    message { target: Window, isTrusted: false, data: {…}, origin: “null”, lastEventId: “”, source: Restricted https://romancingrarehearts.com/chronic-odor-info/embed/#?secret=ClI98jtN2m, ports: Restricted, eventPhase: 0, bubbles: false, cancelable: false, … }
    injectLoop11.js:66:5

    #273314
    Venutius
    Moderator

    I’ve just raised a ticket about not being able to comment on activity items in the group activity page: https://buddypress.trac.wordpress.org/ticket/7854#ticket

    IF you switch to BP Nouveau in settings>>BuddyPress>>Options you will get a BP Nouveau item in the customize options list.

    #273312

    In reply to: Mobile activity menu

    Venutius
    Moderator

    Hi there, some things to check:

    wp-content/plugins/bp-custom.php - general bp customisations
    wp-content/themes/your-child-theme/functions.php - general wp customisations
    wp-content/your-child-theme/buddypress/activity etc. bp page overloads

    Those three files/locations are where most customisations will be done, but they could also be done via plugins so you should check what you have loaded as well.

    #273300
    cyberjulie
    Participant

    WordPress : 4.9.6 as a directory
    Theme : Kleo last update
    Plugins :
    Activity Reactions For Buddypress Version 1.0.22
    Akismet Anti-Spam Version 4.0.3
    bbPress Version 2.5.14
    bbPress auto subscribe for new topics and replies Version 1.0
    BuddyPress Version 3.0.0
    Contact Form 7 Version 5.0.2
    Essential Grid Version 2.2.3
    Events Manager Version 5.8.1.1
    Events Manager Pro Version 2.5.1
    Heartbeat Control Version 1.2.3
    Hide Admin Bar Version 1.7.1.3
    iThemes Security Version 6.9.2
    K Elements Version 4.3.5
    Lightweight Subscribe To Comments Version 1.5.7
    MetaSlider Version 3.7.2
    reBusted! Version 1.1
    Rendez Vous Version 1.4.2
    rtMedia for WordPress, BuddyPress and bbPress Version 4.4.8
    Simple Buddypress Profile Privacy Version 0.7.7
    Slider Revolution Version 5.4.6.3.1
    Wordfence Security Version 7.1.4
    WP FullCalendar Version 1.2
    WP Rocket Version 3.0.4
    WP-Optimize Version 2.2.4
    Éditeur de page Version 5.4.7

    Link : https://dispo.fun

    Hello, since installing version 3.0.0, we’ve lost the ability to comment on group posts. Is this a bug ???
    On the other hand, in the presentation video of the template New, we see an editor like the one to customize the themes but for Buddy Press. How can we reach it?

    Regards

    Julie

    #273176
    panosa1973
    Participant

    Is this a bug? I’ve been trying to figure this out for days. Why does my custom member directory revert to the default when I sort it??? I load it, it works fine and outputs the filtered users. I sort it by Alphabetical order (for example) and it gives me all users again. Does anyone have an idea why this is happening?

    [members-loop-2.php]

    <?php
    /**
     * BuddyPress - Members Loop
     *
     * Querystring is set via AJAX in _inc/ajax.php - bp_legacy_theme_object_filter()
     *
     * @package BuddyPress
     * @subpackage bp-legacy
     */
    
    /**
     * Fires before the display of the members loop.
     *
     * @since 1.2.0
     */
    do_action( 'bp_before_members_loop' ); ?>
    
    <?php if ( bp_get_current_member_type() ) : ?>
    	<p class="current-member-type"><?php bp_current_member_type_message() ?></p>
    <?php endif; ?>
    
    <?php if ( bp_has_members( bp_ajax_querystring( 'members' ) .'&include=' .get_user_matches()  ) ) : ?>
    
    	<div id="pag-top" class="pagination">
    
    		<div class="pag-count" id="member-dir-count-top">
    
    			<?php //bp_members_pagination_count(); ?>
    
    		</div>
    
    		<div class="pagination-links" id="member-dir-pag-top">
    
    			<?php bp_members_pagination_links(); ?>
    
    		</div>
    
    	</div>
    
    	<?php
    
    	/**
    	 * Fires before the display of the members list.
    	 *
    	 * @since 1.1.0
    	 */
    	do_action( 'bp_before_directory_members_list' ); ?>
    
    	<ul id="members-list" class="item-list" aria-live="assertive" aria-relevant="all">
    
    	<?php while ( bp_members() ) : bp_the_member(); ?>
    		<li <?php bp_member_class(); ?>>
            
    			<div class="item-avatar">
    				<a href="<?php bp_member_permalink(); ?>"><?php bp_member_avatar(); ?></a>
    			</div>
    
    			<div class="item">
    				<div class="item-title">
    					<a href="<?php bp_member_permalink(); ?>"><?php bp_member_name(); ?></a>
    
    					<?php if ( bp_get_member_latest_update() ) : ?>
    
    						<span class="update"> <?php bp_member_latest_update(); ?></span>
    
    					<?php endif; ?>
    
    				</div>
    
    				<div class="item-meta"><span class="activity" data-livestamp="<?php bp_core_iso8601_date( bp_get_member_last_active( array( 'relative' => false ) ) ); ?>"><?php bp_member_last_active(); ?></span></div>
    
    				<?php
    
    				/**
    				 * Fires inside the display of a directory member item.
    				 *
    				 * @since 1.1.0
    				 */
    				do_action( 'bp_directory_members_item' ); ?>
    
    				<?php
    				 /***
    				  * If you want to show specific profile fields here you can,
    				  * but it'll add an extra query for each member in the loop
    				  * (only one regardless of the number of fields you show):
    				  *
    				  * $xGender =  bp_member_profile_data( 'field=Gender' );
    				  */
    				  
    				?>
    			</div>
    
    			<div class="action">
    
    				<?php
    
    				/**
    				 * Fires inside the members action HTML markup to display actions.
    				 *
    				 * @since 1.1.0
    				 */
    				do_action( 'bp_directory_members_actions' ); ?>
    
    			</div>
    
    			<div class="clear"></div>
    		</li>
    	<?php endwhile; ?>
    
    	</ul>
    
    	<?php
    
    	/**
    	 * Fires after the display of the members list.
    	 *
    	 * @since 1.1.0
    	 */
    	do_action( 'bp_after_directory_members_list' ); ?>
    
    	<?php bp_member_hidden_fields(); ?>
    
    	<div id="pag-bottom" class="pagination">
    
    		<div class="pag-count" id="member-dir-count-bottom">
    
    			<?php //bp_members_pagination_count(); ?>
    
    		</div>
    
    		<div class="pagination-links" id="member-dir-pag-bottom">
    
    			<?php bp_members_pagination_links(); ?>
    
    		</div>
    
    	</div>
    
    <?php else: ?>
    
    	<div id="message" class="info">
    		<p><?php _e( "Sorry, no members were found.", 'buddypress' ); ?></p>
    	</div>
    
    <?php endif; ?>
    
    <?php
    
    /**
     * Fires after the display of the members loop.
     *
     * @since 1.2.0
     */
    do_action( 'bp_after_members_loop' );

    [index-2.php]
    ‘<?php
    /**
    * BuddyPress – Members
    *
    * @package BuddyPress
    * @subpackage bp-legacy
    */

    /**
    * Fires at the top of the members directory template file.
    *
    * @since 1.5.0
    */
    do_action( ‘bp_before_directory_members_page’ ); ?>

    <div id=”buddypress”>

    <?php

    /**
    * Fires before the display of the members.
    *
    * @since 1.1.0
    */
    do_action( ‘bp_before_directory_members’ ); ?>

    <?php

    /**
    * Fires before the display of the members content.
    *
    * @since 1.1.0
    */
    do_action( ‘bp_before_directory_members_content’ ); ?>

    <?php /* Backward compatibility for inline search form. Use template part instead. */ ?>
    <?php if ( has_filter( ‘bp_directory_members_search_form’ ) ) : ?>

    <div id=”members-dir-search” class=”dir-search” role=”search”>
    <?php bp_directory_members_search_form(); ?>
    </div><!– #members-dir-search –>

    <?php else: ?>

    <?php bp_get_template_part( ‘common/search/dir-search-form’ ); ?>

    <?php endif; ?>

    <?php
    /**
    * Fires before the display of the members list tabs.
    *
    * @since 1.8.0
    */
    do_action( ‘bp_before_directory_members_tabs’ ); ?>

    <form action=”” method=”post” id=”members-directory-form” class=”dir-form”>

    <div class=”item-list-tabs” id=”subnav” aria-label=”<?php esc_attr_e( ‘Members directory secondary navigation’, ‘buddypress’ ); ?>” role=”navigation”>

      <?php

      /**
      * Fires inside the members directory member sub-types.
      *
      * @since 1.5.0
      */
      do_action( ‘bp_members_directory_member_sub_types’ ); ?>

      <li id=”members-order-select” class=”last filter”>
      <label for=”members-order-by”><?php _e( ‘Order By:’, ‘buddypress’ ); ?></label>
      <select id=”members-order-by”>
      <option value=”active”><?php _e( ‘Last Active’, ‘buddypress’ ); ?></option>
      <option value=”newest”><?php _e( ‘Newest Registered’, ‘buddypress’ ); ?></option>

      <?php if ( bp_is_active( ‘xprofile’ ) ) : ?>
      <option value=”alphabetical”><?php _e( ‘Alphabetical’, ‘buddypress’ ); ?></option>
      <?php endif; ?>

      <?php

      /**
      * Fires inside the members directory member order options.
      *
      * @since 1.2.0
      */
      do_action( ‘bp_members_directory_order_options’ ); ?>
      </select>

    </div>

    <h2 class=”bp-screen-reader-text”><?php
    /* translators: accessibility text */
    _e( ‘Members directory’, ‘buddypress’ );
    ?></h2>

    <div id=”members-dir-list” class=”members dir-list”>
    <?php bp_get_template_part( ‘members/members-loop-2’ ); ?>
    </div><!– #members-dir-list –>

    <?php

    /**
    * Fires and displays the members content.
    *
    * @since 1.1.0
    */
    do_action( ‘bp_directory_members_content’ ); ?>

    <?php wp_nonce_field( ‘directory_members’, ‘_wpnonce-member-filter’ ); ?>

    <?php

    /**
    * Fires after the display of the members content.
    *
    * @since 1.1.0
    */
    do_action( ‘bp_after_directory_members_content’ ); ?>

    </form><!– #members-directory-form –>

    <?php

    /**
    * Fires after the display of the members.
    *
    * @since 1.1.0
    */
    do_action( ‘bp_after_directory_members’ ); ?>

    </div><!– #buddypress –>

    <?php

    /**
    * Fires at the bottom of the members directory template file.
    *
    * @since 1.5.0
    */
    do_action( ‘bp_after_directory_members_page’ );

    ineedyou
    Participant

    Hi,

    Below two code, i can create buddypress activity for Book CPT (1st code) with title (2nd code) … Member A publish new “best horror book last 10 years” ( with Title)

    I have 2 question:
    1st: When anyone comment this activity : It shows Member B comment a “Book” i could not success the display post title instead of “Book (CPT)” . i need to dispaly Member B comment “best horror book last 10 years”

    2nd question If 1st can possible ‘bp_activity_new_comment’ => __( ‘%1$s commented BOOK‘, ‘custom-textdomain’ ), is possible Member B comment on the “best horror book last 10 years” by Member A (with post author name or avatar) … mİLLİON Thanks

    cODE1
    // allow tracking of our CPT
    add_post_type_support( ‘book’, ‘buddypress-activity’ );

    // creating the dropdown filter on activity and members page
    function customize_page_tracking_args() {
    // Check if the Activity component is active before using it.
    if ( ! bp_is_active( ‘activity’ ) ) {
    return;
    }

    bp_activity_set_post_type_tracking_args( ‘book’, array(
    ‘component_id’ => ‘activity’, // unique ID
    ‘action_id’ => ‘new_book’, // new_$post_type where new_ is mandatory
    ‘comment_action_id’ => ‘new_mot_comment’,
    ‘bp_activity_comments_admin_filter’ => __( ‘Comments about book’, ‘custom-textdomain’ ), // label for the Admin dropdown filter
    ‘bp_activity_comments_front_filter’ => __( ‘Book Comments’, ‘custom-textdomain’ ), // label for the Front dropdown filter
    ‘bp_activity_new_comment’ => __( ‘%1$s commented BOOK‘, ‘custom-textdomain’ ),
    ‘bp_activity_admin_filter’ => __( ‘Published a new BOOK’, ‘text-domain’ ),
    ‘bp_activity_front_filter’ => __( ‘bOOK’, ‘text-domain’ ),
    ‘contexts’ => array( ‘activity’, ‘member’ ), // swa & member activity page
    ‘activity_comment’ => true,
    ‘bp_activity_new_post’ => __( ‘%1$s publish a new bOOK‘, ‘text-domain’ ),
    ‘position’ => 100,
    ) );
    }
    add_action( ‘init’, ‘customize_page_tracking_args’, 999 );

    code2 FOR DISPLAY NEW BOOK PUBLISHED WITH TITLE
    function monkey1980_include_post_type_title( $action, $activity ) {
    if ( empty( $activity->id ) ) {
    return $action;
    }

    if ( ‘new_book’ != $activity->type ) {
    return $action;
    }
    preg_match_all( ‘/<a.*?>([^>]*)<\/a>/’, $activity->action, $matches );

    if ( empty( $matches[1][1] ) || ‘Book’ != $matches[1][1] ) {
    return $action;
    }

    $post_type_title = bp_activity_get_meta( $activity->id, ‘post_title’ );

    if ( empty( $post_type_title ) ) {
    switch_to_blog( $activity->item_id );

    $post_type_title = get_post_field( ‘post_title’, $activity->secondary_item_id );

    // We have a title save it in activity meta to avoid switching blogs too much
    if ( ! empty( $post_type_title ) ) {
    bp_activity_update_meta( $activity->id, ‘post_title’, $post_type_title );
    }

    restore_current_blog();
    }

    return str_replace( $matches[1][1], esc_html( $post_type_title ), $activity->action );
    }
    add_filter( ‘bp_activity_custom_post_type_post_action’, ‘monkey1980_include_post_type_title’, 10, 2 );

    #272960
    Michael
    Participant

    WordPress:

    Version: 4.9.5
    Language: en_US
    Permalink Structure: /%postname%/
    Active Theme: Tempera NoLink 0.6
    Page On Front: Si Valetis, Valeo! (#62)
    Page For Posts: Blog (#133)

    — Web Server Configurations —

    PHP Version: 7.0.30
    MySQL Version: 5.6.34
    Web Server Info: Apache

    — PHP Configurations —

    PHP Memory Limit: 256M
    PHP Upload Max Size: 256M
    PHP Post Max Size: 301M
    PHP Upload Max Filesize: 256M
    PHP Time Limit: 1000
    PHP Max Input Vars: 1000
    PHP Arg Separator: &
    PHP Allow URL File Open: Yes

    — WordPress Active Plugins —

    Akismet Anti-Spam: 4.0.3
    Caldera Forms: 1.6.1.1
    Category Posts Widget: 4.8.5
    Category Sticky Post: 2.10.1
    Cryout Serious Theme Settings: 0.5.9
    Custom Login Page Templates: 1.0
    Custom Sidebars: 3.1.4
    Disable Emojis: 1.7
    Download Monitor: 4.0.8
    Google Analytics Dashboard for WP (GADWP): 5.3.3
    GTranslate: 2.8.40
    Jetpack by WordPress.com: 6.1
    Plugins Garbage Collector: 0.10.3
    Shortcodes Ultimate: 5.0.3
    Simple:Press: 5.7.5.2
    Simple Link Directory – Pro: 4.8.0
    Team Members PRO: 4.1.1
    The Events Calendar: 4.6.15
    TinyMCE Advanced: 4.6.7
    Ultimate Member: 2.0.13
    Ultimate Member – Followers: 2.0.1
    Ultimate Member – Friends: 2.0.1
    Ultimate Member – Google reCAPTCHA: 2.0
    Ultimate Member – Instagram: 2.0.1
    Ultimate Member – MailChimp: 2.0.1
    Ultimate Member – Notices: 2.0.1
    Ultimate Member – Online Users: 2.0
    Ultimate Member – Private Messages: 2.0.2
    Ultimate Member – Profile Completeness: 2.0.1
    Ultimate Member – Real-time Notifications: 2.0.1
    Ultimate Member – Social Activity: 2.0.1
    Ultimate Member – Social Login: 2.0.1
    Ultimate Member – Terms & Conditions: 2.0
    Ultimate Member – User Reviews: 2.0.3
    Ultimate Member – User Tags: 2.0
    Ultimate Member – Verified Users: 2.0.1
    UM New Members widget: 1.0.7
    UpdraftPlus – Backup/Restore: 2.14.8.1
    VaultPress: 1.9.5
    Wise Chat Pro: 1.9
    WP-Optimize: 2.2.4
    WP Responsive Recent Post Slider: 1.4.2
    Yoast SEO Premium: 7.4.2

    Mirror Spirits
    Participant

    I am using the latest version of everything and my own custom theme, that seems to work OK elsewhere.

    When in a members’ own activity stream, there’s the button “view conversation”. It directs to the correct page, it seems, but the content area is empty. The theme works well otherwise. As if a piece of code was missing from the theme.

    You can try and see it for yourself with

    Login page: https://sebsacademy.com/in/

    User: TestUser
    Pass: 12345678

    The problem can be found for example on my profile page:

    https://sebsacademy.com/in/members/996cfeba1b145925/

    where you can see the disjointed conversation… You click on the ‘view conversation’ button, and it directs you to an empty page.

    Might come in handy one day, that button. :p

    Hope you can figure it out, as I don’t even know where to look!

    cheers,

    Sebs

    #272732
    Venutius
    Moderator

    Have you tried using BP Activity Shortcode? It’s a simple way of producing activity pages customised how you would like.

    BuddyPress Activity Shortcode

    #272679
    ma3ry
    Participant

    My coder gave me the following information. It works for me. If it doesn’t work for you, I’m sorry but I don’t know what to tell you. I’m not a coder.

    CUSTOM MENU SHORTCODES

    Create a simple shortcode by adding the following in child-theme’s functions.php file

    add_shortcode( 'bp_user_profile_link', 'bp_user_profile_link_shortcode');
    function bp_user_profile_link_shortcode( $atts ){
    	$atts = shortcode_atts( array(
    		'text'		=> 'Profile',
    		'target'  => ''
    	), $atts );
    	if( !is_user_logged_in() )
    		return '';
    	$target_link = bp_loggedin_user_domain();
    	switch( $atts['target'] ){
    		case 'settings' : $target_link .= 'settings/'; break;
    		case 'profile'  : $target_link .= 'profile/'; break;
    		case 'edit_profile'  : $target_link .= 'profile/edit/'; break;
    	}
    
    	return "<a href='" . $target_link . "'>" . $atts['text'] . "</a>";  }

    Now this gives you the chance to choose which profile link you want to target. So

    1) For the main member page (activity) use the following shortcode:
    [bp_user_profile_link text=”Profile” ]

    2) For the View Profile page
    [bp_user_profile_link text=”View My Profile” target=”profile”]

    3) For the Edit Profile page
    [bp_user_profile_link text=”Edit My Profile” target=”edit_profile”]

    CUSTOM MENU URL (this may be very specific to my website. I don’t know.

    Edit Profile: https://yourwebsite.com/members/–sububsername–/profile/edit/group/1/

    Hope this helps.

    Venutius
    Moderator

    What plugin did you use to add the option to only display a menu item to logged in users? Seems like that is what is not functioning. hiding the activity link by hiding the menu item does not hide the activity page from non logged in users, if they know the url they will still be able to view it, to prevent that you should explore the security options available to you. There a number of privacy plugins for bp with a range of features, is it only the Activity page you want to hide?

    BuddyPress uses the default WordPress login page, there’s a number of customisers for this, for example: https://wordpress.org/plugins/admin-custom-login/

    #272364
    Brendan
    Participant

    I’ll give another example, since this appears to me to be a bug.
    Buddypress requires pretty permalinks, so why is my permalink a ?p=123 type??
    Here’s the code I’m using to add a custom post type to my activity feed.

    add_post_type_support( 'community-story', 'buddypress-activity' );
     
    function customize_page_tracking_args() {
        // Check if the Activity component is active before using it.
        if ( ! bp_is_active( 'activity' ) ) {
            return;
        }
     
        bp_activity_set_post_type_tracking_args( 'community-story', array(
            'component_id'             => 'activity',
            'action_id'                => 'new_community-story',
            'bp_activity_admin_filter' => __( 'Shared a new story', 'buddypress' ),
            'bp_activity_front_filter' => __( 'Community Story', 'buddypress' ),
            'contexts'                 => array( 'activity', 'member' ),
            'activity_comment'         => true,
            'bp_activity_new_post'     => __( '%1$s shared a new <a href="%2$s">Community Story</a>', 'buddypress' ),
            'bp_activity_new_post_ms'  => __( '%1$s posted a new <a href="%2$s">Community Story</a>, on the site %3$s', 'buddypress' ),
            'position'                 => 100,
        ) );
    }
    add_action( 'init', 'customize_page_tracking_args', 1000 );
    function record_cpt_activity_content( $cpt ) {
     
        if ( 'new_community-story' === $cpt['type'] ) {
         
            $cpt['content'] = '&nbsp;';
        }
         
     
        return $cpt;
    }
    add_filter('bp_before_activity_add_parse_args', 'record_cpt_activity_content');

    And here’s the result

    
    <p>
    <a href="https://domain.online/members/thirty3/">UserName/a> shared a new <a href="https://domain.online/?p=313">Community Story</a>
    
    <a href="https://domain.online/?p=313" class="view activity-time-since bp-tooltip" data-bp-tooltip="View Discussion"><span class="time-since" data-livestamp="2018-04-23T20:07:18+0000">17 minutes ago</span></a>
    </p>
    Brendan
    Participant

    Sure thing. I want to be able to have users post in those three post-types because of how they function. A blog post (custom post type) is suited for a story, a longer-form thing. A forum post is great for Q/A, and a “Tutor Tip” for example sits somewhere between a blog post and a simple status update, so I’m thinking about a second custom post type.

    The main UX design choice for this is to have all of those options in one place, rather than sub-pages or sub-menus, etc.

    It’s also easy for our moderators to be able to “feature” a blog post.

    With buddypress, it’s my understanding that blog posts (with plugins like buddyblock, etc) show up in the activity feed, forum posts can be told to show up in the activity feed.

    My thought is either to have three fields(Story, Question, Tip) , which have buttons that toggle their respective visibility.

    Or

    Have the one field, and the buttons change the destination on submit to one of the three.

    Does that help?

    #271642
    buddyroid
    Participant

    Hello,

    I want some information on buddypress if is possible.

    I have a website with groups

    1. I want to create a page that my groups can post there, the page to look like the activity page.
    So every group can post there as a group and not as username. For example if im register in that website and have the username “buddyroid” and im register in “buddy” group, when im visit the custom page that i want to create and post there to show that the post is from the group “buddy” .

    2. I want only the administrators of each group to post in that page, for example if i have one group with 20 members and 2 administrators , only that 2 administrators to can post in that custom page
    Any ideas;
    Sorry for my bad english
    Thanks

    soph2602
    Participant

    Hi, am currently developing a buddypress website and would like to customise the activity stream layout, where the activity stream will be displayed in the middle of the page and the profile summary will be displayed on the left and wallfeed for example latest activity on the right side. Please kindly advise how to go about this? Or is there any plugins for this? Thanks.

    ngoegan
    Participant

    Actually, there was something else in there, I deleted it. Here’s the error I’m getting with just your code now:

    //redirect all users to homepage function bbg_bp_loggedin_register_page_redirect_to( $redirect_to ) { if ( bp_is_component_front_page( 'register' ) ) $redirect_to = bp_get_root_domain() . '/activity'; return $redirect_to; } add_filter( 'bp_loggedin_register_page_redirect_to', 'bbg_bp_loggedin_register_page_redirect_to' );
    Warning: Cannot modify header information - headers already sent by (output started at /home4/cgoegan/public_html/charlottemasoneducation.org/wp-content/plugins/bp-custom.php:14) in /home4/cgoegan/public_html/charlottemasoneducation.org/wp-includes/pluggable.php on line 1216
Viewing 25 results - 126 through 150 (of 831 total)
Skip to toolbar