Search Results for 'custom activity page'
-
Search Results
-
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.
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 detailsWhen 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.
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.
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
Topic: Plug-ins recommendations etc
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.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.7Link : 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
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: 12345678The 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
Topic: Activity groups post page
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
ThanksHi, 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.
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 );